Proper stair design balances safety, comfort, and building codes. The key measurements are total rise (floor-to-floor height), riser height (step height), tread depth (step depth), and total run (horizontal distance). All risers must be equal height within 3/8 inch.
Stair Calculator
Our Stair Calculator helps builders, contractors, and DIYers design safe and comfortable staircases. Using IRC building code standards, it calculates optimal riser height, tread depth, stringer length, and angle. Whether you're building deck stairs, interior staircases, or basement steps, this tool ensures your stairs meet safety requirements and feel comfortable to use.
stairs Stair Dimensions
analytics Results
auto_awesome AI Analysis
Powered by ClaudeEnter your values and calculate to receive AI-powered insights about your results.
stairs IRC Code Limits
straighten Common Dimensions
calculate Comfort Formula
2 × Riser + Tread = 24" - 25"
lightbulb Quick Tips
- 1 All risers must be within 3/8" of each other
- 2 Use 2×12 lumber for stringers (min 3.5" remaining)
- 3 Add 3rd stringer for stairs wider than 36"
How to Use This Calculator
Measure Total Rise
Measure vertical distance from lower floor to upper floor surface
Choose Riser Height
Select target riser height (7-7.5" recommended for comfort)
Set Tread Depth
Enter tread depth (10-11" for comfortable stairs)
Review Results
Check number of steps, stringer length, and code compliance
Verify Comfort
Ensure 2R+T equals 24-25" for comfortable climbing
The Formula
The number of risers equals total rise divided by desired riser height. Total run equals number of treads times tread depth. Stringer length is calculated using the Pythagorean theorem. Comfortable stairs follow the 2R + T = 24-25 inch rule.
Risers = Total Rise ÷ Riser Height, Stringer = √(Rise² + Run²)
lightbulb Variables Explained
- Total Rise Vertical distance from floor to floor (inches)
- Riser Height Height of each step (typically 7-7.75 inches)
- Tread Depth Horizontal depth of each step (minimum 10 inches)
- Stringer Length Length of the diagonal support board
- Angle Stair slope in degrees (typically 30-37°)
tips_and_updates Pro Tips
IRC code requires risers between 4-7.75 inches and treads minimum 10 inches deep
The comfort formula 2R + T should equal 24-25 inches for easy climbing
All risers must be uniform - maximum 3/8 inch variation allowed by code
Minimum stair width is 36 inches for residential, 44 inches for egress
Headroom must be at least 6'8" (80 inches) measured vertically
Handrails required on at least one side when 4+ risers
For deck stairs, use pressure-treated lumber for stringers
IRC code specifies: Riser height 4-7.75 inches, tread depth minimum 10 inches, stair width minimum 36 inches, headroom minimum 80 inches. Handrails required when 4 or more risers. All measurements must be consistent throughout the stairway.
Stringers are the diagonal boards supporting the stairs. Cut from 2×12 lumber with at least 3.5 inches remaining below tread cuts. Use 3 stringers for stairs wider than 36 inches. For outdoor stairs, use pressure-treated lumber.
Frequently Asked Questions
Related Tools
View all Engineering View all arrow_forwardTags
Data sourced from trusted institutions
All formulas verified against official standards.