Stair Calculator
Calculate stair rise, run, number of steps, and check IRC building code compliance.
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?
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