Stair Layout
Menu

Deck Stair Calculator

Measure from the top of the deck to the surface where the stairs will land. The calculator works out the steps and lays out the stringers.

Your measurements

The layout is checked against the rules of the code you choose. Your local rules may differ.
Units
From the finished lower floor to the finished upper floor. Write 108, 108 1/4 or 9' 1/4".

Example values. Replace them with your own measurements.

The horizontal space for the stairs, from the front of the bottom step to the edge of the upper floor. Leave it empty to let the calculator choose.
The finished thickness of the tread boards. The first riser on the stringer is cut shorter by this amount.
How far each tread overhangs the riser below it. Enter 0 for open treads without an overhang.
Clear width of the stairs, used to check the minimum width.
The lowest point of the ceiling above the stairs, measured straight up from the line joining the tread nosings.

Other numbers of risers

The same total rise divided into a different number of steps.

RisersRiserTread depthTotal runAngle2R + GResultUse this
49 in10 in30 in42.0°28 in1 rule fails
57 3/16 in10 5/8 in42 3/8 in34.2°25 inMeets code
66 in13 in65 in24.8°25 inMeets code
75 1/8 in14 11/16 in88 5/16 in19.3°25 inMeets code

Calculated in your browser. Your measurements are not sent anywhere unless you share the link.

Deck stairs at common heights

The fewest risers allowed by IRC 2021, with a tread depth of 10 1/2 in.

Steps and run for common deck heights
Deck heightRisersRiserTreadsTotal runStringer length
12 in26 in110 1/2 in12 1/16 in
18 in36 in221 in24 3/16 in
24 in46 in331 1/2 in36 1/4 in
30 in47 1/2 in331 1/2 in38 11/16 in
36 in57 3/16 in442 in50 15/16 in
42 in67 in552 1/2 in63 1/8 in
48 in76 7/8 in663 in75 1/4 in
54 in77 11/16 in663 in78 3/16 in
60 in87 1/2 in773 1/2 in90 5/16 in
72 in107 3/16 in994 1/2 in114 9/16 in

Tread boards

Common board combinations for deck treads
BoardsTread depth with gaps
Two 2×6 (5 1/2 in each), one 1/4 in gap11 1/4 in
Two 5/4×6 deck boards (5 1/2 in each), one 1/4 in gap11 1/4 in
Three 2×4 (3 1/2 in each), two 1/4 in gaps11 in

Board widths are the actual sizes of US dimensional lumber. Measure your boards: composite and imported boards vary.

Common questions

How do I measure the rise for deck stairs?

Measure from the top of the deck boards to the surface the bottom step will stand on, at the point where the stairs will land, not at the edge of the deck. The ground usually slopes, so run a straightedge and a level out from the deck to that point and measure down.

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

Under the IRC limit of 7 3/4 in per riser, a 36 in rise needs 5 risers of 7 3/16 in (36 ÷ 7.75 = 4.6, rounded up). That gives 4 treads, because the deck itself is the top step. With 10 1/2 in treads, the stairs run 42 in out from the deck.

What should the bottom step land on?

On a firm, level surface that does not move or settle, such as a concrete pad or compacted gravel with pavers. Measure the rise to the finished top of that surface. If the pad is not built yet, decide its height first, because it changes the total rise.

Do deck stairs have to meet the building code?

In most US jurisdictions deck stairs follow the same IRC stair rules as indoor stairs, and decks often need a permit. Railings, handrails, stringer sizes and fixings have their own rules, which this calculator does not check.

  • Stair Calculator

    Enter the total rise. The calculator works out risers, treads and the stringer, and checks each rule of the building code you choose.

  • Stair Stringer Calculator

    Enter the total rise and your tread size. You get the cut for every step, the first and last cuts, and a template you can print at full size.

  • Stair Rise and Run Calculator

    Enter the total rise to get riser height and tread depth, then use the table to compare comfortable combinations.

  • Stair Angle Calculator

    Enter the total rise and, if you know it, the total run. The angle of the stairs is shown first, with the steps that produce it.