How to Use the Stair Calculator
- Measure the total rise from finished floor to finished floor.
- Keep the maximum riser at 7.75 in (IRC) or enter a lower comfortable height.
- Enter the tread depth; 10 in is the IRC minimum, and 10–11 in feels comfortable.
- Read steps, riser height, run, stringer length and angle.
Stair Formulas
Example: Stairs for a 9 ft Floor-to-Floor Height
Total rise: 108 in ÷ 7.75 = 13.9 → 14 risers of 7.71 in
Treads: 13 at 10 in = 130 in (10.83 ft) of run
Stringer: √(108² + 130²) = 169 in (14.08 ft) → buy 16 ft 2×12s
Angle: about 37.6°
Common IRC Stair Rules
| Item | IRC residential limit |
|---|---|
| Maximum riser height | 7 3/4 in |
| Minimum tread depth | 10 in |
| Minimum headroom | 6 ft 8 in |
| Minimum stair width | 36 in |
| Riser variation in a flight | No more than 3/8 in |
| Handrail height | 34 – 38 in |
These come from the International Residential Code; your state or city may adopt different numbers. Commercial stairs follow stricter rules.
Making Stairs Comfortable
- A popular rule is 2 × riser + tread ≈ 24–25 in.
- Lower risers with deeper treads feel easier, but need more floor space.
- Keep every riser the same height; uneven steps are a trip hazard.
- Remember the tread thickness when cutting the first stringer step.
Tips for Building Stairs
- Measure total rise after flooring is in, or include finished floor thickness.
- Use at least three stringers for a 36 in wide stair; wider stairs need more.
- Price your lumber with the board foot calculator.
- Building deck stairs? Pair this with the deck calculator.
Stair Calculator FAQs
How many steps do I need for 9 feet?
A 9 ft (108 in) rise needs 14 risers at about 7.71 inches each with the IRC 7¾ inch maximum, and 13 treads.
What is the code for stair riser height?
The International Residential Code limits risers to 7¾ inches and requires treads of at least 10 inches. Local codes can vary.
How do I calculate stair stringer length?
Find the total rise and total run, then use the Pythagorean theorem: stringer ≈ √(rise² + run²). Buy a board longer than this to allow for cuts.
How many treads are in a set of stairs?
Usually one fewer than the number of risers, because the top floor acts as the last step.