Stair Calculator

Risers, treads and a stringer layout, checked against residential code.

  • Free, no sign-up
  • Updates as you type
  • Works on your phone
  • Updated
Try an example:8' floor to floor9' floor to floor10' floor to floorDeck, 30" highBasement, 104"
Your stairs
Stringers
Headroom (optional)
Riser height——
Risers
—
Treads
—
Total run
—
Stringer length
—
Board to buy
—
Stringers needed
—
First riser on stringer
—
Wood left below notches
—
Stair angle
—

    Your stairs

    Loading 3D view…

    Drag sideways to turn · pinch or use + to zoom

    Stair Calculator by dasaas. Free tools for everyday work.

    Quick answer

    Divide the total rise by 7 3/4 in and round up to get the number of risers. Each riser is then the total rise divided by that number, and you need one fewer tread than risers. For a 9 ft (108 in) rise: 108 ÷ 7.75 = 13.9, so 14 risers of 7 11/16 in and 13 treads. With 10 in treads the stairs run 10 ft 10 in.

    Results are estimates checked against the 2021 International Residential Code. Local codes vary, so confirm with your building department before you cut.

    How to use the stair calculator

    1. Measure the total rise. Measure from the finished floor at the bottom to the finished floor (or deck surface) at the top. If the ground at the bottom slopes, measure where the stairs will actually land.
    2. Pick a tread depth. 10 in is the code minimum. Deck stairs often use about 11 in (two 2×6 boards); with deeper treads, slightly shorter risers keep the stride comfortable.
    3. Read the results. The calculator divides the rise into equal risers no taller than your maximum, then works out the run, the stringer length, the headroom and how many stringers to cut. Turn the 3D view to check the result.
    4. Lay out the stringer. Clamp stair gauges to a framing square at the riser and tread numbers, trace each notch along the board, and trim the tread thickness off the bottom. Print the stringer layout to take with you.

    Residential stair rules

    These are the main limits in the 2021 International Residential Code. Many US cities adopt it with local changes.

    RuleLimitIRC section
    Riser height7 3/4 in maximumR311.7.5.1
    Tread depth10 in minimumR311.7.5.2
    Stair width36 in minimumR311.7.1
    Headroom6 ft 8 in minimumR311.7.2
    Rise of one flight151 in maximum between landingsR311.7.3

    Common stair sizes

    Worked out with a 7 3/4 in maximum riser and 10 in treads.

    Total riseRisersRiser heightTreadsTotal run
    30 in (deck)47 1/2 in32 ft 6 in
    96 in (8 ft)137 3/8 in1210 ft
    108 in (9 ft)147 11/16 in1310 ft 10 in
    120 in (10 ft)167 1/2 in1512 ft 6 in

    How the numbers are worked out

    The number of risers is the total rise divided by the maximum riser height, rounded up. Every riser then gets the same height: total rise ÷ risers. There is one fewer tread than risers, because the top floor acts as the last step. Total run is treads × tread depth, and the stringer length is the diagonal of the rise and run. Headroom is checked at the edge of the ceiling opening: the clear height from the stair's nosing line up to the underside of the upper floor.

    Questions people ask

    How many steps do I need for an 8 foot rise?

    An 8 ft (96 in) rise needs 13 risers of about 7 3/8 in each, with 12 treads. Dividing 96 by the 7 3/4 in code maximum gives 12.4, which rounds up to 13 risers.

    What is the maximum riser height and minimum tread depth?

    Under the International Residential Code (R311.7.5), risers can be at most 7 3/4 in tall and treads must be at least 10 in deep, measured without the nosing. Your local code may differ, so check with your building department.

    How much headroom do stairs need?

    The IRC requires at least 6 ft 8 in of clear headroom (R311.7.2), measured straight up from the sloped line connecting the tread nosings. Enter your ceiling opening length to check it.

    Why is the first riser cut shorter than the others?

    The tread on top of each step adds its thickness to every riser except the first, which sits on the floor. Trimming the tread thickness off the bottom of the stringer makes every finished step the same height.

    How long should my stair stringer board be?

    The stringer runs along the diagonal from the floor to the top landing. The calculator adds one extra step of length for the top and bottom cuts and suggests the next standard lumber length.

    How many stringers do I need?

    The calculator divides the stair width by your maximum stringer spacing and adds one, with a minimum of two. Tread material sets how far it can span, so check the tread manufacturer’s rating.

    Put this calculator on your own website

    Free to embed on any site. Paste this code where you want the calculator to appear.