Stair Calculator

Work out risers, treads, stringer length and stair angle for any rise.

Last updated 2026-11-26 · How we calculate this

Enter the Stair Measurements

Measurement system
From the finished floor below to the finished floor above.
Most US homes: 7¾ in (IRC). England and Wales: 220 mm. Check your local code.
Run of each step, not counting the nosing. US minimum 10 in; England and Wales 220 mm.

Your Stairs

Enter the total rise to see the stairs.

This is a planning tool for a single straight flight, not a building code check. It assumes level, finished floors and equal risers, and it does not account for headroom, landings, nosing, handrails or guards. Confirm the design with your local building department, building control or a qualified professional.

Quick Answer

Divide the total rise by the maximum riser height and round up to get the number of risers, then divide the rise by that number for the exact riser height. A 108 in rise with a 7¾ in limit needs 108 ÷ 7.75 = 13.94, so 14 risers of 108 ÷ 14 = 7.71 in.

How to Use This Calculator

Measure the height from the finished floor at the bottom to the finished floor at the top, then enter the tallest riser your code allows and the tread depth you want. The calculator works out how many steps you need, the exact height of each riser so they are all equal, how far the stairs will reach across the floor, the stringer length and the angle. A comfort check shows whether the step proportions feel natural to walk.

  1. Measure the total rise, floor to floor.
  2. Enter the maximum riser height from your local code.
  3. Enter the tread depth.
  4. Read the risers, treads, total run and stringer length.

The Formula

Risers = total rise ÷ max riser, rounded up · Riser height = total rise ÷ risers · Total run = (risers − 1) × tread depth · Stringer = √(rise² + run²)

Rounding the number of risers up keeps every step at or under the limit, and dividing the rise by that whole number makes all the risers equal, which matters for safety. There is one fewer tread than risers because the last step up lands on the upper floor. The stringer length comes from the Pythagorean theorem using the total rise and total run, and the angle is the inverse tangent of riser height over tread depth.

Worked Example

A 108 in (9 ft) floor-to-floor rise with a 7¾ in maximum riser and 10 in treads: 108 ÷ 7.75 = 13.94, so 14 risers of 7.71 in. There are 13 treads, so the total run is 13 × 10 = 130 in (10 ft 10 in). The stringer is √(108² + 130²) = 169.01 in, the angle is 37.65° and riser + tread is 17.71 in, within the comfort range.

Metric (England and Wales private stair): a 2,700 mm rise with a 220 mm maximum and 240 mm going needs 2,700 ÷ 220 = 12.27, so 13 risers of 207.69 mm. There are 12 treads, a total run of 2,880 mm, a stringer of 3,947.71 mm and an angle of 40.87°, under the 42° limit.

Frequently Asked Questions

What is the maximum riser height for stairs?

In the US, the International Residential Code allows a riser of up to 7¾ in with a tread of at least 10 in for homes, and most states and cities use it. In England and Wales, Approved Document K allows a rise of up to 220 mm and a going of at least 220 mm on a private stair, with a pitch no steeper than 42°. Local rules can differ, so always check.

How many steps do I need for a 9 ft ceiling?

Measure floor to floor rather than floor to ceiling, because the floor above adds its own thickness. A 9 ft ceiling often means a rise of about 9 ft 10 in or more once the joists and flooring are added. At exactly 108 in you need 14 risers; at 118 in you need 16 risers of 7.38 in.

Why is there one fewer tread than risers?

Each riser is a step up, and each tread is somewhere to stand between them. The top riser takes you onto the upper floor itself, which acts as the last tread. So a flight with 14 risers has 13 treads, and the total run is 13 tread depths.

How long should my stair stringer be?

Start from the straight line along the slope, which this calculator gives from the total rise and total run. Buy a board longer than that, because the stringer also needs material where it sits on the lower floor and attaches at the top, and the cut steps reduce the usable width. A 2 × 12 is a common choice in the US.

What is a comfortable stair angle?

Stairs feel natural when riser + tread is about 17 to 18 in, which usually gives an angle between about 30° and 38°. Steeper stairs save floor space but are harder to climb, while very shallow ones can trip people with an awkward stride. Many builders also check that 2 × riser + tread is about 24 to 25 in.

What does the calculator not cover?

It plans one straight flight. It does not check headroom, landings, handrails, guards, nosing, winders or open risers, all of which have their own rules. Use it to plan the layout, then confirm the design against your local code before you cut anything.

Sources: International Code Council, 2021 International Residential Code, Section R311.7.5 (stair treads and risers); UK Government, Approved Document K: Protection from falling, collision and impact