Skip to content
CalculatPage

Stair Calculator

Design comfortable, code-compliant stairs from your total rise.

Updated November 2026 · How we build calculators

Optional. The first riser is shortened by this amount when treads sit on top of the floor.

Optional. Code requires at least 80 inches of clearance above the stairs.

Result

Your result will appear here

Enter your numbers, then press Calculate.

How the Stair Calculator works

The number of risers is the total rise divided by a preferred riser height, rounded to a whole number. The actual riser height divides total rise by that count. Treads are one fewer than risers. Stringer length comes from the Pythagorean theorem.

Formula used

Risers = round(total rise ÷ preferred riser)

Riser height = total rise ÷ risers

Stringer = √(rise² + run²)

Step-by-step example

Using the default values in the calculator above:

  1. Total rise (floor to floor): 108 in
  2. Desired tread depth: 10 in
  3. Preferred riser height: 7.25 in
  4. Stair width: 36 in
  5. Tread thickness: 1 in
  6. Tread nosing overhang: 1 in
  7. Available headroom: 0 in

The calculator then applies the formula above and returns:

  • Number of risers: 15 (each 7.200 in tall)
  • Number of treads: 14
  • Total run: 140.0 in (11.67 ft)
  • Stringer length: 176.8 in (14.73 ft)
  • Stair angle: 37.6°
  • Cut dimensions: first riser (after tread thickness): 6.200 in
  • Cut tread depth (without nosing): 9.00 in

Notes on the inputs

Tread thickness
Optional. The first riser is shortened by this amount when treads sit on top of the floor.
Available headroom
Optional. Code requires at least 80 inches of clearance above the stairs.

What-if scenarios

Each table changes one input and keeps everything else at the calculator's default values.

If you change “Total rise (floor to floor)”
Total rise (floor to floor)Number of risers
54 in7
81 in11
108 in (default)15
160 in22
220 in30

Tips and background

All risers must be equal within 3/8 inch. Check headroom and railing requirements.

How to calculate stairs

Measure total rise from finished floor to finished floor. Divide by a target riser height (about 7 to 7.5 inches) and round to a whole number of risers; a 108-inch rise gives 15 risers of 7.2 inches. Treads are one fewer than risers, so 14 treads of 10 inches make a 140-inch run.

Code and comfort

The IRC generally limits risers to 7¾ inches with treads at least 10 inches deep and requires at least 6 feet 8 inches of headroom (80 inches in this tool's check). All risers must be nearly identical. A comfortable stair keeps 2 × riser + tread between 24 and 25 inches. Local codes vary, so verify before building; for slopes see the slope calculator and for materials the concrete calculator.

How many steps do you need for a given rise?

Measure from finished floor to finished floor. These results aim for risers near 7.25 inches with 10 inch treads.

Total riseRisersHeight of eachTreadsTotal run
36 in57.200 in440 in
96 in137.385 in12120 in
108 in157.200 in14140 in
112 in157.467 in14140 in
120 in177.059 in16160 in

The tread count is one less than the riser count because the upper floor acts as the last step. Some designs differ.

How does tread depth change the stair?

For a 108 inch rise, a 9 inch tread gives a 126 inch run at 40.6 degrees. A 10 inch tread gives 140 inches at 37.6 degrees, 11 inches gives 154 inches at 35.0 degrees and 12 inches gives 168 inches at 32.7 degrees. Deeper treads make a gentler stair but need more floor space, so check that the run and landings fit before you cut anything.

What does the calculator's code check cover?

Only two limits: a riser of no more than 7 3/4 inches and a tread of at least 10 inches. These are commonly cited residential limits based on the International Residential Code, but they were not verified against a current official copy for this page. A result within them is not a full code check. Stair width, headroom, landings, handrails, guards, openings and how much risers may differ from each other all have their own rules, and local codes can differ from the model code. Confirm every requirement with your building department.

What mistakes should you avoid when measuring?

Use the finished floor heights, including flooring that has not been installed yet at the top and bottom. A change in either one alters the first or last riser, and uneven steps are a trip hazard. The calculator's first-riser figure subtracts the tread thickness for the common case where treads sit on the stringer. Check how your own design is built before cutting. Stairs carry people, so have a qualified builder or designer review the structure, including the stringers and connections, which this tool does not design.

Common mistakes to avoid with the Stair Calculator

  • Forgetting that the first riser is shortened by tread thickness.
  • Using unequal riser heights.
  • Not checking headroom and local code.

Frequently asked questions

What is the maximum riser height?

7¾ inches under the IRC for most residential stairs.

What is minimum tread depth?

10 inches.

What is the 2R + T rule?

Twice the riser plus tread should total about 24 to 25 inches.

How many steps for a 9-foot ceiling?

Roughly 16 to 17 risers, depending on floor thickness.