Stair Calculator
### Structural Carpentry & IRC Stairway Building Codes Stairway framing requires precise layout to ensure every step in the flight has an identical rise and run. The **International Residential Code.
⚙ Input Values
📊 Results
Embed on Your Website
Copy and paste this code into your website.
<iframe src="https://calcusolve.com/calculator/stair-calculator?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="Stair Calculator"></iframe> ⚖ Scenario Comparison
What This Means For You
Saved Calculations
No saved calculations yet.
Click "Save" to bookmark your current result.
📐 Formula
💡 Practical Example
Framing a 9-foot (108") deck staircase requires 15 risers of 7.20 inches and 14 treads of 10.5 inches, creating a 12.25 ft horizontal footprint and 182.4" stringers cut from 16 ft 2x12s.
📖 About Stair Calculator
Structural Carpentry & IRC Stairway Building Codes
Stairway framing requires precise layout to ensure every step in the flight has an identical rise and run. The International Residential Code (IRC Section R311.7) sets strict safety mandates.
Primary IRC Residential Stair Code Standards
- Maximum Riser Height: 7(3) / (4) inches
- Minimum Tread Depth / Run: 10.0 inches (254 mm)
- Maximum Riser / Tread Variation: No more than (3) / (8) inch variation between the greatest and smallest riser or tread in the entire flight.
- Minimum Overhead Headroom: 6 ft 8 in vertical clearance.
- Minimum Stairway Width: 36 inches (914 mm) clear width.
Mathematical Framing Formulas
- Number of Risers: N_risers = round(Total Vertical Rise7.25")
- Exact Individual Riser: R = Total RiseN_risers
- Number of Treads: N_treads = N_risers - 1
- Total Horizontal Run: Total Run = N_treads × Tread Depth
- Diagonal Stringer Length: L_stringer = √(Total Rise^2 + Total Run^2)
- Blondel's Ergonomic Comfort Rule: 2R + T = 24.0" to 25.0" (600 - 640 mm)
How to Use This Calculator
Enter your Total Floor-to-Floor Vertical Rise (Inches) (e.g. 108 in in), Preferred Target Riser Height (Inches) (e.g. 7.25 in in), Tread Depth / Run (Inches) (e.g. 10.5 in in), Tread Nosing Overhang (Inches) (e.g. 1.0 in in), and Number of Cut 2×12 Stringers (e.g. 3 in stringers). Measure twice before entering dimensions — small measurement errors scale up significantly in material estimates.
The Formula
Formula Reference: Stair Calculator
Input variables:
totalVerticalRiseInches — Total Floor-to-Floor Vertical Rise (Inches)
preferredRiserHeightInches — Preferred Target Riser Height (Inches)
treadDepthInches — Tread Depth / Run (Inches)
treadNosingInches — Tread Nosing Overhang (Inches)
numberOfStringersCount — Number of Cut 2×12 Stringers
Computed outputs:
numberOfRisers — Total Number of Risers
exactRiserHeightInches — Exact Individual Riser Height
numberOfTreads — Total Number of Treads
totalHorizontalRunInches — Total Horizontal Run
stringerLengthInches — Diagonal Stringer Length
Mathematical relationships extracted from calculation logic:
numTreads = numRisers - 1
totalRun = numTreads * treadRun
totalTreadSurface = treadRun + nosingIn
stringerLenIn = Math.sqrt((riseIn riseIn) + (totalRun totalRun))
lumberStockLengthFt = Math.ceil(stringerLenFt / 2) * 2; // nearest 2-ft stock lumber length (e.g. 16 ft)
angleDeg = angleRad * (180 / Math.PI)
blondelVal = (2 * exactRiser) + treadRun
Standard: IRC / NAHB residential construction estimating standards
Worked Example
Framing a 9-foot (108") deck staircase requires 15 risers of 7.20 inches and 14 treads of 10.5 inches, creating a 12.25 ft horizontal footprint and 182.4" stringers cut from 16 ft 2x12s.
Understanding Your Result
IBC/IRC residential stair standards: Maximum riser height 7¾ inches, minimum tread depth 10 inches. The comfort formula: riser + tread = 17–18 inches for residential use. Consistent riser height is critical — a variation of more than ¼ inch between risers is a tripping hazard and a code violation. For outdoor stairs, use non-slip materials and account for drainage slope (¼ inch per foot minimum pitch away from the building).
💡 Methodological Standards & Calculation Accuracy
- All calculations are performed client-side in your browser using verified, standards-compliant mathematical algorithms.
- Results are provided for educational and informational analysis; verify critical applications with certified domain specialists.
- Ensure input values are entered in consistent units matching the selector options to guarantee accurate outputs.
- Periodic recalibration is recommended whenever baseline assumptions, operating parameters, or external conditions change.
Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.