Skip to content
SqftCalcs
★ 5.0 / 54 votes (100% helpful)

Measure the total rise straight down from the top finished floor (or the deck surface) to the finished floor or ground where the stairs will land. Measure where the bottom step will be: ground is rarely level. Building steps down from a deck? The deck calculator covers the boards and joists.

Worked example

A 9 ft floor-to-floor stair, 108 in of rise

Steps for the worked example
Total rise9 ft
Risers (total rise ÷ tallest riser, rounded up)14 risers
Riser height (total rise ÷ risers)7.71 in
Treads (one fewer than the risers)13 treads
Tread depth10 in
Total run (treads × tread depth)10 ft 10 in
Stair angle37.6°
Stringer length along the slope √(rise² + run²)14 ft 1 in
Stringer board: length + 6 in for the end cuts (Fine Homebuilding)14 ft 7 in

Answer: 14 risers of 7.71 in. The rise is divided into equal risers no taller than the limit, with one tread fewer than the risers.

Formula and method

risers = ⌈ total rise ÷ tallest riser ⌉

riser height = total rise ÷ risers

treads = risers − 1 · total run = treads × tread depth

stringer length = √(total rise² + total run²)

Dividing by the tallest riser allowed and rounding up gives the fewest equal risers that stay under it; rounding down would make them too tall. A straight flight has one tread fewer than its risers, because the top step is the floor or deck itself (Fine Homebuilding). The stringer runs along the slope, so its length is the diagonal of the rise and run; buy a board about 6 in longer for the cuts at each end.

Building code limits

  • Risers: at most 7.75 in, all within 3/8 in of each other (IRC R311.7.5.1).
  • Treads: at least 10 in deep, within 3/8 in of each other; under 11 in, a nosing of ¾ to 1¼ in is required (R311.7.5.2, R311.7.5.3).
  • Width and headroom: at least 36 in wide and 6 ft 8 in of headroom (R311.7.1, R311.7.2).
  • One flight: at most 12 ft 7 in of rise between floors or landings (R311.7.3 in the 2018 and 2021 editions; 147 in in the 2015 edition). For deck stairs, the American Wood Council's DCA 6 (2015 IRC edition) asks for a landing once the stair rises more than 12 ft; choose “Deck or outdoor stairs” to check it.
  • Handrail: on at least one side once there are 4 or more risers (R311.7.8).

These are the International Residential Code's limits (2018 and 2021 editions). Your town may have adopted another edition or changed them, so type your local limit in the calculator if it differs. The calculator checks dimensions only: it is not a structural design or proof that the stairs meet your code.

Risers and run for common heights

Risers and treads for common total rises
Total riseRisersRiser heightTreadsTotal run
1 ft 6 in36 in21 ft 8 in
2 ft46 in32 ft 6 in
2 ft 6 in47.5 in32 ft 6 in
3 ft57.2 in43 ft 4 in
4 ft76.86 in65 ft
5 ft87.5 in75 ft 10 in
8 ft137.38 in1210 ft
8 ft 6 in147.29 in1310 ft 10 in
9 ft147.71 in1310 ft 10 in
9 ft 6 in157.6 in1411 ft 8 in
10 ft167.5 in1512 ft 6 in

With risers of at most 7.75 in and treads 10 in deep. A 9 ft floor-to-floor height (108 in) takes 14 risers of 7.71 in.

Stringers

For deck stairs, DCA 6 calls for 2 × 12 stringers, at least three when they are cut, no more than 18 in apart; a cut stringer can span at most 6 ft, or needs a post under it, and keeps at least 5 in of wood behind the notches (Figure 28). The calculator checks that on a 2 × 12 (11.25 in deep): deep treads with tall risers leave less. DCA 6 also calls for a guard once deck stairs rise 30 in or more. For indoor stairs, the calculator gives the stringer length only; follow your plans for their number and size. Before cutting, take one tread's thickness off the bottom of each stringer, or the first step will be taller than the rest.

Pouring concrete steps instead? The concrete calculator works out the volume, and concrete for footings and steps covers the forms.

Comfortable stairs

A common rule from Fine Homebuilding: twice the riser plus the tread should be within an inch of 25 in. Deck steps with 30 in of rise come out at 4 risers of 7.5 in; with 10 in treads that is 25 in. The calculator warns when a layout falls outside 24 to 26 in.

Common mistakes

  • Measuring the rise from the wrong surface. Use the finished floors (or the deck boards), not the subfloor or framing.
  • Counting treads as risers. There is one tread fewer than risers.
  • Forgetting to drop the stringer. Without it, the bottom riser ends up a tread thickness taller.
  • Rounding the riser count down. The risers come out taller than the code allows.

Frequently asked questions

How many steps do I need for a 9 ft ceiling?

Measure the total rise floor to floor, which includes the floor framing above. For 108 in, 14 risers and 13 treads.

What is the maximum riser height?

7.75 in under the IRC, unless your local code says otherwise.