Deck stair stringer calculator
For stairs from a deck down to the yard. Ground that slopes away from the deck makes the stairs taller than the height you measure at the deck edge. Enter the slope and this calculator finds the rise where the stairs actually land.
Your stairs
6 risers of 6 11/16", 5 treads with 10 1/2" run
- Total rise at the foot of the stairs
- 3' 4"
- Riser height
- 6 11/16" 6.667 in
- Total run
- 4' 4 1/2" first riser to the top riser
- Stair angle
- 32.4°
- Tread boards
- 11 1/2" deep run plus nosing
- Framing square
- 6 11/16" tongue, 10 1/2" blade
- Stringers
- 4 × 2x12 16" max spacing
- Stringer board length
- 5' 1 5/8" buy 8 ft
- First riser on the stringer
- 5 11/16" riser minus tread thickness
- Top plumb cut
- 6 11/16" against the header or rim
- Wood left below the cuts
- 5 5/8"
- Top of stringer
- 7 11/16" below the upper floor surface
Riser, tread and nosing are inside the 2021 IRC figures. Notes are in the code check below.
Side view
Code check
- OKRiser height 6 11/16" is under the 7 3/4" maximum. (2021 IRC R311.7.5.1)
- OKTread run 10 1/2" meets the 10" minimum, measured nosing to nosing. (2021 IRC R311.7.5.2)
- OKNosing 1" is inside the 3/4" to 1 1/4" range. (2021 IRC R311.7.5.3)
- OKTotal rise 40" is under the 151" limit for one flight. (2021 IRC R311.7.3)
- OKStair width 48" meets the 36" minimum. (2021 IRC R311.7.1)
- NoteWith 6 risers you need a handrail on at least one side, 34" to 38" above the nosings. (2021 IRC R311.7.8)
- NoteParts of these stairs are more than 30" above the floor or ground. Open sides there need a guard at least 34" above the nosings. (2021 IRC R312.1.1, R312.1.2)
- NoteTwo risers plus one run comes to 23 13/16". Stairs feel easiest when this is about 24" to 25". This is a comfort guide, not a code rule.
Code figures come from the 2021 IRC (International Residential Code, sections R311.7 and R312). They are a reference, not an approval. Your city or county may use another edition or its own changes, so ask your local building department before you build.
Stringer layout
This is the board as it lies on your sawhorses, with the steps cut into the top edge. Each numbered mark is a step corner on the top edge. Measure every mark from the square bottom end using the table, instead of stepping the framing square along the board, so small errors don't add up.
Cut marks
| Step | Mark on the top edge, from the bottom end | Riser face, from the first riser | Finished tread height |
|---|---|---|---|
| 1 | 3 1/16" | 0" | 6 11/16" |
| 2 | 15 1/2" | 10 1/2" | 13 5/16" |
| 3 | 2' 3 15/16" | 21" | 20" |
| 4 | 3' 4 3/8" | 2' 7 1/2" | 2' 2 11/16" |
| 5 | 4' 4 13/16" | 3' 6" | 2' 9 5/16" |
| Top end | 5' 1 5/8" | 4' 4 1/2" | 3' 4" |
Other step counts
More risers give shorter steps and a longer run. Pick one to update the drawings.
| Risers | Riser height | Total run | Angle | Riser limit | |
|---|---|---|---|---|---|
| 4 | 10" | 2' 7 1/2" | 43.6° | Over 7 3/4" | |
| 5 | 8" | 3' 6" | 37.3° | Over 7 3/4" | |
| 6 | 6 11/16" | 4' 4 1/2" | 32.4° | Under 7 3/4" | Showing |
| 7 | 5 11/16" | 5' 3" | 28.6° | Under 7 3/4" | |
| 8 | 5" | 6' 1 1/2" | 25.5° | Under 7 3/4" |
Measuring a deck for stairs
Measure from the top of the decking straight down to the ground at the edge where the stairs will start. On flat ground, that height is the total rise.
Most yards slope away from the house. To measure the slope, run a straight board or a string with a line level out from the deck edge, about 10 ft, and measure down to the ground at the far end. Subtract the deck height measured at the deck edge. That difference is how far the ground drops over 10 ft.
The catch is that the stairs land farther out as you add steps, and farther out means lower ground. The calculator goes back and forth until the step count and the landing spot agree. With the figure above, the stairs need 6 risers of 7 1/8" instead of 6 of 6 11/16".
Landing pads
A concrete pad or a few pavers at the bottom keep the stringers off wet soil and give a flat spot to step onto. The top of the pad becomes the bottom floor, so the rise is shorter by the pad height. Enter it in "Landing pad height". The 2021 IRC asks for a landing at least 36" deep at the bottom of the stairs (R311.7.6).
Stringer spacing and tread boards
Wood 5/4 decking and 2x6 treads are often run on stringers 16" apart. Composite and PVC boards usually need closer spacing on stairs than on the deck itself, and many makers ask for 12". Check the install guide for your boards before you cut. Enter your spacing and the calculator counts the stringers for your stair width.
Fixing the top of the stringers
With this layout, the deck surface is the top step. The stringer's top plumb cut sits against the rim joist, with the stringer's top corner one riser plus one tread thickness below the decking. Hold it there with stair stringer hangers or a hanger board, as your local code or inspector allows. Don't rely on nails or screws alone through the end grain.
Common questions
How many steps do I need for a 3 foot deck?
A 36" rise on flat ground gives 5 risers of 7 3/16" and 4 treads. The deck itself is the top step.
How many steps for a 2 foot deck?
A 24" rise gives 4 risers of 6" with 3 treads. Three risers would be 8" each, which is over the 7 3/4" limit in the 2021 IRC.
How do I work out deck stairs on sloped ground?
Measure the deck height at the deck edge, then how much the ground drops over a set distance. The rise at the foot of the stairs is the deck height plus the drop over the total run of the stairs. Since the run depends on the step count, enter both numbers here and the calculator settles the count for you.
How far apart should deck stair stringers be?
It depends on the tread material. Wood treads often go on stringers 16" apart. Many composite brands ask for 12" on stairs. Use the spacing in your tread maker's instructions.
Do deck stairs need a handrail?
The 2021 IRC asks for a handrail on at least one side of stairs with four or more risers, 34" to 38" above the nosings (R311.7.8). Open sides that are more than 30" above the ground also need a guard (R312.1.1). Check your local rules.
How much wood should be left below the stringer cuts?
The American Wood Council's DCA 6 deck guide shows 5" for cut deck stringers. A 2x12 cut for a 7 1/2" riser and 10 1/2" run keeps about 5 1/8". A 2x10 with the same cuts keeps only about 3 1/8".