Stair Calculator

Our Stair Calculator helps builders, contractors, and DIYers design safe and comfortable staircases. Using IRC building code standards, it calculates optimal riser height, tread depth, stringer length, and angle. Whether you're building deck stairs, interior staircases, or basement steps, this tool ensures your stairs meet safety requirements and feel comfortable to use.

star 4.9
auto_awesome AI
New

Stair Calculator calculator

stairs Stair Dimensions

in
= 9 ft 0 in
in
IRC code: 4" min - 7.75" max
in
IRC minimum: 10"
in
Residential minimum: 36"
Stair Profile
Rise Run 14 risers 37°

analytics Results

Number of Steps
14 risers
13 treads (steps)
Actual Riser Height
7.71"
Within code
Tread Depth
10"
Within code
Total Run
130"
10.83 ft
Stringer Length
169"
14.08 ft
Stair Angle
39.7°
Stringers Needed
2
2×12 lumber
accessibility_new
Comfort Formula (2R + T)
25.43" - Ideal comfort
Target: 24-25" for comfortable stairs
verified
Code Compliance
Compliant - Meets IRC residential code

stairs IRC Code Limits

Riser Height 4" - 7.75"
Tread Depth 10" min
Stair Width 36" min
Headroom 80" min
Handrail 34-38"

straighten Common Dimensions

Ideal Riser 7" - 7.5"
Ideal Tread 10" - 11"
Nosing 0.75" - 1.25"
Angle 30° - 37°

calculate Comfort Formula

2 × Riser + Tread = 24" - 25"

7" + 7" + 10" = 24" ✓
7.5" + 7.5" + 10" = 25" ✓

lightbulb Quick Tips

  • 1 All risers must be within 3/8" of each other
  • 2 Use 2×12 lumber for stringers (min 3.5" remaining)
  • 3 Add 3rd stringer for stairs wider than 36"

How to Use the Stair Calculator

1

Measure Total Rise

Measure vertical distance from lower floor to upper floor surface

2

Choose Riser Height

Select target riser height (7-7.5" recommended for comfort)

3

Set Tread Depth

Enter tread depth (10-11" for comfortable stairs)

4

Review Results

Check number of steps, stringer length, and code compliance

5

Verify Comfort

Ensure 2R+T equals 24-25" for comfortable climbing

The Formula

The number of risers equals total rise divided by desired riser height. Total run equals number of treads times tread depth. Stringer length is calculated using the Pythagorean theorem. Comfortable stairs follow the 2R + T = 24-25 inch rule.

Risers = Total Rise ÷ Riser Height, Stringer = √(Rise² + Run²)

lightbulb Variables Explained

  • Total Rise Vertical distance from floor to floor (inches)
  • Riser Height Height of each step (typically 7-7.75 inches)
  • Tread Depth Horizontal depth of each step (minimum 10 inches)
  • Stringer Length Length of the diagonal support board
  • Angle Stair slope in degrees (typically 30-37°)

tips_and_updates Pro Tips

1

IRC code requires risers between 4-7.75 inches and treads minimum 10 inches deep

2

The comfort formula 2R + T should equal 24-25 inches for easy climbing

3

All risers must be uniform - maximum 3/8 inch variation allowed by code

4

Minimum stair width is 36 inches for residential, 44 inches for egress

5

Headroom must be at least 6'8" (80 inches) measured vertically

6

Handrails required on at least one side when 4+ risers

7

For deck stairs, use pressure-treated lumber for stringers

Building safe, comfortable stairs requires adherence to precise dimensional standards that have been refined over centuries of architectural practice. The International Residential Code (IRC) specifies a maximum riser height of 7.75 inches (196 mm) and a minimum tread depth of 10 inches (254 mm) for residential stairs, while commercial buildings under the International Building Code (IBC) require risers no taller than 7 inches and treads at least 11 inches deep. The classic carpenter's rule of thumb — that twice the riser height plus the tread depth should equal 24 to 25 inches — produces the most ergonomically comfortable stairs. Total staircase rise (floor-to-floor height) divided by the chosen riser height determines the number of steps, which in turn determines the total horizontal run and the space the staircase will occupy. Code also requires uniform riser height throughout the flight, with no more than 3/8-inch variation between the tallest and shortest riser. Stair width must be at least 36 inches in residential construction, headroom must clear 6 feet 8 inches, and handrails are required when there are four or more risers. Getting these dimensions right is critical for both safety and building inspection approval.

Understanding Stair Calculations

Proper stair design balances safety, comfort, and building codes. The key measurements are total rise (floor-to-floor height), riser height (step height), tread depth (step depth), and total run (horizontal distance). All risers must be equal height within 3/8 inch.

Building Code Requirements

IRC code specifies: Riser height 4-7.75 inches, tread depth minimum 10 inches, stair width minimum 36 inches, headroom minimum 80 inches. Handrails required when 4 or more risers. All measurements must be consistent throughout the stairway.

Stringer Design

Stringers are the diagonal boards supporting the stairs. Cut from 2×12 lumber with at least 3.5 inches remaining below tread cuts. Use 3 stringers for stairs wider than 36 inches. For outdoor stairs, use pressure-treated lumber.

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.