Skip to content

Stair Calculator

Plan a straight flight of stairs from the height between floors. Get the number of risers and treads, the exact riser height, the total run, the stringer length and the angle, with a check against US and UK limits.

Free, no sign-up · Last updated

Units
Finished floor to finished floor; 9 ft = 108 in
Code limit 7.75 in
Front to back, not counting the nosing
US defaults ·

14 risers of

7.71 in

Treads
13
Total run
130 in
Number of risers14
Number of treads13
Riser height7.71 in (7 11/16″)
Total run130 in (10 ft 10 in)
Stringer length (approx.)169 in (14 ft 1 in)
Stair angle37.6°
2 × riser + tread25.4 in (comfortable: 24–25)
Riser vs IRC (US homes)OK
Tread vs IRC (US homes)OK

Every riser in a flight should be the same height (the IRC allows 3/8 in of difference at most). Stringer length is a straight-line estimate; lay out the cuts with a framing square. Building codes vary by country, state and council, so check the rules where you live before you build.

Definition

What stair rise and run mean

Stair rise measures vertical height and stair run measures horizontal distance. A single riser is the height between adjacent steps, while tread depth is the horizontal distance from one nosing to the next. Total rise spans the finished floors.

Total rise
Finished lower floor to finished upper floor
Treads
Count depends on how the top step is formed
Before cutting
Check local code and actual headroom

How the calculator lays out a stair

Every riser in a flight must be the same height, so the first step is to divide the total rise by the largest riser you will accept and round up to a whole number of risers. Dividing the total rise by that number gives the actual riser height, which is always at or below your maximum.

The number of treads is one fewer than the risers when the upper floor forms the top step. Multiply the treads by the tread depth to get the total run: the horizontal floor space the stair needs. The angle and stringer length follow from the rise and run.

Worked example

The finished floors are 108 in (9 ft) apart and the stair will use the US maximum of 7¾ in per riser and 10 in treads. 108 ÷ 7.75 = 13.94, so 14 risers are needed, each 108 ÷ 14 = 7.714 in, or 7 11/16 in to the nearest sixteenth. There are 13 treads, so the run is 13 × 10 = 130 in (10 ft 10 in).

The stair angle is arctan(7.714 ÷ 10) = 37.6°, the stringer is about √(108² + 130²) = 169 in long, and 2 × 7.714 + 10 = 25.4 in, just above the comfortable 24 to 25 in range. Using 11 in treads lowers the pitch to 35.0° and increases the run to 143 in.

A metric example

A house in the UK has 2,700 mm between finished floors. Aiming for risers of no more than 190 mm gives 2,700 ÷ 190 = 14.2, so 15 risers of 180 mm. With a 250 mm going and 14 treads, the run is 3,500 mm, the pitch is 35.8° and 2R + G is 610 mm, comfortably inside Approved Document K’s 550 to 700 mm range.

Measuring the total rise

Measure from the top of the finished lower floor to the top of the finished upper floor at the place the stair will land. If the finished flooring is not down yet, add its thickness at the top and the bottom, because a thick tile or wood floor added later can make the first or last step a different height from the rest, which is a common trip hazard and a code failure.

Also check the headroom: the IRC asks for 6 ft 8 in measured up from the line of the tread nosings, and Approved Document K asks for 2 m (with some allowances in loft conversions).

Codes and safety

Building codes set more than riser and tread sizes: handrail height and grip, guards on open sides, nosing projection, stair width, landings and lighting are all covered. Rules differ by country, state and local council, and some areas adopt amendments, so treat the checks in this calculator as a first pass and confirm with your local building department or a qualified builder before you cut stringers.

Step-by-step example

Use a finished rise of 108 in, a selected maximum riser of 7¾ in and 10 in treads, with the upper floor as the final step.

StepResult
Risers14
Height per riser7.714 in
Treads13
Horizontal run130 in
Pitch37.6°
Estimated stringer length169.0 in
Twice the riser plus tread depth25.4 in

Formulas used

Risers and riser height

Risers = ⌈Total rise ÷ Maximum riser⌉

Riser height = Total rise ÷ Risers

Example: 108 in ÷ 7.75 = 13.94 → 14 risers of 108 ÷ 14 = 7.714 in.

Treads, run and angle

Treads = Risers − 1 (upper floor is the top step)

Total run = Treads × Tread depth

Angle = arctan(Riser ÷ Tread)

arctan
inverse tangent

Example: 13 × 10 in = 130 in; arctan(7.714 ÷ 10) = 37.6°.

Stringer and comfort

Stringer ≈ √(Total rise² + Total run²)

Stride = 2 × Riser + Tread

Example: √(108² + 130²) = 169.0 in; 2 × 7.714 + 10 = 25.4 in.

When the answer can mislead

  • A layout measured from unfinished subfloors can leave the first or last riser a different height.
  • Mark each rise from the exact dimension so small rounding differences don’t accumulate.
  • The diagonal estimate leaves out details such as stringer seat cuts and attachment clearances.

Questions

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

Measure from finished floor to finished floor, not to the ceiling. With 9 ft ceilings and a typical floor structure the total rise is often around 9 ft 10 in to 10 ft. For a total rise of exactly 108 in (9 ft) and the US limit of 7¾ in per riser, you need 108 ÷ 7.75 = 13.9, rounded up to 14 risers of 7.71 in (about 7 11/16 in) each, and 13 treads.

What is the maximum riser height?

In the US, the International Residential Code allows risers up to 7¾ in with treads at least 10 in deep, and the tallest and shortest riser in a flight may differ by no more than 3/8 in. Commercial buildings under the IBC are stricter at 7 in. In England and Wales, Approved Document K allows up to 220 mm for a private stair, with a going of at least 220 mm and a pitch of no more than 42°.

What is the difference between risers and treads?

A riser is the vertical part of a step and a tread is the horizontal part you stand on. A straight stair usually has one fewer tread than risers, because the upper floor acts as the last tread. If you build a full tread or landing at the top that is not part of the floor, choose the second option and the tread count goes up by one.

What is the 2R + T rule?

It is an old comfort rule for stairs: twice the riser height plus the tread depth should be about 24 to 25 in (roughly 600 to 640 mm), which matches a natural walking stride. UK guidance allows 550 to 700 mm. Steps that are too tall and shallow feel like a ladder, while steps that are too low and deep break your stride.

How long should a stair stringer be?

The stringer runs diagonally from the lower floor to the upper floor. Its length is roughly √(total rise² + total run²). For 108 in of rise and 130 in of run that is about 169 in, or 14 ft 1 in, so you would buy 16 ft boards to allow for the cuts at the top and bottom. The actual board length depends on how the stringer is attached to the floor and the header.

What is a comfortable stair angle?

Most comfortable home stairs are between about 30 and 37 degrees. Stairs at the US limits (7¾ in risers, 10 in treads) come to about 37.8°, which is the steep end. UK private stairs may be up to 42°. Below about 30° stairs take up a lot of floor space, and above about 42° they become hard to walk down safely.

Last updated How we check
Embed this calculator
Cite this calculator

Stair Calculator. CalculatorLab. https://calculatorlab.site/calculators/stair-calculator/. Last updated .