How to Build Deck Stairs with the Right Rise and Run
Build deck stairs by dividing the total rise by a code-allowed riser height, then keep every riser within 3/8 inch of the others and build treads at least 10 inches deep. Uneven risers or a mismeasured landing can make stairs unsafe and fail inspection. This guide shows how to measure, calculate, and lay out rise and run so your stair set matches code before you cut a single stringer.
What you need first

Gather the layout tools and the hardware before you measure anything. The landing must already be at final height, because that finished surface sets the total rise and changes the stair count. If the bottom pad is still temporary, your numbers are not final.
Tools and materials
- Framing square
- Stair gauges
- Tape measure
- Level
- Speed square or combination square
- Stringer stock, usually straight 2×12 lumber
- Treads and risers as specified by your plan
- Stair stringer hanger or hanger board
- Manufacturer-specified fasteners for the hanger
- Pressure-treated kicker for the bottom restraint, ground-contact rated if it touches the pad
- Handrail parts and guard materials if required
Before you start
- Set the landing pad to final height first.
- Pitch the landing for drainage so water does not sit against the stair base.
- Confirm the deck frame can accept the top connection.
- Check local code amendments before cutting lumber.
Measure the total rise
Measure total rise from finished deck surface to finished landing surface. The deck surface counts as the top step in the layout, so you measure from the finished deck surface down to the finished landing surface. That full vertical height drives riser count, tread count, total run, and the stair slope.
Measure the finished surfaces
- Build or set the landing pad to its final height.
- Measure from the finished deck surface to the finished landing surface.
- Record the exact vertical distance as the total rise.
Why the landing comes first
Suppose you measure a 42-inch rise before setting the landing, then later add 1 inch of pavers. Your total rise becomes 41 inches, which changes the riser math and can push one step out of uniformity. That is why the landing height must be fixed before you calculate the stair flight.
What rise and run should you use?
Pick a riser count that keeps each riser at or below the 7 3/4-inch maximum, and aim near 7 inches when the height allows it. The IRC is commonly read as calling for risers in one flight to stay within about 3/8 inch of one another. Once you set the riser count, the tread count is usually one less than the riser count.

Use the count to set the slope
- Divide the total rise by a candidate riser count.
- Choose the count that keeps every riser at 7 3/4 inches or less.
- Set tread depth at 10 inches or more; 11 inches is a common layout choice for deck stairs.
- Multiply tread count by tread depth to get total run.
A 42-inch total rise layout is commonly shown with 6 risers. That gives a 7-inch riser height and an 11-inch tread depth, with a total run of 4 ft 7 in. The math is simple. The decision is not, because short landings and awkward deck heights may force a different riser count to keep every step even.
Worked rise-and-run planning table
| Total rise | Riser count | Exact riser height | Tread count | Total run at 11-inch treads | Code limit check |
|---|---|---|---|---|---|
| 14 in | 2 | 7 in | 1 | 11 in | Pass: under 7 3/4 in riser, over 10 in tread |
| 16 in | 3 | 5 1/3 in | 2 | 22 in | Pass: under 7 3/4 in riser, over 10 in tread |
| 22 in | 3 | 7 1/3 in | 2 | 22 in | Pass: under 7 3/4 in riser, over 10 in tread |
| 30 in | 5 | 6 in | 4 | 44 in | Pass: under 7 3/4 in riser, over 10 in tread |
| 36 in | 6 | 6 in | 5 | 55 in | Pass: under 7 3/4 in riser, over 10 in tread |
| 42 in | 6 | 7 in | 5 | 55 in | Pass: matches the common 42-inch example layout |
For awkward deck heights between standard step counts, work the table both ways. Try one more riser and one fewer riser, then compare the exact riser height and total run. Choose the layout that keeps each riser equal and leaves enough room for the stair flight and landing.
How do you cut the first stringer?
Set the framing square to your chosen rise and run, then mark one test stringer before duplicating it. The square and stair gauges keep each notch identical. Cut the top plumb cut first, then the tread and riser notches, and finish with the bottom level cut dropped by one tread thickness.
Lay out the pattern stringer
- Clamp stair gauges to the framing square at your chosen rise and run.
- Place the square on the 2×12 stringer stock and mark the first step.
- Continue the layout until the full stair run is marked.
- Mark the top plumb cut.
- Mark the bottom level cut, then drop it by one tread thickness.
Test the pattern before you duplicate it
Cut one stringer first. Set it in place and confirm that the top lands correctly at the deck frame, the bottom lands correctly on the kicker or landing, and the tread layout matches the intended total rise. If the pattern fails, change the layout now. Do not copy a bad stringer.
How do you attach and anchor the stairs?
Fasten the top of the stringers with a stair stringer hanger or hanger board, using the manufacturer-specified fasteners. Do not rely on toe-nails or deck screws alone. At the bottom, restrain the stair flight with a pressure-treated kicker or equivalent anchor so the stringers cannot slide out.
Top connection
- Install the hanger or hanger board at the deck frame.
- Use the fastener schedule named by the connector maker.
- Seat each stringer fully before fastening the remaining stringers.
Bottom restraint
- Set a pressure-treated kicker at the landing edge or pad.
- Fasten it so the stringers bear against it rather than sliding on the surface.
- Use ground-contact-rated material if the kicker touches the pad.
Finish the stair set
- Install treads after the stringers are secured and square.
- Add the handrail after the stair layout is complete.
- Add guards where the open side is more than 30 inches above grade.
What is the code for deck stair handrails and guards?
A handrail is required at 4 or more risers. A typical handrail height is 34 to 38 inches above the nosings. Guards are generally required where the open side is over 30 inches above grade, and common residential guard height minimums are about 36 inches. Openings are generally required to block a 4-inch sphere or, depending on the reference used by the local inspector, a 4-3/8-inch sphere.

