Stair Calculator
Stair Calculator
Calculate stair rise, run, number of steps, and check IRC building code compliance.
DIY difficulty
- ›Stairs are structural — errors are safety hazards, not just cosmetic
- ›IRC code compliance (riser height, tread depth) must be exact
- ›Cutting stringer boards precisely is the hardest step
Must-have tools
How to calculate stair rise, run, and step count
Measure the total rise — the floor-to-floor vertical height in inches. Be precise; this single number drives everything else.
The calculator divides the total rise into even steps, targeting a riser height between 7 and 7.75 inches per IRC code.
Review the riser height and tread depth. The IRC requires tread depth of at least 10 inches (excluding nosing).
Check the compliance indicator. If your rise/run is outside code limits, try adjusting the riser height manually to find a compliant combination.
Common uses
- Planning interior stairs for a new construction or addition
- Building exterior deck stairs down to a yard or patio
- Checking whether an existing staircase meets building code
Frequently asked questions
What's the standard rise and run for stairs?
How do I calculate the number of steps?
How long does the stringer need to be?
What is the 18-inch rule for stairs?
How wide should residential stairs be?
Common mistakes to avoid
- ✕Measuring floor-to-floor height to the subfloor — total rise must be to finished floor surface. A 1/4" error throws off every step.
- ✕Making all stringers identical — center stringers on wide stairs are often notched differently than outer ones.
- ✕Ignoring headroom — IRC requires 6'8" clearance above any stair nosing. Basement stairs frequently fail this.
- ✕Not adjusting for finish flooring — if stairs are calculated before flooring is installed, the first and last risers change when flooring is added.
Calculators you might also need
Not sure whether to DIY this project?
Read our project-by-project guide on when to hire a contractor vs. do it yourself.
About this calculator
Enter the total floor-to-floor rise to calculate the number of steps, individual riser height, total run, and stringer length. Includes IRC building code compliance check (riser 4–7¾", tread min 10").
All results are estimates. Verify quantities with your local supplier and confirm measurements before purchasing materials. Requirements vary by region and project type.
Runs entirely in your browser - no data is sent anywhere
