Calculators › Stair Stringer Calculator

Stair stringer calculator

Work out risers, treads and stringer length for deck or porch stairs, with a code check and lumber list.

Total rise = top of the deck surface down to the landing surface below.

How this calculator works

Risers = total rise ÷ max riser, rounded up. Each riser is then total rise ÷ risers, so every step is the same height. Treads = risers − 1, because the top step is the deck itself. Total run = treads × tread depth. The stringer's diagonal is √(rise² + run²). We flag risers over 7¾ in and treads under 10 in (2021 IRC R311.7.5) and flights taller than 12 ft 7 in. Stringers follow AWC DCA 6: 2x12 minimum, at least 3 for a 36 in stair, and no more than 18 in on center when wider.

Worked example

A deck 36 in above the patio: 36 ÷ 7.75 = 4.6 → 5 risers of 7.2 in, 4 treads at 10 in = 40 in of run. Stringer diagonal = √(36² + 40²) = 53.8 in (4.5 ft), so three 2x12 × 8 ft boards cover a 36 in wide stair.

Tips before you buy

Sources

These are planning estimates, not engineering or code approval. Last reviewed 2026-12-01.

More build calculators