Like ToolFern? Prefer us as your source on Google →

Stair Calculator

Plan a staircase in seconds. Enter your total floor-to-floor rise and a target riser height, and this calculator works out the number of steps, the exact riser height, the total run and the stringer length, all calculated

-
Number of risers
-
Riser height each
-
Number of treads
-
Total run
-
Stair angle
-
Stringer length (diagonal)
-
Board length for one-piece stringers
-
Stringer boards needed

The checks use common US residential code limits: riser at most 7.75 in (19.7 cm), tread at least 10 in (25.4 cm), headroom at least 80 in (203 cm). Your local code decides. The stringer length is the diagonal of the staircase, so pick lumber long enough for one piece, and add boards for treads, risers and waste.

How to use this stair calculator

  1. Unit, choose inches or centimetres so every result matches your measurements.
  2. Headroom, optional: enter the clear height above the stairs to check it against the 80 in minimum.
  3. Total rise, measure the vertical height from the lower finished floor to the upper finished floor and enter it.
  4. Target riser height, set the step height you want to aim for (about 7 in or 18 cm is typical).
  5. Tread depth, enter how deep each step is from front to back (about 11 in or 28 cm is typical).
  6. Read the risers, treads, total run, angle and stringer length, the code checks and the side-view diagram. Switching units converts your numbers instead of resetting them.

How stairs are calculated

The starting point is the number of steps. You take the total floor-to-floor rise and divide it by your target riser height, then round to the nearest whole number, because every step has to be the same height: steps = total rise / target riser (rounded). A 108 in rise with a 7 in target gives about 15 steps.

Once the step count is fixed, the actual riser height is the total rise shared equally across those steps: riser = total rise / steps. With 108 in over 15 steps each riser is 7.2 in. The total run is the horizontal distance the stairs cover. Because the top step lands on the upper floor, you multiply the tread depth by one less than the step count: total run = (steps - 1) x tread depth.

Finally the stringer length, the long diagonal board that supports the steps, is found with Pythagoras. It is the diagonal of a right triangle whose two sides are the total rise and the total run: stringer = sqrt(rise^2 + run^2). A typical comfortable staircase aims for a riser of around 7 in and a tread of around 11 in, which together feel natural to climb.

Check your local building code

These figures are a fast planning estimate, not a construction drawing. Maximum riser height, minimum tread depth, headroom, handrails and landings are all governed by your local building code, and the limits differ from one region to another. Always confirm every dimension against the rules that apply where you live, and have load-bearing work checked by a qualified builder before you cut a single board.

Frequently asked questions

How many steps do I need?

Divide your total floor-to-floor rise by your target riser height and round to the nearest whole number. For example, a 108 in rise with a 7 in target riser gives about 15 steps.

What is a comfortable riser and tread?

A riser of about 7 in (18 cm) and a tread depth of about 11 in (28 cm) is comfortable for most people. Your local building code sets the legal limits, so always check it.

How is stringer length calculated?

The stringer is the diagonal of the staircase, so it equals the square root of the total rise squared plus the total run squared (stringer = sqrt(rise^2 + run^2)).

What is total run?

Total run is the horizontal distance the staircase covers. It equals the number of steps minus one, multiplied by the tread depth, because the top step lands on the upper floor.

Does this check building codes?

It flags the common US residential limits: riser no higher than 7.75 in, tread at least 10 in and headroom at least 80 in. Local codes differ, so confirm every dimension with your building department before you build.

Found this useful? Share it