Home Build Math

How to build deck stairs: the math, step by step

Measure the rise, size the steps, lay out the stringers and list the lumber, worked through on a 38 in deck.

By Emre ·

This guide covers the numbers for a straight deck stair: how many steps, how to set the framing square, how many stringers and how much lumber. It does not replace your local code or the AWC deck guide for footings, guards and attachment. Every number on this page comes from the same code as our calculators and is checked by automated tests; see how we check.

Step 1: Measure the total rise

Measure from the top of the deck surface straight down to where the bottom step will land, on a level line. In this example the rise is 38 in to a landing pad, the stair is 48 in wide and each tread is two 2×6 boards (5.5 in each, so 11 in deep).

Step 2: Work out the risers and treads

38 ÷ 7.75 = 4.9, rounded up to 5 risers. Each riser is 38 ÷ 5 = 7.6 in, about 7 5/8 in. There is one tread fewer than risers, so 4 treads and a total run of 4 × 11 = 44 in (3 ft 8 in). The 2021 IRC limits are a 7¾ in maximum riser and a 10 in minimum tread; this layout is within them.

Step 3: Lay out one stringer

Set a framing square to 7 5/8 in on the tongue and 11 in on the blade and step it down a 2×12. Cut the bottom riser to 6 1/8 in (7.6 − 1.5 in of tread thickness) so the first step matches the rest once the treads go on. Each notch is 6 1/4 in deep, which leaves 5 in of solid wood (the throat) in the 11.25 in board. The layout length is 4 ft 10 in.

Step 4: Count the stringers and lumber

A 48 in stair with stringers no more than 16 in apart needs 4 stringers. Use your decking maker's maximum span; composite treads often need closer spacing. For the stringer boards we allow at least 1 ft more than the layout length for the end cuts and round up to the next even length: 8 ft.

Lumber for a 38 in deck stair, 48 in wide
ItemBuyBoard feet
Stringers4 × 2×12 × 8 ft64
Tread boards4 × 2×6 × 8 ft (4 treads × 2 boards, 2 cuts per board)32
Total96

Common mistakes on deck stairs

Sources

  1. Riser 7¾ in maximum and ⅜ in variation: 2021 IRC R311.7.5.1; tread 10 in minimum: 2021 IRC R311.7.5.2.
  2. Dressed lumber sizes (2× = 1½ in thick; 6 in nominal = 5½ in; 10 in = 9¼ in; 12 in = 11¼ in): American Softwood Lumber Standard, Voluntary Product Standard PS 20.
  3. Deck stair stringer details: American Wood Council, DCA 6 Prescriptive Residential Wood Deck Construction Guide.

Estimates only. Check local building codes, product instructions and your supplier before you build or buy.