About this Stair Calculator
Stair building requires precise math to ensure safety and code compliance. If steps are uneven by even a fraction of an inch, they become a major trip hazard. This tool helps you calculate the exact riser height and total run based on your total floor-to-floor height.
Who this calculator is for
- Carpenters and DIY builders laying out stairs, stringers, or deck access steps.
- Remodelers checking whether a stair run will fit within available floor space.
- Anyone verifying riser count and exact riser height before cutting stringers.
When to use it
- Estimate the number of risers from total floor-to-floor height.
- Check whether the resulting riser height stays near a code-friendly target.
- Calculate total horizontal run before framing or cutting stringers.
How to use this calculator
- Measure Total Rise from the finished lower floor surface to the finished upper floor surface.
- Enter your Target Riser height (7.5 inches is standard; max is usually 7.75 inches).
- The result gives you the exact number of steps and the precise riser height to cut.
- Check the Total Run to ensure the stairs fit in your space.
Key assumptions
- Total rise and target riser are measured in inches and must be positive.
- The calculator uses a standard 10-inch tread run and rounds to the nearest whole riser count.
- Local stair code rules vary, so the result should be checked against your jurisdiction before building.
Accuracy and testing
Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.
How this calculator works
Inputs explained
Total Rise
The vertical distance from the top of the lower floor to the top of the upper floor. Include flooring thickness!
Target Riser
The ideal step height. 7.5 inches is comfortable for most people.
Understanding your results
Example scenarios
Standard Floor
Rise 108 inches (9ft). Target 7.5. Steps = 14. Actual Riser = 7.71 inches. Run = 10ft 10in.
Deck Stairs
Rise 30 inches. Target 7.5. Steps = 4. Actual Riser = 7.5 inches.
Key Features
- Code-friendly Defaults
- Total Run Calculation
- Exact Riser Math
Things to Keep in Mind
Assumes a standard 10-inch tread run. Does not account for nosing overhang or landing platforms.
Tips & Best Practices
- Always check local building codes (IBC/IRC). Max riser is typically 7.75 inches, min tread is 10 inches.
- Measure the rise at several points if the floor isn't level.
- Remember that the bottom riser cut must be shorter by the thickness of the tread material.
Glossary of Terms
- Riser
- The vertical component of a step.
- Tread
- The horizontal surface you step on.
- Stringer
- The structural board that supports the treads and risers.
- Run
- The horizontal distance covered by the stairs.