Basement to Roof

Outdoor Builds

How to Build Deck Stairs: Rise and Run Math

Updated

A deck stair is a set of 2x12 stringers hung from the deck and resting on a landing, with treads, a graspable rail and guards on top. Four mistakes cause most of the trouble: a bottom step that is a different height from the rest, stringers sitting on dirt, tops hanging from a few toenails, and a flat 2x6 handrail that nobody can grip.

This page covers the numbers, the cuts, the connections and the code points an inspector checks. Most US towns use the International Residential Code (IRC), but local amendments can differ, so confirm with your building department before you build. Stairs are usually inspected with the rest of the job, so plan them while building a deck to code, not as an afterthought.

The code numbers that control the design

Item Common IRC requirement
Maximum riser height 7¾ in.
Minimum tread depth 10 in., measured from nosing to nosing
Nosing ¾ in. to 1¼ in. when treads are under 11 in. deep. Not required at 11 in. or more
Variation Tallest riser or deepest tread can't be more than ⅜ in. bigger than the smallest in the same flight
Minimum width 36 in.
Handrail Required at 4 or more risers. 34 in. to 38 in. tall, measured straight up from the line of the nosings
Guard Required on open sides more than 30 in. above grade
Openings Under the handrail, a 4-in. ball can't pass. In the triangle formed by tread, riser and bottom rail, a 6-in. ball can't pass
Open risers Not allowed to pass a 4-in. ball once the stair rises more than 30 in. total
Headroom 6 ft 8 in. clear
Landing Required at the bottom (and at the top, which the deck provides). At least as wide as the stair and 36 in. deep in the direction of travel

The ⅜-in. variation rule fails more inspections than any other item on this list. It almost always comes from the bottom step, because the ground wasn't measured correctly or the landing pad was poured after the stringers were cut.

Step 1: Measure the real total rise

Total rise is the height from the top of the deck surface to the top of the finished landing where the bottom step will sit. Don't measure straight down from the deck edge. Yards slope, and the stair will land 3 to 6 feet out from the deck.

Stair calculator: risers, treads and stringer length

5 risers of 7 5/8 in (7.60 in)

4 treads. Total run: 3 ft 8 in. Stringer length along the slope: 4 ft 10 1/8 in. Angle: 35°.

Measure the total rise at the stair from finished floor to finished floor, including flooring still to come. The residential code allows risers up to 7 3/4 in and treads from 10 in, with no more than 3/8 in difference between the tallest and shortest riser, or deepest and shallowest tread, in a flight. Width at least 36 in, headroom 6 ft 8 in, handrail 34–38 in above the nosings. A deck stair follows the same rules.

Open the stairs calculator on its own page

  1. Rest a straight 2x4 on the deck, run it out past where the stairs will end, and level it.
  2. Measure down from the bottom of the board to the ground at the spot where the bottom step will land.
  3. Add the thickness of whatever landing you plan to build: a concrete pad, pavers, or a gravel base with a pad.
  4. Build or pour the landing first if you can, then measure to its surface. This is the most reliable way to keep every riser the same height.

Step 2: Work out risers and treads

Number of risers = total rise ÷ 7.75 (the maximum riser), rounded up to a whole number. Actual riser height = total rise ÷ number of risers. Number of treads = risers − 1. The deck surface counts as the top step.

Worked example: total rise of 38 in.

  • 38 ÷ 7.75 = 4.9, so round up to 5 risers: 38 ÷ 5 = 7.6 in., which is under 7¾ in. Five risers at 7.6 in. works.
  • Treads: 5 − 1 = 4 treads.
  • Tread depth: two 5/4x6 deck boards with a ⅛-in. gap come to about 11⅛ in. Treads that deep need no nosing under the IRC, but a ¾-in. overhang still looks and feels better.
  • Total run: 4 × 11⅛ in. = 44½ in., about 3 ft 8½ in. of horizontal travel, plus a 36-in.-deep landing beyond that.

Rule of thumb for comfort: two risers plus one tread should add up to roughly 24 to 25 in. For example, 7.5 + 7.5 + 10 = 25. Outdoor stairs feel better on the shallow, deep side, around 7 in. risers with 11 in. treads, when the yard has room for it.

Step 3: Choose the stringers

Cut (notched) stringers

  • Size: 2x12 only. A 2x10 doesn't leave enough wood behind the notches.
  • Throat: at least 5 in. of solid wood must remain below the deepest notch.
  • Span: a notched 2x12 can span about 6 ft horizontally. Southern pine was cut from 7 ft to 6 ft when its design values were lowered. Past that, add a post-and-beam support midway or use solid stringers.
  • Spacing: no more than 18 in. on center. A 36-in. stair needs three stringers. A 48-in. stair needs four.
  • Composite treads: many brands require 12 in. on center or even tighter. Check the tread manufacturer's install guide before you lay out the stringers.

Solid stringers

Solid stringers are uncut 2x12s with the treads carried on cleats or metal tread brackets. Two of them can span roughly 13 ft 3 in. for a 36-in. stair because no wood is cut out. Many builders put solid stringers on the outside for strength and a clean edge, with cut stringers in the middle.

Lumber

Use ground-contact rated pressure-treated lumber (UC4A or better) for stringers. The bottom ends sit close to soil and splash water, and stringers are the hardest part of the stair to replace later. Brush end-cut preservative on every cut.

