Skip to main content

Stair Calculator

Calculate the number of steps, riser height, tread depth, and stair angle for any staircase. Includes building code compliance check.

Advertisement

Total vertical height from bottom to top floor in inches.

Total horizontal distance available for the staircase in inches.

AI Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general information, not financial advice. Always consult a qualified professional.

About This Calculator

Building code violations in stair construction are among the most common reasons for failed inspections, and improper rise-to-run ratios cause dangerous tripping hazards. This calculator determines the number of steps, individual riser height, and tread depth from your total rise and available run while enforcing building code constraints. It ensures comfortable stair geometry by keeping the rise-run relationship within the range that decades of ergonomic research have validated.

Quick Tips

  • 1 Building code requires risers between 4-7.75 inches for residential stairs.
  • 2 The ideal riser-to-tread ratio follows the rule: 2R + T = 25 inches.
  • 3 Divide total rise by 7.5 inches to estimate the number of steps needed.

Example Calculation

Scenario

Staircase climbing 9 feet (108 inches) to second floor.

Result

14 risers at 7.71 inches | 13 treads at 10 inches | Total run: 130 inches | Stringer: 13.89 ft

How Stairs Are Calculated

The calculator divides the total rise by an ideal riser height (about 7 inches) to determine the number of steps. The actual riser height is the total rise divided by the number of steps. Tread depth is the total run divided by the number of treads (one fewer than risers).

Building Code Requirements

The International Residential Code requires riser heights between 4 and 7.75 inches, with tread depths of at least 10 inches. Stair width must be at least 36 inches, and headroom at least 6 feet 8 inches. Risers must be consistent within 3/8 inch.

Comfortable Stair Dimensions

The most comfortable stairs follow the rule: 2 x riser height + tread depth = 24 to 25 inches. A 7-inch riser with an 11-inch tread (2x7 + 11 = 25) is widely considered ideal. Steeper stairs are tiring; shallower stairs feel unnatural.

Stair Angle and Safety

Residential stairs typically have an angle between 30 and 37 degrees. Angles below 20 degrees feel like ramps, while angles above 45 degrees are more like ladders. The stair angle is calculated from the ratio of total rise to total run.

Frequently Asked Questions