Deck Stair Calculator

Measure from the top of the deck to the ground and get the number of steps, the 2x12 stringer cuts, a materials list and a code check.

Finished floor to finished floor. Type it like your tape reads: 56 3/4 or 4' 8-3/4"

Level distance from the edge of the upper floor to where the bottom step lands. Fill it in to size the treads to your space.

Treads
Stringer mount

Risers
More options

Nosing to nosing. This is the cut on the stringer.

Tread overhang. Enter 0 for none.

Stringer board
Round results to
Units

Enter your total rise

Measure straight down from the top of the deck or upper floor to the surface where the stairs will land. The layout appears here as you type.

Measuring a deck for stairs

The number that matters is the total rise: from the top of the deck boards straight down to the surface where the bottom step will land. Two things trip people up.

This page starts with the settings most deck stairs use: 2x12 stringers, two 2x6 boards per tread, open risers and pressure-treated lumber in the materials list.

A worked example: a 36" deck

A deck 36" above the landing needs 5 risers at 7 3/16" and 4 treads. With a 10" run the stair reaches 3' 4" out from the deck, and the stringer length is 4' 5 13/16".

The materials list comes to three 8-foot 2x12s for the stringers, eight 2x6 tread boards cut to 36", and about 48 exterior screws.

One thing shows up in red: with open risers, the gap between treads is 5 11/16". On a stair that rises more than 30", the model code does not allow an opening a 4" ball can pass through, so this stair needs riser boards. Switch Risers to Closed and the check turns green.

What inspectors look at on deck stairs

ItemModel codeIRC section
Riser height7 3/4" maximum, all within 3/8" of each otherR318.7.5.12021: R311.7.5.1
Tread depth10" minimumR318.7.5.22021: R311.7.5.2
Open risersNo opening a 4" ball can pass where it is more than 30" above the groundR318.7.5.12021: R311.7.5.1
HandrailRequired with 4 or more risers, 34" to 38" above the tread nosingsR318.7.8, R320.22021: R311.7.8, R311.7.8.1
GuardRequired on open sides more than 30" above the groundR321.12021: R312.1
Width36" minimumR318.7.12021: R311.7.1

The first and last steps are where deck stairs usually fail, because the yard and the deck boards are the two surfaces nobody measured carefully. The 3/8" rule applies to them too.

Check with your building department first. Most decks attached to a house need a permit, cities adopt the code with their own changes, and a homeowners association can add rules of its own. Print the summary sheet and bring it along; it lists every number an inspector will ask about.

Building them to last

The stair code tells you the shape of the steps. For how to build a deck stair that stays put, most building departments point to the American Wood Council's deck guide, DCA 6. Its main stair rules:

Use lumber rated for ground contact where the stringers meet the landing, and fasteners rated for treated wood; ordinary screws corrode in it.

Questions people ask

Do deck stairs need riser boards?

Under the model code, only when the stair rises more than 30" and the gap between treads is 4" or more. A deck 30" high or lower can have open risers. Many people close them anyway: it looks finished and keeps toes and toys from slipping through.

Two 2x6s or 5/4 deck boards for treads?

Both work with stringers 18" apart or closer. Two 2x6s make a tread about 11" deep and 1 1/2" thick. 5/4 deck boards are 1" thick and match the decking. Pick the one you are using and the calculator adjusts the bottom riser cut.

Can I buy pre-cut stringers?

Home centers sell pressure-treated stringers for 3, 4 or 5 steps with a fixed rise. They only fit if that rise times the number of steps equals your total rise within the 3/8" rule. Run your number here first.

My deck is under 30" high. Do I still need a handrail?

The handrail rule counts risers, not height: 4 or more risers needs one. The guard rule is the one tied to 30".

How far out will the stairs reach?

That is the total run. Mark it on the ground before you build so you know where the landing pad goes.

Sources

Help us improve this calculator

Was it helpful?

Only if you want a reply.