Skip to content

Stair Calculator: Risers, Treads and Stringer Length

Number of steps, riser height, tread depth, total run, stringer length and angle for a straight staircase.

Your details

Unit system

Measure from finished floor to finished floor, including floor coverings.

17–18 cm (about 7 in) is comfortable. The calculator never exceeds this value.

The length of a natural stride: 63 cm (25 in) by default; 60–65 cm is comfortable.

Leave blank to size treads with the step rule. Enter the space you have to fit the stair into it exactly.

Results update as you type

Riser height

7.2 in

Number of risers
15
Number of treads
14
Tread depth (going)
10.6 in
Total run
12.367 ft
Stringer length (pitch line)
15.295 ft
Stair angle
34.2 °
2R + T obtained
25 in
US code check (IRC)
✓ Meets IRC R311.7.5 (riser ≤ 7¾ in, tread ≥ 10 in)

Keep at least 6 ft 8 in (2.03 m) of headroom above the pitch line (IRC R311.7.2); about 1.90–2.00 m is the usual European target.

Other codes differ: the UK allows risers up to 220 mm and goings from 220 mm in homes; France has no fixed limit for private houses and follows NF DTU 36.3 practice (about 16–18 cm risers). Check your local building rules.

Step-by-step solution
  1. N = ⌈108 in ÷ 7.5 in⌉ = ⌈14.4⌉ = 15
  2. R = 108 in ÷ 15 = 7.2 in
  3. T = 25 in − 2 × 7.2 in = 10.6 in
  4. L = 14 × 10.6 in = 12.367 ft
  5. √(9 ft² + 12.367 ft²) = 15.295 ft
  6. α = arctan(R ÷ T) = 34.2°

A good staircase is a matter of a few millimetres: every riser identical, treads deep enough for a whole foot, and a slope your legs find natural. This stair calculator works out the layout of a straight stair from the one measurement you cannot change, the total rise from finished floor to finished floor.

Give it a target riser height and it finds the number of risers that keeps each step at or below that height, then the exact riser height, the tread depth, the total run on the floor, the stringer length to cut and the angle. Tread depth follows Blondel’s rule (2 risers + 1 tread ≈ 63 cm, the length of a natural stride) unless you enter the run you have available, in which case the treads share that space evenly.

The result is checked against the US International Residential Code (riser 7¾ in maximum, tread 10 in minimum), with notes on landings, headroom and the rules used in the UK and France. For a stair that turns around a pole, use the spiral staircase calculator; for a slope without steps, the ramp calculator.

How to use this calculator

  1. Measure the total rise between finished floors, including flooring on both levels.
  2. Enter the maximum riser height you want; 17–18 cm (7–7½ in) is comfortable for a home.
  3. Keep the step rule at 63 cm (25 in), or adjust it within 60–65 cm.
  4. If the stair must fit a given floor space, enter the total run available; otherwise leave it blank.
  5. Read the riser height, counts, tread depth, run, stringer length and angle, then check the code line and notes.

The formula

With a total rise HH and a target riser RmaxR_{\text{max}}:

N=⌈HRmax⌉R=HNtreads=N−1N = \left\lceil \frac{H}{R_{\text{max}}} \right\rceil \qquad R = \frac{H}{N} \qquad \text{treads} = N - 1

Tread depth from Blondel’s rule, or from the available run LL:

T=63 cm−2RorT=LN−1T = 63\,\text{cm} - 2R \qquad \text{or} \qquad T = \frac{L}{N - 1}
Run=(N−1) TStringer=H2+Run2α=arctan⁡RT\text{Run} = (N - 1)\,T \qquad \text{Stringer} = \sqrt{H^2 + \text{Run}^2} \qquad \alpha = \arctan\frac{R}{T}

There is one tread fewer than risers because the upper floor serves as the last step. The stringer length is measured along the pitch line; add the extra needed for the top and bottom cuts.

Worked example

A floor-to-floor height of 270 cm with risers of at most 17.5 cm:

  • 270/17.5=15.43270 / 17.5 = 15.43, rounded up to 16 risers and 15 treads
  • Riser: 270/16=16.88270 / 16 = 16.88 cm
  • Tread (Blondel): 63−2×16.88=29.2563 - 2 \times 16.88 = 29.25 cm
  • Total run: 4.3875 m, stringer 5.15 m, angle 30°

If only 3.60 m of floor is available, the treads shrink to 24 cm, 2R + T falls to 57.75 cm and the angle rises to 35.1°. The calculator flags both problems: the tread is under the 10 in (25.4 cm) IRC minimum and the stride is below Blondel’s comfort range.

In imperial units, a 108 in rise with risers of at most 7½ in gives 15 risers of 7.2 in and treads of 10.6 in (total run 148.4 in), within IRC limits.

Stair rules in the US code and elsewhere

Rule IRC 2021 (US homes) Common European practice
Maximum riser 7¾ in (19.7 cm) UK homes: 220 mm; France: 16–18 cm usual
Minimum tread 10 in (25.4 cm) UK homes: 220 mm going; France: 25–30 cm usual
Headroom 6 ft 8 in (2.03 m) About 1.90–2.00 m
Flight without landing 151 in (3.84 m) of rise Varies by country
Comfort 2R + T ≈ 24–25 in 2R + T = 60–64 cm (Blondel)

Risers in one flight must not differ by more than ⅜ in (9.5 mm) under the IRC, which is why the calculator divides the rise into equal steps. Public buildings follow stricter rules everywhere.

Where Blondel’s rule comes from

In the 17th century the French architect François Blondel observed that a comfortable stair matches the length of a person’s stride: on level ground we cover about 63 cm, and climbing costs roughly twice as much effort per unit of height as walking costs per unit of length. Hence 2R + T ≈ 63 cm. A steep loft stair with 20 cm risers then needs 23 cm treads; a gentle garden stair with 15 cm risers, 33 cm treads.

Frequently asked questions

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

Add the floor thickness to get the total rise, typically about 108 in for a 9 ft ceiling. With risers of at most 7½ in, that makes 15 risers of 7.2 in and 14 treads.

Why are there fewer treads than risers?

The last riser leads directly onto the upper floor, which acts as the final tread. A stair with 16 risers therefore has 15 treads to build.

What is the ideal stair angle?

Between about 30° and 37° is comfortable for a main stair. Above 42° the stair becomes a steep service or loft stair, and ladders start around 50° and above.

How do I calculate the stringer length?

Use the Pythagorean theorem on the total rise and the total run: √(rise² + run²). Buy a board longer than that to allow for the plumb and level cuts at both ends.

Can the stair fit in a limited space?

Enter the total run available. The calculator spreads it evenly over the treads and warns you when the result drops below the 10 in IRC minimum or when 2R + T leaves the comfortable range.

Sources

Last updated:

More Construction calculators

People also use