How stair risers, run and stringer length are calculated

Last updated 2026-11-29

A stair is a triangle you have to build accurately. The total rise sets the riser count, the tread depth sets the run, and those two sides give the stringer length. This page works through the math on a 108 in rise.

1. Start with the total rise

Total rise is the vertical distance from the finished lower floor to the finished upper floor. Measure it after the flooring is down, because a 3/4 in hardwood layer changes the top height and every riser with it. On a 108 in rise, the stair has to climb exactly 108 in.

Do not measure from the top of the joist or the bottom of an old stair. Finish surfaces are what people step on. A tape measure and a helper give a better number than a long level held by one person.

Total rise = finished upper floor − finished lower floor

A common floor-to-floor height is 108 in, which is 9 ft. That is the default in the calculator.

2. Count the risers, then correct the height

Divide the total rise by the maximum riser height you are allowed to use, then round up. At 108 in and a 7.5 in maximum, 108 ÷ 7.5 = 14.4, which rounds to 15 risers. Never round down: 14 risers would need a 7.71 in step, above the limit you set.

Once the count is fixed, divide the rise by it to get the exact riser height. 108 ÷ 15 = 7.20 in. Every riser, including the top one into the floor, must be this height; even 1/4 in of variation is a trip hazard.

Risers = ⌈ total rise ÷ maximum riser height ⌉ Riser height = total rise ÷ risers

At the 7.75 in maximum, 108 ÷ 7.75 = 13.94, which rounds to 14 risers and a 7.71 in step. Fewer risers means fewer treads and a shorter run, but each step is taller.

3. Treads, run and the missing step

The number of treads is one less than the number of risers. The top level is the upper floor, not a tread, so a stair with 15 risers has 14 treads. Multiply the tread count by the tread depth to get the total run: 14 × 10 in = 140 in, or 11.67 ft.

A deeper tread makes a gentler stair but uses more floor space. At 11 in the same 14 treads need 154 in, and at 12 in they need 168 in. Most residential codes require at least 10 in of tread.

Treads = risers − 1 Total run (in) = treads × tread depth Total run (ft) = total run (in) ÷ 12

The run is the horizontal distance the stair occupies. It is not the length of the sloped board — that comes next.

4. The stringer is the hypotenuse

The stringer forms the long side of a right triangle. One leg is the total rise, the other is the total run. Square both, add them, and take the square root. For a 108 in rise and a 140 in run: 11,664 + 19,600 = 31,264, and the square root is 176.8 in, or 14.73 ft.

That is the line the notches sit on. The board must be longer, because the top notch and the bottom cut remove material beyond the triangle, so buy the next even length: 16 ft.

Stringer length (in) = √(run² + rise²) Stringer length (ft) = stringer length (in) ÷ 12

A common mistake is to use the run as the stringer length. The stringer is always longer: 176.8 in versus 140 in on this stair.

5. How many stringers

Stringers are spaced 16 in on center for most residential stairs, and 24 in is acceptable only on narrow, lightly used stairs with thick treads. Divide the stair width in inches by the spacing, round up, and add one for the far side. A 48 in wide stair at 16 in needs ceiling(48 ÷ 16) + 1 = 4 stringers.

Wider stairs need more stringers. At 60 in wide and 16 in spacing the count is 5, and at 24 in spacing the same width needs 4.

Stringers = ⌈ stair width (in) ÷ spacing (in) ⌉ + 1

6. Buying lumber

Stringers are cut from straight, clear 2 x 12 stock. The calculator rounds the stringer length up to the next multiple of 2 ft, because lumber is sold that way: 14.73 ft becomes 16 ft. The extra 1.27 ft covers the cuts and leaves a margin for a knot.

Check the board before you cut. A large knot in the wrong place makes a 16 ft 2 x 12 unusable, whatever the length says. Pick boards with straight grain.

Lumber to buy = ⌈ stringer length (ft) ÷ 2 ⌉ × 2 ft

Do not splice a stringer. Most codes require a single piece, and a joint in the diagonal is the weakest point of the stair.

7. Worked example: 108 in rise, 48 in wide

Put the whole calculation together for the default case: a 108 in total rise, a 7.5 in maximum riser, a 10 in tread, a 4 ft wide stair and 16 in stringer spacing.

StepCalculationResult
Risers⌈ 108 ÷ 7.5 ⌉15 risers
Riser height108 ÷ 157.20 in
Treads15 − 114 treads
Total run14 × 10140 in (11.67 ft)
Stringer length√(140² + 108²)176.8 in (14.73 ft)
Lumber to buy⌈ 14.73 ÷ 2 ⌉ × 216 ft
Stringers⌈ 48 ÷ 16 ⌉ + 14 stringers

Four 16 ft 2 x 12 boards give four stringers with about 1.27 ft of offcut each. The offcuts are useful for blocking and for the bottom landing support.

8. Code limits and what the tool leaves out

The calculator does the geometry; it does not check your local code. Maximum riser height, minimum tread depth, headroom above the stair, landing size and handrail height are all regulated, and they vary by jurisdiction.

Take the numbers to the building department before you buy lumber. A five-minute conversation can save a rebuilt stair.

Open the Stair Stringer Calculator

Keep reading