How to use the Stair Calculator
Measure the total rise from finished floor to finished floor, enter the maximum riser height and the tread depth, then press Calculate.
Read more: How to Use the Stair Calculator: Steps and a Worked Example
How many steps you need
Divide the total rise by the maximum riser height and round up: 108 in ÷ 7.75 in = 13.9, so 14 risers of 108 ÷ 14 = 7.71 in. A straight stair has one tread fewer than risers, because the top floor is the last step.
Building code limits
The US International Residential Code allows risers of at most 7¾ in and treads of at least 10 in, with no more than ⅜ in difference between steps. Other countries and commercial buildings use different limits, so check your local code.
A comfortable stair
A common rule is 2 × riser + tread = 24 to 25 in. Steeper stairs save floor space but are harder to climb; most homes end up between 32° and 38°.
The formula
Risers = total rise ÷ maximum riser, rounded up. Riser height = total rise ÷ risers. Treads = risers − 1. Stringer = √(rise² + run²).
Examples
- With the default values
Risers: 14 of 7.71 in Treads: 13 of 10 in Total run: 130 in (10.83 ft) Stringer length: 169.01 in (14.08 ft)
- With total rise, floor to floor set to 216
Risers: 28 of 7.71 in Treads: 27 of 10 in Total run: 270 in (22.5 ft) Stringer length: 345.77 in (28.81 ft)
Limitations and assumptions
The defaults follow the US International Residential Code (risers at most 7¾ in, treads at least 10 in). Check your local building code before cutting stringers.
Frequently asked questions
How do I measure the total rise?
From the top of the finished lower floor to the top of the finished upper floor, including flooring.
How long is a stringer?
The calculator gives the diagonal from the rise and run; buy lumber a little longer to allow for cuts.
Does the top step count as a tread?
No. The upper floor acts as the last step, so treads = risers − 1.