PLANKMATH

Stairs

Measure the height once. This splits it into equal steps, sizes the stringers, lists the lumber, and says which code lines to check before you cut.

Estimating and layout only. Stairs are permitted and inspected work in most places, and local codes amend the IRC. Check what your building department enforces before you cut a stringer.

The rise
finished surface to finished surface
The treads
The stringers
At the bottom
On the counter

Your buy list

0

2×12 stringers · 0 risers
Risers
—
Treads
—
Total run
—
Stair angle
—
Stringer length
—
Throat
—
Stringers
—
Tread boards
—
Riser boards
—
Hangers
—
Screws
—
Pad concrete
—
Estimated cost
—

Checks, not a certification

  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —
  • —

Code figures from the 2021 IRC and AWC DCA 6. Local codes amend them.


One measurement, divided evenly

A stair starts with one number: the total rise, from the finished deck surface down to the finished surface the bottom step lands on. Divide it by the riser height you want, round to a whole number of steps, and divide again to get the actual riser. Every riser on the flight is that height. The IRC lets the tallest riser in a flight exceed the shortest by no more than ⅜ in (R311.7.5.1), because a stair that changes rhythm is the one people trip on. At 50 in and a 7½ in target, that is 7 risers of 7⅛ in. With the deck as the top step, that leaves 6 treads and 5 ft 3 in of run.

Most errors come from the measurement, not the arithmetic. Measure to where the bottom step will actually land: the top of a pad you have not poured yet, or the ground after you level it. If the ground slopes away from the deck, measure at the spot where the stair ends, which is a run's length out, not at the rim. On the stringer itself, the bottom is usually cut down by one tread thickness so that the first riser, once the tread is on, comes out the same height as the rest.

What the checks read from

CheckFigureSource
Riser height7¾ in max2021 IRC R311.7.5.1
Tread depth10 in min, nosing to nosing2021 IRC R311.7.5.2
Nosing¾ to 1¼ in; not required on 11 in treads2021 IRC R311.7.5.3
Open risersNo 4 in sphere through, more than 30 in up2021 IRC R311.7.5.1
Width36 in min2021 IRC R311.7.1
Headroom6 ft 8 in min (not checked here)2021 IRC R311.7.2
Flight height12 ft 7 in between landings2021 IRC R311.7.3
Handrail4 or more risers; 34 to 38 in high2021 IRC R311.7.8
GuardOver 30 in above grade; 34 in min on a stair2021 IRC R312.1.1, R312.1.2
Throat5 in min on a cut stringerAWC DCA 6, Figure 28
Cut stringer span6 ft 0 in max, horizontalAWC DCA 6, Figure 28
Stringer spacing18 in max for cut stringers; 3 at leastAWC DCA 6, Figure 29
Comfort2 × riser + tread, 24 to 25 inRule of thumb, not code

The IRC is a model code. States and towns adopt an edition, sometimes an older one, and amend it. Some change riser heights, guard heights or deck stair details. DCA 6 (the 2015 edition here) is the American Wood Council's prescriptive deck guide, which many building departments accept for decks. It is not code unless your jurisdiction adopts it. A pass here means the numbers sit inside these figures. It does not mean the stair passes inspection.

The throat and the span

Every notch you cut into a stringer removes wood from the board that carries the load. What is left, measured at right angles from the inside corner of a notch to the bottom edge, is the throat. A 2×12 is 11¼ in deep, and a notch for a 7⅛ in riser and a 10½ in tread is 5.9 in deep at right angles, which leaves 5⅜ in. You will hear smaller figures quoted, but DCA 6 asks for 5 in, and that is the figure this calculator holds you to. A deeper tread on a tall riser makes deeper notches: 7¾ in by 11 in leaves 4.9 in, and the tag warns.

DCA 6 also limits a cut 2×12 to a 6 ft horizontal span between supports. A 57 in deck stair runs 6 ft 1½ in, just over that limit. Past it, the guide's fix is a 4×4 post under the stringers on its own footing, or an intermediate landing. Solid (uncut) stringers with treads on cleats are allowed up to 13 ft 3 in. A long stair without mid-span support is the kind that bounces, and sometimes the kind that fails.

Hangers, screws and the bottom

At the top, DCA 6 shows each stringer in a sloped hanger on the rim joist, rated for at least 625 lb. Some builders hang the stringers from a hanger board fastened under the rim instead, which is a detail to clear with your inspector. The treads go on with two #8 screws at least 2½ in long per tread at each stringer, per DCA 6. This list counts two per board, so a two-board tread gets four at each stringer. At the bottom, DCA 6 does not let stringers bear on a pad or patio unless it is founded at least 12 in below undisturbed ground and below the frost line. A thin landing pad gives the bottom step something firm and level to land on, but the stringers may still need their own footing. The concrete calculator handles bigger pours, and the deck board calculator handles the deck the stair serves.


On the counter

The assumptions and limits this calculator uses. The form exposes the settings you can change; fixed allowances are described below.

