Skip to main content
Mathovia
Calculator

Stair Rise & Run Calculator

Enter your total rise (floor to floor) and available run to get evenly spaced risers and treads that stay near common code limits.

Common residential limits: riser ≤ 7-3/4", tread ≥ 10". Always confirm against your local building code.

Number of risers
15
Number of treads
14
Riser height
7.200"
Tread depth
8.571"
Stair angle
40.0°
2R + T = 22.97" (comfort range 24–25")
Riser height within typical 4"–7¾" limit
Tread depth below 10" minimum

What the calculator works out

Give this stairs calculator your total floor-to-floor height and a target step height, and it sizes the whole staircase: how many risers you need, the exact height of each one, how many treads that leaves, how deep each tread is for the run you have, the resulting angle, and whether the numbers land inside common code limits.

The one input people underestimate is total run — the horizontal distance the stair is allowed to take up. Rise is fixed by the building; run is a design choice, and it is what determines whether your treads are deep enough to be legal and comfortable.

Rise, run, riser, tread

  • Total rise — vertical distance from the lower finished floor to the upper finished floor.
  • Total run — horizontal distance from the face of the first riser to the face of the last.
  • Riser — the vertical face of one step, and its height.
  • Tread — the horizontal surface you step on, and its depth front to back.

A flight always has one more riser than treads, because the top riser brings you up to the landing, which is not itself a tread.

The stair formulas

With as total rise, as the target riser height, and as total run:

is the riser count, rounded up so no single riser exceeds the target. is the actual riser height once the rise is split evenly. is the tread count, the tread depth, and the pitch of the stair. The comfort check is , which should sit around 24 to 25 inches.

Worked example

The calculator’s defaults are a total rise of 108 inches, a total run of 120 inches, and a target riser of 7.5 inches.

The comfort figure is inches. The riser height passes — 7.2 inches is under the 7¾-inch limit — but the tread depth of 8.571 inches is below the 10-inch minimum. With only 120 inches of run for 14 treads, the steps come out too shallow. You would need roughly inches of run to reach a code-legal tread, or a landing and a turn to fit the stair into the space you have.

Code limits and comfort rules

Typical residential figures from the International Residential Code:

DimensionLimit
Maximum riser height7¾ in
Minimum tread depth10 in
Riser-to-riser variation≤ 3/8 in
Minimum headroom6 ft 8 in
Minimum stair width36 in

Three long-standing comfort formulas, any one of which is a useful cross-check:

  • to — the stride rule.
  • to — a simpler sum.
  • to — the product rule.

These are guidelines, not law. Your local building department’s adopted code and amendments are what actually govern the job — the stair code basics guide goes into the details.

Stair stringer length

The stringer is the sawtooth board the treads sit on, and its length is the hypotenuse of the whole flight — total rise on one side, total run on the other:

For the 108-inch rise and 120-inch run above, the stair stringer works out at inches, so a 16-foot board is the shortest stock that will do it. Two practical points the formula does not tell you:

  • Buy longer than the calculation. The cuts waste material at both ends, and a stringer that comes up half an inch short is firewood.
  • Drop the bottom of the stringer by one tread thickness. Cutting the notches to the raw numbers makes the first step taller than the rest by exactly the thickness of the tread stock — the single most common stringer mistake.

A stair tread is the horizontal board you step on; a riser is the vertical face between treads. Open-riser stairs leave that face off, which changes the look but not the rise and run arithmetic.

Adjusting when the numbers don't work

If the tread comes out too shallow, as in the example above, your options are:

  • Give the stair more run. The cleanest fix when the space allows it.
  • Use a landing and a turn. An L-shaped or U-shaped stair fits the same rise into a smaller footprint.
  • Accept a steeper stair only where code permits it — some spaces allow steeper "secondary" stairs, but main stairs rarely qualify.

Reducing the riser count does not help the tread problem; it makes each riser taller and the stair steeper still.

Common mistakes

  • Measuring rise to the subfloor. Total rise is finished floor to finished floor. Forgetting the flooring thickness at one end throws off every riser.
  • Dividing run by the riser count. Tread depth uses the number of treads, which is one fewer.
  • An odd first or last step. If the stringer sits on a slab that later gets tiled, the bottom riser ends up shorter than the rest — account for finished surfaces at both ends.
  • Ignoring nosing. The tread’s nosing overhang adds depth for your foot but does not count toward the code tread measurement.
  • Forgetting headroom and the handrail. A stair that pencils out can still fail if the opening above it is too low or there is no room for a graspable rail.

Frequently Asked Questions

How many steps do I need for a 108-inch rise?+

At a 7.5-inch target riser, 108 ÷ 7.5 = 14.4, which rounds up to 15 risers. That gives 14 treads and an actual riser height of 108 ÷ 15 = 7.2 inches, comfortably under the 7¾-inch limit.

What is the maximum riser height for stairs?+

The International Residential Code caps residential risers at 7¾ inches (196 mm). Commercial stairs under the IBC are lower, typically 7 inches. Local codes can be stricter, so always confirm before you cut stringers.

What is the minimum tread depth?+

The IRC minimum is 10 inches (254 mm) measured nosing to nosing, not counting the nosing overhang itself. Some jurisdictions require 11 inches. Deeper treads pair with shorter risers for a gentler stair.

What is the 2R + T rule?+

Twice the riser height plus the tread depth should land between 24 and 25 inches for a comfortable stride. It comes from the average step length of a walking adult. A stair with 7-inch risers and an 11-inch tread gives 2(7) + 11 = 25.

How do I calculate the angle of a staircase?+

Take the arctangent of riser height divided by tread depth. A 7-inch riser over an 11-inch tread is arctan(7 ÷ 11) ≈ 32.5°. Comfortable residential stairs fall roughly between 30° and 37°; anything past about 42° feels like a ladder.

Why does my tread depth come out below 10 inches?+

There is not enough total run for the number of treads. Tread depth is run divided by treads, so you either need more horizontal run, fewer steps (which raises each riser), or a switchback with a landing to fit the stair in the space you have.

Related tools & reading