Skip to content

How to Build Deck Stairs

From total deck height to a finished, code-compliant flight: how to split the rise, cut the stringers, anchor a footing, and tie it all to the deck.

Start from the total rise, not a guess

Deck stairs are designed top-down from one measurement: the total rise, which is the vertical distance from the surface of the deck to the finished landing — the patio, slab, or grade where the bottom of the stairs will sit. Measure it precisely, because every other number flows from it. If the ground slopes, measure to where the bottom step will actually land, not to the high or low spot.

Say your deck sits 4′-6″ above the patio. Feed that into the deck stairs calculator and it splits the rise into equal risers — here seven risers of about 7¾″ — and pairs them with a tread run that stays comfortable and legal. You never pick the riser height directly; you pick the total rise and let it divide into whole, equal steps.

Outdoor code differs from interior stairs

Exterior stairs follow the same riser and run logic but a few limits matter more outside. Maximum riser is 7¾″ under IRC, minimum tread run is 10″, and any flight more than 30″ above grade needs a guard — which on stairs means a graspable handrail and infill that passes the 4″ sphere rule. Treads also need a slight slope or gapped boards so water sheds and the steps do not ice over.

Because the bottom of an exterior flight lands on concrete or grade rather than a finished floor, the bottom-riser drop (trimming the stringer by one tread thickness) still applies if you are installing a finished tread on top of the stringer notch.

Plan the footprint before you cut anything

A flight of deck stairs needs more ground than people expect. The total run — the horizontal distance the stairs travel out from the deck — is (number of treads) × (tread run), so a 4′-6″-high deck with seven risers and a 11″ run reaches roughly 5′-6″ out into the yard before the bottom step even lands. Pace that out on the ground first, because the stairs may otherwise crash into a path, a garden bed, a downspout, or a property setback.

You also want the stairs to land somewhere usable. A flight that dumps onto a narrow strip of grass beside the house invites a muddy, uneven landing; plan a pad or a patio at the bottom so there is a stable, level place to step off. Decide the width too — 36″ is a comfortable minimum for deck stairs, and going wider improves the feel but adds a stringer and more tread stock.

Step 1 — Size the stairs

  1. Measure the total rise from deck surface to the finished landing.
  2. Enter it in the deck stairs calculator to get the riser height, tread run, number of steps, total run, and stringer length.
  3. Confirm the total run fits — pace it out on the ground from the deck so the bottom step does not collide with a path or a downspout.
  4. Pick a stair width and tread material (5/4×6, 2×6, or 2×12) so the calculator can recommend a stringer count.

Step 2 — Lay out and cut the stringers

Stringers for deck stairs are cut exactly like interior stringers — step off each rise and run with a framing square, keep a 3½″ throat, and drop the bottom riser by one tread thickness. Use pressure-treated lumber rated for ground contact, because these stringers live outdoors and the bottom ends sit near grade where moisture collects. Our companion guide on cutting stair stringers walks the framing-square layout in detail; the deck stairs calculator also prints a full-scale template you can trace.

Plan three stringers for a typical 36″-wide flight cut from 2×12 stock, or four if you go wider or use thinner 5/4×6 tread boards that flex more between supports. A sagging tread is both a comfort and a safety issue, so when in doubt add the extra stringer rather than spanning farther.

Tread material and water management

Deck stair treads are usually built from two boards per step — commonly two 5/4×6 deck boards or a pair of 2×6s — laid front to back across the stringers with a small gap between them. That gap is deliberate: it lets rain drain straight through instead of pooling on the tread, which keeps the steps from staying slick and rotting early. A single solid tread board, by contrast, has to be pitched slightly forward to shed water.

Match the tread material to the run the calculator gives you. A 11″ run is covered nicely by two 5/4×6 boards with a drainage gap; a deeper run might take a third board. Composite decking works the same way dimensionally but is heavier and may need the extra stringer mentioned above. Price whichever tread stock you choose, plus the risers and fasteners, with the stairs cost calculator.

Step 3 — Pour the footing or set a landing pad

The bottom of the stairs cannot just rest on dirt. Pour a concrete landing pad or footing at the base so the stringers bear on a solid, frost-stable surface — in cold climates that means digging below the local frost line so the pad cannot heave and lift the stairs every winter. The pad should extend at least the depth of the bottom tread out from the last riser, and ideally a full stride beyond, so there is a stable, level place to step off rather than a single narrow footing.

Size the pad generously — a flight more than 30″ above grade is required to have a guard and handrail, and the bottom newel post for that guard often anchors into or beside this pad, so it needs to be there and solid before you set posts. Estimate the concrete you need for the pad with the concrete stairs calculator, which returns cubic yards, cubic meters, and bag counts with a builder’s 10% waste allowance.

Step 4 — Attach the stairs and add the rail

  1. Hang the stringer tops from the deck rim with metal stringer hangers or a ledger — face-nailing alone is not enough.
  2. Anchor the stringer bottoms to the footing with a treated cleat and post-base hardware so they cannot kick out.
  3. Install treads (gapped or sloped to shed water), then build the guard and handrail.
  4. Lay out the baluster spacing with the baluster spacing calculator so the infill passes the 4″ sphere rule.

Step 5 — Budget and verify

Before you buy lumber, price the whole flight — stringers, treads, risers, railing, fasteners, and labor — with the stairs cost calculator so there are no surprises at the till. Then re-run your final numbers through the deck stairs calculator one last time and confirm each riser is equal within 3⁄8″, the bottom step is dropped, and the guard is in place before anyone uses the stairs.

Run your numbers

Deck Stairs Calculator Enter your deck height and get a complete, code‑compliant deck‑stair plan — risers, treads, stringers, and real lumber tread options (5/4×6, 2×6, 2×12).

Related stair calculators

Written by the Stairs Calc editorial team. Methodology and code references: see our methodology.

Built and maintained by builders, drafters and engineers who plan stairs for a living — every code limit is transcribed from the published standard and cited to its exact section.

Last reviewed 2026-06-20 against IRC 2021/2024

Stairs Calc gives accurate geometry and checks it against published building-code limits, but results are estimates for planning. Codes are adopted and amended locally and change over time. Always confirm dimensions against your local adopted code and a licensed professional before you build.