How to Calculate and Build Deck Stairs
Work out deck stair steps from the deck height to grade, space and support stringers, and meet the guard, handrail and landing rules for outdoor stairs.
How to Calculate and Build Deck Stairs
Start with the total rise, not a guess at how many steps you want. Measure from the finished deck surface down to the finished grade or landing surface. If the ground slopes, measure at the point where the stair will touch down; code requires the bottom landing to be level, so you need the vertical distance at that exact spot, not an average. The 2021 IRC R311.7 sets a maximum riser of 7 3/4 inches and a minimum tread of 10 inches. Those two numbers lock in everything else. A stair that feels wrong at the top is almost always a riser uniformity failure: every riser in a flight must be within 3/8 inch of every other riser. That rule is the most common reason deck stairs fail inspection, and it starts with the measurement of the total rise.
Measuring Rise to Sloped Grade
Total rise is the vertical distance from the finished deck floor to the finished surface below. When the grade slopes, measure at the bottom landing location, not at the edge of the deck. The landing itself must be level per IRC R311.7.6, so the measurement point is where the landing pad will sit, not where the dirt happens to be today.7.3, you need an intermediate landing, which adds its own rise measurement.
How to Handle a Sloped Site
Set a straight 2x4 level from the deck edge out to where the bottom landing will go. Measure the vertical drop from the top of the deck surface to the top of the landing surface at that point. If you are pouring concrete, account for the thickness of the landing (typically 4 inches for a reinforced slab). If the grade slopes sideways along the stair run, the landing still must be level, so the measurement is taken at the centerline of the stair, not at the low side. Failing to do this produces a stair where the bottom riser is shorter than the rest, a 3/8-inch violation that requires recutting the stringers.
How Many Steps for Deck Stairs: The Calculation
Divide the total rise in inches by a target riser height. For deck stairs, start with 7 inches, not the maximum 7 3/4. A 7-inch riser produces a comfortable step for most adults; a 7 3/4 riser is legal but feels steep, especially on outdoor stairs where users may be carrying things or moving in wet conditions. Round the result to the nearest whole number to get the number of risers. Then divide the total rise by that number to get the actual rise per step. If the result exceeds 7 3/4, add one more riser and recalculate. If the result is below 4 inches, you need fewer risers (or a different design, because 4 inches is the code minimum).
Worked Example
Total rise: 28.5 inches. Divide by 7 gives 4.07, so 4 risers. 28.5 ÷ 4 = 7.125 inches per riser, legal and comfortable. Tread depth from Blondel's formula: 2R + T should be between 24 and 25 inches. Solve for T: 25 - (2 × 7.125) = 10.75 inches. A 10 3/4-inch tread is legal (minimum 10 inches) and comfortable. Total run: 3 treads (one less than the number of risers) × 10.75 inches = 32.25 inches from first nosing to last nosing. The bottom landing provides the fourth tread surface.
Deck Stair Stringer Spacing and Span Limits
The American Wood Council DCA 6-15 prescribes a minimum 2x12 stringer with a maximum span of 6 feet for a 2x12. Do not use a 2x10 without intermediate support. Notch depth must not exceed one-third of the board depth. For a 2x12 that is 11.25 inches deep actual, the maximum notch is 3.75 inches.0 inches for a 2x12. Stringer spacing is a structural decision based on tread material. For 5/4 decking, space stringers no more than 16 inches on center. For 2-inch nominal treads, 24 inches on center is acceptable. For composite treads, follow the manufacturer's span rating; many require 12-inch spacing. The DCA 6-15 span table for 2x12 stringers assumes a live load of 40 psf and a dead load of 10 psf.
Deck Stairs Code: Key Rules
The 2021 IRC R311.7 is the primary section for deck stairs. IRC R507 covers the deck structure itself. The table below summarises the critical dimensions every builder must verify before cutting stringers.
| Parameter | Code Requirement | Source |
|---|---|---|
| Maximum riser height | 7 3/4 inches | IRC R311.7.5 |
| Minimum riser height | 4 inches | IRC R311.7.5 |
| Minimum tread depth | 10 inches | IRC R311.7.5 |
| Maximum riser variation | 3/8 inch | IRC R311.7.5.1 |
| Minimum tread variation | 3/8 inch | IRC R311.7.5.2 |
| Nosing projection | 3/4 to 1 1/4 inches | IRC R311.7.5.3 |
| Maximum flight rise | 12 feet | IRC R311.7.3 |
| Landing minimum depth | 36 inches | IRC R311.7.6 |
| Landing minimum width | Width of stair | IRC R311.7.6 |
| Guard height (drop ≥30") | 36 inches minimum | IRC R312 |
| Guard infill opening max | 4 inches | IRC R312 |
| Handrail height | 34 to 38 inches | IRC R311.7.8 |
| Handrail required | 4 or more risers | IRC R311.7.8 |
Landing Pad at the Bottom
Every stair requires a landing at the bottom per IRC R311.7.6. For deck stairs, that landing is typically a concrete pad or a platform. The landing must be at least 36 inches deep in the direction of travel and as wide as the stair. It must be level, not sloped. A common failure: builders pour a pad flush with the grass, then the pad settles or the grass grows, creating a trip hazard. The pad should be at least 1 inch above finished grade for drainage and should extend past the stringers by 2 inches on each side to allow for flashing or skirting. In freeze-thaw climates, the pad footing must extend below the frost line per local code.
Handrails and Guards for Deck Stairs
When the deck stair has four or more risers, a handrail is required on at least one side per IRC R311.7.8. The handrail must be between 34 and 38 inches above the nosing, measured vertically from the nosing to the top of the rail. A guard is required on any open side of the stair or landing where the drop exceeds 30 inches per IRC R312. The guard must be at least 36 inches tall, and the infill openings (balusters, cables, or pickets) must not allow a 4-inch sphere to pass through. On a deck stair with a landing that drops more than 30 inches, the guard runs along the open side of both the stair and the landing.
Materials: Pressure-Treated and Composite Treads
Pressure-treated lumber is standard for deck stairs because it resists rot and insect damage. Use 5/4 x 6 or 2x6 nominal stock for treads.For composite treads, follow the manufacturer's span rating exactly; many cap the span at 12 inches, which changes stringer spacing. All fasteners in treated wood must be hot-dip galvanized or stainless steel; standard electroplated fasteners corrode within two years. The DCA 6-15 requires a minimum of two fasteners per connection per stringer.
When to Use Composite Over Wood
Composite treads cost roughly double the material price of pressure-treated wood but eliminate the need for annual sealing and resist splintering. The trade-off is stiffness: a composite tread spanning 24 inches will flex noticeably under load. If you use composite, plan for 12-inch stringer spacing and verify the manufacturer's allowable span before ordering stringer material.
The Most Common Failure in Deck Stairs
Non-uniform risers cause more inspection failures than any other single mistake. The cause is almost always the same: the builder measured the total rise from subfloor to subfloor, not from finished floor to finished floor, so the top and bottom tread end up off by the thickness of the decking and the bottom landing material. Cut one stringer, test-fit it, then use it as a pattern for the rest. Mark each stringer top and bottom, and always cut on the waste side of the line. If the first stringer produces a rise variation over 3/8 inch, do not cut the others; re-measure the total rise and recalculate.
What to Do Next With Your Deck Stair Layout
Write down your total rise, target riser height, and number of risers before you buy lumber. Run your layout against the IRC table above before you cut. The single thing that most often goes wrong here is cutting the stringers before checking the top and bottom finish floor thicknesses. Account for the decking thickness and the landing pad height first, then measure, then cut.
Common Questions
Can I use a 2x10 for a deck stair stringer?
The American Wood Council DCA 6-15 requires a minimum 2x12 for stair stringers. A 2x10 may be acceptable only with intermediate support that reduces the span to less than the DCA 6-15 maximum for a 2x10, which is not provided in the same table. Use a 2x12 to avoid an engineering letter.
What is Blondel's formula and why does it matter?
Blondel's formula states that 2 times the riser height plus the tread depth should be between 24 and 25 inches. It was published in 1675 by François Blondel. A value above 26 feels like a stretch; below 24 feels choppy. It is not code but is used to check comfort.
How do I measure the walkline on a winder tread?
The walkline is 12 inches from the narrow end of the winder, per IRC R311.7.5.2.1. At that line, the tread depth must be at least 10 inches. The narrow end itself must be at least 6 inches deep.
What happens if my total rise produces a riser of 7.9 inches?
7.9 inches exceeds the IRC maximum of 7 3/4 inches (7.75). You must add one more riser to reduce the rise per step. For example, a 36-inch total rise with 5 risers gives 7.2 inches per riser; with 4 risers it gives 9 inches, which is illegal.
Do I need a landing at the bottom of my deck stairs?
Yes. IRC R311.7.6 requires a landing at the top and bottom of every stair. The bottom landing must be at least 36 inches deep in the direction of travel and as wide as the stair. It must be level.