Stair Calculator
The one rule that makes stairs feel right
Stairs are climbed by a body with a fixed stride, and three centuries of builders have compressed that fact into arithmetic. Blondel's formula, from the 1670s and still in use, says twice the riser height plus the tread depth should land between 24 and 25 inches (about 600 to 650 mm) — one comfortable stride per step. Two companion rules triangulate the same comfort: riser plus tread between 17 and 18 inches, and riser times tread near 75 square inches. The worked example shows a stair passing all three: a 108-inch floor-to-floor rise divides into 15 risers of exactly 7.2 inches; with a 10-inch tread, Blondel gives 24.4, the sum 17.2, the product 72. A stair can satisfy the building code and still fail these — codes set the legal edges, not the comfortable middle — which is why this calculator reports both, separately.
The code edges (US residential, IRC)
| Dimension | IRC limit | Worked example |
|---|---|---|
| Riser height | 7.75 in (197 mm) maximum | 7.2 in ✓ |
| Tread depth | 10 in (254 mm) minimum | 10 in ✓ |
| Variation between risers | Largest may exceed smallest by 3/8 in at most | All equal by construction |
| Headroom | 6 ft 8 in (2,032 mm) minimum | Check on site |
| Stair width | 36 in (914 mm) minimum | — |
Two habits in this calculator come straight from how stairs actually go wrong. First, the step count is always rounded up from the total rise divided by the target riser, and the riser is then recomputed exactly — 108 ÷ 7.5 is 14.4, so the stair gets 15 risers of 7.2 inches, never 14 risers of 7.5 and one short one, because a single inconsistent riser is precisely where people trip: the body learns the rhythm in two steps and trusts it. Second, there is always one fewer tread than risers — the top riser lands on the upper floor itself — so the total run is the tread depth times (steps − 1): 140 inches here, with a stringer of about 176.8 inches at a 37.6° pitch. Other jurisdictions differ — UK rules, for instance, cap the riser at 220 mm with a 220 mm minimum going and a 42° maximum pitch for private stairs — so treat the code column as the US residential reference, and your local code as the law.
Frequently asked questions
How do I calculate the number of steps in a staircase?
Divide the total rise — finished floor to finished floor, not ceiling height — by your target riser height, round up to a whole number of risers, then divide the rise by that count to get the exact riser every step will use. For 108 inches at a 7.5-inch target: 108 ÷ 7.5 = 14.4, round up to 15 risers, and the true riser is 108 ÷ 15 = 7.2 inches. Rounding up rather than down keeps the riser under the code maximum and, more importantly, makes every riser identical — the uniformity is a safety feature, since a single step that differs by as little as 3/8 of an inch is a recognised trip hazard.
What is the ideal riser height and tread depth?
For a comfortable main stair, a riser around 7 to 7.5 inches (178–190 mm) with a tread of 10 to 11 inches (254–280 mm) is the sweet spot most builders aim at — it satisfies Blondel's rule (twice the riser plus the tread ≈ 24–25 inches) and sits well inside the US code edges of 7.75 inches maximum riser and 10 inches minimum tread. Shallower stairs — a 6-inch riser with a 12-inch tread — feel grand and suit low pitches where space allows; steeper ones save floor space at the cost of comfort and safety, which is why codes cap the pitch and why alternating-tread devices and ship's ladders exist as separate, restricted categories rather than normal stairs.
How long will my staircase be?
The horizontal run is the tread depth multiplied by the number of treads, and there is always one tread fewer than the number of risers, because the last riser arrives at the upper floor. The worked example: 15 risers means 14 treads of 10 inches — a 140-inch (11 ft 8 in) run. The stringer that carries it is the hypotenuse: the square root of rise² + run², here about 176.8 inches, at a pitch of 37.6°. Remember the run is only the stair's own footprint; landings, and the headroom clearance over the stairwell opening, claim more of the plan than the run alone suggests.
Why do people trip on one particular step?
Because stair climbing is automated. Within two or three steps your body has measured the riser height and stopped looking, and it places each foot by prediction rather than by sight. A step that breaks the pattern — a top or bottom riser built a different height, a common error when finished floor thicknesses change after the stair is framed — betrays that prediction, which is why building codes limit the difference between the largest and smallest riser to 3/8 of an inch and why good practice makes them exactly equal. It is also why the first step onto a non-standard stair, like an old cottage staircase, deserves a handrail and your attention.
What is the maximum pitch for stairs?
It depends on the rules you build under. US residential code does not state a pitch angle directly but produces one through its limits: the steepest legal combination, a 7.75-inch riser with a 10-inch tread, pitches at about 37.8°. UK building regulations state it outright for private stairs — 42° maximum, with a riser no higher than 220 mm and a going no less than 220 mm. Commercial and public stairs are held gentler everywhere, because they serve crowds, children and people carrying things. If your design is flirting with the maximum, the honest question is who will use the stair at 80, in the dark, with laundry in both arms.
Related tools
Code limits and geometry last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.