Measure Twice Once

Stair calculator

Measure the total rise, from the finished floor below to the finished floor above. The calculator splits it into equal risers no taller than the code allows, then gives the run, the stringer length and what else the code asks for.

Your staircase

Risers–
Riser height–
Treads–
Total run–
Stringer length, about–
Angle–
Riser and tread check–
Handrail–
Landing needed mid-flight?–

Risers = total rise ÷ your target, rounded up; each riser = total rise ÷ risers. Treads = risers − 1 (the top floor is the last step). Run = treads × tread depth; stringer ≈ √(rise² + run²), before cutting for the top and bottom. Limits from the 2021 International Residential Code (IRC R311.7), as summarized by Boulder County[1] and Larimer County[2].

The code limits, in one table

Rule (IRC, one- and two-family homes)Limit
Riser height7 3/4 in (19.7 cm) maximum[1][2]
Tread depth, nosing to nosing10 in (25.4 cm) minimum[1][2]
Difference between largest and smallest riser or tread3/8 in (9.5 mm) maximum[1][2]
Width36 in (91 cm) minimum above the handrail[1][2]
Headroom6 ft 8 in (80 in, 2.03 m)[1][2]
Handrail34 to 38 in high[1][2], on at least one side from 4 risers[1]
LandingAt least 36 in deep[1][2]; see the rise limit below

The rules explained, guards and balusters included: stair code requirements.

Last updated by The LUMIZON team

Sources

  1. Residential Stairways, Handrails, Ramps and Guards (B32), Boulder County (Colorado), Community Planning & Permitting. Checked Nov 29, 2026. Per 2021 IRC sections 311 and 312: width 36 in; riser max 7 3/4 in; tread min 10 in; variation max 3/8 in; nosing 3/4 to 1 1/4 in; headroom 6 ft 8 in; landing every 12 ft 7 in of rise; handrail 34 to 38 in from 4 risers; guards 36 in (34 in on stairs) above 30 in; 4 in sphere.
  2. Stairways (Residential), Larimer County (Colorado), Community Development. Checked Nov 29, 2026. Width 36 in above the handrail; headroom 80 in; riser max 7.75 in; tread min 10 in; variation 3/8 in; landings 36 in deep; no more than 12 ft of rise without a landing; handrails 34 to 38 in; guards over 30 in above grade, 36 in high; 4 in sphere.
  3. NIST Guide to the SI, Appendix B.8: Factors for units listed alphabetically, U.S. National Institute of Standards and Technology. Checked Nov 29, 2026. 1 ft = 0.3048 m and 1 in = 0.0254 m (exact); 1 yd³ = 0.7645549 m³; 1 ft³ = 0.02831685 m³; 1 U.S. gallon = 3.785412 L; 1 ha = 10,000 m².