The calculator checks the comfort rule 2 × riser + tread and common code limits, and tells you if the stair fits the space you have.
How to use the stair calculator
- Measure the total rise from finished floor to finished floor.
- Set the maximum riser height you want and the tread depth.
- Optionally enter the horizontal space available, or force a number of risers.
- Read the steps, riser height, run, stringer length and angle; check the warnings.
Comfortable stair dimensions
A comfortable stair keeps 2 × riser + tread between about 60 and 65 cm (24–25.5 in) — the length of a normal step. Riser heights of 15–18 cm (6–7 in) and treads of 26–30 cm (10–12 in) work well for homes.
| Riser | Tread for 2R + T = 63 cm | Angle |
|---|---|---|
| 15 cm (5.9 in) | 33 cm (13 in) | 24° |
| 16 cm (6.3 in) | 31 cm (12.2 in) | 27° |
| 17 cm (6.7 in) | 29 cm (11.4 in) | 30° |
| 18 cm (7.1 in) | 27 cm (10.6 in) | 34° |
| 19 cm (7.5 in) | 25 cm (9.8 in) | 37° |
Risers and treads
A straight stair always has one more riser than treads, because the top step is the upper floor. The calculator divides the total rise into equal risers — every riser must be the same height to avoid trips.
Building codes
In the US, the International Residential Code allows risers up to 7¾ in and requires treads of at least 10 in, plus headroom, handrail and landing rules. Other countries have their own limits. Treat the warnings here as guidance and check your local code.
Stair formulas
- Number of risers
round up(total rise ÷ maximum riser)- Riser height
total rise ÷ number of risers- Treads
risers − 1- Total run
treads × tread depth- Stringer length
√(total rise² + total run²)- Angle
arctan(total rise ÷ total run)- Step rule
2 × riser + tread ≈ 60–65 cm
Worked example
- Floor to floor 108 in (9 ft), maximum riser 7¾ in: 108 ÷ 7.75 = 13.9 → 14 risers.
- Riser height: 108 ÷ 14 = 7.71 in; 13 treads.
- With 10 in treads: total run 130 in; stringer √(108² + 130²) = 169 in.
- Angle: arctan(108 ÷ 130) = 39.7°; step rule 2 × 7.71 + 10 = 25.4 in.
Assumptions
- Straight flight without landings or winders.
- All risers are equal.
- Tread depth excludes the nosing.
- Stringer length is the line of the stair; add for cuts and the floor connection.
Frequently asked questions
How many steps do I need for 9 feet?
With a maximum riser of 7¾ in, 14 risers of about 7.7 in and 13 treads.
What is the ideal riser height?
About 7 in (17–18 cm) for homes, with a tread of about 11 in (28 cm).
How do I calculate stringer length?
It is the hypotenuse of the total rise and total run: √(rise² + run²).
Why is there one less tread than risers?
The top riser leads onto the upper floor, which acts as the last tread.
What angle should stairs be?
Typically 30–37°. Steeper than about 42° feels like a ladder.
Does this calculator design the stair structure?
No. It gives geometry only; stringer size, fixing, headroom and handrails must follow local codes.