Stair Calculator
Calculate stair dimensions, stringer length, and check building code compliance
How to Use This Stair Calculator
- Measure total rise (floor to floor height) precisely
- Enter available run (horizontal space) if limited
- Select your measurement unit (inches recommended for precision)
- Optionally specify preferred rise and run per step
- Enter stair width (36 inches minimum for residential code)
- Click Calculate to see step dimensions and code compliance
Example: For a 108-inch (9 foot) floor-to-floor rise with 120 inches available run: the calculator suggests 14 steps with 7.71 inch rise and 10 inch run - code compliant and comfortable.
Tip: Always measure floor-to-floor height, not floor-to-landing. Include flooring thickness in your measurement if finish flooring isn't installed yet.
Why Use a Stair Calculator?
Properly designed stairs are critical for safety and comfort. Building codes exist because poorly designed stairs cause injuries.
- Design new construction stairs to meet building codes
- Plan deck or porch stairs for proper rise and run
- Calculate lumber requirements for stair stringers
- Verify existing stairs meet code before selling a home
- Design basement or attic stairs with limited headroom
- Calculate step dimensions for accessibility requirements
Understanding Your Results
Results include step dimensions, stringer length, and building code compliance status.
| Result | Meaning | Action |
|---|---|---|
| Green (Code Compliant) | Meets IRC requirements | Safe for construction; verify local amendments to code |
| Yellow (Warning) | Borderline or non-compliant | Adjust dimensions or check local code variances |
| Rise 7-7.5 inches | Optimal comfort range | Most comfortable for average stride |
| Rise over 7.75 inches | Exceeds code maximum | Add more steps to reduce rise per step |
Meaning: Meets IRC requirements
Action: Safe for construction; verify local amendments to code
Meaning: Borderline or non-compliant
Action: Adjust dimensions or check local code variances
Meaning: Optimal comfort range
Action: Most comfortable for average stride
Meaning: Exceeds code maximum
Action: Add more steps to reduce rise per step
Note: Building codes are minimums. More comfortable stairs often have 7 inch rise and 11 inch run. Outdoor stairs typically use shallower angles (6-7 inch rise, 12+ inch run).
About Stair Calculator
Formula
Stringer Length = √(Total Rise² + Total Run²) | Comfort: Rise + Run ≈ 17-18 inches Stringer length uses Pythagorean theorem. The comfort formula ensures the stair angle matches natural stride. Professionals also use 2R + T ≈ 24-25 inches (two rises plus one tread).
Current Standards: IRC requires: max 7.75 inch riser, min 10 inch tread, max 3/8 inch variation between steps, min 36 inch width, min 80 inch headroom, handrail height 34-38 inches. Local codes may be stricter.
Frequently Asked Questions
How many steps do I need?
Divide total rise by your target rise per step (7 inches is comfortable). For 108 inches: 108 ÷ 7 = 15.4, so either 15 or 16 steps. Calculate actual rise: 108 ÷ 15 = 7.2 inches (comfortable) or 108 ÷ 16 = 6.75 inches (very easy). Choose based on available space.
Why must all steps be the same height?
Your body anticipates consistent steps. Even 3/8 inch variation triggers stumbles because your foot expects the floor at a certain point. Building codes mandate uniformity for safety. Measure carefully and cut precisely - differences accumulate if you're off by even 1/8 inch per step.
What size lumber do I need for stringers?
2×12 boards are standard for residential stairs. The notches for treads and risers shouldn't leave less than 5 inches of solid wood at the narrowest point (along the diagonal). For very long spans or heavy loads, use 2×14 or engineered lumber. Space stringers no more than 16 inches apart.
Do outdoor stairs have different requirements?
Outdoor stairs often use gentler angles (6-7 inch rise, 12-14 inch run) for easier climbing with irregular footing. Treads must be slip-resistant. Some codes require different materials or treatments for weather exposure. Drainage considerations prevent ice buildup. Always use pressure-treated lumber.
What if I don't have enough horizontal space?
Consider a switchback design with a landing, spiral stairs, or ladder-style ship's stairs (steeper, allowed in some limited applications). Minimum code requirements still apply, but landings let you turn the stair direction. Each straight run needs the space calculated; landings add about 3 feet depth.