How this instrument works
Laying out a stair starts with one measurement: the total rise, the vertical floor-to-floor distance the stair has to climb. From that single number, the 2021 International Residential Code sets two hard limits that shape everything else. Section R311.7.5.1 caps riser height — the vertical distance between one step and the next — at 7.75 inches (196mm). Section R311.7.5.2 sets a minimum tread depth — how far you can stand on each step, front to back — of 10 inches (254mm). Every step in the run has to fit inside those two limits.
This instrument divides the total rise by the 7.75-inch maximum and rounds up to the next whole riser, because a fraction of a riser can't be built — you always need a whole number of steps, and rounding up is what guarantees every actual riser lands at or under the code maximum. It then divides the total rise by that riser count to report the actual, evenly-split riser height, and multiplies the riser count by the 10-inch minimum tread depth to estimate the minimum horizontal run the stairway needs. That last figure is a deliberate simplification: a real stair has one fewer tread than it has risers, because the top riser lands on the upper floor itself, which needs no tread of its own. Multiplying by the full riser count instead of risers-minus-one gives a slightly larger, more conservative run estimate rather than the exact minimum — useful for a first-pass layout check, but not a substitute for counting actual treads on a stringer drawing.
This is a preliminary, educational layout estimate only — it is not a substitute for a licensed architect, structural engineer, or your local building department's plan review and inspection. Headroom, handrail and guard requirements, winder and landing rules, and any local code amendments all sit outside this calculation and still need separate verification.
- Measure the total rise: the vertical distance from the finished floor at the bottom to the finished floor at the top.
- Enter that measurement into Total rise, floor to floor (in).
- Read Number of risers — the whole number of steps needed so no single riser exceeds the 7.75-inch code maximum.
- Read Actual riser height — the total rise split evenly across that many risers.
- Read Minimum total run — a conservative first-pass estimate of the horizontal space the stairway needs, based on the 10-inch minimum tread depth.
Worked example — a 9-foot floor-to-floor rise
A stair needs to climb a 9-foot (108-inch) floor-to-floor gap. Enter 108 into Total rise, floor to floor (in). The instrument divides 108 by the 7.75-inch maximum: 108 / 7.75 = 13.935..., and rounds up to 14 risers, since a fraction of a riser can't be built. Number of risers reads 14.
Actual riser height comes back as 108 / 14 = 7.7143 inches — under the 7.75-inch maximum by construction, since rounding the riser count up always pulls the actual height down to fit. Minimum total run reads 14 × 10 = 140 inches, the conservative horizontal-space estimate based on 14 riser-widths of 10-inch minimum tread depth each.
Questions
Why does the riser count round up instead of to the nearest whole number?
Because rounding up is what guarantees the code's riser-height ceiling is never exceeded. If 108 inches of rise were split across 13 risers instead of 14, each riser would be 108 / 13 ≈ 8.31 inches — over the 7.75-inch IRC maximum. Rounding the riser count up to 14 pulls the actual riser height back down to 7.7143 inches, safely under the limit, which is exactly why this calculator always uses a ceiling, never a round-to-nearest.
Why is the minimum run calculated as risers × 10 inches instead of (risers − 1) × 10?
A real stair has one fewer tread than it has risers, since the top riser lands directly on the upper floor, which doesn't need its own tread. This calculator deliberately uses the full riser count instead of risers-minus-one, which gives a slightly larger, more conservative run estimate — useful for an early space check, but not the exact minimum footprint. When laying out an actual stringer, count treads as risers minus one.
What's the difference between riser height and tread depth?
Riser height is the vertical distance between the top of one step and the top of the next — how far up your foot travels with each step. Tread depth is the horizontal distance you actually stand on, front to back. The 2021 IRC caps riser height at 7.75 inches (R311.7.5.1) and sets a 10-inch minimum tread depth (R311.7.5.2); both limits exist together to keep a stair climbable at a safe, consistent angle.
Can riser heights vary within the same flight of stairs?
Not by much. The IRC requires riser heights within a single flight to be consistent, typically limiting the difference between the largest and smallest riser to no more than 3/8 inch. This calculator returns one evenly-split riser height for the whole flight, which is exactly the kind of uniform layout the code requires — real-world framing tolerances still need to be checked against that 3/8-inch consistency rule during construction.
Does a code-compliant riser and tread layout guarantee a legal stairway?
No. Riser height and tread depth are two of many requirements. A compliant stair also needs adequate headroom clearance, a graspable handrail on at least one side for most residential stairs, guards where the drop exceeds 30 inches, and correctly sized landings top and bottom — none of which this calculator checks. Always confirm the complete requirement set with your local building department before finalizing construction drawings.