Calculate Stair Dimensions
Enter the total rise (floor-to-floor height) and available horizontal space to calculate stair dimensions, check building code compliance, and estimate materials.
Quick presets:
IRC Building Code Compliance
Staircase Side Profile
Dimensions
Comfort & Safety
Material Estimate
Approximate lumber needed. Actual quantities may vary based on waste, design, and local availability.
| Material | Quantity | Size | Notes |
|---|
IRC Building Code Requirements for Residential Stairs
The International Residential Code (IRC) sets minimum standards for stair construction in residential buildings. Local codes may differ, so always verify with your local building department.
| Parameter | IRC Requirement | Comfortable Range |
|---|---|---|
| Maximum Riser Height | 7.75 inches (197 mm) | 7.0 -- 7.5 inches |
| Minimum Tread Depth | 10 inches (254 mm) | 10 -- 11 inches |
| Minimum Headroom | 6 ft 8 in (2032 mm) | 7 ft+ preferred |
| Minimum Stair Width | 36 inches (914 mm) | 36 -- 42 inches |
| Maximum Riser Variation | 3/8 inch (9.5 mm) | Uniform preferred |
| Handrail Height | 34 -- 38 inches | 34 -- 38 inches |
| Nosing Projection | 0.75 -- 1.25 inches | 1 inch typical |
| Stair Angle | Not directly specified | 30 -- 37 degrees |
Source: International Residential Code (IRC) Section R311.7. Always check your local jurisdiction for amendments.
How Stair Calculations Work
Step 1: Determine the Number of Risers
Divide the total rise (floor-to-floor height) by a target riser height. A comfortable riser is around 7 to 7.5 inches. The result is rounded to the nearest whole number.
Number of Risers = round(Total Rise / Target Riser Height)
Step 2: Calculate Actual Riser Height
Divide the total rise evenly by the number of risers to get the exact riser height. This ensures all steps are uniform, which is critical for safety.
Riser Height = Total Rise / Number of Risers
Step 3: Calculate Tread Depth
The number of treads is one fewer than the number of risers (the top floor serves as the final "tread"). Divide the available horizontal space by the number of treads.
Tread Depth = Available Run / (Number of Risers - 1)
Step 4: Stringer Length
The stringer is the diagonal board that supports the stairs. Its length is calculated using the Pythagorean theorem.
Stringer Length = sqrt(Total Rise^2 + Total Run^2)
Step 5: Stair Angle
The angle of incline is the arctangent of the rise over the run. Comfortable residential stairs typically have an angle of 30 to 37 degrees.
Angle = arctan(Total Rise / Total Run)
The Rise + Run Rule
A common rule of thumb for comfortable stairs: the sum of one riser and one tread should be between 17 and 18 inches. Another version states that two risers plus one tread should equal 24 to 25 inches.
These rules have been used by builders for centuries and closely align with modern code requirements. A staircase that satisfies both the code minimums and the rise+run rule will typically feel natural to climb and descend.
| Riser (in) | Tread (in) | Rise + Run | 2R + T | Angle | Comfort |
|---|---|---|---|---|---|
| 6.0 | 12.0 | 18.0 | 24.0 | 26.6 | Gentle -- wide treads |
| 7.0 | 11.0 | 18.0 | 25.0 | 32.5 | Ideal |
| 7.5 | 10.0 | 17.5 | 25.0 | 36.9 | Good -- standard residential |
| 7.75 | 10.0 | 17.75 | 25.5 | 37.8 | Code max riser, min tread |
| 8.0 | 9.0 | 17.0 | 25.0 | 41.6 | Steep -- code violation |
| 8.25 | 8.0 | 16.25 | 24.5 | 45.9 | Ladder-like -- unsafe |
Frequently Asked Questions
What is the ideal riser height for stairs?
The ideal riser height is between 7 and 7.75 inches (178 -- 197 mm). The IRC sets a maximum of 7.75 inches. Risers around 7 to 7.5 inches feel the most comfortable. Anything above 8 inches becomes steep and is a code violation.
What is the minimum tread depth?
The IRC requires a minimum tread depth of 10 inches (254 mm) measured from the leading edge of the nosing. Deeper treads (11 -- 12 inches) provide more foot room and are safer when descending.
How do I calculate the stringer length?
Use the Pythagorean theorem: stringer length equals the square root of (total rise squared plus total run squared). For a 9-foot rise and 12-foot run, stringer = sqrt(108^2 + 144^2) = sqrt(11664 + 20736) = sqrt(32400) = 180 inches (15 feet).
What is the 7-11 rule for stairs?
The 7-11 rule is a builder's guideline: risers should be about 7 inches and treads about 11 inches. This combination yields a comfortable angle of about 32.5 degrees and satisfies most residential building codes.
How many stringers do I need?
Most residential stairs need 3 stringers: one on each side and one in the center. For wider stairs (over 36 inches), add additional center stringers every 16 to 24 inches for adequate support.
What is headroom clearance for stairs?
The IRC requires a minimum of 6 feet 8 inches (80 inches / 2032 mm) of headroom measured vertically from the stair nosing to any overhead obstruction. Taller headroom (7 feet or more) is more comfortable.
Does this calculator store my data?
No. All calculations run entirely in your browser. No data is sent to any server, and nothing is stored.
Related Tools
- Stair Calculator -- quick stair rise and run calculations
- Deck Cost Calculator -- estimate deck construction costs
- Concrete Block Calculator -- estimate blocks for walls and foundations
- Brick Calculator -- calculate bricks needed for your project
- Roof Pitch Calculator -- calculate roof slope and rafter lengths
- Gravel Calculator -- estimate gravel, stone, and aggregate quantities
Privacy & Limitations
- All calculations run entirely in your browser -- nothing is sent to any server.
- Results are computed using standard formulas and should be verified for critical applications.
Related Tools
View all toolsOhm's Law Calculator
Compute voltage, current, or resistance
Resistor Color Code Calculator
Decode 4, 5, and 6 band resistor color codes to find resistance values
Power Law Calculator
Compute electrical power from voltage and current
Power Factor Calculator
Calculate power factor, phase angle, reactive power, and estimated current
Force Calculator
Calculate force from mass and acceleration
Kinetic Energy Calculator
Calculate kinetic energy, mass, or velocity with unit conversions
Staircase Calculator FAQ
What is the ideal riser height for stairs?
The ideal riser height is between 7 and 7.75 inches (178-197 mm). The IRC building code sets a maximum of 7.75 inches. Most comfortable stairs use risers around 7 to 7.5 inches.
What is the minimum tread depth for stairs?
The IRC requires a minimum tread depth of 10 inches (254 mm), measured from nosing to nosing. Deeper treads (11-12 inches) are more comfortable for descending.
How do you calculate stringer length?
Stringer length is calculated using the Pythagorean theorem: stringer = sqrt(total_rise^2 + total_run^2). For example, a staircase with 9 feet of rise and 12 feet of run has a stringer length of 15 feet.
What is the 7-11 rule for stairs?
The 7-11 rule is a guideline stating that risers should be about 7 inches and treads about 11 inches. This combination satisfies most building codes and provides comfortable, safe stairs.
How many steps do I need for a specific height?
Divide the total rise (floor-to-floor height) by your desired riser height. For example, a 9-foot (108-inch) total rise divided by 7.5-inch risers gives 14.4, which rounds to 14 or 15 steps.
Does this calculator store my data?
No. All calculations run entirely in your browser. No data is sent to any server, and nothing is stored.