
Equilateral Triangles: The Perfect Triangle Explained
Discover the equilateral triangle - the perfect triangle with equal sides and angles. Learn its properties, formulas, and real-world applications in geometry.
Calculate riser count, tread count, stringer length, and stair angle from your total rise. Built around the 24-25 carpenter's rule.
All dimensions in inches. The calculator assumes US conventions (IRC residential / IBC commercial code references).
Five measurements drive every stringer. Enter them above to generate a cut sheet and diagram.
Comfort zone (30°–37°)
Blondel rule (2R + T)
—
—
Carpenter's rule (R + T)
—
—
Minimum clearance (under floor opening)
—
| Letter | Label | Value | Note |
|---|
A stair stringer is the diagonal board that supports each step. Cutting one correctly comes down to three measurements: total rise (floor to floor), riser height (each step's vertical face), and tread depth (each step's horizontal walking surface). Get those right and the stringer length, total run, and stair angle all fall out of basic right-triangle math.
A reliable comfort check: 2 × riser + tread should land between 24 and 25 inches. This empirical rule, credited to French architect François Blondel in 1675, keeps stride length comfortable for typical adults. A 7" riser with 11" tread = 25, a classic combination. A 6" riser with 12" tread = 24, equally good. Stairs that violate this often feel either cramped or stretched.
Two model codes govern stair construction in the United States. The International Residential Code (IRC) covers one- and two-family homes and townhouses up to three stories. The International Building Code (IBC) covers commercial buildings, multi-family residential (4+ units), and most public spaces. Local jurisdictions adopt and amend these codes — always confirm with your local building department before pulling permits.
| Requirement | IRC (Residential) | IBC (Commercial / Multi-family) |
|---|---|---|
| Maximum riser height | 7¾ in (196 mm) | 7 in (178 mm) |
| Minimum riser height | No minimum | 4 in (102 mm) |
| Minimum tread depth | 10 in (254 mm) | 11 in (279 mm) |
| Riser/tread variation within flight | ⅜ in (9.5 mm) max | ⅜ in (9.5 mm) max |
| Minimum stair width | 36 in (914 mm) above the handrail | 44 in (1118 mm); 36 in if occupant load < 50 |
| Minimum headroom | 6 ft 8 in (2032 mm) | 6 ft 8 in (2032 mm) |
| Handrail height | 34–38 in above nosing | 34–38 in above nosing |
| Handrails required | One side, when 4+ risers | Both sides on most flights |
| Max vertical rise per flight | 12 ft 7 in (147 in) before landing | 12 ft (144 in) before landing |
| Tread nosing projection | ¾ in to 1¼ in (required if tread < 11 in) | ¾ in to 1¼ in |
| Open riser opening | 4 in sphere can't pass through | 4 in sphere can't pass through |
| Code reference | IRC 2021 § R311.7 | IBC 2021 § 1011 |
The yellow "Code compliance check" row in the calculator's results panel above flags whether your inputs (assumed in inches) clear the IRC and IBC riser/tread thresholds. It's a fast first-pass check, not a substitute for a permit review. Other code requirements — width, headroom, handrails, landings — depend on the surrounding architecture and need separate verification.
You're building a basement stair with a finished floor-to-floor rise of 108 inches (9 feet — typical for a basement with 8' ceilings + 12" of joist/subfloor). Target a comfortable 7½" riser.
Order a stringer board at least 14 ft (168 in) long — round up to 16 ft to allow for plumb cuts at the top, level cuts at the bottom, and waste. Standard 2×12 stringers in pressure-treated SYP or LVL are typical for residential.
A backyard deck sits 36 inches above grade. You want a comfortable garden-friendly stair.
The calculator handles the geometry of the stair itself, but a code-compliant stair also requires:
Once you know your riser height (R) and tread depth (T), laying out the stringer is straight framing-square work:
Divide the total rise (floor-to-floor height) by your target riser height (typically 7–7¾ inches in U.S. residential code), then round to the nearest whole number. Then divide the total rise by that number of risers to get the actual riser height — every riser must be the same.
Risers are the vertical faces between treads. Treads are the horizontal stepping surfaces. There's always exactly one fewer tread than riser, because the top step is the upper floor itself, not an additional tread.
An old carpenter's rule: 2 × riser + tread should fall between 24 and 25 inches for a comfortable stair. So a 7" riser with 11" tread = 25 — perfect. A 6" riser with 12" tread = 24 — also fine. This rule keeps the stride natural at typical walking speeds.
Stringer length is the hypotenuse of a right triangle with total rise and total run as legs: stringer = √(rise² + run²). Round up and add a few inches for the bottom and top connections. This calculator gives you the exact theoretical length.
Most residential code allows stairs between roughly 30° and 38°. The most comfortable range is around 32–35°. Steeper than that feels like a ladder; shallower wastes floor space. Code typically caps riser height at 7¾" and requires tread depth of at least 10".
This calculator's results panel shows an IRC/IBC compliance check (assuming inches). IRC (residential): riser ≤ 7¾", tread ≥ 10". IBC (commercial / multi-family): 4" ≤ riser ≤ 7", tread ≥ 11". A green check on the badge means the riser/tread thresholds clear the code, but width, headroom, handrail, and landing rules still need separate verification. Always confirm with your local building department before cutting stringers.
Per the 2021 IRC § R311.7, the maximum riser height for one- and two-family residential stairs is 7¾ inches (196 mm). The minimum tread depth is 10 inches (254 mm). The IBC, which governs commercial and multi-family residential (4+ units), is stricter: 7" max riser, 11" min tread.
An 8' ceiling typically means a floor-to-floor rise of about 105–110 inches once you add joist depth and finish floor. For 108 inches of rise: 14 risers at 7.71" each, with 13 treads at 10" minimum = 130" of total run, stringer ≈ 169" (about 14 ft). Always measure your specific floor-to-floor rise — don't assume 8 feet.
No more than ⅜ inch variation between any two risers in a flight (per both IRC and IBC). Practically, you should aim for zero variation: divide the total rise by an integer number of risers and use that exact dimension for every step. Inconsistent risers are a serious tripping hazard and a common code-violation flag during inspections.
Both IRC and IBC require a minimum of 6 ft 8 in (80 inches / 2032 mm) of headroom, measured vertically from the leading edge of any tread (the nosing) up to the lowest obstruction (ceiling, beam, or upper landing edge). Tight basement stairs frequently fail this if the upper floor framing isn't planned carefully.
Deepen your understanding of triangles and trigonometry with our guides and tutorials:

Discover the equilateral triangle - the perfect triangle with equal sides and angles. Learn its properties, formulas, and real-world applications in geometry.

Master trigonometry word problems with this step-by-step framework. Learn to identify patterns and solve lighthouse, angle, and distance problems confidently.

Discover why triangles are the strongest shape in engineering and construction. Learn how this geometric principle powers cranes, bridges, and iconic structures.

Learn 5 proven methods to calculate triangle area with step-by-step examples. Master geometry formulas for homework, construction, and real-world applications.

Master the Law of Sines to solve any oblique triangle! Learn when and how to use this powerful trigonometry tool with step-by-step examples and practice problems.

Learn essential verification techniques to check your triangle calculations and catch mistakes before they become costly errors. Perfect for students and professionals.