Precut stringers vs. cutting your own

Home centers sell precut treated stringers for about $26 to $56 for 4-step and $33 and up for 5-step. Their rise and run are fixed, so they rarely match your total rise within ⅜ in. They work when the numbers happen to line up. Otherwise, cut your own from 2x12 stock. A 2x12x12 treated board runs about $32 to $43 at big-box stores and lumberyards right now.

Step 4: Lay out and cut

  1. Clamp stair gauges (small brass or plastic stops) to a framing square: the riser height on the tongue and the tread depth on the blade.
  2. Start at the top of the board and step the square down, tracing each notch. Crown up: the curved edge of the board faces the treads.
  3. Drop the bottom. Cut the bottom riser short by the thickness of one tread, usually 1 in. for 5/4 or about 1½ in. for 2x. Every tread adds that thickness on top of its notch, so the bottom step would otherwise come out too tall.
  4. Set the top. Decide how the stringer will attach (see Step 5). When the stringers hang from the rim joist, the top of the stringer usually sits one full riser below the deck surface.
  5. Cut with a circular saw, stopping at the line. Finish each inside corner with a handsaw or jigsaw. Never overcut past the corner, because overcuts start splits.
  6. Test-fit the first stringer and check it with a level on a couple of treads. Then use it as a template for the others.

Step 5: Attach the top securely

Stringer tops hanging from a few toenails or a single 2x4 cleat with deck screws are a common cause of stair collapse. Use one of these instead:

  • Adjustable stair-stringer connectors (Simpson LSCZ or similar), installed with the specified structural nails or screws. They cost about $2.40 to $4 each.
  • A treated 2x hanger board or blocking through-bolted or structurally screwed to the rim joist, with the stringers hung from it using connectors.
  • A separate header beam on posts at the top. Many experienced builders prefer this, because the stair then doesn't depend on the deck rim.

Use hot-dip galvanized (G185/ZMAX) or stainless fasteners and connectors. Current treated lumber corrodes plain steel quickly. Stringers wider than the rim, or attached to a cantilevered rim, need extra support.

Step 6: Support the bottom properly

Stringers should never sit on soil or loose gravel. They rot and settle, and the bottom riser grows out of tolerance.

  • Pour a concrete pad or set a compacted paver landing at least as wide as the stair and 36 in. deep.
  • Fasten a treated 2x4 kicker plate to the pad with concrete screws or wedge anchors, then notch the bottom of each stringer around it or fasten the stringers to it. This keeps the stair from sliding out at the base.
  • Slope the pad slightly away from the stair so water doesn't sit under the stringer ends.

A typical 4-in.-thick landing pad of 4 ft × 3 ft needs a little under 0.15 cubic yard, or about eight 80-lb bags. Use the calculator for your own size:

Step 7: Treads, risers and rails

  • Treads: two 5/4x6 boards or 2x6s per step with a ⅛-in. gap, or a single composite stair tread. Two screws at every stringer, per board.
  • Risers: optional, unless the total rise is over 30 in. and the openings would pass a 4-in. ball. Closed risers also hide the stringers and stop toes from catching.
  • Handrail: must be graspable. A round rail 1¼ in. to 2 in. in diameter, or a shaped profile with a perimeter of 4 in. to 6¼ in. and no more than 2¼ in. across, meets the code. A flat 2x6 cap on top of the guard doesn't count. Add a separate graspable rail on brackets, or use a manufactured stair rail kit. The rail must be continuous over the full flight.
  • Guard posts: bolt them through the stringers or to blocking. Don't just screw them to the face of a tread. The top of the guard must handle a 200-lb outward push.
  • Lighting: the code requires stair lighting. Low-voltage riser lights or a post-cap light at the top and bottom take care of this and make the steps safer at night.

What it costs

Item Typical current price
Precut treated stringer, 4-step $26 – $56
Precut treated stringer, 5-step $33+
2x12x12 ground-contact treated board $32 – $43
Stringer connector (LSCZ type) $2.40 – $4 each
Pro-installed, pressure-treated stairs about $150 – $300 per step
Pro-installed, composite stairs about $250 – $450 per step
Short 3–5 step run, installed roughly $1,200 – $3,800

A doing-it-yourself 36-in.-wide, 5-riser treated stair with a poured landing usually comes in at a few hundred dollars in materials. The biggest costs are the stringers, the treads, a rail kit if you buy one, and the concrete. Prices vary by region and change often, so price the job locally before you buy.

Quick checklist before the inspection

  • [ ] Every riser is within ⅜ in. of the others, including the bottom one
  • [ ] Treads are at least 10 in. deep, with a nosing if they're under 11 in.
  • [ ] 2x12 stringers with at least a 5-in. throat, spaced 18 in. on center or less
  • [ ] Cut stringers span 6 ft or less, or have a mid-span support
  • [ ] Tops hung with connectors or bearing on a header, not toenailed
  • [ ] Bottoms on a pad with a kicker, not on soil
  • [ ] Graspable handrail 34–38 in. high at 4 or more risers
  • [ ] Guards with 4-in. openings, and 6-in. at the stair triangle
  • [ ] Landing at least as wide as the stair and 36 in. deep
  • [ ] Galvanized or stainless hardware throughout