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.

By ConstructlyTools · Published: March 29, 2026 · Updated: April 12, 2026
Stair Rise & Run Calculator
📐 Formula
Steps = Total Rise ÷ Riser Height · Riser = Total Rise ÷ Steps (rounded) · Stringer = √(Run² + Rise²) per step × Steps
Number of Steps
Enter total rise above
Riser Height
Total Run
Stringer Length
Code Compliance

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 17–18 Rule for Comfortable Stairs

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.

DimensionIRC ResidentialIBC CommercialExterior/Deck
Max Riser Height7¾ in (7.75")7 in7¾ in
Min Riser Height4 in4 in4 in
Min Tread Depth10 in11 in11 in
Min Stair Width36 in44 in (occupancy dependent)36 in
Max Riser Variation⅜ in between any two risers⅜ in⅜ in
Min Headroom6 ft 8 in (80")6 ft 8 inN/A (open)
Handrail Required4+ risersAll stairs4+ risers
Handrail Height34–38 in above tread nosing34–38 in34–38 in
⚠️ Riser Variation Is the Most Common Code Violation

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 TypeTypical RiseTypical RunKey Notes
Interior Residential6½ – 7¾ in10 – 12 inMost common — carpet or hardwood treads
Exterior / Deck5 – 7¾ in11 – 14 inShallower pitch feels better outdoors; pressure treated lumber
Basement7 – 7¾ in10 – 11 inOften steeper due to space constraints — open risers common
Attic / Ship's Ladder8 – 12 in8 – 10 inSteep access stairs — not code compliant for main stairs
Commercial / Public4 – 7 in11 – 14 inIBC requires min 11" tread, 44" width for high-occupancy
Winding / Curved6 – 7¾ in10–12 in (at walk line)Tread width measured 12" from narrow end for winders
✅ The Ideal Interior Stair: 7" Rise × 11" Run

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

Total rise: 108 inches (9 ft floor-to-floor) · Desired tread: 10 in

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

Deck height: 60 inches (5 ft) · Desired tread: 12 in

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

Basement stair: 94 inches total rise · Limited to 8 ft horizontal

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

What is the standard rise and run for stairs?+
The IRC standard for residential stairs is a maximum riser height of 7¾ inches (7.75") and a minimum tread depth of 10 inches. The ideal ergonomic stair has a 7-inch rise and 11-inch run (rise + run = 18). All risers in a staircase must be the same height within ⅜ inch — variation greater than this is a code violation and must be corrected before a home can pass inspection.
How do I calculate the number of stairs I need?+
Divide the total rise (floor-to-floor height in inches) by your target riser height (typically 7 inches). Round to the nearest whole number — this is your step count. Then divide the total rise by that step count to get the actual uniform riser height. Example: 108" total rise ÷ 7" target = 15.4 → 15 steps → 108 ÷ 15 = 7.2" actual riser height. The calculator above does this automatically and checks the result against IRC code requirements.
How long does a stair stringer need to be?+
Stringer length is calculated using the Pythagorean theorem applied to one step, then multiplied by the number of steps. For each step: stringer length per step = √(riser² + tread²). Multiply by the number of steps for total stringer length. Add 6–12 inches for the top and bottom connection cuts. A 15-step stair with 7.2" risers and 10" treads requires stringers approximately 15.5 ft long, which means you need 16-foot boards with minimal waste.
What is the minimum stair width for residential stairs?+
The IRC minimum stair width for residential stairs is 36 inches measured at and below the handrail height, and above the handrail on the other side. Where handrails project into the stairway on both sides, the minimum clear width between handrails must be at least 31.5 inches. Commercial stairs under the IBC require a minimum of 44 inches for most occupancies. Wider stairs (42–48 inches) are much more comfortable for two people passing and for moving furniture.
Do deck stairs have different requirements than interior stairs?+
Yes — exterior and deck stairs have a minimum tread depth of 11 inches (vs 10 inches for interior), though the maximum riser height of 7¾ inches is the same. The additional inch of tread depth makes sense outdoors where people may be wearing bulkier footwear or carrying items. Deck stair stringers must be pressure treated lumber (ground contact rated) and all hardware must be hot-dip galvanized or stainless steel to resist corrosion. Handrails are required when there are 4 or more risers.
How do I measure total rise for stair calculations?+
Total rise is the vertical distance from the finished floor at the bottom of the stairs to the finished floor at the top — measured plumb (straight up and down). Do not measure along the wall or along the slope of the stair. For deck stairs, measure from the finished deck surface to the finished grade at the base of the stairs. Always measure to finished floor surfaces, not subfloor — if you're adding flooring, account for its thickness in your total rise before calculating.
Scroll to Top