ConstructionCalculators

Deck Stair Calculator

Enter the deck's height above the ground and the stair width to get the steps, riser height, run, stringers and tread boards.

3' 0"3' 8"5 risers × 7-3/16 in4 treads × 11 in33.2° angle
Stairs
Deck height
Tread depth
in

Deck stairs

5 risers

7-3/16 in each · 4 treads · 3' 8" run

Riser height7.2 in exact · IRC: 7¾ in at most
7-3/16 in
Stair runfrom the deck edge to the last riser
3' 8"
Bottom risercut 1 in short for the tread board
6-3/16 in
Stringers, 2x12
3 × 8 ft
Tread boards, 5/4 × 6
2 × 12 ft
HandrailIRC: needed with 4 or more risers
34–38 in

How Many Steps for a Deck?

A deck 36 in above the ground needs 5 risers of 7-3/16 in and 4 treads, because the deck itself is the top step. With 11 in treads the stairs reach 3' 8" out from the deck.

Steps by deck height, with risers as tall as the IRC allows and 11 in treads:

Deck heightRisersTreadsRun
18 in3 × 6 in21' 10"
24 in4 × 6 in32' 9"
30 in4 × 7-1/2 in32' 9"
36 in5 × 7-3/16 in43' 8"
42 in6 × 7 in54' 7"
48 in7 × 6-7/8 in65' 6"
54 in7 × 7-11/16 in65' 6"
60 in8 × 7-1/2 in76' 5"
72 in10 × 7-3/16 in98' 3"

Steps here are risers, the times you step up. Treads are one fewer, since the last step up lands on the deck. To frame the deck itself, plan the joists, beam and posts.

How far the stairs reach out from the deck, 11 in treads:

24 in deck
2' 9"
30 in deck
2' 9"
36 in deck
3' 8"
42 in deck
4' 7"
48 in deck
5' 6"
54 in deck
5' 6"
60 in deck
6' 5"
72 in deck
8' 3"
Total run, in feet and inches

Add the landing at the bottom, at least 36 in deep, to find the ground you need in front of the deck. A 48 in deck takes 5' 6" of stairs plus 3 ft of landing: 8' 6" in all.

How to Calculate Deck Stairs

  1. 1Measure the height from the top of the decking straight down to the ground where the bottom step will land, not at the post.
  2. 2Divide the height by 7 3/4 in, the tallest riser the IRC allows, and round up. That is the number of risers.
  3. 3Divide the height by the number of risers for the exact riser height. Every riser in the flight comes out the same.
  4. 4Treads are one fewer than risers. Multiply them by the tread depth for the total run.
  5. 5For the stringer, take the rise one riser short of the deck, since the stringer hangs from the rim, and find the slope length with the run. Add about 6 in for the cuts.
Risers = height ÷ 7.75, rounded up; run = (risers − 1) × tread36 ÷ 7.75 = 4.65 → 5 risers; 36 ÷ 5 = 7.2 in → 7-3/16 in4 treads × 11 in = 44 in = 3' 8" of runStringer: √(28.8² + 44²) = 52.6 in + 6 in = 58.6 in → 8 ft 2x12

Measuring on Sloped Ground

If the ground falls away from the deck, the rise at the bottom step is taller than at the deck edge. Measure at the spot where the stairs will end, work out the run, then measure again at that new spot and repeat until the numbers settle. Fine Homebuilding describes this as the usual way to lay out deck stairs on a slope.

The parts of a deck stair, for the default 36 in deck:

3' 0"3' 8"36 in123456
  1. 1Riser: 7-3/16 in, 7 3/4 in at most
  2. 2Tread: 11 in, 10 in at least
  3. 3Stringers: 2x12, 3 for a 36 in wide stair
  4. 4Handrail: 34–38 in above the nosings
  5. 5Landing: 36 in deep at least
  6. 6Footing: 12 in below grade at least, below the frost line

Deck Stair Code Requirements

Deck stairs follow the same IRC stair rules as stairs inside the house. Section numbers are from the 2021 IRC; the 2024 edition moved stairs to R318 and guards to R321 without changing the numbers:

