Stair Calculator

Enter the total rise from floor to floor to get the number of risers and treads, riser height, total run, stringer length and angle — checked against the residential code limits (7¾ in max riser, 10 in min tread).

14 risers at 7 23/32 in and 13 treads at 10 in — meets the IRC limits

14 risers

108 in ÷ 7¾ in max riser = 13.9 → 14 risers · 7.714 in each

Riser height—
Treads × depth—
Total run—
Stringer length—
Angle · 2R + T—
Code check—

Finished floor to finished floor.

If the run is fixed, tread depth = run ÷ treads.

Risers for common floor heights (IRC)

Total riseRisersRiser heightRun at 10 in treads
30 in (2' 6")47.50 in (7 1/2)30 in
36 in (3' 0")57.20 in (7 3/16)40 in
42 in (3' 6")67.00 in (7)50 in
48 in (4' 0")76.86 in (6 7/8)60 in
54 in (4' 6")77.71 in (7 11/16)60 in
60 in (5' 0")87.50 in (7 1/2)70 in
72 in (6' 0")107.20 in (7 3/16)90 in
84 in (7' 0")117.64 in (7 5/8)100 in
96 in (8' 0")137.38 in (7 3/8)120 in
108 in (9' 0")147.71 in (7 11/16)130 in
120 in (10' 0")167.50 in (7 1/2)150 in
144 in (12' 0")197.58 in (7 9/16)180 in

Code limits

RuleResidential (IRC)Commercial (IBC)
Riser height7¾ in max4 in min, 7 in max
Tread depth10 in min11 in min
Variation within a flight⅜ in max⅜ in max
Nosing projection¾ in to 1¼ in (treads under 11 in)1¼ in max
Rise of one flight151 in (12 ft 7 in) max12 ft max
Handrail4 or more risersBoth sides, most stairs
Headroom6 ft 8 in min6 ft 8 in min

IRC section R311.7 (stairways); IBC section 1011. States and cities adopt different editions and often amend stair rules — confirm with your building department.

How the numbers are worked out

  • Risers = total rise ÷ maximum riser height, rounded up. Every riser in a flight gets the same height.
  • Treads = risers − 1 for a straight stair landing on the upper floor.
  • Total run = treads × tread depth. Stringer length = √(rise² + run²), before trimming for the floor and nosing.
  • 2R + T of about 24–25 in is a comfort rule of thumb, not a code requirement. Most comfortable stairs land between about 30° and 37°.

Frequently asked questions

How many stairs do I need?

Divide the total rise (floor to floor) by the maximum riser height and round up. Under the IRC the maximum riser is 7¾ in, so a 108 in rise needs 14 risers of about 7.71 in each.

Why are there fewer treads than risers?

In a straight stair the upper floor acts as the last step, so a stair with 14 risers has 13 treads. Total run is the number of treads times the tread depth.

What is the maximum rise of one flight?

The IRC limits a single flight to 151 in (12 ft 7 in) of vertical rise. Above that, add a landing. The commercial IBC limit is 12 ft.

Is the 2R + T rule a code requirement?

No. Twice the riser plus the tread at about 24 to 25 in is a comfort rule of thumb. The code only sets the maximum riser and minimum tread.

Does my local code use these numbers?

Most US jurisdictions adopt the IRC, but states and cities can amend it — some allow taller risers or shorter treads. Check with your building department before you cut stringers.

Checked on 2026-10-05. Based on: International Residential Code R311.7.5 (riser ≤ 7¾ in, tread ≥ 10 in, variation ≤ ⅜ in, nosing ¾–1¼ in — city of Boise IRC handout, 2022) · R311.7.3 flight rise 151 in · IBC 1011.5.2 (riser 4–7 in, tread ≥ 11 in). Updated when the rates or rules change.

Cite this calculator

Putting this in a post or a document? Copy one of the lines below as it is.

As plain text Stair Calculator — CalcLab. https://calculab.net/en-us/stair-calculator/
As blog HTML <a href="https://calculab.net/en-us/stair-calculator/">Stair Calculator</a> — CalcLab