Deck Stair Calculator

This deck stair calculator works out the full stair math and shopping list β€” risers, treads, total run, stringer length and count, tread boards and screws β€” from your deck height. No sign-up. The working is shown under every number.

Quick example: stairs up to a 48 in high deck need 7 risers at 6.86 in each, 6 treads, a 66 in run and 4 stringers β€” $203.00 of materials at the example prices.

Curved wooden deck stairs with a pergola in a leafy garden

Your project

in

Measure from the ground (or landing) up to the deck surface.

in

7ΒΎ in is the usual code maximum. Lower = gentler stairs.

in

10 in is the usual code minimum; 11 in is more comfortable.

in

This calculator works out the step math and the material list β€” it does not design the stair structure. Stair codes are strict (riser limits, handrails, landings): confirm your design with your local building code before you build. For the deck boards and frame themselves, use the deck material calculator.

Your prices β€” put your store's prices here

These prices are examples to start from, not live prices. Type your store's prices and the total updates instantly.

Shopping list

ItemBuyCost
Estimated total$0.00

Risers are divided equally across the flight, the way code requires β€” never one short step at the bottom. Stringer length includes a 12 in trimming allowance.

Estimate only β€” not a guarantee. Mistakes are possible, so always check the quantities with your supplier or a builder before you buy or build.

Next step for this job

Deck stairs without the wobble: measuring total rise and working out risers, treads and stringers

The one measurement everything hangs on: total rise

Total rise is the vertical distance from the ground (or the landing) where the stairs end to the top surface of the deck β€” not to the top of the deck frame, and not to where the ground looks level. Measure it with a long straight board laid out from the deck edge, a level on top, and a tape down from the board's end to the ground: that is your rise to the inch, and every riser in the flight is derived from it. Measure where the stairs will actually land β€” ground slopes, and a rise measured two feet to the left can be an inch different, which is the size of a trip hazard when it concentrates in one step. Decide the landing now too: stairs ending on grass or soil end on a pad or a paver, and its thickness belongs in the rise. Get this number right and the rest of stair math is division.

Equal risers: the rule that makes stairs feel safe

Divide the total rise by the maximum riser height your code allows (7ΒΎ in is the usual US residential limit) and round the count UP β€” that is your number of risers. Then divide the rise by that count to get the actual riser height, identical for every step. This is the whole secret: stairs feel dangerous when one step differs from the rest, and code holds every riser in a flight within β…œ in of its neighbors. Treads are always one fewer than risers, because the deck surface itself is the last tread. Total run = treads Γ— tread depth. The stringer is the hypotenuse: √(riseΒ² + runΒ²), plus about 12 in for trimming the ends square and leveling the foot β€” and that total is what decides the board length you buy.

Worked example: stairs to a deck 54 in above the ground

Risers = ⌈54 Γ· 7.75βŒ‰ = 7, so each riser is 54 Γ· 7 = 7.71 in β€” comfortable and under the limit. Treads = 6, at 11 in each the run is 66 in. Stringer slope = √(54Β² + 66Β²) = 85.3 in, plus 12 in trimming = 97.3 in, so the board to buy is a 10 ft 2 Γ— 12. For a 48 in wide stair at 16 in spacing: ⌈48 Γ· 16βŒ‰ + 1 = 4 stringers. Tread boards: each tread takes two 2 Γ— 6s, 6 treads = 12 pieces of 48 in, and an 8 ft board yields 2 pieces, so 6 tread boards. Screws: 6 treads Γ— 2 boards Γ— 4 stringers Γ— 2 = 96, which is 1 box. At the example prices above the materials total $203.00 β€” set a 54 in rise in the calculator and check it.

Stair mistakes that fail inspections (and ankles)

Buying tips

Stringer boards must be the straightest lumber you buy all year: sight down every 2 Γ— 12 at the yard and reject any with crown, twist or knots near where the notches will fall β€” a knot in a notch is a crack with a head start. Buy one extra stringer board: the first stringer is your template, and if the template is wrong you want the spare already on site, not back at the store. Tread boards in 8 ft lengths suit most widths because two treads come out of one board; if your stair is wider than 48 in, step up to 10 or 12 ft tread stock rather than joining pieces mid-tread.