ItemIRC requirement
Riser height7 3/4 in at most (R311.7.5.1)
Tread depth10 in at least, nosing to nosing (R311.7.5.2)
Variation3/8 in at most between risers or treads in a flight
Nosing3/4 to 1 1/4 in, not needed on treads 11 in or deeper
Width36 in at least (R311.7.1)
Handrail4 or more risers; 34 to 38 in above the nosings (R311.7.8)
GuardOpen side more than 30 in above grade; 34 in high on stairs (R312.1)
Guard openingsUnder 4 3/8 in on stairs; the triangle at the tread under 6 in
LandingsTop and bottom, 36 in deep, as wide as the stair (R311.7.6)
Flight rise12 ft 7 in at most between landings (R311.7.3)
LightA light at the top landing, switched from inside (R303.7)

The code sets limits, not the comfortable middle. A long-standing rule in the USDA's house-framing handbook is that twice the riser plus the tread should come to about 25 in. The default stair gives 2 × 7.2 + 11 = 25.4 in at 33.2°. With 10 in treads, the same deck reaches 3' 4" out at a steeper 35.8°.

Stair guards and their balusters are counted with the deck railing; space the balusters on each tread separately.

Stair Stringers: How Many and How Long

Cut stringers are 2x12s, with at least 5 in of solid wood left below the notches (AWC DCA 6). A 2x12 cut for a 7 3/4 in riser and a 10 in tread keeps about 5.1 in; a 2x10 keeps only about 3 in, which is why DCA 6 rules it out.

  • Count: no more than 18 in apart, and at least three when all are cut stringers. That is 3 for a 36 in stair, 4 for 42 or 48 in and 5 for 60 in.
  • Span: a cut stringer may span 6 ft at most, measured level. Past that, set a 4x4 post on its own footing under the stringers, use solid stringers (13 ft 3 in), or add a landing. A 60 in deck already runs 6' 5", so the tool flags it.
  • Length: the layout line plus about 6 in for the top and bottom cuts. Stairs for decks up to about 54 in fit 8 ft boards; a 72 in deck needs 12 ft.
  • Fastening: attach the stringers to the deck rim with the metal connectors DCA 6 details, and fasten each tread to every stringer with two 8d threaded nails or two No. 8 screws at least 2 1/2 in long.

To lay out a stringer, set the riser height on the tongue of a framing square and the tread depth on the blade, then step the square along the board:

123456
  1. 1Rise: the riser height on the square’s tongue
  2. 2Run: the tread depth on the square’s blade
  3. 3Throat: at least 5 in of uncut wood
  4. 4Bottom riser cut short by the tread thickness
  5. 5Top plumb cut against the header
  6. 6Bottom level cut on the floor

Cut the bottom riser short by the thickness of a tread so the first step comes out the same height as the rest. With 1 in thick 5/4 treads on the default stair, the bottom riser of the stringer is 6-3/16 in.

Footing and Landing at the Bottom

DCA 6 has the stringers bear on a 2x4 block fastened to the stair posts, with the posts on footings at least 12 in below grade and below the frost line. It does not let stringers bear on a patio or pad that isn't founded that deep.

In front of the bottom step, the IRC wants a landing at least 36 in deep and as wide as the stair. For a 36 in wide stair, a concrete pad 36 × 36 in and 4 in thick holds 3 cu ft, five 80 lb bags of mix; size other concrete pads the same way.

Treads and Cost

Two 5/4 × 6 boards with a 1/8 in gap make a tread 11 1/8 in deep. That sets the run you can build:

  • 11 in run: the IRC needs no nosing on treads 11 in or deeper, and the two boards cover the run with 1/8 in to spare. This is the calculator's default.
  • 10 to 10 3/8 in: the boards overhang the riser below by 3/4 to 1 1/8 in, inside the 3/4 to 1 1/4 in the code asks for on treads under 11 in.
  • 10 1/2 or 10 3/4 in: the overhang is only 5/8 or 3/8 in, short of the 3/4 in minimum. A 10 1/2 in tread meets the 10 in minimum but fails the nosing rule with these boards, and the tool then shows a Nosing row.

