Home Build Math

Stair calculator

Risers, treads, run, stringer and angle for a straight stair, with a side-view diagram and an option for a landing.

Limits (2021 IRC values; change only for a stricter local rule)

Result

Risers

14 risers × 7 11/16 in
Riser height
7.714 in
Treads
13 treads
Total run
10 ft 10 in (130 in)
Stringer length
14 ft 1 in (169.01 in)
Angle
39.7°

Within 2021 IRC limits: risers 7¾ in or less, treads 10 in or more.

Side view drawn to scale from the result above. The dashed line is the stringer's straight length.

Code text last checked . Check with your local building department. Found a mistake? Report an error.

Stair with a landing

Split the same stair into two flights with a landing between them, straight through or with a 90° turn. Both flights use the same riser height.

Limits (2021 IRC values; change only for a stricter local rule)

Result with a landing

Risers

14 risers × 7 11/16 in
Lower flight
—
Upper flight
—
Landing
—
Overall
—

Within 2021 IRC limits for risers, treads, flight rise and landing depth.

For a turn, the landing is square with sides equal to the stair width, and "Overall" gives the two legs of the L.

How it's calculated

The calculator splits the total rise into equal risers no taller than your maximum, then works out the treads, total run, stringer length and angle.

risers = round up (total rise ÷ maximum riser)
riser height = total rise ÷ risers
treads = risers − 1 (the upper floor is the last step)
total run = treads × tread depth
stringer length = √(total rise² + total run²)
angle = arctan(total rise ÷ total run)

Worked example

A 108 in rise ÷ 7.75 in = 13.9, so 14 risers of 108 ÷ 14 = 7.714 in (about 7 11/16 in). That gives 13 treads; at 10 in each the total run is 130 in. The stringer is √(108² + 130²) = 169.0 in (about 14 ft 1 in) and the stair angle is 39.7°.

The stringer length here is the straight diagonal from the bottom to the top nosing line. Cut stringers need extra length for the bottom and top connections. Follow your framing plan.

Stair sizes for common floor heights

With 10 in treads and the 7¾ in maximum riser. Run and stringer are rounded to the nearest inch; use the calculator for exact values.

Risers, treads, run and stringer by total rise
Total riseRisers × heightTreadsTotal runStringerAngle
30 in4 × 7 1/2 in32 ft 6 in3 ft 6 in45°
48 in7 × 6 7/8 in65 ft 0 in6 ft 5 in38.7°
96 in13 × 7 3/8 in1210 ft 0 in12 ft 10 in38.7°
102 in14 × 7 5/16 in1310 ft 10 in13 ft 9 in38.1°
105 in14 × 7 1/2 in1310 ft 10 in13 ft 11 in38.9°
108 in14 × 7 11/16 in1310 ft 10 in14 ft 1 in39.7°
111 in15 × 7 3/8 in1411 ft 8 in14 ft 11 in38.4°
114 in15 × 7 5/8 in1411 ft 8 in15 ft 1 in39.2°
120 in16 × 7 1/2 in1512 ft 6 in16 ft 0 in38.7°

Common calculation mistakes

Code limits used

  1. Riser height not more than 7¾ in; the greatest riser in a flight may not exceed the smallest by more than ⅜ in: 2021 IRC R311.7.5.1.
  2. Tread depth not less than 10 in, with the same ⅜ in tolerance: 2021 IRC R311.7.5.2.
  3. A flight may not rise more than 12 ft 7 in between floor levels or landings: 2021 IRC R311.7.3.
  4. Landings at least as wide as the flight served, and at least 36 in deep in the direction of travel on a straight run: 2021 IRC R311.7.6.

Cities and states adopt and amend the IRC, and commercial buildings follow different rules. Confirm with your local building department before building.