ThisCalculator

Construction

Construction Stair Calculator: Rise, Run & Code

Updated · Standard formula, shown below

Number of steps 14
Rise per step
7.50 in
Result
Run per step
9.23 in
Result
Stair angle
39.1 deg
Result

Construction Stair Calculator: Rise, Run & Code

A construction stair calculator works out the number of steps, the rise (vertical height) of each step, and the run (horizontal depth) of each tread for a set of stairs. You enter the total rise (floor-to-floor height) and total run (horizontal distance available), and the calculator returns the number of steps, the individual rise, the individual run, and the stair angle. This is the first step in building any code-compliant staircase, whether for a deck, a porch, or an interior remodel.

Formula

The core formulas for stair construction are:

  • Number of steps (n) = ceil(Total rise / Maximum rise per step). The maximum rise is typically 7.75 inches (196 mm) for residential stairs, but local codes vary.
  • Rise per step = Total rise / n
  • Run per step = Total run / (n – 1). The run is the horizontal depth of each tread, measured from the nosing of one tread to the nosing of the next.
  • Stair angle = atan(rise / run) in degrees.

Variables are defined as:

  • Total rise (t) – vertical distance from the finished floor below to the finished floor above, in inches.
  • Total run (r) – horizontal distance from the face of the first riser to the face of the last riser, in inches.
  • n – number of steps (risers).
  • Rise – height of each step, in inches.
  • Run – depth of each tread, in inches.

Worked Example

Using the default values from the calculator (total rise = 105 in, total run = 120 in):

  1. Number of steps = ceil(105 / 7.5) = ceil(14) = 14 steps.
  2. Rise per step = 105 / 14 = 7.5 inches.
  3. Run per step = 120 / (14 – 1) = 120 / 13 = 9.23 inches.
  4. Stair angle = atan(7.5 / 9.23) = atan(0.8125) ≈ 39.1°.

So for a 105-inch rise and a 120-inch run, you get 14 steps, each with a 7.5-inch rise and a 9.23-inch run. The angle is about 39 degrees, which is within the typical comfortable range of 30–40 degrees for residential stairs.

How to Measure Total Rise and Run

Accurate measurement is critical. The total rise is the vertical distance from the finished surface of the lower floor to the finished surface of the upper floor. If you are building a deck, measure from the top of the decking to the ground (or the top of the concrete pad). For interior stairs, measure from the top of the finished floor below to the top of the finished floor above. Always measure at least twice, and account for any flooring that will be added later.

The total run is the horizontal distance available for the stairs. This is often constrained by the layout. If you are building between two walls, measure the clear distance. For an open staircase, you can choose the run based on the desired tread depth and the number of steps.

Remember that the total run is not the overall length of the stringer; it is the horizontal projection. The stringer length is the hypotenuse of a right triangle with rise and run as the legs.

Common Mistakes and Code Issues

One of the most frequent mistakes is confusing the number of steps with the number of treads. The number of risers (steps) is always one more than the number of treads, because the upper floor acts as the final tread. In the example above, 14 steps produce 13 treads. Many DIYers forget this and cut the stringer with the wrong number of treads.

Another common error is using the total rise without accounting for the thickness of the tread material. If you plan to add 1-inch thick treads, the actual rise of each step will be reduced by that thickness unless you adjust the stringer cuts. The calculator assumes the rise is measured from the top of one tread to the top of the next, so if you add treads later, you need to subtract the tread thickness from the rise when cutting the stringer.

Building codes typically require:

  • Maximum rise: 7.75 inches (residential) or 7 inches (commercial).
  • Minimum run: 10 inches (residential) or 11 inches (commercial).
  • Consistency: the greatest rise and the smallest rise cannot differ by more than 3/8 inch.
  • Handrails on stairs with more than 3 risers.
  • Headroom of at least 6 feet 8 inches, measured vertically from the nosing line.

Always check your local code, as some jurisdictions have stricter requirements.

How to Choose the Right Stair Dimensions

The ideal stair is comfortable and safe. The general rule is that the sum of two rises and one run should be between 24 and 25 inches. For example, a 7.5-inch rise and a 10-inch run gives 2×7.5 + 10 = 25 inches, which is comfortable. A steeper stair might have a 7.75-inch rise and a 9.5-inch run, giving 2×7.75 + 9.5 = 25 inches, but the run is below the 10-inch minimum in many codes.

If you have a tight space, you might need to use a steeper angle, but keep the rise within code. If you have a long run, you can use a shallower rise, but that increases the number of steps and the overall length. The calculator helps you quickly test different total run values to see the resulting rise and run.

For exterior stairs, consider drainage and slip resistance. Treads should have a slight slope (about 1/4 inch over 12 inches) to shed water, but this is often achieved by the tread surface itself, not the stringer cut.

Limitations of the Calculator

This calculator gives you the basic geometry, but it does not account for:

  • Tread thickness – you must subtract this from the rise when cutting stringers.
  • Nosing overhang – typically 3/4 to 1.25 inches, which extends the tread beyond the riser.
  • Landings – if the total rise is more than about 12 feet, you may need a landing to break up the flight.
  • Stringer material – the calculator assumes a straight run, not a spiral or curved stair.

For a typical deck with a total rise of 105 inches, you will need 14 steps. If you add 1-inch treads, the actual rise cut on the stringer should be 7.5 – 1 = 6.5 inches, but the rise from the top of one tread to the top of the next remains 7.5 inches. This is a subtle but crucial detail.

Frequently Asked Questions

How many steps do I need for a 10-foot rise?

A 10-foot rise is 120 inches. Dividing by 7.5 inches gives 16 steps. With 16 steps, the rise per step is exactly 7.5 inches. The run will depend on the total run you have available. If you use a 10-inch run, the total run will be 15 × 10 = 150 inches (12.5 feet).

What is the maximum rise for a stair?

Most residential codes cap the rise at 7.75 inches. Some older homes have 8-inch rises, but that is generally considered steep and is not allowed in new construction. Commercial stairs are limited to 7 inches. Always check your local code.

What is the minimum tread depth?

For residential stairs, the minimum run (tread depth) is typically 10 inches. Some codes allow 9 inches for stairs that are not the main egress, but 10 is the safe standard. The run is measured from nosing to nosing, not including the overhang.

How do I calculate the stringer length?

The stringer length is the hypotenuse of a right triangle with the total rise and total run as the legs. Using the example, the stringer length is sqrt(105² + 120²) = sqrt(11025 + 14400) = sqrt(25425) ≈ 159.5 inches. However, you need to account for the thickness of the stringer material and the treads, so it is easier to lay out the stringer using the rise and run per step.

Can I use this calculator for a deck stair?

Yes, but you must measure the total rise from the top of the decking to the ground (or the top of the concrete pad). If the ground is sloped, you need to measure at the point where the stairs will land. You may also need to dig a small footing for the bottom of the stringers.

What is the ideal stair angle?

Comfortable stairs have an angle between 30 and 40 degrees. A 7.5-inch rise with a 10-inch run gives an angle of about 36.9 degrees, which is ideal. Steeper than 40 degrees feels like a ladder; shallower than 30 degrees takes up more space and can feel like a ramp.

Related

Formula used
in t | Total rise | in | 105 | 0
in r | Total run | in | 120 | 0
out n | Number of steps | - | ceil(t / 7.5) | 0
out rise | Rise per step | in | t / n | 2
out run | Run per step | in | r / (n - 1) | 2
out angle | Stair angle | deg | atand(rise / run) | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.