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.

Units
Top of the decking down to the ground, at the edge where the stairs start.
How much lower the ground gets moving away from the deck. 0 for flat ground.
Measured level out from the deck edge, like 10'.
Top of a concrete pad or pavers above the ground. 0 if none.
Nosing to nosing. Two 5 1/2" boards with a gap and a 1" nosing give about 10 1/2".
1 for 5/4 decking, 1 1/2 for 2x6.
Center to center. Many composite treads need 12".

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

grounddecktotal run 4' 4 1/2"rise 3' 4"6 11/16"10 1/2"
Drawn to scale. Shaded in red: the stringer. The treads sit on the stringer cuts and stick out past each riser by the nosing.

Code check

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.

offcut12345cut length 5' 1 5/8"8 ft board
Full board, to scale. Red: the stringer. Dashed: wood you cut away.
first riser 5 11/16"tread 10 1/2"riser 6 11/16"on the floor 12 1/16"5 5/8" of wood leftBottom end
last tread 10 1/2"plumb cut 6 11/16"rim joistTop end

Cut marks

StepMark on the top edge, from the bottom endRiser face, from the first riserFinished tread height
13 1/16"0"6 11/16"
215 1/2"10 1/2"13 5/16"
32' 3 15/16"21"20"
43' 4 3/8"2' 7 1/2"2' 2 11/16"
54' 4 13/16"3' 6"2' 9 5/16"
Top end5' 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.

RisersRiser heightTotal runAngleRiser limit
410"2' 7 1/2"43.6°Over 7 3/4"
58"3' 6"37.3°Over 7 3/4"
66 11/16"4' 4 1/2"32.4°Under 7 3/4"Showing
75 11/16"5' 3"28.6°Under 7 3/4"
85"6' 1 1/2"25.5°Under 7 3/4"

Measuring a deck for stairs

Deck stairs over ground that slopes down away from the deck. The height at the deck edge is 40 inches, and the rise at the foot of the stairs is 42 5/8 inches because the ground is lower there.
The stairs land about 4 1/2 ft out from the deck. If the ground falls 6" over 10 ft, the foot of the stairs is 2 5/8" lower than the ground at the deck.

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".