KeypadLab

Stair Calculator

Enter the floor-to-floor height and get the number of steps, riser height, tread depth, total run and angle, checked against the step formula and building code limits.

in
in

Measure from finished floor to finished floor. Leave the run empty to get the most comfortable tread depth.

Number of risers ·
–
Result⌐
Riser height–
Tread depth–
Risers–
Treads–
Total run–
Angle–

Checks

    How to use the stair calculator

    1. Measure the total rise from finished floor to finished floor, including flooring on both levels.
    2. Enter it. The calculator picks the number of risers that gives a comfortable step, and derives the tread depth from the step formula.
    3. If your space is limited, enter the available run. The tread depth then comes from the space, and the calculator picks the riser count that fits the step formula best.
    4. Use − and + to try more or fewer steps. The checks below the result show whether the stair stays comfortable and within code.

    The rules behind a comfortable stair

    A stair feels natural when rise and tread match the length of an average step. Three rules of thumb describe this, with R as riser height and T as tread depth:

    RuleFormulaTarget
    Step formula2R + T24–25½ in (59–65 cm), ideal about 24¾ in
    Safety ruleT + Rabout 18 in (46 cm)
    Comfort ruleT − Rabout 4¾ in (12 cm)

    The number of treads is always one less than the number of risers, because the top step is the upper floor itself.

    US residential code limits (IRC)

    For one- and two-family homes the International Residential Code sets these main limits for stairs:

    ItemLimit
    Riser heightmax. 7¾ in
    Tread depthmin. 10 in
    Headroommin. 6 ft 8 in
    Widthmin. 36 in

    Local codes can differ and change. Treat these values as a planning aid and confirm them with your building department before you build.

    Frequently asked questions

    How many steps do I need for 9 ft ceilings?

    With a 9 ft ceiling and about 12 in of floor structure the total rise is around 108 in. That gives 15 or 16 risers of roughly 7 in each.

    Why does the calculator show fewer treads than risers?

    You step onto the upper floor with the last riser, so there is one tread fewer than risers.

    Can I use metric units?

    Yes. Switch between in and cm above the input fields; your values are converted.