Everyday

Stair calculator: risers, treads and stringers

A stair calculator lays out a straight stair from the total rise, the floor-to-floor height. Enter the rise, the maximum riser height you allow and the tread depth, and it works out the number of risers and treads, the exact riser height, the total run, the approximate stringer length and the stair angle. It checks the 2 risers + 1 tread comfort rule and, in US units, the International Residential Code limits.

in
in
in

Runs in your browser. Nothing you type is sent to us.

Number of risers

14

7.714 in each, with 13 treads

Riser height
7.714 in (19.6 cm)
Treads
13
Total run
130 in (10.83 ft)
Stringer length (approx.)
169 in (14.08 ft)
Stair angle
37.6°
2 risers + 1 tread
25.4 in (comfortable range)
IRC residential limits
Meets 7¾ in max riser and 10 in min tread

The IRC also requires at least 6 ft 8 in of headroom, risers that vary by no more than ⅜ in, and a handrail on flights of four or more risers. Check your local code.

Other riser counts for the same rise

Number of risersRiser heightTotal runStair angle
138.31 in120 in39.7°
14 ←7.71 in130 in37.6°
157.2 in140 in35.8°
166.75 in150 in34°

Key facts

  • Risers = total rise ÷ maximum riser, rounded up; treads = risers − 1.
  • A 108 in rise with a 7¾ in maximum needs 14 risers of 7.714 in and 13 treads.
  • IRC R311.7: risers 7¾ in max, treads 10 in min, headroom 6 ft 8 in.
  • Comfort (Blondel’s rule): 2R + T ≈ 24 to 25 in or 60 to 65 cm.
  • A 280 cm rise with 18 cm max and 27 cm treads gives 16 risers of 17.5 cm, a 4.05 m run.

Stair formulas

Risers = total rise ÷ maximum riser height (rounded up)
Riser height = total rise ÷ risers
Treads = risers − 1
Total run = treads × tread depth
Stringer ≈ √(total rise² + total run²)

The top tread is usually the upper floor itself, which is why a straight stair has one fewer tread than risers. The stringer figure is the length along the line of the nosings; the board you buy must be longer to allow for the top and bottom cuts.

Code limits (US residential)

RequirementIRC R311.7
Maximum riser height7¾ in (196 mm)
Minimum tread depth10 in (254 mm)
Variation within a flight3/8 in max
Minimum headroom6 ft 8 in (2,032 mm)
Minimum width36 in
HandrailRequired with 4 or more risers

Many cities amend these rules, and other countries use different limits: England’s Approved Document K, for example, allows private stairs up to 220 mm risers and a 42° pitch. Check your local code.

How to use the stair calculator

  1. Choose units and measure the total rise from finished floor to finished floor.
  2. Enter the maximum riser height you allow and the tread depth.
  3. Read the riser count, exact riser height, treads, total run, stringer length and angle.
  4. Compare other riser counts in the table if your run is limited.

Worked examples

A basement stair

A 108 in (9 ft) rise with a 7¾ in maximum riser: 108 ÷ 7.75 = 13.9, so 14 risers of 7.714 in and 13 treads. With 10 in treads the run is 130 in (10 ft 10 in), the stringer about 169 in and the angle 37.6°. 2R + T = 25.4 in, comfortable and within IRC limits.

An 8 ft rise

A 96 in rise gives 13 risers of 7.385 in, 12 treads and a 120 in run at 36.4°.

Metric

A 280 cm rise with an 18 cm maximum and 27 cm treads gives 16 risers of 17.5 cm, 15 treads, a 4.05 m run and 2R + T = 62 cm.

Comfort: Blondel’s rule

In the 17th century the French architect François Blondel noticed that comfortable stairs keep two risers plus one tread close to a normal stride: about 63 cm, or 24 to 25 in. A 7½ in riser with a 10 in tread (2R + T = 25 in) is a classic comfortable combination. If you have room, shallower risers with deeper treads make a gentler, safer stair.

For deck steps, plan the deck itself with the deck calculator. The stringer length is a right-triangle problem you can check with the Pythagorean theorem calculator, and the same rise-over-run idea sets a roof’s pitch in the roofing calculator. Enclosing a basement stair? The drywall calculator counts the sheets.

Stair rules from Blondel to the IRC

The French architect François Blondel set out his stair formula in his Cours d’architecture (1675 to 1683), relating riser and tread to the human stride; versions of it are still written into building rules in France and Germany, where DIN 18065 asks for 2 risers + 1 tread of 59 to 65 cm. In the United States, residential stairs follow section R311.7 of the International Residential Code from the International Code Council: risers of 7¾ in at most, treads of at least 10 in, headroom of 6 ft 8 in, and a handrail 34 to 38 in high on flights of four or more risers.

Falls on stairs send more than a million Americans to emergency rooms each year, and research by John Templer, author of The Staircase (1992), showed that uneven risers and short treads are major causes, which is why codes limit variation within a flight to 3/8 in. Stringers are usually cut from 2 × 12 lumber. Plan deck steps with the deck calculator, check the stringer’s hypotenuse with the Pythagorean theorem calculator, compare roof slopes in the roofing calculator, and enclose a stair with the drywall calculator.

How this calculator works

  • Risers = total rise ÷ maximum riser, rounded up; riser height = rise ÷ risers; treads = risers − 1.
  • Run = treads × tread depth; stringer ≈ √(rise² + run²); angle = arctan(riser ÷ tread).
  • Comfort: 2R + T within 24 to 25.5 in or 60 to 65 cm; US units also check the IRC 7¾ in and 10 in limits.

Frequently asked questions

How do I calculate the number of stairs?

Divide the total rise by the maximum riser height and round up; that is the number of risers.

How many stairs for an 8 ft ceiling?

A floor-to-floor rise of about 9 ft usually takes 14 risers of about 7.7 in; an exact 8 ft rise takes 13.

What is the maximum riser height?

7¾ in under the International Residential Code; commercial stairs are limited to 7 in.

What is the minimum tread depth?

10 in under the IRC, measured nosing to nosing; 11 in for commercial stairs.

Why are there fewer treads than risers?

The upper floor acts as the top tread, so a straight stair has one fewer tread than risers.

How long should a stair stringer be?

At least the hypotenuse of the total rise and run, plus extra for the top and bottom cuts.

What angle should stairs be?

Typical home stairs are 30° to 38°; IRC maximum dimensions give about 37.8°.

What is the 2R + T rule?

Two risers plus one tread should equal about 24 to 25 in (60 to 65 cm) for a comfortable stride.

Sources

  1. Town of Timnath: 2018 IRC residential stair guide (R311.7)
  2. ArchDaily: How to calculate staircase dimensions (Blondel formula)
  3. Knox County: 2018 IRC stairways, riser, tread and headroom

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Stair calculator: risers, treads and stringers." calcroster.com/stair-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.