Stair Geometry & Layout Calculator
IRC Compliance & Comfort Checks
Stair Layout Output
Dimension / Check
Exact Calculation
Standard Reference
Code Status
Number of Risers
14
Exact Riser Height
7.14 in
Number of Treads
13
Total Run Length
130 in (10.8 ft)
Stringer Board Length
164 in (13.7 ft)
Stringer Incline Angle
35.5°
Comfort Index check: Passes (2R + T = 24.28 in)
✔ IRC COMPLIANT
Standard Stair Construction Formulas
Experienced framing carpenters utilize a series of math checks to convert physical blueprints into lumber cuts:
- Riser Height Formula: Risers must divide the total height perfectly. To find it, divide total rise by target riser height, round to the nearest whole step count, then divide total rise by that count.
- Total Run Formula: If the top step is flush with the upper floor, there is one less tread than riser count. Total Run = Number of Treads × Tread Depth.
- Stringer Length (Hypotenuse): Using the Pythagoras theorem:
Stringer Length = √[Total Rise² + Total Run²]To ensure you have enough lumber to cut the stringer corners, standard framing adds 14 inches to this raw value before ordering structural 2x12 lumber.
IRC Building Codes & Safety Standards
| Measurement Standard | IRC Minimum Code Limit | IRC Maximum Code Limit | Primary Safety Focus |
|---|---|---|---|
| Riser Height | No minimum (typically 6") | 7.75 inches | Preventing trip-hazards from high steps. |
| Tread Depth | 10.0 inches | No maximum limit | Ensures complete foot support going down. |
| Riser Variance | No minimum | 0.375 inches (3/8") | Uniform step rhythm eliminates trip falls. |
| Handrail Height | 34.0 inches | 38.0 inches | Accessible grasping range during slides. |
Frequently Asked Questions (Stair Calculations & Codes)
How do you calculate rise and run for stairs? ›
To calculate the rise and run of a staircase:
- Measure the exact **Total Rise** (the vertical height from the finished lower floor to the finished upper floor).
- Divide the Total Rise by a target riser height (typically **7 inches**). For example:
100" ÷ 7 = 14.28. Round this to the nearest whole step (14 risers). - Divide the Total Rise by the step count to find the exact riser height:
100" ÷ 14 = 7.14 inches. - Find the tread count. If flush, it is 1 step less than the riser count (13 treads). Multiply the treads by the target tread depth (e.g. 10 inches) to get a **Total Run** of 130 inches.
What is the maximum stair riser height under building codes? ›
According to the International Residential Code (IRC 2026 / Section R311.7.5):
- The maximum height of a residential stair riser is exactly 7.75 inches (7-3/4").
- For commercial structures (IBC), the limit is even stricter at exactly 7.0 inches.
- Crucially, the greatest riser height within any flight of stairs must not exceed the smallest by more than 3/8 of an inch (0.375") to prevent tripping hazards.
How do I find the correct size and length of a stair stringer board? ›
To calculate the raw stringer board length:
- Use the Pythagorean formula:
Stringer Length = √[Total Rise² + Total Run²]. For a rise of 100" and run of 130", the hypotenuse is exactly√[100² + 130²] = 164 inches (13.6 feet). - Always add at least **12 to 14 inches** to this length to account for the top and bottom structural cuts. A 13.6 ft length requires ordering a standard **16-foot board**.
- For structural safety, always cut stringers using a minimum of 2x12 dimensional lumber. 2x10 lumber is not recommended as the triangular notches leave too little structural wood remaining.