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.
Based on the 2021 IRC. Local codes may be stricter; confirm with your building department before building.
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.
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.
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.
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:
| Step | Riser cut (up) | Tread cut (across) |
|---|---|---|
| 1 | 6" (first) | 10 1/2" |
| 2 | 7" | 10 1/2" |
| 3 | 7" | 10 1/2" |
| 4 | 7" | 10 1/2" |
| 5 | 7" | 10 1/2" |
| 6 | 7" | none: the deck is the top step |
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.
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 width | Stringers at 16 in max | Stringers at 12 in max |
|---|---|---|
| 36 in | 4 (about 11 1/2" apart) | 4 (about 11 1/2" apart) |
| 42 in | 4 (about 13 1/2" apart) | 5 (about 10 1/8" apart) |
| 48 in | 4 (about 15 1/2" apart) | 5 (about 11 5/8" apart) |
| 60 in | 5 (about 14 5/8" apart) | 6 (about 11 11/16" apart) |
The how many stair stringers guide goes deeper on tread types.
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.
| Item | IRC limit |
|---|---|
| Max riser height | 7¾ in |
| Min tread depth | 10 in |
| Max variation between risers (or treads) in a flight | ⅜ in |
| Max vertical rise between landings | 12 ft 7 in |
| Sphere that must not pass through balusters | 4 in |
Handrails and guards matter on a deck as well: see the IRC stair code explained.
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.
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.
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.
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.
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.
This tool plans a layout. It does not size a stringer for a load. Confirm material, spacing and footings with your local building department.