Deck Stair Calculator
Measure from the top of the deck to the surface where the stairs will land. The calculator works out the steps and lays out the stringers.
A value in the link was not valid and has been set back to its default.
Your stairs
5 risers of 7 3/16 in and 4 treads of 10 5/8 in. Meets IRC 2021. (Not checked)
- Risers
- 5
- Treads
- 4
- Riser height
- 7 3/16 in183 mm
- Tread depth (run)
- 10 5/8 in269 mm
- Tread board depth
- 11 5/8 in295 mm
- Total run
- 42 3/8 in1,077 mm
- Angle
- 34.2°
- 2R + G
- 25 in635 mm
- Stringer length
- 51 1/4 in1,302 mm
- Wood left below the cuts
- 5 5/16 in134 mm
- First riser on the stringer
- 5 11/16 in145 mm
These results are a planning aid. They do not replace approval from your local building authority, and they are not a structural design. Check the rules that apply where you build before you cut.
Code check: IRC 2021
| Rule | Required | This layout | Result | Clause |
|---|---|---|---|---|
| Riser height, maximum | ≤ 7 3/4 in | 7 3/16 in | Meets | R311.7.5.1 |
| Tread depth, minimum (nosing to nosing) | ≥ 10 in | 10 5/8 in | Meets | R311.7.5.2 |
| Total rise | ≤ 151 in | 36 in | Meets | R311.7.3 |
| Stair width, minimum | ≥ 36 in | — | Not checkedEnter the stair width to check this rule. | R311.7.1 |
| Headroom, minimum | ≥ 80 in | — | Not checkedEnter the headroom to check this rule. | R311.7.2 |
| Riser height · Largest and smallest riser or tread in a flight | ≤ 3/8 in | 0 in | MeetsAll risers and treads in this layout are equal. On site, keep them within the tolerance. | R311.7.5.1 |
| Tread depth (run) · Largest and smallest riser or tread in a flight | ≤ 3/8 in | 0 in | MeetsAll risers and treads in this layout are equal. On site, keep them within the tolerance. | R311.7.5.2 |
| Nosing on treads less than 11 in deep | 3/4 in – 1 1/4 in | 1 in | Meets | R311.7.5.3 |
| Nosing · Largest and smallest riser or tread in a flight | ≤ 3/8 in | 0 in | MeetsAll risers and treads in this layout are equal. On site, keep them within the tolerance. | R311.7.5.3 |
Stringer layout
Cut the stringer from the bottom up. The first riser is shorter by the tread thickness so that all steps end up the same height.
Cut the first riser 5 11/16 in high, which is the full riser less the tread thickness. The bottom of the stringer sits flat on the floor.
The top of the stringer meets the upper floor. Check the cut against your framing before you make it.
Measured square from the inside corner of a notch to the bottom edge of the board. Check the minimum your local rules or deck guide require.
Step-by-step marks
Measure every mark from the bottom of the stringer, not from the previous mark, so rounding does not add up.
| Step | Height from floor | Run from first riser | Along the stringer |
|---|---|---|---|
| 1 | 7 3/16 in | 0 in | 7 3/16 in |
| 2 | 14 3/8 in | 10 5/8 in | 17 7/8 in |
| 3 | 21 5/8 in | 21 3/16 in | 30 1/4 in |
| 4 | 28 13/16 in | 31 13/16 in | 42 7/8 in |
| 5 | 36 in | 42 3/8 in | 55 5/8 in |
Heights include the full riser for every step. Subtract the tread thickness when you mark the first cut on the stringer itself.
Other numbers of risers
The same total rise divided into a different number of steps.
| Risers | Riser | Tread depth | Total run | Angle | 2R + G | Result | Use this |
|---|---|---|---|---|---|---|---|
| 4 | 9 in | 10 in | 30 in | 42.0° | 28 in | 1 rule fails | |
| 5 | 7 3/16 in | 10 5/8 in | 42 3/8 in | 34.2° | 25 in | Meets code | |
| 6 | 6 in | 13 in | 65 in | 24.8° | 25 in | Meets code | |
| 7 | 5 1/8 in | 14 11/16 in | 88 5/16 in | 19.3° | 25 in | Meets code |
Calculated in your browser. Your measurements are not sent anywhere unless you share the link.
Deck stairs at common heights
The fewest risers allowed by IRC 2021, with a tread depth of 10 1/2 in.
| Deck height | Risers | Riser | Treads | Total run | Stringer length |
|---|---|---|---|---|---|
| 12 in | 2 | 6 in | 1 | 10 1/2 in | 12 1/16 in |
| 18 in | 3 | 6 in | 2 | 21 in | 24 3/16 in |
| 24 in | 4 | 6 in | 3 | 31 1/2 in | 36 1/4 in |
| 30 in | 4 | 7 1/2 in | 3 | 31 1/2 in | 38 11/16 in |
| 36 in | 5 | 7 3/16 in | 4 | 42 in | 50 15/16 in |
| 42 in | 6 | 7 in | 5 | 52 1/2 in | 63 1/8 in |
| 48 in | 7 | 6 7/8 in | 6 | 63 in | 75 1/4 in |
| 54 in | 7 | 7 11/16 in | 6 | 63 in | 78 3/16 in |
| 60 in | 8 | 7 1/2 in | 7 | 73 1/2 in | 90 5/16 in |
| 72 in | 10 | 7 3/16 in | 9 | 94 1/2 in | 114 9/16 in |
Tread boards
| Boards | Tread depth with gaps |
|---|---|
| Two 2×6 (5 1/2 in each), one 1/4 in gap | 11 1/4 in |
| Two 5/4×6 deck boards (5 1/2 in each), one 1/4 in gap | 11 1/4 in |
| Three 2×4 (3 1/2 in each), two 1/4 in gaps | 11 in |
Board widths are the actual sizes of US dimensional lumber. Measure your boards: composite and imported boards vary.
Common questions
How do I measure the rise for deck stairs?
Measure from the top of the deck boards to the surface the bottom step will stand on, at the point where the stairs will land, not at the edge of the deck. The ground usually slopes, so run a straightedge and a level out from the deck to that point and measure down.
How many steps do I need for a 36 inch deck?
Under the IRC limit of 7 3/4 in per riser, a 36 in rise needs 5 risers of 7 3/16 in (36 ÷ 7.75 = 4.6, rounded up). That gives 4 treads, because the deck itself is the top step. With 10 1/2 in treads, the stairs run 42 in out from the deck.
What should the bottom step land on?
On a firm, level surface that does not move or settle, such as a concrete pad or compacted gravel with pavers. Measure the rise to the finished top of that surface. If the pad is not built yet, decide its height first, because it changes the total rise.
Do deck stairs have to meet the building code?
In most US jurisdictions deck stairs follow the same IRC stair rules as indoor stairs, and decks often need a permit. Railings, handrails, stringer sizes and fixings have their own rules, which this calculator does not check.
Related calculators
- Stair Calculator
Enter the total rise. The calculator works out risers, treads and the stringer, and checks each rule of the building code you choose.
- Stair Stringer Calculator
Enter the total rise and your tread size. You get the cut for every step, the first and last cuts, and a template you can print at full size.
- Stair Rise and Run Calculator
Enter the total rise to get riser height and tread depth, then use the table to compare comfortable combinations.
- Stair Angle Calculator
Enter the total rise and, if you know it, the total run. The angle of the stairs is shown first, with the steps that produce it.