Pitch & Plank

All calculators

Deck stair calculator

Enter the height from the landing to the deck surface to get the number of steps and the stringer layout.

Measurements

in

Top of the deck surface down to where the stairs land

in

7.75 in is the usual code limit

in

10 in is the usual code minimum

in
in

18 in is the most for wood treads. Composite often needs 12 in or less.

Results

Steps
5 risers, 4 treads
Height of each riser
7 3/16" (7.2 in)
Total run
3' 4"
Stringer length
4' 5 13/16"
Board to buy
8 ft 2x12
Number of stringers
3
Stair angle
35.8°
36"3' 4"7 3/16"10"

How it works

  1. Number of risers = total rise ÷ tallest riser allowed, rounded up.
  2. Riser height = total rise ÷ number of risers. Every step comes out the same.
  3. Treads = risers − 1. The deck itself is the top step.
  4. Total run = treads × tread depth. This is how far the stairs reach out from the deck.
  5. Stringer length = √(total rise² + total run²).

Example: a deck surface 36 inches above the landing. 36 ÷ 7.75 = 4.6, so 5 risers. Each riser is 36 ÷ 5 = 7.2 inches, which is 7 3/16 in. There are 4 treads, so the run is 4 × 10 = 40 inches. The stringer is √(36² + 40²) = 53.8 inches, so an 8 foot 2x12 is enough for each one.

Measure the rise where the stairs land

Yards slope. The ground 4 feet out from the deck is often lower or higher than the ground right under the edge. Hold a straight board level out from the deck surface to the spot where the bottom step will sit, and measure down from there.

Common code limits

The International Residential Code, which most US states use as a base, sets these limits for stairs:

Your town can be stricter, so check before you cut.

Stringer rules of thumb

The American Wood Council deck guide, DCA 6, gives these for wood deck stairs:

Common questions

How many steps do I need for a 36 inch high deck?

Five risers at 7 3/16 inches each, with 4 treads. The deck surface is the top step.

What is the maximum riser height for deck stairs?

The International Residential Code limit is 7 3/4 inches, with treads at least 10 inches deep. All risers in a flight must be within 3/8 inch of each other. Local codes can differ.

Why is there one less tread than risers?

Because the deck is the top step. You step from the last tread straight onto the deck surface, so the stringer only carries the treads below it.

How many stringers do I need for deck stairs?

A 36 inch wide stair with wood treads gets 3 stringers. The American Wood Council deck guide calls for at least three, no more than 18 inches apart. Composite treads usually need more, because many makers require stringers 12 inches apart or less.

Do deck stairs need a handrail?

Under the International Residential Code, stairs with four or more risers need a handrail on at least one side. Decks more than 30 inches above the ground also need a guard rail.

Put this calculator on your site

Paste this code into any web page to show the calculator there. It is free to use.

Sources

Facts on this page were last checked against these sources in October 2026.

Related calculators