Stair Calculator

Updated How we calculate3 sources

A 9 ft rise from floor to floor works out to 14 risers of about 7.71 in, just under the 7 3/4 in maximum in the US residential code (the IRC). Measure your total rise and the calculator gives the steps, run and stringer length.

IRC maximum is 7.75 in.
IRC minimum is 10 in.
IRC minimum is 36 in.
0 risers
Riser height0
Treads (steps)0
Total run0
Stringer length (along the steps)0
Cut 2 × 12 stringers0
Wood left below the notches0
Stair angle0
2 risers + 1 tread0

Quick answers

How to use the stair calculator

  1. Measure the total rise: the vertical distance from the finished lower floor to the finished upper floor or deck surface. Measure at the spot where the stairs will land, since floors are rarely level.
  2. Keep the maximum riser at 7.75 in unless your local code says otherwise. Lower risers make gentler stairs that take more floor space.
  3. Enter your tread depth. Treads are measured from the front edge of one step to the front edge of the next.
  4. Building the deck as well? The deck calculator counts boards, joists and screws and checks the joist span against DCA 6, and the joist size by span page gives the answer for a span you already know.

The formula

Risers = total rise ÷ max riser, rounded up. Riser height = total rise ÷ risers. Treads = risers − 1. Total run = treads × tread depth. Stringer length = √(rise² + run²).

Worked example: a 9 ft floor-to-floor rise

108 in ÷ 7.75 = 13.9, so 14 risers of 108 ÷ 14 = 7.71 in. That gives 13 treads; at 10 in each the stairs run 130 in (10 ft 10 in). The stringer is √(108² + 130²) = 169 in, about 14 ft 1 in.

Stairs for common rises

7.75 in maximum riser, 10 in treads.

Total riseRisersRiser heightTotal runStringer
2 ft 0.0 in46.00 in2 ft 6.0 in3 ft 2.4 in
3 ft 0.0 in57.20 in3 ft 4.0 in4 ft 5.8 in
4 ft 0.0 in76.86 in5 ft 0.0 in6 ft 4.8 in
8 ft 0.0 in137.38 in10 ft 0.0 in12 ft 9.7 in
9 ft 0.0 in147.71 in10 ft 10.0 in14 ft 1.0 in
10 ft 0.0 in167.50 in12 ft 6.0 in16 ft 0.1 in

Cut stringers for deck stairs: how many, how far, how deep

The stringers are the notched boards the treads sit on. For outdoor stairs off a deck, the clearest rules we found are in the American Wood Council's DCA 6 prescriptive deck guide (the edition based on the 2015 IRC). Its stair section says:

The calculator above uses those numbers. It counts stringers from your stair width, treats the total run as the horizontal span (the stringer runs from the deck rim to its bearing at the bottom riser), and works out how much wood the notches leave on a 2 × 12, which the American Wood Council's span tables give as 11 1/4 in deep.

How much wood is left under the notches

Each notch cuts into the board by the height of a right triangle with the riser and the tread as its legs: riser × tread ÷ √(riser² + tread²). Take that from 11.25 in and you have the throat. For the IRC maximum of 7 3/4 in by 10 in, that's 11.25 − 6.13 = 5.12 in, the same 5.1 in that DCA 6's commentary says its cut stringers were checked at. Bigger steps cut deeper, so the tread matters as much as the riser:

Riser10 in tread10.5 in tread11 in tread12 in tread
6 in6.11 in6.04 in5.98 in5.88 in
6.5 in5.80 in5.72 in5.65 in5.53 in
7 in5.52 in5.43 in5.34 in5.20 in
7.25 in5.38 in5.28 in5.20 in5.04 in
7.5 in5.25 in5.15 in5.05 in4.89 in, under 5
7.75 in5.12 in5.01 in4.91 in, under 54.74 in, under 5

Our arithmetic on a 2 × 12 (11 1/4 in actual), notches cut exactly to the layout line. Overcutting a corner with a circular saw takes more.

A comfortable 11 in or 12 in tread with a riser near the maximum leaves less than DCA 6's 5 in on a 2 × 12. If you want deeper treads, lower the riser (the calculator will add a step), or use solid stringers, which aren't notched; DCA 6 hangs each tread on 2 × 4 ledgers screwed to their sides (Figure 29).

Deck heights a cut-stringer stair can reach

7.75 in maximum riser and 10 in treads, the calculator's defaults. "Within 6 ft" compares the total run with DCA 6's cut-stringer span.

Deck heightRisersRiser heightTotal runWithin 6 ft?
2 ft 0.0 in46.00 in2 ft 6.0 inYes
2 ft 6.0 in47.50 in2 ft 6.0 inYes
3 ft 0.0 in57.20 in3 ft 4.0 inYes
4 ft 0.0 in76.86 in5 ft 0.0 inYes
5 ft 0.0 in87.50 in5 ft 10.0 inYes
6 ft 0.0 in107.20 in7 ft 6.0 inNo: add a post or use solid stringers
8 ft 0.0 in137.38 in10 ft 0.0 inNo: add a post or use solid stringers

Seven 10 in treads make exactly 6 ft of run, and eight risers of 7 3/4 in top out at 62 in, so with these defaults cut stringers alone reach a deck about 5 ft 2 in up. With 11 in treads it's six treads and about 4 ft 6 in. DCA 6 also asks for a stair guard once the stair's total rise reaches 30 in, and a handrail on any stair with four or more risers. For the deck itself, the joist size by span page uses the same guide's tables.

Code basics (IRC)

Codes are adopted and amended locally. Confirm requirements with your building department before you build.

Save this example

The worked example as a card you can save to Pinterest or print.

How many stairs for a 9 ft floor-to-floor rise? 14 risers of 7.71 in. 13 treads at 10 inches deep. Total run of 10 ft 10 in. Stringer about 14 ft 1 in long.

Common questions

How many steps do I need for a 3 ft rise?

A 36 in rise ÷ 7.75 = 4.6, so you need 5 risers of 7.2 in each and 4 treads. With 10 in treads the stairs run 40 in.

What is the maximum riser height?

Under the International Residential Code (R311.7.5.1), riser height may not exceed 7 3/4 in. Minimum tread depth is 10 in (R311.7.5.2). Local codes can be stricter, so check with your building department.

How long should a stair stringer be?

Stringer length is the hypotenuse of the total rise and total run: √(rise² + run²). Buy lumber at least one size longer than the calculated length so there's room for the bottom cut and top connection.

How many stringers do I need for deck stairs?

DCA 6, the American Wood Council's deck guide, says a stair built only on cut stringers needs at least three, spaced no more than 18 in on center. That is three for a 36 in stair, four for 48 in and five for 60 in. Some synthetic deckings want their supports closer than that; our stair rise and run guide covers it, and the tread maker's instructions win.

How far can a cut stair stringer span?

DCA 6 limits a 2 × 12 cut stringer to 6 ft 0 in measured horizontally, and a solid (uncut) stringer to 13 ft 3 in. With 10 in treads that covers up to 7 treads, or about 5 ft 2 in of rise. Past that, DCA 6 lets you add a 4 × 4 post on its own footing under the stringers, or an intermediate landing.

Guides and posts for this project

Related calculators

Sources

  1. International Residential Code 2021, Section R311.7 (stairways)
  2. American Wood Council DCA 6 prescriptive deck construction guide (joist spans, fastening, stairs)
  3. American Wood Council: 2024 Span Tables for Joists and Rafters (12, 16, 19.2 and 24 in spacings; spans on the horizontal projection)

See how we calculate.