Deck Stairs Calculator

Enter the height from the deck to the ground and the stair width to get the number of risers and treads, the riser height, the total run, the stringers to cut, and the tread boards to buy.

Quick answer: Risers = total rise ÷ 7.75 inches (the code maximum), rounded up; treads = risers − 1. Example: a deck 36 inches above the landing needs 5 risers of 7.2 inches and 4 treads. A 36-inch-wide stair takes 3 stringers cut from 8-foot 2×12s and 8 tread boards.

Free · no sign-up · By Clinton Munkres, Founder, Boringhaus ·

Stair layout · lumber incl. +10% waste

5
risers
7.2in
riser height
4
treads
3
stringers
Total run
44 in
Tread depth
11 in
Stringer length
68.9 in
Stringer stock
3 × 8 ft 2×12
Stringer lumber
27 lin ft
Tread boards
8 (26.4 lin ft)
Tread screws
48

Riser height is within the 7.75 in IRC maximum and the tread meets the 10 in minimum. Stringer length is the rise-and-run hypotenuse plus 12 in for the end cuts, rounded up to stock length.

CODE

A cut 2×12 stringer may span at most 6 ft; longer stairs need a landing or mid-span support. Four or more risers need a handrail, and a rise of 30 in or more needs a guard. Confirm with your local building department.

The formula & reference figures

Risers = Total rise ÷ 7¾ in, rounded up. Riser height = Total rise ÷ risers. Treads = Risers − 1. Total run = Treads × tread depth. Stringer length = √(rise² + run²) plus end allowance. Stringers = Stair width ÷ spacing + 1.

Deck stair code limits used by the calculator
Maximum riser height7.75 in (7¾"), risers within ⅜" of each other
Minimum tread depth10 in, nosing to nosing
Minimum stair width36 in
Cut stringer2×12 stock, 5 in minimum throat, 6 ft maximum span
Stringer stock lengths8 ft · 10 ft · 12 ft · 14 ft · 16 ft
Tread fastening2 screws (#8 × 2½") per tread board at each stringer

Source: American Wood Council, DCA 6-2015 — Prescriptive Residential Wood Deck Construction Guide. Riser, tread, and stringer limits follow the AWC deck guide (DCA 6), which reflects IRC R311.7. Local amendments vary — confirm with your building department.

Key numbers

  • The maximum deck stair riser height is 7.75 inches (7¾ inches).
  • The minimum deck stair tread depth is 10 inches.
  • Deck stair risers may not differ from one another by more than 3/8 inch.
  • A 36-inch rise needs 5 risers of 7.2 inches each.
  • A cut 2×12 stair stringer may span at most 6 feet.
  • A 36-inch-wide stair with wood treads needs 3 stringers at 16 inches on center.
  • Deck stairs with 4 or more risers need a handrail.

How to estimate deck stairs materials

Deck stairs start with one measurement: the total rise from the finished deck surface to the landing. Divide it by the maximum riser height the code allows (7¾ inches under the IRC) and round up, and you have the number of risers. Divide the rise by that count and every step comes out the same height — which matters, because the code also limits risers to within ⅜ inch of each other and an uneven step is the one everyone trips on. The number of treads is one less than the risers, since the deck itself is the top landing.

The run follows from the tread. Two 5/4×6 or 2×6 boards side by side give an 11-inch tread, comfortably over the 10-inch minimum, and multiplying by the number of treads gives the total run — how far the stair reaches out from the deck. That rise-and-run triangle sets the stringer length: the hypotenuse plus a foot or so for the top and bottom cuts. Cut stringers come from 2×12 stock because the notches remove so much wood; the calculator rounds the length up to the next stock size.

Stringer count depends on what you are putting on top of them. Wood treads are usually fine on stringers 16 inches apart, which for a 36-inch stair means three stringers; composite treads need 12-inch spacing or less, so check the manufacturer. The AWC deck guide limits a cut stringer to a 6-foot span, so tall stairs need an intermediate landing or a mid-span support. Stairs with a rise over 30 inches also need a guard and a graspable handrail — those are extra lumber and hardware on top of this count.

Frequently asked questions

How do I calculate the number of steps for deck stairs?+

Divide the total rise (deck surface to landing) by the maximum riser height, 7¾ inches, and round up to get the risers. A 36-inch rise is 5 risers of 7.2 inches and 4 treads. The calculator does this when you enter the rise.

What is the maximum riser height for deck stairs?+

7¾ inches under the International Residential Code (R311.7), and no riser may differ from another by more than ⅜ inch. The calculator always rounds the riser count up so every riser stays under the limit and all are equal.

What is the minimum tread depth for deck stairs?+

10 inches, measured nosing to nosing, under the IRC. Two 5.5-inch deck boards side by side give an 11-inch tread, which is the default here. A 1-inch nosing overhang is typical and is included in the tread depth.

How long should deck stair stringers be?+

The stringer is the hypotenuse of the rise and the total run, plus about a foot for the top and bottom cuts. A 36-inch rise with four 11-inch treads (44-inch run) needs a stringer about 69 inches long, so buy 8-foot 2×12s. The calculator rounds up to the stock length to buy.

How many stringers do deck stairs need?+

Divide the stair width by the stringer spacing and add one, with a minimum of two. A 36-inch stair at 16-inch spacing needs three stringers; composite treads usually require 12-inch spacing, so four. Wider stairs need more.

How far apart should stair stringers be?+

About 16 inches on center for 2× or 5/4 wood treads (the AWC deck guide allows up to 18 inches), and 12 inches or less for most composite treads. Set the spacing above to match your tread material and the calculator adjusts the stringer count.

What size lumber for deck stair stringers?+

Use 2×12 pressure-treated stock for cut (notched) stringers — the notches leave at least 5 inches of solid wood, which smaller boards cannot provide. A cut stringer may span up to 6 feet; longer stairs need a landing or mid-span support.

How many boards do I need for deck stair treads?+

Multiply the number of treads by the boards per tread, usually two 5/4×6 boards for an 11-inch tread. Four treads on a 36-inch stair are 8 boards, or 24 linear feet. Add riser boards (one per riser, same width) if you are closing the risers.

How many screws for deck stairs?+

Plan two screws per tread board at every stringer — the AWC guide calls for two #8 screws at least 2½ inches long per tread per stringer. Eight tread boards on three stringers is 48 screws; stringer hangers and the handrail hardware are extra.

Do deck stairs need a handrail?+

Yes, once the stair has four or more risers it needs a graspable handrail 34–38 inches above the nosings, and a guard is required on any stair with a total rise of 30 inches or more. The calculator counts the stair lumber only; add the rail and posts separately.

Is this deck stairs calculator free?+

Yes — it is free, needs no sign-up, and runs entirely in your browser, so nothing you enter is stored or sent anywhere.