Home / Deck calculators / Deck Stair Calculator

Deck calculators

Deck stair calculator

Measure from the ground to the top of the deck. The calculator works out the steps, how far the stairs reach into the yard and what they cost.

Prices last reviewed October 2026. How we calculate

in

Measure straight down from the top of the deck boards to where the stairs will land, not to the ground beside the deck.

Depth of each tread
Width of the stairs
Treads made of
Who builds it
Labor rates where you live
Use my own price

Have a quote per step? Type it in and the estimate uses your number.

$

How many steps does a deck need?

Take the height of the deck in inches and divide by 7¾, the tallest a step is allowed to be under the residential code most of the US uses. Round up. That's your number of risers, and the height divided by that number is how tall each one is.

Deck heightRisersHeight of each riserTreadsRun, with 10½ in treads
14 in27 in110 1/2 in
21 in37 in221 in
30 in47 1/2 in331 1/2 in
36 in57 3/16 in442 in
48 in76 7/8 in663 in
60 in87 1/2 in773 1/2 in
96 in137 3/8 in12126 in

There is always one fewer tread than risers, because the deck itself is the top step.

The two numbers the code cares about

A riser can be no taller than 7¾ inches, and a tread no shallower than 10 inches. Those are the limits, not targets. Most people find a riser around 7 inches with a tread of 10½ or 11 the most comfortable to walk.

The third rule catches more people than the first two: every step has to match. The tallest riser in a flight can't differ from the shortest by more than ⅜ of an inch. Your foot learns the rhythm on the first step, and one odd step is where people fall.

Run: how far the stairs stick out

Multiply the number of treads by the tread depth. A deck 48 inches up needs 7 risers and 6 treads, and with 10½-inch treads the stairs reach more than 5 feet into the yard. Check that you have the room before you settle on where they go.

The stairs also need somewhere solid to land. A concrete pad or a row of pavers at the bottom keeps the stringers out of the dirt and gives you an even last step.

Stringers

Stringers are the notched boards that carry the treads, normally cut from 2×12s. We count one at each side and enough in between that none are more than 16 inches apart, which is why a 36-inch stair gets four.

The estimate gives the length of each stringer along its slope. Buy the next board length up.

When you need a handrail

Once a stair has four or more risers, it needs a handrail on at least one side, and it has to be one you can close your hand around. A flat 2×6 on top of the railing doesn't count. The calculator flags it when your stairs reach that point.

These are the model code's numbers. Your city or state can change them, and stairs are inspected closely, so confirm the limits with your building department before you cut anything.

Fair questions

What if the ground slopes?

Measure the height at the spot where the stairs will land, not at the edge of the deck. On a slope those can be a foot apart, and the stairs are built for the landing.

What does a step cost?

We use $150 a step in wood and $170 in composite for stairs 36 inches wide, built by a contractor, and scale that for wider stairs.

Are stairs included in the deck calculator?

Yes, at the same price per step. The deck cost calculator takes a number of steps, and this page tells you what that number should be.

Sources