b2KIT

Staircase Calculator

Calculate rise, run, number of steps, stringer length, and headroom for safe stairs.

Tested tool guide Tested browser tools Checked August 16, 2026

What Staircase Calculator does, with a checked example

A staircase is just a vertical rise divided into equal steps, and this tool does that division. You enter the floor-to-floor rise and the horizontal run the stair can occupy; it returns the number of risers, the riser height, the tread depth, the stringer length, and the headroom, and shows how the result sits against the usual residential limits: 7.75 in maximum riser, 10 in minimum tread, 80 in headroom. The step people get wrong most often is the off-by-one: the upper floor is the last tread, so a flight has one fewer tread than it has risers.

Worked example

A concrete input and expected output from the current implementation.

Input

Total rise: 105 in. Total run: 140 in. Desired riser height: 7 in.

Expected output

15 risers at 7.0 in each; 14 treads at 10.0 in each; stringer length 175 in (14 ft 7 in).

105 in divided by 7 in is exactly 15, so the risers land at 7.0 in with no rounding, and the 140 in run split across 14 treads (15 risers minus the top step, which is the upper floor) gives exactly 10.0 in per tread. The stringer is the hypotenuse: the square root of 105 squared plus 140 squared is 175 in, the 3-4-5 triangle scaled by 35, which puts this flight inside the usual residential limits of a 7.75 in maximum riser and a 10 in minimum tread.

How the result is produced

1

Dividing the rise into steps

The tool divides the total rise by the riser height you want, rounds to a whole number of risers, then recomputes the riser height so every step is identical - residential rules allow only 3/8 in of variation between risers. The run is then split across the treads, and because the upper floor is the top step, the tread count is one less than the riser count.

2

Stringer length and headroom

The stringer is the diagonal member under the treads, and its length is the hypotenuse of the rise-and-run triangle: the square root of rise squared plus run squared. Headroom is measured vertically from the nosing line - the line through the front edges of the treads - to the underside of the floor above, and it varies along the flight, so an 80 in minimum has to hold at the tightest point.

Good uses

  • Planning a stair for a remodel: with the floor-to-floor rise and the floor space you have, find a riser and tread pair that fits and stays inside the usual limits.
  • Buying material: get the stringer length to order the right stock, plus the exact riser and tread counts for laying out the cuts.
  • Checking an existing stair or a builder's drawing: enter the measured rise and run and see whether the step sizes come out within the limits before you sign off on the work.

Limits and checks

  • The limits are U.S. residential defaults. The 7.75 in riser and 10 in tread figures come from the International Residential Code; commercial stairs under the IBC are stricter at 7 in risers and 11 in treads, and local amendments vary. A result that passes here is not a permit.
  • The off-by-one trips people doing the math by hand: a 15-riser flight has 14 treads. Dividing the run by 15 instead of 14 changes the tread depth by about an inch and can make a compliant stair look illegal or the reverse.
  • Headroom is measured vertically from the nosing line, not the tread surface, to the lowest thing above the stair. The floor assembly depth and any beam under the opening both cut into it, so the reported figure depends on what you enter for the structure above.

Common questions

Why does the tool show 14 treads when I asked for 15 steps?

Because the upper floor is the top step: a flight needs a riser for every step of vertical rise, but the final riser lands on the floor you are walking onto, which is already there. For a 105 in rise at 7 in risers that means 15 risers and 14 treads, and a stringer framed with 15 tread notches comes out one step too long.

What riser and tread sizes are comfortable, not just legal?

The usual residential limits are 7.75 in maximum riser and 10 in minimum tread, and most builders land near 7 in risers with 10-11 in treads. The old Blondel rule of thumb, twice the riser plus the tread near 25 in, predicts comfort; a 6 in riser with a 12 in tread can pass the legal limits yet feel long and flat.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools