Stair Calculator

Enter the total rise and get the number of risers, exact riser height, treads and total run, with code and comfort checks. Free, instant, no ads.

Finished floor to finished floor, measured vertically.
What you would like each step to be. Shown for comparison.
Horizontal depth of each step, nose to nose.
Optional. Horizontal space you have for the staircase.
 

    How it works

    The calculator divides the total rise by the maximum riser height of 7.75 in (19.7 cm) and rounds up to get the number of risers. Dividing the total rise by that count gives the exact riser height to lay out on the stringer. For comfort, twice the riser height plus the tread depth should land between 24 and 25 in (61 to 63.5 cm).

    risers = ceil(total rise / 7.7519.7)
    riser height = total rise / risers
    treads = risers - 1
    total run = treads × tread depth
    comfort = 2 × riser height + tread depth

    Your target riser height is shown next to the actual one so you can see how close the layout comes. Code limits here follow the US IRC (max riser 7.75 in or 19.7 cm, min tread 10 in or 25.4 cm). Local codes can differ, so always verify before you cut.

    Worked example

    Say the total rise from floor to floor is 100 inches. Then 100 / 7.75 = 12.9, rounded up to 13 risers. Each riser is 100 / 13 = 7.69 in, and there are 13 - 1 = 12 treads. With a 10.5 in tread depth the total run is 12 × 10.5 = 126 in. The comfort value is 2 × 7.69 + 10.5 = 25.88 in, slightly above the ideal 24 to 25 in range. One extra riser (14 risers of 7.14 in) would bring it to 24.79 in, inside the range.

    Risers by total rise

    Total rise (in)(cm)RisersRiser height (in)(cm)Treads

    FAQ

    What is the maximum riser height by code?

    The US IRC allows a maximum riser height of 7.75 inches (19.7 cm) for residential stairs. Risers within one flight must not vary by more than 3/8 inch (about 1 cm). Commercial codes and many local codes are stricter, so always verify with your local building department.

    What is the ideal riser height for stairs?

    Most people find risers of 7 to 7.5 inches (18 to 19 cm) the most comfortable to climb. Shallower risers around 6 inches (15 cm) suit outdoor steps and older users. Anything above the US IRC maximum of 7.75 inches (19.7 cm) feels steep and is not allowed there.

    What is the 2R+T rule for stairs?

    The 2R+T comfort rule says twice the riser height plus the tread depth should land between 24 and 25 inches (61 to 63.5 cm). It approximates a natural walking stride. Stairs inside that range feel comfortable, while stairs outside it feel too steep or too shallow.

    How do I calculate the number of steps in a staircase?

    Measure the total rise from finished floor to finished floor, then divide by the maximum riser height of 7.75 inches (19.7 cm) and round up. That gives the riser count. Dividing the total rise by it gives the exact riser height. The number of treads is one less than the number of risers.

    What is the minimum tread depth by code?

    The US IRC requires a minimum tread depth of 10 inches (25.4 cm), measured nose to nose. Deeper treads of 10.5 to 11 inches (27 to 28 cm) are more comfortable and common. Treads within a flight must not vary by more than 3/8 inch (about 1 cm). Check local rules before building.

    More free calculators

    Planning the rest of the job? Try the other free calculators:

    Results are estimates for planning purposes and not a substitute for professional advice. Always check local building codes and manufacturer instructions.