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:
- Estimate the number of steps from total rise and desired riser height.
- Round to a whole number of steps.
- Recalculate the real riser height from the fixed total rise.
- Multiply tread depth by one fewer than the number of steps to get total run.
- Use the Pythagorean theorem for stringer length.
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.
| Check | Why it matters |
|---|---|
| Maximum riser height | keeps steps climbable and consistent |
| Minimum tread depth | gives the foot enough usable surface |
| Uniform risers and treads | reduces trip risk |
| Landings, headroom, handrails | can 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: , rounded to 15
- Actual riser height: in
- Total run: in = 12.83 ft
- Stringer length: 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.