Staircase Calculator
Riser height, tread depth, stringer length and stair angle for a straight residential staircase — with IRC 2021 §R311.7 code compliance check.
Calculation results
Number of risers
Riser height
Number of treads
Tread depth
Total run
Stringer length
Stair angle
2×12 stringers needed
IRC 2021 §R311.7 compliance
Stringer length is the structural hypotenuse from upper landing nose to bottom of bottom riser. Add nosing length and a notch allowance separately when cutting stock.
Understanding the formula
A staircase is a stack of right triangles laid in series. Given a total
vertical rise R, the calculator picks the smallest number of risers
n such that R / n ≤ 7¾″ (the IRC limit), then
derives every other dimension from that choice.
Standard vs flush mount
Standard mount: the upper floor itself counts as the top
step, so the number of treads is risers − 1. This is the
residential default. Flush mount: the last tread is
installed at the level of the upper floor, so treads = risers.
Flush mount is common when an upper landing or deck surface meets the stair.
Worked example
Total rise of 108 inches (9 ft), standard mount:
- Risers = ⌈ 108 / 7.75 ⌉ = ⌈ 13.94 ⌉ = 14 risers
- Riser height = 108 / 14 = 7.71″ (under 7.75″ max — IRC OK)
- Treads = 14 − 1 = 13 treads (standard mount)
- Tread depth = max(10, 17.5 − 7.71) = max(10, 9.79) = 10.00″ (IRC minimum)
- Total run = 13 × 10 = 130.0″ ≈ 10.83 ft
- Stringer = √(101.29² + 130²) = 164.8″ ≈ 13.73 ft (using stringer height = total_rise − riser_height for standard mount)
- Angle = atan(101.29 / 130) = 37.9° (comfort range 30 – 37°, at the upper edge)
IRC 2021 §R311.7 quick reference
| Parameter | IRC limit | Why |
|---|---|---|
| Max riser height | 7¾″ (197 mm) | Trip hazard above this |
| Min tread depth | 10″ (254 mm) | Adult foot length |
| Min stair width | 36″ (914 mm) | Egress + furniture moves |
| Min headroom | 6′-8″ (2,032 mm) | Clear walking height |
| Max riser variation | ⅜″ (9.5 mm) | Uniform tread rhythm prevents falls |
| Nosing projection | ¾″ – 1¼″ | If solid risers; not required with open risers |
| Handrail height | 34 – 38″ | Required when 4 + risers |
Common mistakes & tips
- Measure rise from finished floor to finished floor, not subfloor to subfloor. Flooring thickness changes the total rise and can push a borderline staircase out of compliance.
- The first and last riser must match. Account for the tread thickness — the bottom riser is cut shorter by one tread thickness so the first step matches the rest.
- Three stringers minimum. Use 3 stringers up to a 36″ width; 4 stringers from 37″ to 48″. Spacing centre-to-centre should not exceed 16″ under standard 2× tread stock.
- Notch with care. After the riser/tread cuts are made on a 2×12 stringer, the remaining solid section (throat) must be at least 5″ for residential. Less than that and the stringer needs a sister or LVL upgrade.
- This calculator covers straight stairs only. Winders, L-shaped, U-shaped and spirals follow the same rise/tread limits but need landings and tread-depth measurements at the walk line — compute each flight separately.