Guide
How to Calculate Stair Rise and Run
Published July 19, 2026
The building-code comfort formula for stairs — 2 x rise + run should land between roughly 24 and 25 inches — has been used for generations because stairs built well outside that range genuinely feel wrong to walk, whether too steep (short run, tall rise) or oddly shallow (long run, short rise), even when each individual measurement passes code minimums on its own.
The 2R + T formula, worked
Take a stair with a 7-inch rise and a 10.5-inch run: 2(7) + 10.5 = 24.5, comfortably inside the 24-25 inch target range. Now take a stair with a 6-inch rise and a 13-inch run: 2(6) + 13 = 25, still technically inside the range but starting to feel like a long, shallow stair to climb, since so much of the total comes from run rather than rise. A stair with an 8-inch rise and a 9-inch run: 2(8) + 9 = 25 — inside the range on paper, but many people find an 8-inch rise noticeably steeper-feeling than a 7-inch one, which is why most codes also set a maximum individual riser height (often around 7.75 inches) on top of the combined formula.
What happens when total height doesn't divide evenly
Total rise (floor-to-floor height) almost never divides into a perfectly round number of 7-inch steps. Say total rise is 97 inches: 97 / 7 = 13.86, which isn't a whole number of steps. The standard fix is to pick the nearest whole step count (14 steps) and recalculate the exact individual rise: 97 / 14 = 6.93 inches per step — still well within the comfortable and code-compliant range, and critically, every step in the run is now identical, which is what actually matters for safety, since an inconsistent riser height between steps is a well-documented trip hazard even when the average height across the whole stair is fine.
Solving for run once rise and step count are set
With individual rise settled from the step above, use the 2R + T target (24-25 inches) to solve for tread run: T = 24.5 - 2(6.93) ≈ 10.6 inches, which then multiplies by step count for total horizontal footprint needed — a real space-planning constraint that's worth checking early, since a comfortable stair needs meaningfully more horizontal run than a steep one for the same total height.
Using the calculator
The stair calculator runs this exact process — total rise in, step count and per-step rise/run out, flagged against the standard comfort range — for both interior and exterior stairs; this is structural, walked-surface work, so confirm the final numbers against your specific local building code before cutting stringers.
A second worked example with an odd total height
Total rise of 112 inches, targeting a 7.5-inch riser: 112/7.5 ≈ 14.9 steps, rounding to 15 steps. Recalculated exact rise: 112/15 ≈ 7.47 inches per step, still within a typical code's allowed maximum. Solving for run at the 2R+T ≈ 24.5 target: run = 24.5 - 2(7.47) ≈ 9.56 inches, for a total horizontal run of 15 x 9.56 ≈ 143 inches (just under 12 feet) — a useful check before finalizing a stairwell's footprint in a floor plan.
FAQ
Why can't I just use a round 7-inch rise for every stair?
Because total floor-to-floor height is essentially never an exact multiple of 7 inches — forcing a round rise number usually means one odd, mismatched step somewhere in the run, which is both against most codes (requiring consistent riser height) and a real trip hazard.
Is a shallower stair (lower rise, longer run) always more comfortable?
Not necessarily beyond a certain point — very shallow stairs can start to feel awkwardly long to climb and take up more horizontal space than many layouts can accommodate, which is exactly why the 2R+T formula targets a balanced range rather than simply minimizing rise.
Does the top and bottom step count the same as the steps in between?
Counting convention matters here — the number of risers is typically one more than the number of treads, since the top tread is usually the upper floor itself rather than a separate step, which is a common source of off-by-one errors when planning stringer layout by hand rather than using a calculator that handles the distinction consistently.
How much does nosing (the tread overhang past the riser) affect the run calculation?
Nosing adds a small amount of usable tread depth beyond the structural run measurement, which some codes allow to count toward the minimum tread depth requirement — check your local code's specific treatment of nosing, since it can be the difference between a tread that technically meets minimum depth and one that doesn't, on an otherwise identical stringer layout.
Does a spiral or curved staircase use the same rise/run formula?
The riser height calculation follows the same logic, but tread run/depth on a curved stair varies by measurement point (narrower toward the inside of the curve, wider toward the outside), so codes typically specify a minimum tread depth measured at a defined walk line rather than a single flat run figure the way a straight stair uses — a genuinely different, more complex calculation best left to a stair specialist or detailed code reference.
What's a comfortable rise/run for an exterior stair with wide, shallow steps, like a porch entry?
Exterior entry stairs are sometimes built with a shallower rise and deeper run than the standard interior comfort range, since they're often approached at an angle or used less frequently than a primary interior stair — but they still need to meet minimum and maximum rise/run limits under applicable code, so 'shallower feels grander' isn't a free pass to ignore the comfort formula entirely.
Does basement stair rise/run follow the same rules as main-floor stairs?
Generally yes under most residential codes, though some jurisdictions allow slightly different tolerances for basement or utility stairs versus a primary means of egress — worth a quick local-code check if the basement stair will see regular daily use rather than occasional utility access.
What tools do I actually need to lay out a stair stringer from these numbers?
A framing square (ideally with stair gauge attachments to lock in your specific rise and run measurements), a sharp pencil, a circular saw, and a straightedge for checking cuts are the core tools — the framing square with stair gauges is what turns the calculated rise/run numbers into a marked, repeatable cutting line on the actual stringer stock.
How many stringers does a typical residential stair need?
Two stringers (one on each side) are the minimum for a narrow stair, but a middle stringer is commonly added for stairs wider than about 36 inches to prevent tread bounce or sag in the center, and code in some jurisdictions requires it beyond a specific width — check your local requirement rather than assuming two stringers is always sufficient.