Deck stairs · stringer layout

Deck Stair Stringer Calculator

Measure from the ground (or the landing pad) to the top of the deck surface, enter it, and the calculator gives the number of steps and the stringer layout. The deck surface counts as the top step, so you cut one fewer tread than risers.

Dimensions

Results only. Fractions are rounded to the nearest 1/16 in, like a tape measure. Type values in the boxes below as decimals (10.5 for 10½).
Finished floor to finished floor.
The calculator picks the whole number of risers closest to this.
Leave on if the stair ends flush with the upper floor. Turn off to build a full tread at the top (treads = risers).

Treads and risers

Also shortens the first riser cut so every finished riser comes out equal.
How far the tread projects past the riser face.

Stringer

Loading 3D preview…
Drag: rotate · Wheel or pinch: zoom · Right-drag or two fingers: move
–
–
–
–
–
–
–
–
Printing and saving as PDF are free too. In the print window, choose “Save as PDF” as the destination.

Based on the 2021 IRC. Local codes may be stricter; confirm with your building department before building.

Step 1: measure the deck height and plan the landing

Stand a level or a straightedge on top of the finished deck boards and measure straight down to the spot where the bottom of the stair will land. That is your total rise. Do it at the place the stair will stand, not under the rim joist, because the ground often slopes.

Decide what the stringers will rest on before you cut anything. A pad that is not poured yet changes the rise. If you are still deciding, the guide on building deck stairs covers the support at the bottom, and the deck calculator plans the deck itself.

Step 2: run the numbers

Enter the height. The calculator picks the whole number of risers closest to your target, then sets the riser height so every step is the same.

Worked example: a 42 in deck

The tread here is 1 in thick (5/4 deck board), so the first riser cut is 7" − 1 in = 6". Use 1½ in instead if your treads are 2× boards. For the math behind the diagonal, see the stair stringer formula.

Step 3: lay out and cut

You mark a rise and a run on the board over and over, using a framing square with stair gauges clamped at the two numbers. Here are the marks for the example, read from the calculator:

StepRiser cut (up)Tread cut (across)
16" (first)10 1/2"
27"10 1/2"
37"10 1/2"
47"10 1/2"
57"10 1/2"
67"none: the deck is the top step
  1. Clamp the stair gauges to the riser (7") and tread (10½ in) on the framing square, at the edge of the board.
  2. Start at the top end of the board and trace the square along the crown edge, stepping down the board for each notch.
  3. Mark the bottom. Take the tread thickness off the first riser so the bottom step ends up the same height as the others. The table shows it as the first row.
  4. Cut with a circular saw up to the corner of each notch, and finish the corners with a handsaw. Do not overcut past the line, because every inch past the corner is wood you lose from the throat.
  5. Test-fit the first stringer against the deck and the pad, check that the treads are level and the bottom is plumb, then use it as the pattern for the rest.

A video of this layout, with the calculator in action, is on the The Builder Calc channel. For a plan you can print with the marks, open the Plans tab in the calculator above.

Stringer material and how many you need

Use pressure-treated 2×12 for outdoor stairs, and brush a field-cut preservative on every cut end, since the saw opens up wood the treatment did not reach. Keep enough uncut wood under the deepest notch. Builders commonly want at least 5 in for exterior stringers, but that is a rule of thumb from the trade, not an IRC number, so confirm it locally. This example leaves 5 7/16".

The number of stringers depends on the stair width and the tread. Most deck guides, including the DCA 6 deck guide as it is usually summarized, say not to space stringers more than 16 in apart on center for 2× treads. Lower-grade 5/4 boards and composite often need 12 in or less, and the tread maker's instructions win. The formula is the number of gaps (width − 1½ in, divided by the spacing, rounded up) plus one.

Stair widthStringers at 16 in maxStringers at 12 in max
36 in4 (about 11 1/2" apart)4 (about 11 1/2" apart)
42 in4 (about 13 1/2" apart)5 (about 10 1/8" apart)
48 in4 (about 15 1/2" apart)5 (about 11 5/8" apart)
60 in5 (about 14 5/8" apart)6 (about 11 11/16" apart)

The how many stair stringers guide goes deeper on tread types.

Footing and attachment

At the bottom, rest the stringers on a concrete pad or on pavers over compacted gravel, never on bare soil. In cold climates a pad may need to go below the frost line, so check local frost depth. At the top, fasten each stringer to the deck framing with metal connectors rated for the job, rather than toenailed nails, and keep the top of the stringer tight to the rim joist or a header.

Common mistakes

Limits the check uses

ItemIRC limit
Max riser height7¾ in
Min tread depth10 in
Max variation between risers (or treads) in a flight⅜ in
Max vertical rise between landings12 ft 7 in
Sphere that must not pass through balusters4 in

Handrails and guards matter on a deck as well: see the IRC stair code explained.

Frequently asked questions

How many stringers do deck stairs need?

For a 36 in wide stair, four stringers keeps the spacing under 16 in on center, which is the figure most deck guides give for 2× treads. Three stringers, about 17¼ in apart, is common practice where your local code or the tread maker allows a wider spacing. Composite and thin boards often ask for 12 in or less, and four stringers on a 36 in stair (about 11½ in apart) meet that too.

What size lumber should I use for stringers?

A 2×12 is the usual choice, because the notches take wood away and a 2×12 leaves more uncut wood than a 2×10. The calculator shows the throat for the board you choose, and the stair stringer calculator has tables of the largest riser each board allows.

Do I need a landing pad at the bottom?

Yes, the stringers need something firm and dry to bear on, such as a concrete pad or pavers on compacted gravel. Wood that sits on bare soil rots, and the stair settles unevenly. Some areas also require a footing below the frost line, so check local frost depth with your building department.

How high can deck stairs go before I need a landing?

One flight can rise 12 ft 7 in at most under the IRC. Most decks are far lower than that, but a very high deck needs an intermediate landing. Long runs also bring up the span limit for the stringers themselves.

How far can a stringer span?

A commonly quoted limit for a cut 2×12 stringer is about 6 ft of horizontal run before it needs support, and some states write this into their deck rules. The example on this page runs only about 4 ft 4½ in. If yours is longer, add a post or a mid-landing, and ask your building department which limit they enforce.

Related stair pages

This tool plans a layout. It does not size a stringer for a load. Confirm material, spacing and footings with your local building department.