Deck Stair Calculator

Enter your deck height and tread depth to get step count, rise per step, total run, stringer length, and cut angle for outdoor deck stairs.

Deck surface to landing, measured at the stair location

10.5" fits two 5.5"-wide deck boards with a ½" gap

Number of Steps

5

Rise per Step

7.2 in (7 3/16")

Set your framing square to this rise

Tread Depth (Run)

10.5 in (10 1/2")

Set your framing square to this run

Total Run

42 in (42")

Horizontal distance from deck face to bottom step nose

Stringer Length

55.32 in (55 5/16")

Minimum 2×12 board length needed

Cut Angle

34.4°

Angle from horizontal for stringer layout

Measuring deck height the right way

Deck stair math starts with one measurement: the vertical distance from the top of the deck surface to the landing surface — measured at the spot where the stairs will actually land, not at the deck edge. Ground slopes; a deck that is 36" high at the rim joist can be 39" high six feet out.

  • Use a straight board and a level. Extend the board from the deck surface out over the landing area, level it, and measure down to the ground.
  • Subtract the landing pad. If you are pouring a concrete pad (recommended — stringers should never sit on bare ground), subtract its thickness from the measurement. A typical pad is 4" thick.
  • Measure from the decking, not the frame. The finished surface is where feet land.

Deck-specific requirements

Deck stairs follow the same IRC dimensional limits as interior stairs — 7¾" maximum rise (R311.7.5.1), 10" minimum tread depth (R311.7.5.2) — plus a few requirements that come up on nearly every deck build:

  • Handrail at 4+ risers. A graspable handrail is required on at least one side when the stair has 4 or more risers (IRC R311.7.8). That threshold arrives at roughly a 23" deck height.
  • Guards above 30". If the deck surface is more than 30" above grade, the deck and stair open sides need guards (IRC R312.1.1) — see the baluster spacing calculator.
  • Three stringers minimum for a standard 36"-wide stair; space stringers 16" on center maximum.
  • Top attachment: hang stringers from the rim joist with stair stringer hangers or a ledger; never rely on end nails.
  • Bottom landing: set stringers on a concrete pad with post bases or angle brackets. Ground-contact-rated lumber is required anywhere wood is near soil.
  • Drop the bottom riser by one tread thickness (typically 1" for 5/4 deck boards, 1.5" for 2× lumber) so the first step matches the rest after treads are installed.

For the complete build sequence — marking, cutting, and hanging stringers — follow the deck stair building guide.

Worked example: 36-inch deck

  1. Step count: 36 ÷ 7.5 (target rise) = 4.8 → 5 steps.
  2. Rise per step: 36 ÷ 5 = 7.2" — under the 7.75" IRC maximum and comfortable.
  3. Total run: (5 − 1) × 10.5" = 42". The deck itself is the top step, so there is one fewer tread than risers.
  4. Stringer length: √(36² + 42²) ≈ 55.3" — an 8-foot 2×12 covers it with layout margin.
  5. Cut angle: arctan(7.2 ÷ 10.5) ≈ 34.4°.

Because this stair has 5 risers, it needs a handrail; because the deck is 36" above grade, it needs guards. Both checks come straight from the numbers above.

Frequently asked questions

How do I measure deck height for stairs?
Measure the vertical distance from the top of the deck surface straight down to the ground at the spot where the stairs will land — not at the deck edge, because the ground is rarely level. If you are pouring a concrete landing pad, subtract its thickness (typically 4") from the measurement.
How many steps does a 36-inch-high deck need?
36" ÷ 7.5" target rise = 4.8, which rounds to 5 steps of 7.2" each — within the IRC 7¾" maximum (R311.7.5.1). With a 10.5" tread, the total run is 42".
Do deck stairs need a handrail?
Under the IRC (R311.7.8), a handrail is required on at least one side whenever the stair has 4 or more risers. Guards are separately required when the deck surface is more than 30" above grade (IRC R312.1.1).
How many stringers do deck stairs need?
Space stringers a maximum of 16" on center. A standard 36"-wide deck stair needs at least 3 stringers; wider stairs need one more stringer per 16" of width.