SwiftTools

Deck Stair Calculator

Enter your total rise, tread depth and stair width, and this deck stair calculator returns even risers, riser height, tread count, total run, stringer length and how many stringers to cut.

Your deck stair measurements
risers = ceil(total rise / 7.75) · riser height = total rise / risers · treads = risers - 1 · total run = treads x tread depth · stringer length = sqrt(rise^2 + run^2) · stringers = ceil(width / 16) + 1

Riser and tread limits follow the common residential code defaults: maximum riser height 7.75 inches, minimum tread depth 10 inches, every riser in a flight within 3/8 inch of the others (equal here by construction), and stringers spaced no more than about 16 inches apart with a minimum of two per stair. Stringer length is the diagonal before top and bottom level cuts, so the board length rounds up to the next whole foot. This is a planning estimate, not a code approval — verify riser height, tread depth, stringer sizing and landing rules with your local building department before cutting.

How the deck stair calculator works

Deck stairs are built from one rule: every riser the same height, or the stair trips people. Divide the total rise — deck surface down to the finished landing, measured with a straight edge and level — by the 7.75-inch maximum riser height and round up to get the riser count, then split the rise evenly across those risers. Treads are always one fewer than risers, because the deck surface itself is the final step. Total run is treads times tread depth (10 inches minimum, 10 to 11 inches comfortable), stringer length is the hypotenuse of rise and run, and stringers are spaced no more than about 16 inches apart with a minimum of two.

Worked example: a 36-inch total rise with 10.5-inch treads and a 36-inch width needs ceil(36 / 7.75) = 5 risers, each 36 / 5 = 7.20 inches high, with 4 treads and a total run of 4 x 10.5 = 42 inches. Stringer length is sqrt(36^2 + 42^2) = sqrt(3060) = 55.32 inches (4.61 feet), so buy 5-foot boards, and stringers are ceil(36 / 16) + 1 = 4. A 48-inch rise with 11-inch treads and a 48-inch width needs ceil(48 / 7.75) = 7 risers at 6.86 inches each, 6 treads, a 66-inch run, a stringer of sqrt(48^2 + 66^2) = 81.61 inches, 7-foot boards, and 4 stringers.

Common mistakes: measuring to unfinished grade instead of the finished landing (every riser then lands wrong by exactly that thickness), using the step count as the tread count (one too many treads pushes the run out a full tread), and cutting stringers to the exact diagonal without allowing for the top and bottom level cuts — always round up to the next stock length. Long or steep flights may need mid-span support or solid uncut stringers. The Deck Build Cost Calculator prices the deck itself; the Deck Post Spacing Calculator sizes the posts it stands on.

risers = ceil(total rise / 7.75) · riser height = total rise / risers · treads = risers - 1 · total run = treads x tread depth · stringer length = sqrt(total rise^2 + total run^2) · stringers = ceil(width / 16) + 1

Related tools

Also try the Deck Build Cost Calculator for the deck budget, the Deck Material List Calculator for boards and fasteners, and the Deck Joist Span Calculator for joist sizing.

Deck stair calculator FAQ

How many steps does my deck need?

Divide your total rise by 7.75 inches and round up. A 36-inch rise needs 5 risers (steps up), each 7.20 inches high, with 4 treads between them.

How tall should each riser be?

At or under 7.75 inches, and every riser in the flight within 3/8 inch of the others. This calculator splits the rise evenly, so all risers are identical by construction.

How deep should deck stair treads be?

At least 10 inches, with 10 to 11 inches the comfortable range. Deeper treads suit a relaxed stride but lengthen the total run — 4 treads at 10.5 inches run 42 inches.

How long is the stringer?

The diagonal of the rise and run triangles: sqrt(total rise squared + total run squared). For 36 inches of rise and 42 inches of run that is 55.32 inches, before top and bottom level cuts.

How many stringers do I need?

One every 16 inches of width plus one, with a minimum of two. A 36-inch-wide stair needs 4 stringers; a 48-inch-wide stair also needs 4, and a 60-inch stair needs 5.

What board length do I buy for stringers?

Round the diagonal up to the next whole foot — 55.32 inches buys as a 5-foot board, 81.61 inches as a 7-foot board — then allow extra for the level cuts at top and bottom.

Does this replace a building code check?

No — it is a planning estimate using common residential defaults (7.75-inch max riser, 10-inch min tread). Local amendments vary, so confirm riser height, tread depth, stringer sizing and landing rules before cutting.