Stair Calculator: Rise, Run, and Building Codes

The Fundamentals of Stair Geometry

Every staircase is defined by two key measurements: rise and run. The rise is the vertical height of each step, and the run is the horizontal depth of each tread. These two dimensions determine how steep the stairs feel, how comfortable they are to climb, and whether they meet building code requirements. Getting the ratio right is essential for both safety and usability.

The total rise is the vertical distance from the finished floor at the bottom to the finished floor at the top. The total run is the horizontal distance the staircase covers from the face of the first riser to the face of the last riser. Dividing the total rise by the desired individual riser height gives you the number of steps, and dividing the total run by the number of treads gives you the individual tread depth.

Building Code Requirements

The International Residential Code, which most local codes are based on, sets specific limits for stair dimensions. Understanding these requirements is critical because non-compliant stairs can fail inspection, delay your project, and create safety hazards.

  • Maximum riser height: 7.75 inches (196 mm)
  • Minimum tread depth: 10 inches (254 mm)
  • Maximum variation between risers: 3/8 inch (9.5 mm)
  • Minimum stair width: 36 inches (914 mm)
  • Minimum headroom clearance: 6 feet 8 inches (2032 mm)
  • Handrails required on at least one side, 34 to 38 inches above the stair nosing

The consistency requirement is particularly important. If your risers vary by more than 3/8 inch from tallest to shortest, the staircase fails code. Inconsistent risers are a leading cause of stair falls because people develop a rhythm while climbing, and an unexpected change in height disrupts that rhythm.

Finding the Comfortable Sweet Spot

While building codes set the minimum and maximum bounds, the most comfortable stairs fall within a narrower range. A riser height of 7 to 7.5 inches combined with a tread depth of 10 to 11 inches is widely considered ideal for interior residential stairs. This combination creates a natural stride that most adults find easy to navigate.

There is a classic rule of thumb that helps verify comfort: the sum of two risers and one tread should fall between 24 and 25 inches. For example, two 7.25-inch risers plus a 10.5-inch tread equals 25 inches, which is right in the target range. Another guideline states that the riser height plus the tread depth should equal approximately 17 to 18 inches. Both formulas help you check whether your planned dimensions will feel natural.

Calculating Your Staircase Step by Step

Start by measuring the total rise from finished floor to finished floor. This is crucial and must include the thickness of any flooring material that has not yet been installed. If the lower floor will get 3/4-inch hardwood, add that to your measurement. A common mistake is measuring before the flooring goes in and ending up with a first or last step that is off by the flooring thickness.

Divide the total rise by your target riser height to get the number of risers. If your total rise is 108 inches and you want 7.25-inch risers, dividing gives you 14.9, which you round to 15 risers. Then divide 108 by 15 to get the actual riser height of 7.2 inches. The number of treads is always one less than the number of risers because the top floor serves as the final tread. In this case, 14 treads at 10.5 inches each gives a total run of 147 inches, or 12 feet 3 inches.

Special Stair Configurations

Not every staircase is a straight run from bottom to top. L-shaped stairs include a landing where the staircase turns 90 degrees. U-shaped stairs turn 180 degrees with a landing between two parallel flights. These configurations save space compared to a single straight run but require careful planning to ensure the landing dimensions meet code requirements.

Winding stairs use pie-shaped treads at the turn instead of a flat landing. Building codes regulate the minimum tread width at the narrow end, typically 6 inches measured 12 inches from the narrow side. Spiral stairs have their own set of code requirements and are generally allowed only as secondary stairs in residential construction, not as the primary means of access between floors.

Stringer Layout and Construction

Stringers are the diagonal structural members that support the treads and risers. For a standard residential staircase, three stringers are typical: one on each side and one in the center. Wider stairs may need additional center stringers. A framing square with stair gauges clamped to it is the traditional tool for marking the rise and run cuts on the stringer lumber.

Use straight, clear lumber for stringers, as knots and grain irregularities in the cut-out areas can weaken the structure. The minimum effective depth of a notched stringer after the tread and riser cuts should be at least 3.5 inches. Running your total rise and desired dimensions through a stair calculator before cutting any lumber ensures every riser and tread falls within code limits and the overall geometry works with your available space.