Total rise
Finished surface to finished surface: top of the decking to the top of the pad or firm ground the bottom step lands on
Riser count
Rise ÷ your target, rounded to the nearest whole riser. If that leaves a riser over 7¾ in, the count goes up until it does not. Every riser comes out the same height
Top step
Usually the deck itself, which leaves one tread fewer than risers. If you put a tread on the stringers at the top, the count is equal
Stringer length
The hypotenuse of the total rise and total run, plus 12 in by default for squaring the ends and making the top and bottom cuts. You can change the allowance. Bought in the next even length from 8 to 20 ft
Stringer count
One at each edge and as many between as the spacing needs, never fewer than three. Spacing presets: 16 in under 5/4 treads, 18 in under 2× treads (the DCA 6 maximum), 12 in under composite, which is a typical maker figure and not a rule. Use your tread maker's number
Throat
2×12 at its actual 11¼ in depth, minus the depth of each notch at right angles to the board: riser × tread ÷ √(riser² + tread²)
Span
Taken as the total run, which is a little longer than the bearing-to-bearing distance DCA 6 measures. So the warning can show up slightly early
Tread boards
Cut to the stair width, ⅛ in saw kerf between pieces, from whichever length buys the fewest feet unless you pick one. Two 5½ in boards with a ⅛ in gap make an 11⅛ in tread. Thickness for the open-riser check: 1 in for 5/4 and composite, 1½ in for 2×
Riser boards
Closed risers only: a 1×8 (7¼ in) where it covers the riser, a 1×10 ripped down where it does not. With the deck as the top step, the deck's rim covers the top riser
Waste
10 % by default, added to the tread and riser piece count
Screws
2 per board at every stringer it crosses, treads and risers alike. DCA 6 asks for two #8 screws at least 2½ in long per tread at each stringer, so a two-board tread gets twice that. Hanger nails or screws are whatever the hanger maker specifies and are not counted
Hangers
One sloped stringer hanger per stringer. DCA 6 Figure 31 calls for at least 625 lb of vertical capacity each
Pad
Bags from the concrete calculator's yields with 10 % waste. 0.6 cu ft per 80 lb bag
Estimated cost
Before tax, and only the lines you priced
Not included
Guard posts and balusters, the handrail, post footings, a mid-span post, bearing blocks, lighting

Questions from the aisle

How many steps do I need for my deck?

Divide the height by the riser you want and round to the nearest whole step that keeps each riser at 7¾ in or less. Aiming for 7½ in risers: a 24 in deck takes 4 risers of 6 in and 3 treads; a 36 in deck takes 5 risers of 7 3/16 in and 4 treads; a 48 in deck takes 7 risers of 6 7/8 in and 6 treads. Those tread counts assume the deck is the top step, which it usually is. Measure the height from the finished deck surface to the finished ground or pad where the bottom step lands, not to the soil you will dig out.

What is the ideal rise and run for stairs?

The 2021 IRC sets the limits: risers no taller than 7¾ in (R311.7.5.1) and treads at least 10 in deep, nosing to nosing (R311.7.5.2). Inside those limits, a common rule of thumb for comfort is two risers plus one tread between 24 and 25 in. A 7⅛ in riser on a 10½ in tread makes 24.75 and is comfortable. A 7½ in riser on the same tread makes 25.5, which is legal but steep, and the tag flags it. Your local code may differ, so check with your building department.

How long a stringer do I need for my stairs?

With 7½ in risers and 10½ in treads, each step adds about 12.9 in of stringer along the slope. With the deck as the top step, 4 risers need 3 ft 7½ in along the pitch line and 6 risers need 5 ft 9⅛ in, so both come out of an 8 ft 2×12 with the 12 in cutting allowance this calculator adds. 8 risers need 7 ft 10⅞ in and a 10 ft board. 10 risers need 10 ft ⅝ in and a 12 ft board.

How many stringers do I need?

Count one at each edge and enough between them that no gap is wider than your tread boards allow. A 36 in stair takes 4 stringers at 16 in spacing and 3 at 18 in. A 48 in stair takes 4 at either spacing, and a 60 in stair takes 5. The American Wood Council's DCA 6 deck guide caps cut stringers at 18 in apart and asks for at least three. Composite treads often need closer spacing, so use the maker's figure for the board you buy.

Do deck stairs need a handrail?

Under the 2021 IRC, any flight with four or more risers needs a handrail on at least one side, 34 to 38 in above the nosings (R311.7.8). That covers almost any deck over about 2 ft: a 24 in deck already has 4 risers at a 7½ in target. Guards are a separate rule. Any open side of a stair or deck more than 30 in above the grade below needs one (R312.1.1), at least 34 in high along a stair (R312.1.2). Your local code may amend both rules, and the inspector has the final word.



Next off the wall

The rest of outdoor structures — most jobs need two or three of these before the first trip to the store.

All outdoor structure calculators Every calculator on the board

The reasoning behind this one

Stair layout: rise, run and the stringer

Where the assumptions above come from, what changes them, and the mistakes that cost a second trip. Free to read, no account needed.