1. Home
  2. Construction
  3. Stair Calculator
Construction

Stair Calculator

Estimate a whole riser count for a total rise and maximum intended riser height.

Your numbers

m
m

Results update as you type. Nothing you enter is sent anywhere.

Result

15 risers

Riser count = ceiling(total rise ÷ selected maximum riser height). Riser count only, not tread count or a code-compliant stair design. Actual uniform riser height = total rise/count when count is positive. Check local code, tread depth and headroom.

Formula used

Riser count = ceiling(total rise ÷ selected maximum riser height)

The Stair Calculator tells you how many risers a staircase needs to climb a given height without any step exceeding the riser height you set. It also lets you work out the actual height of each step. Use it in early planning for decks, basement stairs and garden steps, before checking the full design against your local building code.

How to use the Stair calculator

  1. Measure Total vertical rise from the finished surface at the bottom to the finished floor at the top, in meters. Include flooring that is not yet installed.
  2. Enter Maximum intended riser height in meters. This is the tallest step you will accept, often set by the building code.
  3. Read the number of risers. Divide the total rise by that number to get the actual, equal riser height.
  4. Plan the treads: a straight flight that ends at the upper floor normally has one fewer tread than risers.

How the stair calculation works

FormulaRiser count = ceiling(total rise ÷ selected maximum riser height)

Why the count is rounded up

If 2.7 m ÷ 0.19 m gives 14.2, fourteen risers would each be 19.3 cm, taller than your limit. So the calculator rounds up to 15, which makes each riser 2.7 ÷ 15 = 0.18 m. Rounding up always gives steps at or below your maximum, never above it.

All risers in a flight should be the same height; people trip on a step that differs from the others. The US International Residential Code limits the variation within a flight to 3/8 inch between the tallest and shortest riser.

Code limits to check

For homes in the US, the International Residential Code caps riser height at 7¾ inches (0.197 m) and requires treads at least 10 inches (0.254 m) deep, with at least 6 ft 8 in of headroom. Many jurisdictions adopt the IRC with local changes, and commercial buildings follow different rules, so confirm with your building department before you cut stringers.

Treads determine how far the stair projects. 14 treads at the 10-inch minimum need a total run of 3.556 m. If that will not fit, you need a landing or a different layout, not steeper steps.

Worked example

Basement stair with a 2.7 m rise and a 0.19 m maximum riser

Total vertical rise: 2.7 m · Maximum intended riser height: 0.19 m

  1. Divide: 2.7 ÷ 0.19 = 14.21 risers.
  2. Round up so no step exceeds 0.19 m: 15 risers.
  3. Actual riser height: 2.7 ÷ 15 = 0.18 m (about 7.09 inches).
  4. Treads: 15 − 1 = 14. At 0.254 m each, the total run is 14 × 0.254 = 3.556 m.

Result: 15 risers

Assumptions and limits

Riser count only, not tread count or a code-compliant stair design. Actual uniform riser height = total rise/count when count is positive. Check local code, tread depth and headroom.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

What is the maximum stair riser height?

Under the US International Residential Code it is 7¾ inches (about 19.7 cm) for homes. Commercial buildings and local codes can set different limits, so check the code your area has adopted.

How many steps do I need for an 8-foot rise?

8 ft is 96 inches. At a 7¾-inch maximum, 96 ÷ 7.75 = 12.4, so 13 risers of about 7.38 inches each. In meters, enter 2.4384 and 0.19685.

What is the difference between risers and treads?

A riser is the vertical part of a step and a tread is the part you stand on. A straight flight ending at a floor has one fewer tread than risers, because the top floor acts as the last step.

How deep should stair treads be?

The IRC requires at least 10 inches (25.4 cm) for residential stairs, measured from nosing to nosing. Deeper treads are more comfortable but make the staircase longer.

Sources