Calculator · stairs · code check
Stair calculator
Measure from finished floor to finished floor. You get the riser height, how many steps, the total run and the stringer length, each checked against the residential code limits.
Finished floor below to finished floor above
Riser height up to
Lower risers mean more steps and a longer stair
Lowest point above the nose line
Riser height
Steps
Total run
Side view, to scale
How it's worked out
- Risers: total rise ÷ your riser limit, rounded up to a whole number of steps. Every riser is then the same height: total rise ÷ that number.
- Treads: one fewer than the risers, since the top step is the upper floor. Total run = treads × tread depth.
- Stringer: the diagonal, √(rise² + run²), usually cut from 2×12 lumber.
- Code checks come from the International Residential Code, section R311.7, used by most US towns for houses: risers 7 3/4 in at most (R311.7.5.1), treads at least 10 in (R311.7.5.2), a nosing of 3/4 to 1 1/4 in when treads are under 11 in (R311.7.5.3), risers within 3/8 in of each other, headroom at least 6 ft 8 in (R311.7.2), width at least 36 in (R311.7.1), no more than 12 ft 7 in of rise without a landing (R311.7.3), and a handrail 34 to 38 in high on flights with four or more risers (R311.7.8). Your town may have amended the code; the building department has the final word.
- Comfort: rise plus run between 17 and 18 in feels natural underfoot. That one is a rule of thumb, not code.