HowMuchStuff

Stair Calculator

By Taro Schenker | Updated February 11, 2026

Quick Answer: To calculate stairs, divide Total Rise by desired rise per step (7-7.5 in ideal) and round to get the number of risers. Treads = risers minus 1. Stringer length = square root of (Total Rise squared + Total Run squared). IRC code: max rise 7.75 in, min run 10 in, min width 36 in. Comfort checks: Rise + Run = 17-18 in, 2R + T = 24-25 in, angle 30-37 degrees. For a 9 ft (108 in) rise at 7.5 in desired, you get 14 risers at 7.71 in actual rise.

Calculate how many steps you need, the rise and run per step, stringer length, and stair angle. Enter your total rise (floor-to-floor height) and desired dimensions to get precise measurements with automatic IRC building code compliance checks.

How to Calculate Stairs

The key formulas for stair calculations are:

Number of Risers = Total Rise / Desired Rise Per Step (rounded)
Actual Rise = Total Rise / Number of Risers
Stringer Length = √(Total Rise² + Total Run²)
  1. Measure the total rise — the vertical distance from the lower finished floor to the upper finished floor.
  2. Divide the total rise by the desired rise per step (7-7.5 inches is ideal) and round to the nearest whole number. This gives you the number of risers.
  3. Divide the total rise by the number of risers to get the actual rise per step.
  4. The number of treads is always one less than the number of risers (the top floor acts as the final tread).
  5. Multiply the number of treads by the run per step to get the total run (horizontal footprint).
  6. Use the Pythagorean theorem to calculate stringer length from total rise and total run.

IRC Building Code Requirements

The International Residential Code (IRC) sets minimum standards for residential stairs. These are the key requirements:

DimensionIRC RequirementNotes
Maximum Rise7.75 inchesPer step, 7-7.5 in is ideal
Minimum Run10 inchesPer step, measured nose to nose
Minimum Width36 inchesClear width above handrail
Minimum Headroom6 ft 8 inMeasured vertically from nosing line
Handrail Height34-38 inchesMeasured from stair nosing
Nosing0.75-1.25 inchesOverhang beyond riser face

Stair Dimension Guide

Quick reference for common total rises and the resulting stair dimensions using a 7.5-inch desired rise:

Total RiseRisersActual RiseTotal Run (10 in run)
8 ft (96 in)137.38 in10 ft 0 in
9 ft (108 in)147.71 in10 ft 10 in
10 ft (120 in)167.50 in12 ft 6 in
12 ft (144 in)197.58 in15 ft 0 in

Tips for Building Stairs

  • Measure twice: Always measure the total rise from finished floor to finished floor. Account for any flooring that has not been installed yet.
  • Consistency matters: All risers must be within 3/8 inch of each other per the IRC. Inconsistent rises are a leading cause of stair falls.
  • Stringer material: Use construction-grade 2x12 lumber for stringers. Avoid boards with large knots near the cut lines.
  • Minimum throat: After cutting, the thinnest part of the stringer (the throat) should be at least 3.5 inches thick for structural integrity.
  • Subtract tread thickness: When laying out your stringers, subtract the tread thickness from the bottom riser so all visible rises are equal.
  • Check for level: Use a long level to verify that both the top and bottom landing surfaces are level before cutting your stringers.

Formula Summary

Number of Risers: Divide the total rise by the desired rise per step and round to the nearest whole number.

$$N_{\text{risers}} = \text{round}\left(\frac{\text{Total Rise}}{\text{Desired Rise}}\right)$$

Actual Rise: $$R_{\text{actual}} = \frac{\text{Total Rise}}{N_{\text{risers}}}$$

Number of Treads: $$N_{\text{treads}} = N_{\text{risers}} - 1$$

Total Run: $$\text{Total Run} = N_{\text{treads}} \times \text{Run per step}$$

Stringer Length (Pythagorean): $$S = \sqrt{\text{Total Rise}^2 + \text{Total Run}^2}$$

Stair Angle: $$\theta = \arctan\left(\frac{\text{Total Rise}}{\text{Total Run}}\right)$$

IRC Code CheckRequirement
Max Rise per Step7.75 in (min 4 in)
Min Run per Step10 in
Min Stair Width36 in
Rise + Run17-18 in (comfort)
2R + T (Blondel)24-25 in (comfort)
Stair Angle30-37 degrees (comfort)

Standard Assumptions: Stringers spaced every 16 inches of stair width with a minimum of 2. Ideal rise per step is 7-7.5 inches. Number of treads is always one less than number of risers (top floor acts as final tread). All risers must be within 3/8 inch of each other per IRC.

Related Calculators

Estimates are for planning purposes only. Consult a qualified contractor for critical projects. Actual material requirements may vary based on site conditions, waste, and installation methods.

Pricing last verified: February 2026. Material prices vary by region, season, and supplier. Prices shown are national averages for planning purposes.

Frequently Asked Questions

What is the ideal rise per step for stairs?
The ideal rise per step is between 7 and 7.5 inches. The IRC (International Residential Code) sets a maximum of 7.75 inches and a minimum of 4 inches. A 7-inch rise is widely considered the most comfortable for residential stairs and matches the natural stride of most adults.
How do I calculate the number of steps I need?
Divide the total rise (floor-to-floor height) by your desired rise per step, then round to the nearest whole number. For example, a 9-foot (108-inch) total rise divided by 7.5 inches gives 14.4, which rounds to 14 risers. The actual rise per step is then 108 / 14 = 7.71 inches. The number of treads is always one less than the number of risers.
How do I calculate stringer length?
Stringer length is calculated using the Pythagorean theorem: Stringer Length = square root of (Total Rise squared + Total Run squared). For example, with a 108-inch total rise and 130-inch total run, the stringer length is the square root of (108^2 + 130^2) = approximately 169 inches, or about 14 feet 1 inch.
What building codes apply to residential stairs?
The IRC (International Residential Code) requires: maximum rise of 7.75 inches, minimum run of 10 inches, minimum stair width of 36 inches, minimum headroom of 6 feet 8 inches, and handrails on at least one side between 34 and 38 inches high. Local codes may be stricter, so always check with your building department.
What makes stairs comfortable to use?
Comfortable stairs follow two classic formulas: Rise + Run should equal 17 to 18 inches, and 2 x Rise + Run (the 'blondel formula') should equal 24 to 25 inches. A stair angle between 30 and 37 degrees is considered most comfortable. Our calculator checks these ratios automatically in the code compliance section.
How wide should residential stairs be?
The IRC requires a minimum stair width of 36 inches for residential stairs. However, 42 inches is more comfortable and allows two people to pass. For a main staircase, 48 inches or wider is ideal. The stair width also determines how many stringers you need — typically one stringer for every 16 inches of width, with a minimum of two.