How to calculate stair risers and the number of steps
Every stair starts from one measurement: the total rise, the finished-floor to finished-floor height the stair has to climb. From it you work out how many steps you need and how tall each one is. The arithmetic is short, but the rounding step is where most people go wrong. Here is the whole method.
The formula
A "riser" is the vertical face of one step, so the number of risers is the number of steps. You get it by dividing the total rise by a comfortable target riser height and rounding to a whole number:
Number of risers = round( total rise ÷ target riser height )
The target riser is about 7 to 7.5″ (178–190 mm) — comfortable, and safely under the IRC's 7¾″ (196 mm) maximum. Because the count has to be a whole number, you then recompute the actual riser so every step is identical:
Actual riser height = total rise ÷ number of risers
A worked example
Take a total rise of 108″ (9 ft, a common floor-to-floor height):
- 108 ÷ 7.5 = 14.4, which rounds to 14 risers — so 14 steps.
- Recompute the true riser: 108 ÷ 14 = 7.71″ per step. That is under 7¾″, so it passes code.
- On a standard mount the stair has 13 treads (one fewer than the risers).
Risers vs treads: the off-by-one
Risers and treads are almost never the same number, and mixing them up is the most common counting error:
- Standard mount (the usual case): the top riser steps up onto the finished upper floor, so you get one more riser than treads. 14 risers → 13 treads.
- Flush mount: the top tread finishes level with the upper floor, so risers and treads are equal. 14 risers → 14 treads, and each riser is slightly taller for the same total rise.
The total horizontal length of the stair — its total run — is the tread count times the run per tread, which is what feeds the stringer length calculation. On a stair with a landing the same riser math applies, but the count splits across two flights — the L-shaped stair calculator handles that split automatically.
Choosing a target riser height
Within the legal window, comfort follows the classic 2R + T rule: twice the riser plus the tread should land between 24 and 26 inches. A 7.5″ riser pairs with a 10″ tread (2×7.5 + 10 = 25″), which is why 7.5″/10″ is the de facto standard residential stair. Go shallower for gentle stairs with plenty of room; go closer to 7¾″ only when floor space is tight, and keep every riser uniform.
Quick reference: floor height to step count
Common floor-to-floor heights, using a 7–7.75″ target and a standard mount:
| Total rise (floor to floor) | Risers (steps) | Riser height | Treads |
|---|---|---|---|
| 8′0″ (96″) | 13 | 7.38″ | 12 |
| 8′6″ (102″) | 14 | 7.29″ | 13 |
| 9′0″ (108″) | 14 | 7.71″ | 13 |
| 9′6″ (114″) | 15 | 7.60″ | 14 |
| 10′0″ (120″) | 16 | 7.50″ | 15 |
These are typical, not the only legal answers — any riser count that keeps the height under 7¾″ works.
Common mistakes
- Measuring the subfloor, not the finished floor. Flooring, underlayment, and tile change the total rise and therefore the first and last riser. Measure after finishes, or add their thickness.
- Rounding the wrong way. If rounding down pushes the riser over 7¾″ (e.g. 108 ÷ 13 = 8.31″), you must round up instead. The code maximum wins over your preferred count.
- Counting treads as risers. Off by one, and your stringer, run, and material list are all wrong. Decide standard vs flush mount first.
- Leaving an odd step. Every riser must be within 3⁄8″ of the others; an uneven first or last step is both a trip hazard and a failed inspection.