How it's calculated
Risers = total rise ÷ maximum riser height, rounded up. Riser height = total rise ÷ risers. Treads = risers − 1 (the top floor is the last step). Total run = treads × tread depth. Stringer length = √(rise² + run²).
Worked example. Total rise 8' 8-1/2" (104.5 in): 104.5 ÷ 7.75 = 13.5, so 14 risers of 7-7/16". 13 treads of 10-1/2" give a run of 11' 4-1/2" and a stringer of 14' 3-15/16".
| Item | Limit | Section |
|---|---|---|
| Riser height | 7-3/4" max | R311.7.5.1 |
| Tread depth | 10" min | R311.7.5.2 |
| Headroom | 6' 8" min | R311.7.2 |
| Stair width | 36" min | R311.7.1 |
| Rise of one flight | 151" max | R311.7.3 |
| Handrail height | 34" to 38" | R311.7.8.1 |
Measure the total rise
Measure from the finished lower floor to the finished upper floor, not the subfloor. Add the flooring thickness if it is not down yet, or every step but one will come out wrong.
Deck stairs
For a deck, measure from the deck surface to the landing pad or grade where the bottom tread will sit. Ground that slopes away changes the rise: measure at the spot where the stair lands.
Stairs with a landing
The IRC limits one flight to 151 inches (12' 7") of rise. Above that you need a landing. Work out each flight separately with its own rise.
Questions
How many steps do I need for a 9 foot rise?
14 risers of about 7-11/16" and 13 treads, with a 7-3/4" maximum riser.
What is the maximum riser height?
7-3/4 inches under the 2021 IRC for homes. Commercial stairs under the IBC allow 7 inches.
What is the minimum tread depth?
10 inches under the 2021 IRC, measured nosing to nosing.
Why are there fewer treads than risers?
The upper floor serves as the last step, so a stair has one tread less than it has risers.
What is a comfortable stair angle?
Most home stairs land between 30° and 37°. Very steep stairs above 40° usually break the riser or tread limits.
Related calculators
Formulas tested on the same cases as the Stud app. Professional review pending. How we check the math. Embed this calculator on your site: /embed/stair-calculator/. Last checked 2026-11-23.