🪜 Stair Calculator

Plan stairs from the total rise: number of risers and treads, riser height, total run, stringer length and angle, checked against residential code limits.

✓ Free✓ No Signup Required✓ Browser-Based

Total rise is measured from the finished floor below to the finished floor above. Tread depth here is the horizontal run of each step, not counting the nosing.

Risers
15
Riser height
7 3/16"
Treads
14
Total run
12′ 3"
Stringer length
15′ 2 7/16"
Angle
36.3°

108" ÷ 15 risers = 7.200" each. 14 treads × 10.5" = 147.00" of run. Each tread board is 11 1/2" deep including the nosing. First riser cut on the stringer: 6 3/16" (riser minus tread thickness).

Checks

✓ Riser height7 3/16" (limit 7.75" max)
✓ Tread depth10 1/2" (limit 10" min, measured nosing to nosing)
✓ Comfort rule 2R + T24.90" (a rule of thumb: about 24–26" feels natural)
✓ Stair angle36.3° (most comfortable around 30–37°)

Limits shown are from the International Residential Code (R311.7) used as the model for most U.S. homes; your local code may differ, and commercial stairs follow stricter rules. Headroom of at least 6′8″ and a stair width of at least 36″ are also required. Check with your building department before building.

What Stair Calculator Does

This stair calculator lays out a straight run of stairs from one measurement — the total rise from finished floor to finished floor. It works out how many risers you need, the exact height of each, the number of treads, the total run, the stringer length and the stair angle, and draws the staircase to scale so you can see the profile.

Results are given in inches and sixteenths, ready for a tape measure, and checked against the U.S. model residential code limits (risers no taller than 7¾ inches, treads at least 10 inches deep) and a common comfort rule of thumb. If your target riser would exceed the limit, the calculator adds a riser automatically.

How to Use Stair Calculator

  1. Measure the total rise from finished floor to finished floor
  2. Enter a target riser height and the tread depth
  3. Add the nosing overhang and tread thickness
  4. Read the risers, treads, total run, stringer length and angle
  5. Check each value against the code and comfort checks

Formula Used by Stair Calculator

Risers, treads and run

Risers = round(total rise ÷ target riser) · riser height = total rise ÷ risers · treads = risers − 1 · run = treads × tread depth

Worked example

A 108-inch rise, 7¼-inch target riser, 10½-inch treads.

  1. 108 ÷ 7.25 = 14.9 → 15 risers
  2. 108 ÷ 15 = 7.2 in each
  3. 14 treads × 10.5 = 147 in of run

Result: 15 risers of 7 3/16", 14 treads, 12′ 3″ of run.

Stringer length

Stringer = √(rise² + run²)

Worked example

108-inch rise and 147-inch run.

  1. 108² + 147² = 33,273
  2. √33,273 = 182.4 in

Result: About 15′ 2 3/8″ — buy a longer board to allow for the end cuts.

U.S. Residential Stair Requirements (IRC Model Code)

Summary of the International Residential Code as commonly adopted; local amendments apply.

DimensionRequirement
Riser height7¾ inches maximum
Tread depth10 inches minimum (nosing to nosing)
Nosing projection¾ to 1¼ inches where required
Headroom6 feet 8 inches minimum
Stair width36 inches minimum
Handrail height34 to 38 inches above the nosings
Riser variation⅜ inch maximum between the largest and smallest

How to Read Your Result

Every riser the same

People set their stride on the first few steps, so a riser that is even a fraction of an inch different is a trip hazard — which is why codes limit the variation to ⅜ inch. Measure the total rise carefully after the finished flooring is known, and remember the first-riser adjustment for tread thickness.

Steep vs shallow

Shorter risers with deeper treads make an easier, safer stair but take more floor space. If the run does not fit, a landing that turns the stair 90° or 180° can help — calculate each straight flight separately.

Limitations & Accuracy Notes

  • Straight stairs only; winders, spirals and landings need separate calculations.
  • Code limits shown are the U.S. residential model code; commercial buildings and some jurisdictions are stricter.
  • Structural sizing of stringers and connections is not included — check with your building department.

Frequently Asked Questions

How do I calculate the number of stairs?
Divide the total rise (floor to floor) by your target riser height and round to a whole number of risers. 108 inches ÷ 7.25 = 14.9, so 15 risers of 7.2 inches each. The number of treads is one less than the number of risers.
What are the code limits for stairs?
The International Residential Code, used as the model for most U.S. homes, limits risers to 7¾ inches and requires treads of at least 10 inches, headroom of at least 6 feet 8 inches and a width of at least 36 inches. Local codes can differ, so confirm with your building department.
How long is a stair stringer?
Use Pythagoras: stringer length = √(total rise² + total run²). For a 108-inch rise and 147-inch run that is about 182 inches, or 15 feet 2 inches — buy the next longer board and allow for the top and bottom cuts.
What is the most comfortable stair?
A common rule of thumb is that twice the riser height plus the tread depth should be about 24 to 26 inches, with an angle around 30–37°. A 7-inch riser with an 11-inch tread (2 × 7 + 11 = 25) is a classic comfortable combination.
Why does the first riser need adjusting?
Treads add thickness on top of the stringer. Cutting the bottom of the stringer down by one tread thickness keeps the first step the same height as the others once the treads are installed.
How do I measure total rise?
Measure from the finished floor at the bottom to the finished floor at the top, including flooring on both levels. On sloping ground, measure at the point where the bottom step will land.
By OnlineToolHubs Team • Updated September 2026