Deck Stair Calculator

Enter the total rise from the ground to your deck surface to lay out a set of deck stairs. You get the number of risers and treads, the exact riser height, total run, stringer length and stringer count, with a warning if the layout falls outside common code limits.

Important: Follow your local building code. These are common IRC limits, and your area may differ.

Your measurements

Units
From the landing to the top of the deck surface.

Maximum; actual will be this or less.

Run per step on the stringer.

On center. 12 in for many composites.

Results update as you type.

Results

Enter your measurements to see results.

Side view of the stringer with each rise and run.

How to use this calculator

  1. Measure the total rise: straight down from the top of the deck surface to where the bottom step will land.
  2. Enter your preferred riser height. The calculator uses enough risers that none is taller than this.
  3. Enter the tread depth, the horizontal run of each step cut into the stringer.
  4. Enter the stair width and the maximum stringer spacing your treads allow.
  5. Check the results for any code warnings. Results update as you type.

The top tread is the deck itself, so there is always one fewer tread than risers. Remember to subtract the tread thickness when you mark the bottom of the stringer.

Worked example

A deck 40 in above the landing, with a 7.5 in preferred riser, 10.5 in treads and a 36 in wide stair:

  1. Risers: 40 ÷ 7.5 = 5.33, rounded up to 6 risers
  2. Actual riser: 40 ÷ 6 = 6.67 in (6 11/16 in)
  3. Treads: 6 − 1 = 5 treads
  4. Total run: 5 × 10.5 = 52.5 in
  5. Stringer length: √(40² + 52.5²) = 66 in, so cut from an 8 ft 2×12
  6. Stringers: 36 in wide at 16 in max spacing = 4 stringers

Both the riser (6.67 in) and the tread (10.5 in) are within the common 7 3/4 in and 10 in limits.

Frequently asked questions

What is the maximum riser height for deck stairs?

The International Residential Code, which many US areas adopt, limits riser height to 7 3/4 inches. Within one flight, the tallest riser cannot be more than 3/8 inch taller than the shortest, so all risers should be the same height. Some cities and states change these numbers, so check your local code.

What is the minimum tread depth?

Under the IRC, treads must be at least 10 inches deep, measured from the front edge of one tread to the front edge of the next. Treads shallower than 11 inches generally need a nosing that overhangs the riser below. Two 5.5 inch deck boards with a small gap make a common tread of about 11.25 inches.

How many stringers do deck stairs need?

Enough that the treads span no farther than they are rated for. This calculator spaces stringers no more than 16 inches apart by default, so 36 inch wide stairs need 4. Many composite treads require 12 inch spacing, so check your decking instructions and change the spacing if needed.

How do I measure the total rise?

Measure straight down from the top of the deck surface to where the bottom step will land. If the ground slopes, measure at the landing spot, not right under the deck, because the stairs end several feet out. Use a level or a long straightedge to extend the deck height out to that point.

What riser and tread size is most comfortable?

Risers around 7 to 7 1/2 inches with treads of about 10 1/2 to 11 inches feel natural to most people. A common rule of thumb is that two risers plus one tread should add up to about 25 inches. Lower, deeper steps are easier on older legs but take up more yard.