Deck Stairs Calculator
Steps from your deck to the ground, with any fall in the ground counted…
Steps from your deck to the ground, with any fall in the ground counted, the stringers the width needs and the deck boards for the treads.
deck surface to the ground at its edge · 3 ft
Ground away from the deck
Risers
6 is the fewest that keep each riser at 7¾ in or less; more risers make a gentler stair that takes more floor.
More options1 in treads · 2 × 5½ in boards a tread · 2×12 stringers · IRC 2021
Stringer board
Tread board length (boards needed)
Check against
ExampleSteps down
6risers of 6 11/16 in
5 treads of 10¼ in, 4 ft 3¼ in out from the deck, where the ground is 4¼ in lower.
Enter yours to see your result.
- Stringers
- 4 × 2×12 × 8 ft
- Tread boards
- 5 × 10 ft, 2 a tread
- Tread depth
- 2 × 5½ in boards: 11 3/16 in, a 15/16 in nosing
Tread boards, cut from 10 ft lengths
An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department. Terms
Code check · informational
- Riser height (within the limit)7¾ in at most; keep every riser within ⅜ in of the others. R311.7.5.16 11/16 in
- Tread depth, nosing to nosing (within the limit)10 in at least. R311.7.5.210¼ in
- Nosing (within the limit)¾ in to 1¼ in on treads under 11 in. R311.7.5.315/16 in
- Rise of one flight (within the limit)12 ft 7 in at most between floors or landings. R311.7.33 ft 4¼ in
- Width (within the limit)36 in clear at least, above the handrail. R311.7.148 in
- Handrail on at least one sideWith 6 risers (4 or more): 34 in to 38 in above the nosings. R311.7.8, R311.7.8.1
- Guards neededThe deck is over 30 in above the ground, so its open sides need guards 36 in high, and the stair’s open sides where they are that high, 34 in above the nosings. R312.1.1, R312.1.2
- Throat of a cut stringer (within the limit)AWC’s deck guide sized 2×12 cut stringers with 5.1 in of wood left; three cut stringers at least, 18 in apart at most. AWC DCA 65⅝ in
The 2021 International Residential Code, R311.7 and R312.1, as printed in the SMA’s visual interpretation. Informational: your town may adopt another edition or amend it, and its inspector decides.
My shopping list
Add each part of a job and print one list. It stays on this device.
How this works: 4 sources,
How this works
Method
Deck stairs start from the height of the deck surface above the ground where the stair lands. If the ground falls away from the deck, as it usually does for drainage, the bottom step lands lower than the ground at the deck’s edge, the stair gets taller, and the count can change. The calculator measures the height at the deck, then adds the fall over the stair’s own run until the risers fit. Full method
Sources
- DCA 6, Prescriptive Residential Wood Deck Construction Guide (stair requirements and commentary) (American Wood Council, 2018)
- 2021 International Residential Code, R311.7 Stairways and R312.1 Guards (text as printed in the SMA Visual Interpretation of the 2021 IRC Stairbuilding Codes, 2023) (International Code Council; Stairway Manufacturers’ Association, 2023)
- Approved Document K: Protection from falling, collision and impact, 2013 edition (Table 1.1, paras 1.11, 1.34, 1.41) (HM Government (England), 2013)
- Voluntary Product Standard PS 20-25, American Softwood Lumber Standard (dressed sizes, standard lengths) (National Institute of Standards and Technology, 2025)
How it’s tested
3 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Limits
An estimate of materials to buy, not engineering or code advice. Check sizes with your supplier and local building department.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: a staircase drawn to scale from its total rise, with the stringer layout, rise and run, deck stairs, stairs with a landing and the IRC and Approved Document K limits checked.
How deck steps are worked out
Deck stairs start from the height of the deck surface above the ground where the stair lands. If the ground falls away from the deck, as it usually does for drainage, the bottom step lands lower than the ground at the deck’s edge, the stair gets taller, and the count can change. The calculator measures the height at the deck, then adds the fall over the stair’s own run until the risers fit.
A worked example with 11 in treads: a 30 in deck on level ground takes 4 risers of 7½ in. If the ground falls 2 in per foot, four risers would run out 33 in and land 5½ in lower, making each one 8⅞ in, too tall; 5 risers run out 3 ft 8 in, land 7 5/16 in lower and come to 7 7/16 in each. Measuring only at the deck would have left a tall last step.
Then the parts: stringers from the width (three cut stringers at least, no more than 18 in apart, by the American Wood Council’s deck guide), and the treads from deck boards, usually two 5½ in boards a step, cut from the stock length that wastes least. The guide also has the stringers bear on a block at posts with their own footings, not on a patio slab that isn’t founded below the frost line.
rise = deck height + ground fall × (n − 1) × run; n = fewest risers with rise ÷ n ≤ 7¾ in
- If only cut stringers are used, at least three are required; wider stairs keep stringers at most 18 in apart on centre, and a stairway taller than 12 ft needs an intermediate landing. Source: DCA 6, Prescriptive Residential Wood Deck Construction Guide (stair requirements and commentary).
- Guards are needed on open sides of walking surfaces, stairs included, more than 30 in above the floor or grade below (R312.1.1); handrails on at least one side of a flight with four or more risers (R311.7.8). Source: 2021 International Residential Code, R311.7 Stairways and R312.1 Guards (text as printed in the SMA Visual Interpretation of the 2021 IRC Stairbuilding Codes, 2023).
Deck steps by deck height
Fewest risers under 7¾ in at a 10½ in run, on level ground and with the ground falling 1 in per foot, and whether a handrail is needed.
| Deck height | Level ground | Run | Ground falls 1 in/ft | Handrail |
|---|---|---|---|---|
| 1 ft | 2 × 6 in | 10½ in | 2 × 6 7/16 in | No |
| 1 ft 6 in | 3 × 6 in | 1 ft 9 in | 3 × 6 9/16 in | No |
| 2 ft | 4 × 6 in | 2 ft 7½ in | 4 × 6 11/16 in | Yes |
| 2 ft 6 in | 4 × 7½ in | 2 ft 7½ in | 5 × 6 11/16 in | Yes |
| 3 ft | 5 × 7 3/16 in | 3 ft 6 in | 6 × 6¾ in | Yes |
| 3 ft 6 in | 6 × 7 in | 4 ft 4½ in | 6 × 7¾ in | Yes |
| 4 ft | 7 × 6⅞ in | 5 ft 3 in | 7 × 7⅝ in | Yes |
| 5 ft | 8 × 7½ in | 6 ft 1½ in | 9 × 7 7/16 in | Yes |
Sources
- American Wood Council, DCA 6, Prescriptive Residential Wood Deck Construction Guide (stair requirements and commentary)
- International Code Council; Stairway Manufacturers’ Association, 2021 International Residential Code, R311.7 Stairways and R312.1 Guards (text as printed in the SMA Visual Interpretation of the 2021 IRC Stairbuilding Codes, 2023)
The codes are cited for their limits as published; the check on this page is informational, and the code your town adopts, with its amendments, is the one that applies.
Common questions
How many steps do I need for my deck?
Divide the deck height by 7¾ in and round up. A 30 in deck takes 4 risers of 7½ in and 3 treads; a 36 in deck 5 risers of 7.2 in. If the ground slopes away, measure the fall and let the calculator add it.
How far out will my deck stairs go?
The number of treads times the run. Five risers make four treads, so at 10½ in that is 42 in out from the deck, plus room for the landing at the bottom.
How many deck boards for stair treads?
Usually two boards a tread: two 5½ in boards with a small gap make about 11 in, enough for a 10 in run with a 1 in nosing. Count treads × boards and cut them from the length that wastes least.
Do deck stairs need a handrail?
Under the IRC, stairs with four or more risers need a handrail on at least one side, 34 to 38 in above the nosings. Guards are needed where the stair’s side is more than 30 in above the ground.