Stair Calculator
Enter the total rise, your maximum riser height and tread depth. You'll get the number of risers and treads, exact riser height, total run, stringer length and stair angle.
How to use the stair calculator
- Total rise: measure from the finished floor (or ground) at the bottom to the finished floor at the top, in inches.
- Max riser height: the International Residential Code (IRC), adopted by most US states, allows up to 7¾″.
- Tread depth: the IRC minimum is 10″, measured nosing to nosing. 10½–11″ feels more comfortable.
The stair formulas
- Risers = total rise ÷ max riser, 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²)
Example: total rise 108″ (9 ft): 108 ÷ 7.75 = 13.9, so 14 risers of 7.71″, 13 treads, a total run of 136.5″ at 10½″ treads, and a stringer about 174″ (14.5 ft) long. Buy 16 ft stringer stock.
The comfort rule
Many builders check 2 × riser + tread ≈ 24–25″. With 7.71″ risers and 10½″ treads: 25.9″, slightly long. A 10″ tread brings it to 25.4″.
Code basics (IRC, residential)
| Item | Requirement |
|---|---|
| Max riser height | 7¾″ |
| Min tread depth | 10″ |
| Max variation between risers or treads | ⅜″ |
| Min headroom | 6′ 8″ |
| Handrail | Required with 4 or more risers |
Local codes can differ. Check with your building department, especially for decks and basement stairs.
Frequently asked questions
How many stairs for a 9 foot rise?
A 108″ rise needs 14 risers of about 7.7″, with 13 treads.
What is the standard stair riser height?
About 7–7½″ is common; the IRC maximum for homes is 7¾″.
How long is a stair stringer?
Roughly the hypotenuse of the total rise and total run, plus a little for cutting. Use the calculator's figure and buy the next standard length up.