Project estimates

Stair Calculator

Enter total rise, preferred riser height, and tread depth to estimate step count, actual riser height, total run, and stringer length before checking the plan against local code.

Last reviewed May 17, 2026 by ToolSpilo Editorial Team.

Review method: Reviewed against the implemented stair geometry and ICC residential stair-reference values; local-code limitations made explicit.

Calculator tool

How this calculator works

Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.

What Does the Stair Calculator Work Out?

This calculator helps with the basic stair geometry: how many rises are needed, what the actual riser height becomes after rounding to a whole number of steps, how long the staircase runs horizontally, and the approximate stringer length.

Formula Used

The calculator follows the same sequence a builder uses during layout:

  1. Estimate the number of steps from total rise and desired riser height.
  2. Round to a whole number of steps.
  3. Recalculate the real riser height from the fixed total rise.
  4. Multiply tread depth by one fewer than the number of steps to get total run.
  5. Use the Pythagorean theorem for stringer length.
Actual riser height=total risenumber of steps\text{Actual riser height} = \frac{\text{total rise}}{\text{number of steps}}
Total run=tread depth×(number of steps1)\text{Total run} = \text{tread depth} \times (\text{number of steps} - 1)
Stringer length=total rise2+total run2\text{Stringer length} = \sqrt{\text{total rise}^2 + \text{total run}^2}

Code Check Before You Build

Common residential-code references use a maximum riser height of 7 3/4 in and a minimum tread depth of 10 in, but local amendments can differ. The calculator does not know your jurisdiction, landings, nosing rules, headroom, handrails, or guard requirements.

CheckWhy it matters
Maximum riser heightkeeps steps climbable and consistent
Minimum tread depthgives the foot enough usable surface
Uniform risers and treadsreduces trip risk
Landings, headroom, handrailscan make a geometrically valid stair noncompliant

Worked Example

For a total rise of 108 in, desired riser height of 7 in, and tread depth of 11 in:

  • Steps: 108/715.43108 / 7 \approx 15.43, rounded to 15
  • Actual riser height: 108/15=7.20108 / 15 = 7.20 in
  • Total run: 11×14=15411 \times 14 = 154 in = 12.83 ft
  • Stringer length: 1082+1542=188.1\sqrt{108^2 + 154^2} = 188.1 in = 15.68 ft

How to Use the Result

The most important output is usually the actual riser height, because rounding the step count changes it. If that number drifts outside your allowed range, try another desired riser input and compare the result.

Use this calculator for early layout and material planning. Before cutting stringers, verify finished-floor heights, tread thickness, landing geometry, nosing details, and the exact stair code that applies where the stairs will be built.

Frequently asked questions

Why can the actual riser height differ from the height I entered?

Because a staircase needs a whole number of steps. The calculator rounds the step count first, then divides the fixed total rise by that whole number. That recalculated figure is the riser height you need to check.

Does this calculator guarantee code compliance?

No. It checks geometry only. Local code can also regulate tread depth, riser limits, landings, handrails, guards, nosings, and headroom, so the finished design still needs a local code review.

Why is total run based on one fewer tread than the number of risers?

Because the upper floor usually serves as the final landing. If there are 15 risers, there are commonly 14 independent treads before the top floor level.

When should I change the desired riser height?

Change it when the rounded step count produces an actual riser that is too high, too low, or uncomfortable for the available space. Run a few scenarios and compare both the actual rise and total run before settling on one layout.