Construction, DIY & Materials

Stair Rise and Run Calculator

Calculate the exact riser height, tread depth, and stringer length for a safe, code-compliant set of stairs (7-11 rule).

in
in
Number of Steps
15

Calculated locally in your browser. Fast, secure, and private.

The Rhythm of Ascent

Building a staircase is the ultimate test of a carpenter's mathematical precision. Unlike building a wall where a quarter-inch mistake can be covered by drywall, a quarter-inch mistake on a staircase is a massive tripping hazard.

Human muscle memory is incredibly precise. When you walk up a flight of stairs, your brain expects every single step to be the exact same height. If the bottom step is 7 inches tall, and the next step is 7.5 inches tall, your toe will catch the edge and you will trip.

To prevent this, the entire staircase must be calculated backwards. You cannot just pick a step height and start building; you must take the total vertical distance between the two floors and divide it perfectly into identical, mathematically precise increments.

The Golden Rules of Stair Design (IRC Code)

To ensure stairs are comfortable and safe, the International Residential Code (IRC) dictates strict maximums and minimums for residential stairs:

  • Maximum Riser Height: The vertical part of the step cannot exceed 7.75 inches (7 3/4"). If it is taller, the stairs are too steep and exhausting to climb.
  • Minimum Tread Depth: The horizontal part you step on (the Run) must be at least 10 inches deep.
  • The 3/8ths Rule: The height of the tallest step and the height of the shortest step in a single flight of stairs cannot differ by more than 3/8ths of an inch. (Ideally, they should be absolutely identical).

How to Calculate Rise and Run

To calculate a staircase, you must find the total vertical height, divide it by a comfortable target step height (usually around 7.25 inches) to find the number of steps, and then divide the total height again by that exact number of steps.

The Formula

  1. Measure the Total Rise (the exact vertical distance from the finished floor of the bottom level to the finished floor of the top level) in inches.
  2. Pick a Target Riser Height (7.25 inches is considered the most comfortable ergonomic height).
  3. Divide the Total Rise by the Target Riser.
  4. Round to the nearest whole number. This gives you the total number of risers (steps) you need.
  5. Divide the Total Rise by that whole number to find the Exact Riser Height.

Number of Steps = Round(Total Rise ÷ Target Riser)

Where:
Number of Steps=
Input value
Round=
Input value
Total Rise=
Total Rise (Height)
Target Riser=
Target Riser Height

Exact Riser Height = Total Rise ÷ Number of Steps

Example Calculation

You are building stairs from a basement to the first floor. The total vertical distance from the concrete floor to the hardwood floor above is exactly 108 inches. You want a comfortable target step around 7.25 inches.

  1. Divide by Target: 108 ÷ 7.25 = 14.89 steps
  2. Round to nearest whole number: 15 Steps
  3. Calculate Exact Riser Height: 108 ÷ 15 = 7.20 inches

Your staircase will have exactly 15 vertical risers, and every single one must be cut to exactly 7.20 inches high.

The Tread vs. Riser Count Rule

There is one geometric rule of stairs that constantly confuses beginners: You will always have one less Tread than you have Risers.

If your math says you need 15 Risers (vertical steps) to get to the second floor, you only need 14 Treads (horizontal boards to step on). Why? Because the upper floor itself acts as the 15th tread. You step off the 14th wooden tread onto the second-story floor.

Frequently Asked Questions

The Rule of 18 (sometimes the Rule of 17 or 25) is an old architectural formula for stair comfort. It states that the Rise (height) plus the Run (depth) of a single step should equal roughly 17 to 18 inches. So if your riser is 7.5 inches tall, your tread should be 10 inches deep (7.5 + 10 = 17.5). If your riser is very short, like 6 inches, your tread must be very deep, like 12 inches, so you don't feel like you have to take tiny, shuffling steps.

You MUST measure from the finished floor. If the bottom floor will have thick 1-inch tile, and the top floor will have thin carpet, that 1-inch difference will completely ruin your math. You must account for the final thickness of the flooring materials when calculating the Total Rise, or your first and last steps will violate the 3/8ths rule and fail inspection.

The nosing is the rounded front edge of the tread that sticks out past the vertical riser board. The building code requires a nosing (usually 3/4 inch to 1 1/4 inches) on all stairs with solid risers. It increases the horizontal surface area for your foot to land on without changing the overall footprint of the staircase. However, the nosing depth is NOT included when calculating the 'Run' of the stairs.