Read next: Planning a deck project, step by step β€” stairs are one step in a longer sequence β€” the whole deck job, from measuring to materials list to order of work.

Quick answers

How do I work out deck stairs?

Divide the total rise (deck height) by the maximum riser height and round UP β€” that is your number of risers. For a 48 in deck with the code maximum 7ΒΎ in riser: 48 Γ· 7.75 = 6.19, so 7 risers, and each riser actually works out at 48 Γ· 7 = 6.86 in. There is always one fewer tread than risers (the deck itself is the top tread), so 6 treads at 11 in deep give a total run of 66 in. These are exactly the steps this calculator follows.

How long are the stringers for a 48 in deck?

The stringer is the hypotenuse of the stair triangle: √(48Β² + 66Β²) = 81.6 in of sloped length. Add about 12 in for trimming the ends and leveling the bottom, and the board to buy is 93.6 in β€” an 8 ft 2 Γ— 12. Published stair examples give the same 81.6 in figure for a 48 in rise with 11 in treads.

How many stringers do I need?

Stringers are usually spaced no more than 16 in apart, so a 36 in wide stair needs 4 stringers (one at each edge and two between, evenly spaced) β€” the count published worked examples give for a 36 in stair. Wider stairs or composite treads may need 12 in spacing; set it in the calculator.

What are the code limits for deck stairs?

The common US residential code (IRC) limits riser height to a maximum of 7ΒΎ in and tread depth to a minimum of 10 in, plus a nosing on most treads. Every riser in one flight must be within β…œ in of the others, which is why this calculator divides the total rise equally instead of using one short step. This calculator plans materials only β€” your local code has the final say.

Common deck heights β€” 7ΒΎ in max riser, 11 in treads, 36 in wide, at the default settings

Deck heightRisersActual riserTreadsTotal runStringer board
36 in57.20 in444 in8 ft 2 Γ— 12
42 in67.00 in555 in8 ft 2 Γ— 12
48 in76.86 in666 in8 ft 2 Γ— 12
60 in87.50 in777 in10 ft 2 Γ— 12

Stringer board length is the sloped stringer length plus a 12 in trimming allowance, rounded up to a standard board length (8, 10, 12, 14, 16 or 20 ft). Stringers counted at 16 in spacing for a 36 in wide stair (4 stringers).

More free calculators

Deck material calculator
Boards, joists, screws, posts and cost for any deck size.
Fence material calculator
Posts, rails and pickets for a wood fence, with cost.
Concrete slab calculator
Cubic yards of ready-mix, or how many bags, for any slab.
Gravel calculator
Tons, cubic yards and bags for driveways and paths.
Mulch calculator
Bags or bulk cubic yards for garden beds.
Roof pitch calculator
Pitch, angle, roof area and shingle bundles.
Patio paver calculator
Pavers, base gravel, bedding sand and edging for any patio.
Retaining wall block calculator
Wall blocks, caps, base and drainage gravel for any wall.
Sod calculator
Rolls or pallets of sod for any lawn, with cost.
Soil calculator for raised beds
Bags or bulk soil for raised beds and garden soil jobs.
Post hole concrete calculator
How many bags of concrete per fence or deck post hole.
Topsoil calculator
Cubic yards, tons and bags of topsoil for lawns and leveling.
Grass seed calculator
How much seed for a new lawn or overseeding, by grass type.
Deck & fence stain calculator
Gallons of stain or paint for decks and fences, by coverage and coats.
Sand calculator
Tons and bags of sand for sandboxes, patios and pools.
Deck stair calculator
Risers, treads, run and stringers for deck stairs, with materials.
Fire pit calculator
How many blocks for a round fire pit, plus base gravel.
12 Γ— 16 deck material list
The full precomputed shopping list and cost for a 12 Γ— 16 ft deck.
Roof pitch chart
Every pitch with its angle and multiplier, roof types and minimum pitches by material.

Disclaimer β€” please read before you build

These figures are planning estimates only β€” not a guarantee and not professional advice. Mistakes are possible, including through an error in this calculator. Always check the quantities, sizes, spacings and depths with your supplier, a licensed builder, and your local building code before you buy materials or start work. The owner of this site accepts no responsibility or liability for any loss, cost, damage, injury, wasted material or failed inspection that results from using these estimates. Prices are examples to start from, not live prices or quotes.