How do I lay out a staircase to code?

Enter the floor-to-floor height and tread depth to get step count, riser height, angle and stringer length, code-checked in 3D.

Result

15 risers
7.20 in each · 14 treads
36.3°
run 147.0 in · stringer 182.4 in
  • Riser height
  • Tread depth
  • Rise per flight
  • Comfort (2R + T rule of thumb)
  • 4 or more risers: a handrail is required on at least one side (IRC R311.7.8 / R318.7.8).
  • Treads under 11 in need a ¾–1¼ in nosing (IRC R311.7.5.3 / R318.7.5.3).
  • Keep at least 6 ft 8 in of headroom over every tread (IRC R311.7.2 / R318.7.2).

Formula sources: IRC 2021 R311.7 / IRC 2024 R318.7 — riser ≤ 7¾ in, tread ≥ 10 in, ≤ 12 ft 7 in rise per flight, Comfort rule of thumb: 2 × riser + tread ≈ 24–25 in (Blondel's original: 63–65 cm)

Estimates for planning. Always confirm against your local adopted building code and have the layout reviewed before cutting stringers.