Skip to content · 跳到主要内容

Stair Calculator

Estimate stair riser count, actual riser height, total run, and stair angle.

in

Enter positive floor rise, maximum riser height, and tread depth.

in

Enter positive floor rise, maximum riser height, and tread depth.

in

Enter positive floor rise, maximum riser height, and tread depth.

Stair layout
--
--
Riser height
--
Total horizontal run

Stair

The number of risers is the ceiling of total rise divided by maximum riser height. Actual riser height is total rise divided evenly across those risers.

Formula

risers = ceil(total rise ÷ maximum riser)
actual riser = total rise ÷ risers
horizontal run = (risers − 1) × tread depth

Comfortable dimensions

Building codes govern the maximum riser height and minimum tread depth, commonly around 7.75 inches per riser and 10 inches of tread in residential work, but the more useful guide is comfort. A long-standing rule of thumb is that twice the riser plus the tread should fall between 24 and 25 inches. Deviating from it produces stairs that feel steep or awkward even when every individual measurement is legal.

Why the riser is divided evenly

The total rise is fixed by the floor-to-floor height, so the number of risers must be a whole number and the actual riser is the total divided by that count. If the count is derived from the maximum permitted riser, every step comes out slightly shorter than the limit, which keeps the flight legal without a single oversized step. Uneven risers are one of the most common causes of falls, so adjust the whole flight rather than trimming one tread.

Frequently Asked Questions

What is a comfortable riser height?

A common rule of thumb is that twice the riser plus the tread should be between 24 and 25 inches, though local codes set the legal limits.

Why is the riser not exactly the maximum?

The total rise is divided by a whole number of risers, so each step usually ends up slightly below the maximum permitted.

How many treads does a flight need?

One fewer than the number of risers, because the top step lands on the upper floor rather than on a tread.

Are building codes included in the calculation?

No. The values shown are guidance. Always confirm the requirements of your local authority before building.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision