Staircase Calculator
Calculate rise, run, angle, stringer length & code compliance for building safe stairs.
Explore More Construction Tools
What is a Staircase Calculator?
A Staircase Calculator is an essential tool for carpenters, contractors, and DIY enthusiasts building stairs. It calculates all the critical dimensions needed for a safe, comfortable, and code-compliant staircase, including the number of steps, riser height, tread depth, stringer length, and stair angle.
Building stairs involves complex mathematics. A mistake of even 1/8 inch per step can compound over a flight of stairs, resulting in a tripping hazard at the top or bottom. Our calculator handles the Pythagorean theorem, the 7-11 rule, and building code requirements automatically.
Whether you're building a straight staircase, L-shaped stairs with landing, U-shaped stairs, or even spiral stairs, this calculator gives you accurate dimensions in inches, centimeters, or feet. It also checks code compliance and estimates lumber requirements.
Complete Dimensions
Calculate steps, actual riser height, total run, stringer length, and stair angle - all from just the total rise measurement.
Code Compliance
Automatic checking against residential and commercial building codes. Verifies riser, tread, and 2R+T rule compliance.
4 Stair Types
Support for Straight, L-Shaped, U-Shaped, and Spiral staircases. Each type has unique design considerations.
Material Estimation
Estimates lumber needed in board feet for stringers, treads, and risers. Plan your hardware store trip accurately.
How to Use the Staircase Calculator
Measure Total Rise
Measure from the finished floor at bottom to the finished floor at top. This is your total rise. Include floor thickness in your measurement.
Enter Target Dimensions
Input target riser height (7" standard) and tread depth (11" standard). The calculator will compute the actual riser height for even steps.
Check Code Compliance
Review the compliance indicators. If any fail, adjust your target riser or tread until all checks pass. The 2R+T rule should equal 24-25.
Download Results
Note the stringer length for lumber purchase. Use the Download button to save all calculations for your workshop.
The 7-11 Rule & 2R+T Formula
The 7-11 rule is a carpenter's guideline: 7-inch rise with 11-inch run creates comfortable stairs. This is based on the average human stride.
The mathematical version is the 2R+T rule: twice the riser height plus the tread depth should equal 24-25 inches.
Formula: (2 × Riser) + Tread = 24-25 inches
Calculating Stringer Length
The stringer is the diagonal board supporting the steps. Calculate its length using the Pythagorean theorem.
Example: √(108² + 110²) = √23764 = 154.2"
Add 12" extra for the top and bottom connections. Use 2×12 boards for stringers - they provide adequate depth for cutting.
Building Code Requirements
Most building codes follow the International Residential Code (IRC) or International Building Code (IBC). Here are the key requirements:
| Dimension | Residential (IRC) | Commercial (IBC) |
|---|---|---|
| Max Riser Height | 7.75 inches | 7 inches |
| Min Tread Depth | 10 inches | 11 inches |
| Min Stair Width | 36 inches | 44 inches |
| Min Headroom | 80 inches (6'8") | 80 inches |
| Max Riser Variation | 3/8 inch | 3/8 inch |
| Max Rise Before Landing | 147 inches (12') | 147 inches |
Pro Tips for Building Stairs
Measure three times - Total rise is the most critical measurement. Check from multiple points.
Uniform risers are safety-critical - Variation over 3/8" causes tripping. Use a story pole for consistency.
Account for floor finishes - If installing carpet or tile, adjust for thickness at top and bottom.
Use 2×12 for stringers - They provide the depth needed for cutting without weakening the board.
Crown the treads - Install treads with natural bow facing up (crown up) to prevent squeaking.
Drop the bottom stringer - Subtract tread thickness from first step to keep risers uniform.
Common Staircase Projects
Basement Stairs
Typically 8-9 foot rise. Watch for headroom at the top. Consider steeper risers (7.5") if space is tight.
Deck Stairs
Outdoor stairs from deck to ground. Rise depends on deck height. Use weather-resistant materials.
Main Staircase
Floor-to-floor in new construction. Consider 36-42" width for comfort. L or U shape saves floor space.
Frequently Asked Questions
What is the 7-11 rule for stairs?
The 7-11 rule states that for comfortable stairs, the riser height should be about 7 inches and the tread depth about 11 inches. This ratio creates a natural stride pattern. The mathematical version is the '2R+T' rule where (2 × Riser) + Tread should equal 24-25 inches for ideal comfort.
How do I calculate the number of stairs I need?
Divide your total rise (floor-to-floor height) by your target riser height. For a 9-foot ceiling (108 inches) with 7-inch risers: 108 ÷ 7 = 15.4, rounded to 15 steps. Then recalculate: 108 ÷ 15 = 7.2 inches actual riser height. Our calculator does this automatically.
What is the standard stair riser height?
For residential stairs, the maximum riser height allowed by most building codes is 7.75 inches (196mm), with 7 inches being comfortable. Commercial stairs typically require risers between 4-7 inches. All risers in a flight must be uniform - variation should not exceed 3/8 inch.
What is stair stringer and how to calculate its length?
A stringer is the diagonal structural board that supports the steps. Calculate length using Pythagorean theorem: √(Total Rise² + Total Run²). For 108-inch rise with 140-inch run: √(108² + 140²) = √31264 = 177 inches. Add 12 inches for top/bottom connections.
What is the minimum stair width required by code?
Residential building codes typically require minimum 36 inches clear width for stairs. Commercial buildings require 44 inches minimum. For stairs serving more occupants, wider widths are required. Handrails can project 4.5 inches on each side into this width.
What is the ideal stair angle?
The ideal stair angle is between 30-37 degrees for comfortable climbing. Steeper stairs (over 40°) become ladder-like and dangerous. Shallower stairs (under 25°) waste space and feel awkward. The 7-inch rise with 11-inch run creates approximately 32.5° angle.
How do I calculate tread depth?
Minimum tread depth is 10 inches for residential, 11 inches for commercial. Use the 2R+T rule: if your riser is 7 inches, then Tread = 24 - (2×7) = 10 inches minimum. For comfort, 11-12 inches is preferred. The nosing (overhang) is typically 0.75-1.25 inches extra.
What is the minimum headroom for stairs?
Building codes require minimum 80 inches (6'8") headroom measured vertically from the stair nosing to the ceiling or obstruction above. This applies to the entire walking line of the staircase, including landings. For basement stairs, some codes allow 78 inches.
How many risers before I need a landing?
Most building codes require a landing after a maximum vertical rise of 12 feet (144 inches). This typically means 16-18 risers before requiring a landing. Landings must be at least as deep as the stair width, minimum 36 inches. L-shaped and U-shaped stairs incorporate landings at turns.
How much lumber do I need for stairs?
For a typical 36-inch wide straight stair with 15 steps, you need: 3 stringers (2×12 boards, stringer length + 1 foot each), 14 treads (1×12 or 2×12), and 15 risers if closed (1×8). Our calculator estimates total board feet. Add 10-15% for waste and mistakes.