Construction
Stair Calculator
Designing a staircase is one of the most regulated parts of residential construction — IRC R311.7 specifies max riser (7.75"), min tread depth (10"), and max variation between treads/risers (3/8"). Inconsistent riser heights are the #1 cause of stair trips and falls. This calculator takes your total floor-to-floor rise and target tread depth, computes the optimal number of risers and treads, riser height, total run, and diagonal stringer length, then checks the result against IRC residential code limits with a green check or warning. Works for deck stairs, basement stairs, interior staircases, anywhere you need to climb.
IRC residential code limits
- Max riser: 7.75" (R311.7.5.1). 7" is the comfortable target.
- Min tread depth: 10" (R311.7.5.2). 11" is comfortable.
- Variation between risers (or treads): no more than 3/8" (R311.7.5.3). Uniformity is non-negotiable for safety.
- Min headroom: 6'8" (80") measured vertically from tread nosing (R311.7.2).
- Min width: 36" between handrails (R311.7.1). Wider is fine.
- Handrails: required on at least one side of any stair with 4+ risers, 34-38" above tread nosing (R311.7.8).
- Nosing projection: 0.75-1.25" of tread projection over riser below (R311.7.5.3).
Most jurisdictions follow IRC. Some (CA Title 24, NY Multiple Dwelling Law, MA building code) have specific variations — check local rules before building.
The 2R+T comfort rule
Old carpenter's rule for comfortable stairs: 2 × riser height + tread depth ≈ 25-26". Some prefer 25, some 26. Try:
- 7" riser + 11" tread = 25" → comfortable
- 7.5" riser + 10.5" tread = 25.5" → comfortable
- 7.75" riser + 10" tread = 25.5" → IRC max riser, comfortable
- 8" riser + 9" tread = 25" → above IRC max riser, NOT code-compliant
- 6" riser + 12" tread = 24" → luxurious, slower climb
- 5.5" riser + 14" tread = 25" → outdoor / ceremonial stairs
How to use this calculator
- Total rise: floor-to-floor vertical distance in inches.
- Target tread depth: 10-12 inches; 11" is comfortable.
- Output: number of risers, riser height, total run, stringer length (the diagonal piece that supports the steps), and code compliance check.
- If the warning appears: usually adding 1 riser (and re-calculating) brings everything under code.
Common scenarios
Basement stair, 108" floor-to-floor (9-ft ceiling). 15 risers @ 7.2" + 14 treads @ 11" = 154" run = 12.8 ft. Stringer ~13.4 ft. Within code; comfortable.
Second-floor stair, 110" rise (10-ft ceilings + 12" floor system). 15 risers @ 7.33" + 14 treads @ 10.5" = 147" run. Stringer ~13 ft. Slightly tighter tread; still code-compliant.
Deck stairs, 36" rise (yard down from deck). 5 risers @ 7.2" + 4 treads @ 11" = 44" run. Stringer ~5 ft. Short outdoor stair, clean dimensions.
FAQ
Why is one tread typically not included in the run count? +
What's a comfortable rise/run combination? +
How much horizontal space do stairs take up? +
What about winder stairs (turning) or curved stairs? +
What's a stringer? +
Can I build outdoor stairs differently than indoor? +
Should I use closed risers or open? +
What about cheating by 1/16" — will inspectors notice? +
Heads up: ClutchCalcs gives you fast, accurate results — but always sanity-check critical decisions (medical, financial, structural) with a professional.
Spot a wrong number or want a calculator added? Tell us →