Stair Calculator

Risers, treads, run and angle with a building code check

in
Example: 9-ft floor-to-floor = 108 in
in
in
Measured nosing to nosing, horizontally
in
Your city or county may adopt a different edition or local amendments
Number of risers—
Actual riser height—
Number of treads—
Total run (horizontal)—
Stair angle—
Code check—
🎰 15 Global Lotteries + 12 Smart Number Pickers
Powerball · Mega Millions · EuroMillions · UK Lotto — Zodiac, Birthday, Dream, AI & more

How to calculate stair risers and treads

  1. Measure the total rise from finished floor to finished floor.
  2. Divide by your target riser height and round up to get the number of risers.
  3. Divide the total rise by that number to get the actual (equal) riser height.
  4. Treads = risers − 1, because the upper floor acts as the last step. Total run = treads × tread depth.

Example: 108 in total rise ÷ 7.5 in = 14.4, so use 15 risers of 108 ÷ 15 = 7.2 in. With 14 treads of 10.5 in, the run is 147 in (12 ft 3 in) and the angle is about 34.4°.

Residential stair code (IRC)

  • Maximum riser height: 7-3/4 in (R311.7.5.1). There is no IRC minimum riser height.
  • Minimum tread depth: 10 in, nosing to nosing (R311.7.5.2).
  • Minimum width: 36 in clear (R311.7.1). Headroom: at least 6 ft 8 in (R311.7.2).
  • Uniformity: within one flight, riser heights and tread depths may not vary by more than 3/8 in.
  • Handrail: required on flights with four or more risers, 34–38 in above the nosing. Landings: one flight may not rise more than 12 ft.

Commercial stairs (IBC)

Under the International Building Code, riser height must be between 4 and 7 inches and the minimum tread depth is 11 inches; stair width is generally at least 44 inches, with headroom of 80 inches. Your jurisdiction may adopt a different edition or local amendments, so confirm with your building department before you build.

Will the stairs feel comfortable?

Code limits are only the minimum. A classic comfort check is the Blondel formula: 2 risers + 1 tread ≈ 63–65 cm (about 24.8–25.6 in). 7.2 in risers with 10.5 in treads give 2 × 18.3 + 26.7 ≈ 63.2 cm, which is in range. Steeper stairs save floor space but feel harder to climb, especially going down.

Building a deck with steps? See the deck calculator; for stringer lumber, try the lumber calculator.

Sources

Last checked: 2026-10-28

Frequently Asked Questions

What is the maximum stair riser height for a house?
Under the IRC (R311.7.5.1), the maximum riser height is 7-3/4 inches and the minimum tread depth is 10 inches. Check which code edition your local jurisdiction has adopted.
How many steps do I need for a 9-foot ceiling?
For about 108 in of total rise (9 ft floor-to-floor), 15 risers of 7.2 in work; at 7-3/4 in max you need at least 14 risers (7.71 in each).
Is the number of treads the same as the number of risers?
No. A straight stair has one fewer tread than risers, because the top floor serves as the final step.
What is the minimum stair width?
36 inches clear for residential stairs under the IRC (R311.7.1). Commercial stairs under the IBC are generally at least 44 inches.
How do I know if my stairs will be comfortable?
A classic check is the Blondel formula: 2 × riser + tread ≈ 63–65 cm (about 24.8–25.6 in). For example, 7.2 in risers with 10.5 in treads give about 63.2 cm.

Bookmarks