Stair Calculator

Results
—
—

Design a safe, comfortable staircase with our Stair Calculator. Enter the total height (rise) and horizontal distance (run) between floors, plus your preferred riser height, and we'll tell you exactly how many steps you need, the precise tread depth, the slope angle, and the total stringer length.

Good stairs follow the 17-18 inch rule: one riser plus one tread should equal 17-18 inches for natural walking rhythm. Our tool checks your design against this guideline and alerts you if it's outside the comfortable range.

How to Plan a Staircase: Number of Steps, Riser Height & Tread Depth

Start With the Floor-to-Floor Height

Measure the total rise from the top of the lower floor to the top of the upper floor — finished surfaces included. Then measure the total run, the horizontal distance the stair will cover. These two numbers drive everything else: the more accurately you measure them, the fewer surprises when you cut stringers.

Pick a Riser Height, Then Let It Size the Stair

Divide the total rise by a target riser (7 in is a common, comfortable starting point) and round to the nearest whole number of steps. Re-divide to get the exact riser so every step is identical — uneven steps are the number one cause of tripping and the fastest way to fail an inspection.

Balance Rise and Run for Comfort

Once the riser is fixed, the tread depth follows from the total run, and comfort is judged by the Blondel rule: 2 × riser + tread should land between 24 and 25 inches. Too shallow a tread and you clip your toes; too tall a riser and the climb feels punishing. For the underlying math and the code limits, see the stair calculation formula guide.

Don't Forget Headroom and the Stringer

A stair that fits the floor plan still needs at least 6 ft 8 in of vertical headroom along its whole length, and the diagonal stringer that carries the treads is cut from √(rise² + run²) with extra length for the top and bottom plumb cuts. Factor both in before you buy lumber.

Plan It in Seconds

Enter your total rise, total run, and preferred riser height above to get the number of steps, exact tread depth, slope angle, and stringer length — checked against the comfort range automatically.

Formula
Number of risers = Total Rise ÷ Riser Height; Tread = Total Run ÷ (Risers − 1)

FAQ

What is the ideal riser/tread ratio?
Most building codes require risers between 4-8 inches and treads at least 10 inches. A comfortable rule of thumb: riser + tread ≈ 17-18 inches (e.g., 7" + 11" = 18").
How do I calculate stringer length?
Use the Pythagorean theorem: stringer = √(total rise² + total run²). The calculator gives you this automatically.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. About MateCalc.

Related Calculators