Stair Rise and Run Calculator
Use this free stair rise and run calculator to quickly determine the correct dimensions for your staircase. Enter total height, step rise, and tread depth to get accurate results, including number of steps, rise per step, and run length, making it ideal for construction, renovation, and DIY projects.
IRC residential: max riser 7¾ in · min tread 10 in · min width 36 in · Exterior stairs: max riser 7¾ in · min tread 11 in · All steps must be identical — riser variation > ⅜ in is a code violation
How Does the Stair Rise & Run Calculator Work?
This calculator takes your total floor-to-floor height (total rise), desired tread depth (run), and stair width, then calculates the number of steps, actual riser height, total horizontal run, stringer length, and an IRC/IBC code compliance check for each dimension.
Getting stair dimensions right matters for two reasons: safety (inconsistent riser heights are the leading cause of stair falls) and code compliance (out-of-code stairs must be rebuilt before a home can be sold or a permit closed). The IRC gives you specific allowable ranges — this calculator checks all of them automatically.
The ergonomic formula for comfortable stair proportion is: Rise + Run = 17 to 18 inches. A 7-inch rise + 11-inch run = 18 ✓. A 7.5-inch rise + 10-inch run = 17.5 ✓. This range produces stairs that feel natural to climb without straining or shuffling. Steeper stairs (smaller run) feel like a ladder; shallower stairs (larger run) make people shuffle their feet. The ideal sweet spot is 7-inch rise × 11-inch run for interior residential stairs.
For the lumber and materials needed to build your stairs, use our stair material calculator to get exact board counts and dimensions for stringers, treads, and risers.
IRC Stair Code Requirements (2021 IRC)
The International Residential Code (IRC) sets the minimum standards for residential stairs in the US. Most states and municipalities have adopted the IRC with minor local amendments. Always verify with your local building department before building.
| Dimension | IRC Residential | IBC Commercial | Exterior/Deck |
|---|---|---|---|
| Max Riser Height | 7¾ in (7.75") | 7 in | 7¾ in |
| Min Riser Height | 4 in | 4 in | 4 in |
| Min Tread Depth | 10 in | 11 in | 11 in |
| Min Stair Width | 36 in | 44 in (occupancy dependent) | 36 in |
| Max Riser Variation | ⅜ in between any two risers | ⅜ in | ⅜ in |
| Min Headroom | 6 ft 8 in (80") | 6 ft 8 in | N/A (open) |
| Handrail Required | 4+ risers | All stairs | 4+ risers |
| Handrail Height | 34–38 in above tread nosing | 34–38 in | 34–38 in |
The IRC requires that no two adjacent risers differ by more than ⅜ inch. This means if you calculate 7.5-inch risers but your total rise doesn't divide evenly, you cannot simply make the bottom or top step a different height — you must adjust all riser heights uniformly. The calculator above distributes the remainder equally across all steps to ensure uniform riser heights that meet the ⅜-inch tolerance requirement.
Stair Type Guide
| Stair Type | Typical Rise | Typical Run | Key Notes |
|---|---|---|---|
| Interior Residential | 6½ – 7¾ in | 10 – 12 in | Most common — carpet or hardwood treads |
| Exterior / Deck | 5 – 7¾ in | 11 – 14 in | Shallower pitch feels better outdoors; pressure treated lumber |
| Basement | 7 – 7¾ in | 10 – 11 in | Often steeper due to space constraints — open risers common |
| Attic / Ship's Ladder | 8 – 12 in | 8 – 10 in | Steep access stairs — not code compliant for main stairs |
| Commercial / Public | 4 – 7 in | 11 – 14 in | IBC requires min 11" tread, 44" width for high-occupancy |
| Winding / Curved | 6 – 7¾ in | 10–12 in (at walk line) | Tread width measured 12" from narrow end for winders |
A 7-inch rise with an 11-inch tread (run) is widely considered the ideal ergonomic stair proportion for interior residential use — comfortable for all ages, code compliant in all US jurisdictions, and aesthetically proportionate. It produces a 34.8° angle of ascent, which feels natural. If your total rise doesn't divide evenly into 7-inch risers, round to the nearest number that gives you a riser between 6.5 and 7.75 inches and adjust your tread depth to maintain the 17–18 inch sum.
Example Calculations
Example 1 — Standard Interior Staircase
Steps = 108 ÷ 7.0 (target riser) = 15.43 → round to 15 steps
Actual riser = 108 ÷ 15 = 7.2 in per step ✓ (under 7.75" max)
Total run = 15 × 10 = 150 in = 12.5 ft
Stringer length = √(7.2² + 10²) per step × 15 = 12.33 × 15 = 185 in ≈ 15.4 ft
Example 2 — Deck / Exterior Stairs
Steps = 60 ÷ 7.0 = 8.57 → round to 8 steps
Actual riser = 60 ÷ 8 = 7.5 in per step ✓
Total run = 8 × 12 = 96 in = 8 ft
Check: Rise + Run = 7.5 + 12 = 19.5 — slightly above ideal 17–18; consider 7 steps with 8.57" riser (exceeds max) — stay with 8 steps and narrow tread to 11 in for 18.5 sum.
Example 3 — Tight Space / Steep Stair
Steps = 94 ÷ 7.75 = 12.13 → round to 13 steps
Actual riser = 94 ÷ 13 = 7.23 in ✓
Max available tread = 96 in ÷ 13 = 7.38 in ✗ — below 10 in minimum
→ Reduce to 12 steps: riser = 94 ÷ 12 = 7.83 in ✗ — exceeds max 7.75 in
→ Solution: 13 steps with open risers; add landing or use alternating tread stair
Frequently Asked Questions
How We Calculate
Step Count
Steps = ROUND(Total Rise ÷ Target Riser Height)
The calculator starts with a target riser height of 7.0 inches for interior and exterior stairs (6.5 inches for commercial) and divides the total rise by that target. The result is rounded to the nearest whole number — you cannot have a fractional step. Rounding up gives more steps with shorter risers; rounding down gives fewer steps with taller risers. The calculator chooses the rounding direction that keeps the result within code limits.
Actual Riser Height
Actual Riser = Total Rise ÷ Steps
Once the step count is established, the total rise is divided evenly among all steps. This ensures every riser is identical — which is the IRC requirement (no two adjacent risers may vary by more than ⅜ inch). The resulting riser height is almost never a round number: 108 inches ÷ 15 steps = 7.2 inches per riser. This is the dimension you cut to when building the stair stringers.
Total Horizontal Run
Total Run = Steps × Tread Depth
The total horizontal run is the floor-plan length the staircase occupies. This is critical for determining whether the stairs fit in the available space. Note: the number of treads equals the number of risers minus one for a normal staircase (the top landing is the upper floor itself), but the calculator uses the full step count multiplied by tread depth for simplicity — the difference is one tread depth, which you should verify against your space.
Stringer Length
Stringer Length = √(Riser² + Tread²) × Steps
Each step forms a right triangle with the riser and tread as legs. The hypotenuse is the stringer length per step, calculated using the Pythagorean theorem. Multiplying by the number of steps gives the total stringer board length needed. Add 6–12 inches for the top and bottom connection cuts when ordering lumber. A 15-step stair with 7.2″ risers and 10″ treads requires a stringer approximately 15.4 ft long — order 16-ft 2×12 boards.
Code Compliance Check
The calculator checks each calculated dimension against the applicable code limits (IRC for interior/exterior, IBC for commercial): riser height must be between 4″ and 7¾″; tread depth must meet the minimum for the stair type; width must meet the minimum. The Rise + Run sum is checked against the 17–18″ ergonomic comfort range (this is not a code requirement, but a comfort guideline). Each dimension displays a pass/warn/fail badge in the IRC Code Check panel below the result.
- IRC 2026 (International Residential Code) — Section R311.7 Stairways — Maximum riser height 7¾ inches (Section R311.7.5.1); minimum tread depth 10 inches (R311.7.5.2); minimum stair width 36 inches (R311.7.1); maximum riser height variation ⅜ inch between any two risers in a flight (R311.7.5.1); minimum headroom 6 ft 8 in (R311.7.2); handrail required for 4+ risers at 34–38 inches above tread nosing (R311.7.8). These are the residential code requirements checked by the calculator’s compliance panel. International Code Council, 2026 edition.
- IBC (International Building Code) — Section 1011 Stairways — Maximum riser height 7 inches (Section 1011.5.2); minimum tread depth 11 inches (1011.5.2); minimum stair width 44 inches for occupancies with occupant load 50 or more (1011.2). Used for the Commercial stair type option in the calculator. International Code Council, current edition.
- CPSC (US Consumer Product Safety Commission) — Stair Safety Guidelines — Riser height variation (inconsistent riser heights) is cited by the CPSC as a leading cause of stair-related falls, which are among the most common home injury accidents. Referenced in the riser variation callout in the IRC code section and the FAQ answer on riser uniformity requirements. The ⅜″ maximum variation tolerance is the IRC standard that directly addresses this safety hazard. CPSC, current edition.
- Ergonomic Stair Design — Rise + Run = 17–18″ Rule — The ergonomic proportion rule for comfortable stair design (rise + run = 17 to 18 inches) has been used in architecture and building practice since at least the 18th century and is attributed to the French architect François Blondel (1617–1686). It is referenced in the AIA Architectural Graphic Standards and in modern residential design practice as the comfort target for stair geometry, though it is not a code requirement. Referenced in the 17–18 rule callout and the stair type guide. AIA Architectural Graphic Standards; architectural tradition.
Code requirements shown are from the model IRC 2026 and IBC — always verify with your local building department, which may have adopted local amendments. Stair dimensions must be verified by a licensed contractor or building inspector before construction. ConstructlyTools does not have a paid relationship with any lumber supplier or contractor mentioned on this page.
All free calculators on ConstructlyTools — plan any project from start to finish.
