Stair Calculator
Steps, exact riser height, total run, stringer length and pitch angle from a total rise and tread depth.
Number of steps
Note: Geometry only, using the hypotenuse as the stringer estimate. Building codes set legal riser, tread, headroom and handrail rules locally — check yours before building.
Stairs Are a Division Problem
A staircase divides a total rise into equal steps. Take the floor-to-floor height, divide by a comfortable riser (around 7.5 inches), round to a whole number of steps, then divide again to get the exact riser every step will share — because the first law of stairs is that all risers must be identical; a single step 5 mm taller than its neighbours is a trip hazard your feet will find in the dark. This calculator does that two-pass division and adds the run, stringer length and angle for a chosen tread depth.
Worked Example
A 96-inch rise: 96 ÷ 7.5 suggests 13 steps, so each riser is 96 ÷ 13 = 7.38 inches. With 10-inch treads there are 12 treads (the top step is the landing), giving a total run of 120 inches, a stringer of 153.67 inches and a pitch of 38.66° — inside the comfortable 30–42° band most codes aim for.
The Comfort Rules
Generations of stair builders converged on checks this page's defaults respect: riser plus tread should land near 17–18 inches, twice the riser plus the tread near 24–25, and risers between about 4 and 7.75 inches with treads at least 10 deep. Building codes in your area set the legal numbers — treat this as the geometry, then check the code before cutting a stringer.
Frequently Asked Questions
How is the number of steps worked out?
Divide the total rise by an ideal riser (about 7.5 inches), round to a whole number, then divide the rise by that number to get the exact riser every step shares — equal risers are the safety rule.
Why does the run use one fewer tread than steps?
The top step is the upper floor itself, so a 13-step stair has 12 treads to build. The run is treads times tread depth.
What is a comfortable stair angle?
Most codes and builders aim for 30 to 42 degrees. The worked example lands at 38.66 degrees with 7.38 inch risers and 10 inch treads.
What are the comfort rules of thumb?
Riser plus tread near 17 to 18 inches, and twice the riser plus the tread near 24 to 25. Local building codes set the binding numbers — check before you build.