Stair Calculator

Total rise to riser height, tread count, stringer length and stair angle.

Your numbers
Your staircase

Stair layout

Enter your numbers above.

Total rise is the vertical distance from one finished floor to the next. Divide it by a target riser height (7.5 in is a common starting point) and round to a whole number of risers — you can't have a fraction of a step. That gives you the actual riser height, which should land close to your target once you divide the rise evenly.

The number of treads is one less than the number of risers, because the top floor itself counts as the last "step." Multiply tread depth by tread count to get total run, then add any run for a landing. The stringer — the diagonal board the treads sit on — is the hypotenuse of the rise and run, found with the Pythagorean theorem.

For deck stairs, run this the same way using the deck's height above grade as the total rise; tread depth is often 11 to 11.25 in outdoors since deck boards are wider than indoor treads.

Where these numbers come from

These are planning estimates. Check product labels, your local building code, and a licensed contractor before you buy materials or build.

Frequently asked questions

Why does my riser height need to be consistent?

A riser more than about 3/8 in different from the others in a run is the single most common cause of stair trips, since your foot expects the same height every step. Building code enforces this for exactly that reason.

What if my total rise doesn't divide evenly?

It almost never will exactly. Round to the nearest whole number of risers, then let the actual riser height (rise divided by that whole number) come out slightly above or below your 7.5 in target — that's normal and code-compliant as long as it stays in range.

Does this work for deck stairs?

Yes. Use the height from the deck surface to the ground or landing as your total rise, and a wider outdoor tread depth. See the Deck Calculator's stairs mode for a version that also sizes stringers and framing lumber.

All HomeBuildCalcs tools