Measuring a deck for stairs
The number that matters is the total rise: from the top of the deck boards straight down to the surface where the bottom step will land. Two things trip people up.
- The ground slopes. The stair lands several feet out from the deck, and the yard is usually lower there. Lay a straight board on the deck so it reaches out over the landing spot, level it, and measure down from the board.
- The landing is not built yet. If you are going to pour a pad or set pavers, measure to the finished top of that pad, not to the dirt.
This page starts with the settings most deck stairs use: 2x12 stringers, two 2x6 boards per tread, open risers and pressure-treated lumber in the materials list.
A worked example: a 36" deck
A deck 36" above the landing needs 5 risers at 7 3/16" and 4 treads. With a 10" run the stair reaches 3' 4" out from the deck, and the stringer length is 4' 5 13/16".
The materials list comes to three 8-foot 2x12s for the stringers, eight 2x6 tread boards cut to 36", and about 48 exterior screws.
One thing shows up in red: with open risers, the gap between treads is 5 11/16". On a stair that rises more than 30", the model code does not allow an opening a 4" ball can pass through, so this stair needs riser boards. Switch Risers to Closed and the check turns green.
What inspectors look at on deck stairs
| Item | Model code | IRC section |
|---|---|---|
| Riser height | 7 3/4" maximum, all within 3/8" of each other | R318.7.5.12021: R311.7.5.1 |
| Tread depth | 10" minimum | R318.7.5.22021: R311.7.5.2 |
| Open risers | No opening a 4" ball can pass where it is more than 30" above the ground | R318.7.5.12021: R311.7.5.1 |
| Handrail | Required with 4 or more risers, 34" to 38" above the tread nosings | R318.7.8, R320.22021: R311.7.8, R311.7.8.1 |
| Guard | Required on open sides more than 30" above the ground | R321.12021: R312.1 |
| Width | 36" minimum | R318.7.12021: R311.7.1 |
The first and last steps are where deck stairs usually fail, because the yard and the deck boards are the two surfaces nobody measured carefully. The 3/8" rule applies to them too.
Check with your building department first. Most decks attached to a house need a permit, cities adopt the code with their own changes, and a homeowners association can add rules of its own. Print the summary sheet and bring it along; it lists every number an inspector will ask about.
Building them to last
The stair code tells you the shape of the steps. For how to build a deck stair that stays put, most building departments point to the American Wood Council's deck guide, DCA 6. Its main stair rules:
- 2x12 stringers with at least 5" of solid wood left under each notch.
- No more than 18" between cut stringers, and at least three of them. A 36" stair needs three; a 48" stair needs four.
- A 6-foot limit on the span of a cut stringer. With a 10" run that is about 7 treads, or a deck around 5 feet high. Above that, plan a post and beam under the middle of the stringers, or a landing. The calculator warns you when you pass it.
- A solid connection at the top. Stringers should hang from the deck framing with hardware made for it, not from nails driven into the end grain.
- A real landing at the bottom. The stringers should bear on a concrete pad or footing, not on soil.
Use lumber rated for ground contact where the stringers meet the landing, and fasteners rated for treated wood; ordinary screws corrode in it.
Questions people ask
Do deck stairs need riser boards?
Under the model code, only when the stair rises more than 30" and the gap between treads is 4" or more. A deck 30" high or lower can have open risers. Many people close them anyway: it looks finished and keeps toes and toys from slipping through.
Two 2x6s or 5/4 deck boards for treads?
Both work with stringers 18" apart or closer. Two 2x6s make a tread about 11" deep and 1 1/2" thick. 5/4 deck boards are 1" thick and match the decking. Pick the one you are using and the calculator adjusts the bottom riser cut.
Can I buy pre-cut stringers?
Home centers sell pressure-treated stringers for 3, 4 or 5 steps with a fixed rise. They only fit if that rise times the number of steps equals your total rise within the 3/8" rule. Run your number here first.
My deck is under 30" high. Do I still need a handrail?
The handrail rule counts risers, not height: 4 or more risers needs one. The guard rule is the one tied to 30".
How far out will the stairs reach?
That is the total run. Mark it on the ground before you build so you know where the landing pad goes.
Sources
- 2024 International Residential Code, International Code Council, Sections R318.7, R320 and R321.1.
- DCA 6: Prescriptive Residential Wood Deck Construction Guide, American Wood Council.
- Building and Installing Deck Stairs, Journal of Light Construction.