What is a Stairs Calculator?
A stairs calculator helps you design a staircase that meets building code requirements by computing the number of risers, actual riser height, tread depth, total run, and stringer length. Properly designed stairs are essential for safety, comfort, and code compliance. Stairs that are too steep or have inconsistent riser heights are the leading cause of falls in buildings.
Building codes specify maximum riser heights (typically 7-3/4"), minimum tread depths (typically 10"), and other dimensional requirements. This calculator determines the optimal layout based on your total rise (floor-to-floor height) and desired riser height.
Stair Calculation Formulas
Building Code Requirements
| Parameter | IRC (Residential) | IBC (Commercial) |
|---|---|---|
| Max Riser Height | 7-3/4" | 7" |
| Min Tread Depth | 10" | 11" |
| Min Width | 36" | 44" |
| Min Headroom | 6' 8" | 6' 8" |
| Max Riser Variation | 3/8" | 3/8" |
Worked Example
A 9-foot (108") floor-to-floor rise with 7.5" target risers:
Actual riser = 108 / 14 = 7.71" (under 7.75" max ✓)
Treads = 13 × 10" = 130" total run
Stringer = √(108² + 130²) = 169.0"
Frequently Asked Questions
What is the ideal riser height?
The ideal riser height is 7 to 7.5 inches. The maximum allowed by most residential building codes is 7-3/4 inches (7.75"). All risers in a staircase must be within 3/8" of each other in height.
What is the 7-11 rule for stairs?
The 7-11 rule is a general guideline stating that the riser should be about 7 inches and the tread about 11 inches. More precisely, codes often require that 2×Riser + Tread = 24–25 inches for comfortable stairs.
How long of a stringer do I need?
Stringer length equals the hypotenuse of the triangle formed by the total rise and total run. For a 9-foot ceiling with standard dimensions, expect a stringer length of approximately 14 feet. Buy lumber at least one foot longer to allow for cuts.