Stair Calculator · https://calcnaut.com/stair-calculator/
Stair Calculator
Lay out a staircase from a single measurement, the total rise floor to floor. Enter it with your target riser height and tread depth, and the calculator returns the number of steps, the exact riser height, the total run, the stringer length and the stair angle, then checks it against the IRC residential code. The formula is shown so you can verify every number before you cut a stringer.
This is an estimate, not professional advice. Check your inputs and verify the result against your plans and local building code before you build or order. See terms and disclaimer.
How this calculator works
Number of risers = ceiling( Total rise ÷ Target riser )Actual riser height = Total rise ÷ Number of risersNumber of treads = Number of risers − 1Total run = Treads × Tread depthStringer length = √( Total rise² + Total run² )Stair angle = arctan( Total rise ÷ Total run )Enter your dimensions and the result updates instantly. A waste allowance is included so you order slightly over rather than running short mid-pour, and ready-mix is rounded up to the nearest quarter yard, which is how it is sold.
Worked example
A 9 ft floor height (108 in total rise) with a 7.5 in target riser and 11 in tread. Inputs: Total rise (floor to floor) 108 in, Target riser height 7.5 in, Tread depth (run) 11 in, Stair width 36 in. Result: 14 .
Stairs for common floor heights
With a 7.5 in target riser and 11 in tread. Tap a row to load it in the calculator above.
| Total rise | Number of steps (risers) | Actual riser height (in) | Stringer length (in) | |
|---|---|---|---|---|
| 96 in (8 ft) | 13 | 7.385 | 163.22 | Use → |
| 105 in | 14 | 7.5 | 177.41 | Use → |
| 108 in (9 ft) | 14 | 7.714 | 179.2 | Use → |
| 112 in | 15 | 7.467 | 190.42 | Use → |
| 120 in (10 ft) | 16 | 7.5 | 204.02 | Use → |
| 144 in (12 ft) | 19 | 7.579 | 244.83 | Use → |
Method & assumptions
A staircase is laid out from one controlling measurement: the total rise, the vertical distance from the lower finished floor to the upper finished floor. You cannot pick the riser height freely, because the risers must divide the total rise into equal parts. So you start from a target riser, divide the total rise by it, and round to the nearest whole number of risers. The actual riser height is then the total rise divided by that whole number of risers, and you confirm it stays under the 7.75 inch code maximum. If it comes out over, add one more riser, which lowers each one.
There is always one fewer tread than riser, because the upper floor itself serves as the final step, so a flight with 14 risers has 13 treads. The total run is the number of treads times the tread depth (the run). The stringer, the diagonal board the steps are cut from, is the hypotenuse of the right triangle formed by the total rise and total run, found with the Pythagorean theorem: stringer length is the square root of rise squared plus run squared. Add 6 to 12 inches of extra stringer stock for the plumb cut at the top and the seat cut at the bottom.
The result is checked against the International Residential Code, IRC section R311.7. For residential stairs the riser height must not exceed 7.75 inches, the tread depth must be at least 10 inches, and the stair width at least 36 inches. The code also requires consistency: the tallest and shortest risers in a flight cannot differ by more than 3/8 inch, which is why the math must be exact, an inspection fails on a quarter-inch error. For comfort, aim for a riser plus tread sum near 17 to 18 inches, or the classic rule that two risers plus one tread falls between 24 and 25 inches. Commercial stairs follow the stricter IBC (7 inch riser, 11 inch tread), so always confirm the code that applies with your local building department.
Pro tips and common mistakes
- Measure total rise to the finished floors. Include the thickness of the flooring at the top and bottom, not just the subfloor. A half-inch error here throws off every riser and can fail inspection.
- Round risers up, not to nearest. Dividing the total rise and rounding up keeps the actual riser at or below your target, so it stays under the 7.75 inch code maximum. Rounding down can push the riser over the limit.
- Keep every riser equal. Code allows no more than 3/8 inch difference between the tallest and shortest riser in a flight. Mark your stringer from the calculated height, do not eyeball the last step.
- Add stock for the stringer cuts. Buy the stringer 6 to 12 inches longer than the calculated length to allow for the plumb cut at the top and the seat cut at the bottom where it meets the floor.
- Aim for comfort, not just code. The minimums are legal, not necessarily pleasant. A 7 inch riser with an 11 inch tread (rise plus run of 18) walks far better than the tightest 7.75 by 10 allowed.
Frequently asked questions
How do I calculate the number of stairs?
What is the maximum riser height for stairs?
How do I calculate stringer length?
What is the most comfortable rise and run for stairs?
How many treads for a 9 foot ceiling?
References
Related calculators
Cite or embed this calculator
Using this in an article or on your own site? Copy a citation, or embed the live calculator for free.
Stair Calculator. Calcnaut. https://calcnaut.com/stair-calculator/<iframe src="https://calcnaut.com/stair-calculator/embed/" width="100%" height="640" loading="lazy" style="border:1px solid #e5e7eb;border-radius:14px" title="Stair Calculator"></iframe>
<p style="font:13px/1.5 sans-serif;text-align:center;color:#555">Powered by <a href="https://calcnaut.com/stair-calculator/" rel="nofollow">Calcnaut</a></p>