Skip to content
CalcShown

Popular

    Framing & Lumber

    Stair Calculator

    Enter the total rise and your target riser and tread sizes. You get the number of steps, the exact riser height, the total run and the stringer length, checked against the IRC.

    Verified · 7 tests · 2 sources · Updated

    What verified means on this page

    • Tested. 7 automated tests check this calculator against official examples, published tables or hand-worked answers every time the site changes (last run December 3, 2026).
    • Sourced. The formulas and data come from the 2 sources listed below, checked against a second source.
    • Shown. "Show the Math" lists every step with your own numbers, so you can check the answer yourself.
    • Open to correction. Spot an error? Tell us. We fix it, add a test so it can't come back, and log it.
    How we verify every calculator →

    e.g. 9 ft or 108 in. Measure at the top of the stairs, level, down to where the bottom step lands.

    IRC limit 7¾ in. Many builders aim for about 7–7½ in.

    IRC minimum 10 in. 11 in is more comfortable.

    Stair Formula

    risers   = ceil(total rise ÷ max riser)
    riser    = total rise ÷ risers
    treads   = risers − 1
    run      = treads × tread depth
    stringer = √(rise² + run²)
    

    Stairs by Total Rise (7¾ in Max Riser, 10 in Treads)

    Total rise Risers Riser height Treads Total run Stringer
    84 in (7 ft) 11 7.64 in 10 100 in 130.6 in
    96 in (8 ft) 13 7.38 in 12 120 in 153.7 in
    105 in 14 7.50 in 13 130 in 167.1 in
    108 in (9 ft) 14 7.71 in 13 130 in 169.0 in
    120 in (10 ft) 16 7.50 in 15 150 in 192.1 in

    IRC R311.7 at a Glance

    Rule Limit
    Riser height 7¾ in max
    Tread depth 10 in min (nosing ¾–1¼ in when under 11 in)
    Variation in a flight ⅜ in max
    Width 36 in min
    Headroom 6 ft 8 in min
    Handrail Required with 4 or more risers, 34–38 in high

    Some jurisdictions amend these, so check with your building department.

    Measuring Total Rise

    Measure from the finished upper floor straight down to the finished surface where the bottom step will land. Measure where the stairs will sit, because floors and grades are rarely level. On a deck, measure from the top of the decking to the landing pad.

    Frequently Asked Questions

    How do I calculate the number of stairs?

    Divide the total rise by the maximum riser height (7¾ in under the IRC) and round up. That gives the number of risers. There is one fewer tread than risers. A 108 in rise needs 14 risers of 7.71 in and 13 treads.

    What are the IRC stair requirements?

    IRC R311.7 sets a maximum riser of 7¾ in, a minimum tread of 10 in, a minimum width of 36 in and minimum headroom of 6 ft 8 in. Risers and treads in a flight may vary by no more than ⅜ in.

    How long is a stair stringer?

    Stringer length = √(total rise² + total run²). For a 108 in rise and 130 in run, it's √(108² + 130²) = 169 in, or about 14 ft 1 in. Buy at least a 16 ft board to allow for the cuts at each end.

    What is the most comfortable stair size?

    The classic rule is 2 × riser + tread = 24–25 in. A 7 in riser with an 11 in tread (25 in) feels natural. Steep stairs (7¾ in riser, 10 in tread) are code-legal but less comfortable.

    Sources

    1. International Residential Code R311.7, Stairways
    2. American Wood Council, DCA 6 (deck stair stringers)