One Calculator Logo One Calculator
Construction & DIY • Formulas shown

Stair Calculator

Quick Answer

Divide the total rise by your target riser height and round to a whole number of risers, then divide again for the exact riser height. A 108 in rise with a 7.5 in target gives 15 risers of 7.2 in. Stringer length is √(rise² + run²).

Result

You need 15 risers of 7.2 in

Treads14
Total run147 in (12.25 ft)
Stringer length182.4 in
Stair angle36.3°
2R + T comfort check24.9 in (aim for 24–25)
Meets IRC limits?Yes (riser ≤ 7¾ in, tread ≥ 10 in)
Step-by-step calculation
  1. Number of risers = total rise ÷ preferred riser = 14.9 → 15
  2. Actual riser = 108 ÷ 15 = 7.2 in
  3. Run = (risers − 1) × tread = 147 in

The 2021 International Residential Code limits risers to 7¾ in and requires treads of at least 10 in. Local codes vary, and headroom and landing rules also apply.

About the Stair Calculator

Enter the total rise from finished floor to finished floor and your preferred tread depth. The calculator picks a whole number of equal risers, then gives the riser height, total run and stringer length.

Many US codes limit risers to 7.75 in and require treads of at least 10 in. Local rules differ, so check yours before building.

How to Use the Stair Calculator

  1. Measure the total rise.
  2. Enter the target riser height and tread depth.
  3. Read the number of risers, exact riser height, total run and stringer length.

Formula and Method

Number of risers

n = round(total rise ÷ target riser)

All risers must be equal.

Total run

run = (n − 1) × tread

One fewer tread than risers.

Stringer

L = √(rise² + run²)

Pythagorean theorem.

Worked Example

A 9 ft staircase

Input: Rise 108 in, target riser 7.5 in, tread 10 in

  • n = 108 ÷ 7.5 = 14.4, rounded to 15 risers
  • Riser = 108 ÷ 15 = 7.2 in
  • Run = 14 × 10 = 140 in
  • Stringer = √(108² + 140²) = 176.8 in

Result: 15 risers of 7.2 in, 140 in run, 176.8 in stringer.

Frequently Asked Questions

What is a comfortable riser height?

Between about 7 and 7.75 inches, with treads of 10 to 11 inches.

Why must risers be equal?

Uneven steps are a leading cause of stair falls. Codes allow only a small variation, often 3/8 in.

How many treads are there?

One fewer than risers, because the top floor acts as the last tread.

Related Calculators

All Construction & DIY Calculators →

Sources and Further Reading

Accuracy and Scope

Material quantities are estimates. Product yields, compaction and waste vary, so confirm with your supplier and follow local building codes for structural work. See our full disclaimer.