From 12 ft boards, a 36 in stair gets four tread pieces a board, so 4 treads take 2 boards.

At the calculator's prices, the default stair costs $102: 3 stringers of 2x12 × 8 ft for $74 and 2 tread boards at $13.88. Posts, footings, the handrail and hardware come on top.

For composite treads, check the board's stair rating: Trex rates its 2x6 boards for 16 in between stringers, most 1x6 lines for 12 in and Enhance for 9 in, so a 36 in composite stair takes four stringers at 12 in or five at 9 in. For indoor stairs or stairs with a landing between flights, use our general stair calculator.

Frequently Asked Questions

How many steps do I need for a 4 ft deck?

7 risers of 6-7/8 in and 6 treads, with the deck as the top step. At 11 in treads the stairs reach 5' 6" out from the deck.

How many steps for a 30 inch high deck?

4 risers of 7-1/2 in and 3 treads, reaching 2' 9" out. Measure the 30 inches from the deck surface to the ground where the bottom step lands.

How many steps for a 36 inch deck?

5 risers of 7-3/16 in and 4 treads. With 11 in treads the stairs reach 3' 8" out, and three 2x12 stringers 8 ft long carry a 36 in wide stair.

What is the code rise and run for deck stairs?

Risers no taller than 7 3/4 in and treads at least 10 in deep, measured nosing to nosing (IRC 2021 R311.7.5; R318.7.5 in the 2024 IRC). Within a flight, risers and treads may differ by no more than 3/8 in.

How wide do deck stairs have to be?

At least 36 inches (IRC R311.7.1). The handrail may cut into that: at least 31 1/2 in must stay clear with one handrail and 27 in with two.

How far apart should deck stair stringers be?

No more than 18 in on center with wood treads (AWC DCA 6), so a 36 in stair takes three stringers and a 48 in stair four. Composite treads need closer stringers: Trex rates most of its 1x6 boards for 12 in as treads and Enhance for 9 in.

Do deck stairs need a handrail?

Yes, once the stair has 4 or more risers: on at least one side, 34 to 38 in above the nosings (IRC R311.7.8). A stair whose open side is more than 30 in above the ground also needs a guard at least 34 in high.

Do deck stairs need a landing at the bottom?

The IRC calls for a landing at the top and bottom of a stair, at least 36 in deep and as wide as the stair (R311.7.6). The deck is the top landing; at the bottom, a pad or level ground 36 in deep serves.

Can deck stairs rest on a concrete patio?

Only if the patio is founded as deep as a footing. DCA 6 has the stringers bear on a block fastened to posts on footings at least 12 in below grade and below the frost line, and not on pads or patios that are not founded that deep.

How long a stringer do I need for deck stairs?

For a 36 in deck, the layout runs 4' 4-9/16" along the slope; with about 6 in for the end cuts, an 8 ft 2x12 is enough. A 72 in deck needs 12 ft 2x12s.

Sources

  • American Wood Council. (2018). Prescriptive residential wood deck construction guide: Based on the 2015 International Residential Code (DCA 6-15).
  • Anderson, L. O., & Heyer, O. C. (1955). Wood-frame house construction (Agriculture Handbook No. 73). U.S. Department of Agriculture, Forest Service.
  • Engel, A. (2015). Laying out basic stair stringers. Fine Homebuilding, (248).
  • International Code Council. (2020). 2021 International Residential Code (Sections R303.7, R311.7, R312.1).
  • International Code Council. (2023). 2024 International Residential Code (Sections R318.7, R321.1).
  • Toht, D. (n.d.). Laying out the deck stair stringers. Fine Homebuilding.
  • Trex Company. (2026). 2026 Trex decking installation guide.

Updated .

Cite this page as:

Daniel, P. Deck Stair Calculator. Available at: https://constructioncalculators.com/deck-stair-calculator/. Accessed: October 28, 2026.