Install the rail after the stringers and treads are fixed in place, because the stair geometry sets the rail height. Measure from the nosings, not from the rough framing below them. Guard posts need solid backing, not just tread fasteners.
How do you avoid uneven deck stair risers?
Uneven risers usually come from measuring before the landing is finished, rounding the total rise too early, or copying one bad stringer to the rest of the flight. Keep the landing fixed first, use the exact finished surfaces, and reject any layout that leaves a riser more than 3/8 inch different from the others.
Fail this build if…
| Check | Fail condition | What to do instead |
|---|---|---|
| Uneven risers | Any riser differs by more than 3/8 inch | Recalculate the riser count and relayout the stringer |
| Missing landing height | The landing pad is not at final height before measuring | Finish the landing first, then remeasure total rise |
| Undersized run | Any tread is under 10 inches deep or the run is too short for safe spacing | Increase tread depth or change the riser count |
Common first-timer mistake: a 36-inch deck height gets planned as five 7 1/5-inch risers because the builder wants fewer steps. That leaves no margin if the landing ends up 1/2 inch higher than expected. A cleaner answer is to recalculate before cutting and pick the count that stays even after the landing is finished.
Common mistakes to avoid
Short flights create the same failures as long ones. The difference is that small measurement errors matter more, because a quarter-inch mistake can consume a larger share of the total rise. Keep these checks in order before you cut the remaining stringers.
- Do not measure to a temporary pad.
- Do not build from rounded numbers when the exact rise is available.
- Do not use one good stringer as proof that a bad layout will pass.
- Do not fasten the top with improvised screws in place of a proper hanger connection.
- Do not leave the bottom free to slide on the landing.
- Do not install handrails before the stair geometry is final.
If that didn’t work, try this next
Suppose the stringer pattern looks right but the stair flight still fails on-site because the landing height changed by 3/4 inch. Recheck the finished surfaces, rebuild the landing to final height, and redo the rise calculation. If the stair set is already cut, the safer fix is a new pattern stringer, not a forced fit.
Frequently asked questions
How to build 3 step deck stairs
Use the finished deck-to-landing height to confirm that three risers stays under the code limit and gives equal spacing. For a 16-inch rise, three risers yield 5 1/3-inch steps. The tread count will be two, so the total run depends on your chosen tread depth.
What is the correct rise and run for deck stairs?
The correct layout keeps each riser at 7 3/4 inches or less, keeps risers within 3/8 inch of each other, and uses treads at least 10 inches deep. A common working target is about 7 inches per riser, with enough tread depth to keep the total run practical.
How do I calculate the number of risers and treads for deck stairs?
Divide the total rise by a candidate riser height, then choose the count that keeps every riser equal and under the maximum. Tread count is usually one less than riser count. For example, a 42-inch rise commonly works with 6 risers and 5 treads.
How do I cut a deck stair stringer correctly?
Clamp stair gauges to a framing square, mark the rise and run repeatedly on straight 2×12 stock, and include the top plumb cut and bottom level cut. Drop the bottom cut by one tread thickness so the finished tread line lands correctly after assembly.
Sponsored / affiliate links. As an Amazon Associate I earn from qualifying purchases. I may earn additional commission from eligible campaigns.




