Stair Calculator

Updated How we calculate2 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.
0 risers
Riser height0
Treads (steps)0
Total run0
Stringer length0
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

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.

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)

See how we calculate.