Skip to content
Measure the Build logoMeasure the Build

Stairs

Stair Calculator

Enter one measurement — finished floor to finished floor — and get the riser height you actually cut, the tread count, the total run, the stringer length and the angle, each checked against the IRC limits. The table shows what one step more or fewer does to the same flight.

in

Measure to the finished surfaces, both ends. Flooring that goes down after the stringers are cut is the single most common reason a finished flight ends up with an illegal last step.

in

What you are aiming for, not what you will get. The riser count is rounded to the nearest whole number, then the actual riser is the total rise divided by that count — because every riser in a flight has to match within 0.375″.

in

Minimum 10″. At 11″ or more no nosing is required at all, which is why 11″ is a common target even though 10″ is legal.

Riser height

6.929

inches

14 risers · 13 treads

Meets IRC R311.7

The working

Risers: 97 ÷ 7 = 13.86 → 14

Riser height: 97 ÷ 14 = 6.9286″ (max 7.75″)

Treads: 14 − 1 = 13

Total run: 13 × 11 = 143.00″ (11.92 ft)

Stringer: √(97² + 143.0²) = 172.79″ (14.40 ft)

Angle: 34.1°

Rise + run: 17.93″ (trade comfort band 17–18″)

One step either way
RisersHeightRunCode
137.462″11.00 ftOK
146.929″11.92 ftOK
156.467″12.83 ftOK

Planning estimate only. Check the result against current product instructions, local requirements, and your own takeoff. See the calculator disclaimer.

The riser count is the only real decision

A stair layout looks like it has many variables and really has one. The total rise is fixed by the building. Once you pick how many risers to divide it into, everything else follows: the riser height is the rise divided by that count, the tread count is one fewer, the run is the treads times the tread depth, and the stringer is the hypotenuse over the lot. That is why this calculator asks for a target riser height rather than a riser height. You do not get to choose the riser height. You choose a riser count, and the height falls out of it.

The reason it works that way is R311.7.5.1. The greatest riser in a flight may exceed the smallest by no more than 3/8 inch, and the same tolerance applies to treads under R311.7.5.2. So you cannot make thirteen risers at 7 inches and one at 6 to use up the remainder — every riser has to be the rise divided evenly. Anyone who has felt a stair where the bottom step is short knows why the code cares; the commentary is blunt that variation beyond the tolerance interferes with safe travel.

Measure to finished floor, both ends

The most expensive mistake on this page is not arithmetic. It is measuring the total rise to a subfloor, cutting the stringers, and then having three-quarter-inch flooring go down at the top and not the bottom. That does not spread across the flight — it lands entirely on one riser, which is how a flight that was laid out correctly ends up outside the 3/8 inch tolerance. Work in finished dimensions from the start, even when the finish floor is months out and undecided. If it is genuinely unknown, cut the stringers last.

Legal is not the same as good

A flight at the exact minimums — 7¾ inch risers and 10 inch treads — passes inspection and is noticeably steep. That is why the result carries a rise-plus-run figure alongside the code verdict. Builders have aimed for one riser plus one tread landing between 17 and 18 inches for far longer than the IRC has existed. It has no legal force, a flight can satisfy it and still fail code, and it can fail the band while being entirely legal. It is a second opinion, not a requirement, and this page reports the two separately rather than blending them into a single pass/fail.

Tread depth is worth one more thought. The minimum is 10 inches, but at 11 inches R311.7.5.3 stops requiring a nosing at all. If you have the floor space, 11 inches removes a detail from the build, gives a more comfortable stair, and takes an inspection item off the list. It costs you one extra inch of run per tread — on a 13-tread flight, about 13 inches of floor.

What this layout does not cover

This is stair geometry. It does not size the stringer stock, check the remaining material behind the notches, or design the connection at the top and bottom — all structural questions that depend on span, species and support. It does not handle winders, spiral stairs, curved flights, or a landing partway up, each of which has its own subsection of R311.7. And it does not check headroom, because headroom is set by the floor opening above rather than by the flight: the code requires 6 ft 8 in measured from the sloped line adjoining the nosings, and that is the constraint that most often forces a stair to move rather than be re-cut.

Guards, handrail height and grip size, and the openings a 4-inch sphere may not pass through are all separate requirements in R311.7.8 and R312. Deck stairs carry the same R311.7 geometry, but the framing that supports them is sized separately — see deck joist spans for that side of the job.

Sources

Grouped by manufacturer or publisher, then by document. Expand a group for the cited document, its verified-on date, and every value taken from it — all of it stays in the HTML either way.

IRC(12 documents, 12 values)
Trade conventions(1 document, 1 value)

Frequently asked questions

How do I calculate stair risers and treads?

Divide the finished floor-to-floor rise by your target riser height and round to the nearest whole number — that is the riser count. Then divide the total rise by that count to get the actual riser height, which is what you cut. There is always one fewer tread than riser, because the top riser lands on the upper floor. Total run is the tread count multiplied by the tread depth.

What is the maximum stair riser height?

7¾ inches under IRC R311.7.5.1, measured vertically between the leading edges of adjacent treads. That is a ceiling rather than a target — most flights come out below it because the total rise rarely divides evenly into 7¾. Commercial stairs fall under the IBC with a tighter limit, and your jurisdiction can amend the IRC, so confirm locally.

Why do all the risers have to be the same height?

IRC R311.7.5.1 allows the greatest riser in a flight to exceed the smallest by no more than 3/8 inch, and R311.7.5.2 applies the same 3/8 inch tolerance to tread depth. The code commentary notes that larger variations interfere with safe travel. In practice this is the rule that fails flights at inspection: an uneven last step is the most common stair defect there is.

How long does a stair stringer need to be?

The stringer length is the hypotenuse over the whole flight — the square root of total rise squared plus total run squared. For a 97 inch rise with 13 treads at 11 inches, that is √(97² + 143²) ≈ 172.8 inches, or about 14.4 feet. Buy stock longer than that: the calculation is the line of the cut, and it does not allow for the material left above and below the notches.

What is the ideal rise and run for stairs?

Stair builders commonly aim for one riser plus one tread to land between 17 and 18 inches. It is a rule of thumb with no force in an inspection — a flight can meet every IRC dimension and sit outside the band, or sit inside it and still fail. It is worth checking anyway, because a stair built right at the minimums of 7¾ inch rise and 10 inch tread is perfectly legal and noticeably steep.

Do I measure the rise before or after flooring goes down?

After — or at least to the finished heights you know are coming. Total rise means finished floor to finished floor. Cutting stringers to the subfloor and then adding three-quarter-inch hardwood at the top only changes one riser, which is exactly the 3/8 inch tolerance problem in R311.7.5.1. Work out the finished dimensions first, even if the flooring is months away.