UtilFlow

Stair Stringer Calculator

Cut perfect stair stringers: step count from total rise within code limits, exact riser height and tread depth, stringer length by the Pythagorean theorem, and the 2×12 boards to buy — with an IRC code check on every layout.

1. Enter total rise

Measure floor to top of landing in inches — the single number everything derives from.

2. Review the cut list

See riser count and height, tread count and depth, stringer length, and the 2×12 boards to buy.

3. Copy the cut list

Copy risers, runs, and board lengths for the lumberyard and the job site.

Cut list
5
risers @ 7.20 in
4
treads @ 11 in
4.74
ft stringer
2×8′
2×12 boards

Total run 3.67 ft · stair angle 39.3° · stringer = √(rise² + run²)

Meets IRC code

Riser ≤ 7¾″ and tread ≥ 10″. Comfort check 2R+T = 25.4″ — outside the 24–25″ comfort zone; adjust tread depth if the climb feels steep.

What's next?

Keep the project moving — your numbers carry over automatically.

Related tools

Useful next steps

Riser math

Divide total rise by the max riser height (7.75″) and round up for the riser count, then divide total rise by that count for the exact riser height. Equal risers aren't just code — uneven steps are a trip hazard you feel in the dark.

Stringer length

Total run is (risers − 1) × tread depth. Stringer length is √(rise² + run²) — the hypotenuse of the whole staircase. Buy boards at least this long; the calculator rounds up to standard 8/10/12/16-ft lumber.

The comfort rule

Carpenters aim for 2 × riser + tread between 24 and 25 inches. A 7.5″ riser with an 11″ tread hits 26″ — slightly steep but common outdoors; 7″ + 11″ is the sweet spot for interior stairs.

Stair Stringer Calculator FAQ

What is the maximum stair riser height by code?

The IRC limits risers to 7¾ inches maximum, with treads at least 10 inches deep. This calculator caps the riser count math at your max riser height and flags any layout that breaks code.

How many steps can I cut from one 2×12?

It depends on the stringer length, not the step count — one board makes one stringer. A 12-ft 2×12 covers stringers up to 12 ft; this calculator picks the shortest standard board (8, 10, 12, or 16 ft) that fits your stringer.

Why is the top step different?

A staircase with N risers has N−1 treads cut into the stringer — the top tread is the landing or deck surface itself. The calculator accounts for this automatically.

How do I transfer this layout to the full staircase?

Use the “What's next” card below your result — your total rise carries over to the stair calculator for the full layout with total run and code checks.