A good staircase is a matter of a few millimetres: every riser identical, treads deep enough for a whole foot, and a slope your legs find natural. This stair calculator works out the layout of a straight stair from the one measurement you cannot change, the total rise from finished floor to finished floor.
Give it a target riser height and it finds the number of risers that keeps each step at or below that height, then the exact riser height, the tread depth, the total run on the floor, the stringer length to cut and the angle. Tread depth follows Blondel’s rule (2 risers + 1 tread ≈ 63 cm, the length of a natural stride) unless you enter the run you have available, in which case the treads share that space evenly.
The result is checked against the US International Residential Code (riser 7¾ in maximum, tread 10 in minimum), with notes on landings, headroom and the rules used in the UK and France. For a stair that turns around a pole, use the spiral staircase calculator; for a slope without steps, the ramp calculator.
How to use this calculator
- Measure the total rise between finished floors, including flooring on both levels.
- Enter the maximum riser height you want; 17–18 cm (7–7½ in) is comfortable for a home.
- Keep the step rule at 63 cm (25 in), or adjust it within 60–65 cm.
- If the stair must fit a given floor space, enter the total run available; otherwise leave it blank.
- Read the riser height, counts, tread depth, run, stringer length and angle, then check the code line and notes.
The formula
With a total rise and a target riser :
Tread depth from Blondel’s rule, or from the available run :
There is one tread fewer than risers because the upper floor serves as the last step. The stringer length is measured along the pitch line; add the extra needed for the top and bottom cuts.
Worked example
A floor-to-floor height of 270 cm with risers of at most 17.5 cm:
- , rounded up to 16 risers and 15 treads
- Riser: cm
- Tread (Blondel): cm
- Total run: 4.3875 m, stringer 5.15 m, angle 30°
If only 3.60 m of floor is available, the treads shrink to 24 cm, 2R + T falls to 57.75 cm and the angle rises to 35.1°. The calculator flags both problems: the tread is under the 10 in (25.4 cm) IRC minimum and the stride is below Blondel’s comfort range.
In imperial units, a 108 in rise with risers of at most 7½ in gives 15 risers of 7.2 in and treads of 10.6 in (total run 148.4 in), within IRC limits.
Stair rules in the US code and elsewhere
| Rule | IRC 2021 (US homes) | Common European practice |
|---|---|---|
| Maximum riser | 7¾ in (19.7 cm) | UK homes: 220 mm; France: 16–18 cm usual |
| Minimum tread | 10 in (25.4 cm) | UK homes: 220 mm going; France: 25–30 cm usual |
| Headroom | 6 ft 8 in (2.03 m) | About 1.90–2.00 m |
| Flight without landing | 151 in (3.84 m) of rise | Varies by country |
| Comfort | 2R + T ≈ 24–25 in | 2R + T = 60–64 cm (Blondel) |
Risers in one flight must not differ by more than ⅜ in (9.5 mm) under the IRC, which is why the calculator divides the rise into equal steps. Public buildings follow stricter rules everywhere.
Where Blondel’s rule comes from
In the 17th century the French architect François Blondel observed that a comfortable stair matches the length of a person’s stride: on level ground we cover about 63 cm, and climbing costs roughly twice as much effort per unit of height as walking costs per unit of length. Hence 2R + T ≈ 63 cm. A steep loft stair with 20 cm risers then needs 23 cm treads; a gentle garden stair with 15 cm risers, 33 cm treads.
Frequently asked questions
How many steps do I need for a 9 ft ceiling?
Add the floor thickness to get the total rise, typically about 108 in for a 9 ft ceiling. With risers of at most 7½ in, that makes 15 risers of 7.2 in and 14 treads.
Why are there fewer treads than risers?
The last riser leads directly onto the upper floor, which acts as the final tread. A stair with 16 risers therefore has 15 treads to build.
What is the ideal stair angle?
Between about 30° and 37° is comfortable for a main stair. Above 42° the stair becomes a steep service or loft stair, and ladders start around 50° and above.
How do I calculate the stringer length?
Use the Pythagorean theorem on the total rise and the total run: √(rise² + run²). Buy a board longer than that to allow for the plumb and level cuts at both ends.
Can the stair fit in a limited space?
Enter the total run available. The calculator spreads it evenly over the treads and warns you when the result drops below the 10 in IRC minimum or when 2R + T leaves the comfortable range.
Sources
- ICC — 2021 International Residential Code, Chapter 3, R311.7 Stairways
- CNDB — Architectural detail “Jeu de marches” (Blondel module 2H + G, NF DTU 36.3)
- UK Government — Approved Document K: Protection from falling, collision and impact
- AFNOR — NF DTU 36.3 P3, Timber stairs: design requirements
Last updated: