Number of steps = total rise ÷ target riser height, rounded to the nearest whole number — then the riser is recalculated from that whole number so every step ends up identical. Skip the recalculation step and the last riser in the flight ends up a different height than the rest, which is the single most common reason a framed staircase fails inspection. Get the exact count for your project with the Number of Steps Calculator.
The Formula, Step by Step
Step 1: Measure total rise — the exact vertical distance from finished floor to finished floor, not subfloor to subfloor.
Step 2: Divide by a target riser height. A comfortable residential target is 7 in (178 mm); IRC’s hard ceiling is 7.75 in (196 mm). Round the result to the nearest whole number — this is your step count, and it includes the top floor landing as the final “step” in most jurisdictions’ counting convention, so the number of risers equals the number of treads plus one.
Step 3: Recalculate the exact riser by dividing total rise by the whole-number step count. This is the number that actually gets cut into every stringer — not the 7-in target from step 2.
Worked example: 126-in total rise
126 in (3,200 mm) total rise ÷ 7-in target riser = 18 steps exactly — a clean number, so the exact riser stays 7 in (178 mm), no rounding needed. Applying Blondel’s formula (2R + T = 25) gives a tread of 25 − 14 = 11 in, well above the 10-in code minimum. Total horizontal run = 17 treads × 11 in = 187 in (15.6 ft), the number a builder needs before confirming the staircase fits the available floor plan.
Change the total rise to 130 in and the math gets messier: 130 ÷ 7 = 18.57, which rounds to 19 steps. Recalculating: 130 ÷ 19 = 6.84 in per riser — not the 7-in target, but still well under the 7.75-in maximum and a perfectly valid stair. This is the step people skip: they use 7 in as the riser instead of recalculating to 6.84 in, and the top or bottom step ends up 0.16 in taller than the rest of the flight.
Number-of-steps scenarios at a glance
How the same 7-in target riser plays out across common total rise figures:
| Total rise | Steps (rounded) | Exact riser | Tread (2R+T=25) | Total run |
| 84 in / 2,134 mm | 12 | 7.00 in / 178 mm | 11.00 in / 279 mm | 121 in / 10.1 ft |
| 96 in / 2,438 mm | 14 | 6.86 in / 174 mm | 11.29 in / 287 mm | 147 in / 12.3 ft |
| 108 in / 2,743 mm | 15 | 7.20 in / 183 mm | 10.60 in / 269 mm | 148 in / 12.4 ft |
| 117 in / 2,972 mm | 17 | 6.88 in / 175 mm | 11.24 in / 285 mm | 180 in / 15.0 ft |
| 126 in / 3,200 mm | 18 | 7.00 in / 178 mm | 11.00 in / 279 mm | 187 in / 15.6 ft |
The total run column is what most homeowners underestimate — a stair covering just under 10.5 ft of rise can easily need 12–16 ft of horizontal floor space once tread depth is factored in. Check that figure against your floor plan with the Stair Rise and Run Calculator before finalizing a step count, especially in a remodel where the stairwell opening is fixed.
Common mistakes
Using the target riser as the final riser. As shown above, the target riser almost never divides evenly into total rise. Framing to the rounded target instead of the recalculated exact riser is the single most common cause of a failed final inspection — inspectors measure every riser in the flight and flag anything over the 3/8-in variation limit.
Forgetting that riser count is tread count plus one. A stair with 12 risers has 11 treads, because the top floor itself serves as the final “step.” Miscounting this by one produces a stringer that’s either short a step or has one extra, both of which throw off every riser height in the recalculation.
Not accounting for a mid-flight landing. Any run of 12 or more risers, or any change in stair direction, typically requires a landing under IRC. The landing effectively splits total rise into two separate calculations, each needing its own step count — solve them independently rather than dividing the flight in half by guesswork. The Landing Framing Calculator handles the structural side once the step counts are set.
Ignoring finished flooring thickness on both levels. Total rise changes if either the upper or lower floor gets new flooring after the stair is framed. A 3/4-in hardwood added to the upper floor after stringers are cut shortens the top riser by 3/4 in — confirm finish flooring selections before cutting, not after.
Related calculators you might need
Once the step count is set, confirm the resulting angle is comfortable and code-compliant with the Stair Rise and Run Calculator. If you need to solve for riser height alone with total rise and step count already fixed, the Riser Height Calculator does that directly. For flights that need a mid-run landing, use the Landing Framing Calculator to split the rise correctly, and for tight layouts where a straight run won’t fit, the Winder Staircase Calculator reworks the step count around a turn. Once every dimension is locked, the Stair Stringer Calculator converts the numbers into actual cut lines.
Frequently asked questions
How do you calculate the number of steps in a staircase?
Divide total floor-to-floor rise by a target riser height (commonly 7 in) and round to the nearest whole number — that’s your step count. Then divide total rise by that whole number again to get the exact riser height that goes into every stringer cut, since the rounded target almost never divides evenly.
Does the number of steps include the top floor?
The top floor counts as the final riser but not as an additional tread — a staircase with 14 risers has 13 physical treads plus the landing floor itself as the 14th step. This is why riser count is always tread count plus one.
How many steps for a 9-foot rise?
A 9-ft (108-in) rise divided by a 7-in target riser gives 15.4, rounding to 15 steps. Recalculating, 108 ÷ 15 = 7.2 in per riser — under the 7.75-in code maximum. Run the exact figures through the Number of Steps Calculator to check the resulting tread depth and total run for your specific layout.
What is the maximum number of steps before a landing is required?
Most residential codes require a landing after roughly 12 risers in a single flight without a change in direction, though local amendments vary, so confirm with your jurisdiction’s adopted code edition. A landing splits the total rise into two independent step-count calculations rather than one continuous run.
Why don’t my stairs come out to a whole riser number?
Total rise almost never divides evenly by a round target riser like 7 in — that’s expected, not an error. The fix is to round the step count to the nearest whole number first, then recalculate the exact riser from that count, rather than forcing the target riser onto an odd number of steps.









