BuildCalcs

Stair Stringer Calculator — Risers, Run & IRC Check

Who this is for: For deck builders and DIY framers cutting stringers from 2×12s — how many risers the rise takes, where the stringer lands, and whether the riser passes the 7¾-inch code check.

Enter total rise and tread depth — get riser count, actual riser height, total run, stringer length, and an IRC code check on the riser.

Quick answer: Risers = ceil(rise ÷ 7.75). A 42-inch rise takes 6 risers at 7.0 inches (IRC max 7¾), 50 inches of run at 10-inch treads, and a 65.3-inch stringer — order 2×12 stock a half-foot longer.

in

Grade to deck top, or floor to floor

in

IRC minimum 10 in

Risers
6
7 in each
Total run
4.17 ft
50 in at 10" treads
Stringer length
5.44 ft
cut from 2×12 stock
IRC riser check (max 7¾ in)Pass ✓
Riser + tread (comfort ≈17-18)17.0
Run uses risers − 15 treads
Layout: risers = ceil(rise ÷ 7.75); every riser = rise ÷ count (identical within 3/8 in per IRC R311). The top riser lands on the upper deck — that's why run uses risers − 1. Remember the decking thickness when you measure the rise.
Core facts
Riser cap7¾ in (IRC R311.7.5)
Tread min10 in residential
Stringer√(rise² + run²), from 2×12 stock
Run formula(risers − 1) × tread depth

How does the stair calculator lay out a stringer?

Stair geometry is one triangle: total rise (floor to floor, or grade to deck) is fixed, and the code caps each riser at 7¾ inches (IRC R311.7.5). Divide rise by 7¾ and round up — that's your riser count; the actual riser height is rise ÷ count, and it must not exceed the cap (the calculator flags it if it does). The run side: (risers − 1) treads, because the top riser lands on the finished upper level, each tread at least 10 inches deep for residential. Stringer length is the hypotenuse: √(rise² + run²), ordered as 2×12 stock long enough to keep the throat solid. Example: a 42-inch deck rise takes 6 risers at exactly 7 inches, 50 inches of run at 10-inch treads, and about a 65-inch stringer.

Common uses

  • Laying out deck stringers before cutting 2×12s
  • Checking a basement or porch stair against IRC riser limits
  • Working out how much floor length a stair will eat
  • Verifying equal risers when the rise is awkward

Frequently Asked Questions

What is the maximum riser height?
7¾ inches under IRC R311.7.5 (residential), with the smallest riser no more than 3/8 inch different from the largest in the same flight. Local amendments vary — the calculator checks the 7¾ cap only.
How many risers for a 42-inch deck?
42 ÷ 7.75 = 5.4 → 6 risers at exactly 7 inches each, with 5 treads of run. Six 7-inch risers is the classic deck-stair answer because it lands comfortably inside code.
How long is the stringer for a 7-inch, 10-inch stair?
Per riser-tread pair the hypotenuse is √(7² + 10²) = 12.2 inches; total stringer length = √(total rise² + total run²). For the 42-inch, 6-riser example that's √(42² + 50²) ≈ 65.3 inches — order 2×12 stock at least 6 inches longer for the plumb cuts.
Why does the run use risers minus one?
The top riser is the step onto the upper deck or floor itself — the last tread is level with the upper landing, so only (risers − 1) tread depths consume horizontal run. Forgetting this is how stair runs end up 10 inches too long.

More framing & interior calculators