Calculate stair rise, run, tread dimensions, stringer length, and verify building code compliance for safe, comfortable stairs
Optional Inputs
IRC Building Code Reference
You might also find these calculators useful
Building stairs that are safe, comfortable, and code-compliant requires precise calculations. Our stair calculator determines the optimal rise, run, and tread dimensions based on your total height, validates against IRC building codes, and estimates materials needed for your project.
Safe stairs require careful balance between rise (step height) and run (tread depth). The IRC building code mandates maximum rise of 7.75 inches and minimum run of 10 inches. Comfortable stairs follow the '17-18 rule' where rise + run equals 17-18 inches. Our calculator optimizes dimensions within these constraints.
Key Formulas
Rise = Total Height ÷ Steps | Stringer = √(Rise² + Run²)Automatically validates against IRC building codes for permit approval with clear compliance status.
Applies the 17-18 rule to ensure comfortable stride and safe step dimensions.
Choose auto-calculate for optimal results, or specify fixed steps or fixed rise per step.
Calculate precise stringer length using Pythagorean theorem for accurate lumber cuts.
Get board feet estimates for stringers, treads, and risers to plan your material purchases.
Pre-configured settings for common applications like decks, basements, and standard floors.
Calculate outdoor stairs from deck to ground with proper rise and weather-resistant materials.
Design basement stairs with headroom clearance verification and code compliance.
Plan main stairways between floors with optimal comfort and safety dimensions.
Get accurate material quantities for stringer lumber, treads, and risers before bidding.
Verify dimensions meet IRC code requirements before submitting plans for approval.
Calculate replacement stair dimensions or add stairs to existing spaces safely.
The IRC (International Residential Code) specifies a maximum rise of 7.75 inches (196mm) per step. Some local codes may be stricter. Our calculator flags any rise exceeding this limit.
IRC requires a minimum run of 10 inches (254mm) measured horizontally. This doesn't include the nosing overhang (typically 0.75-1.25 inches). Deeper treads are more comfortable.
For comfortable stairs, rise + run should equal approximately 17-18 inches. For example: 7.5 inch rise + 10.5 inch run = 18 inches. This ratio provides a natural walking stride on stairs.
Stringer length is calculated using the Pythagorean theorem: √(Total Rise² + Total Run²). Add several inches for the bottom cut and top attachment. Use 2x12 lumber for stringers.
Most residential stairs use 3 stringers: one on each side and one in the center. For stairs wider than 36 inches, a center stringer prevents tread bounce. Very wide stairs may need 4 stringers.
IRC requires minimum 6 feet 8 inches (80 inches or 203cm) of headroom measured vertically from the stair nosing to any obstruction above.
Comfortable residential stairs are typically 30-37 degrees. Steeper than 42 degrees is considered a ladder by many codes. Shallower than 25 degrees may feel like a ramp.
If auto-calculated stairs exceed code limits, try: increasing the number of steps, extending the available run length, or reconsidering the total rise. Sometimes floor-to-floor height requires a landing with a turn.