Stair calculator

Lay out a straight stair from one measurement. Give the total rise from floor to floor, and see the number of risers, their height, the treads, the total run, the stringer length and the angle as you type, with the stair stringer laid out and the sum shown.

Checks your stair against the International Residential Code limits, read from the code itself.

The opening

From the finished floor below to the finished floor above. 108, 9' or 8' 10 1/2" all work.

The treads

Front edge to front edge of the next tread. The IRC minimum is 10 in.
Leave empty for the fewest risers within 7 3/4 in each. Type a number to try more.
Free for your own website, with no account and no ads.

Put the stair calculator on your website

Paste this code into an HTML or embed block on any page. Your visitors use the calculator right there, the same as here: free, no sign-up, no ads, and nothing they type is sent anywhere.

Preview it

It fits any width from a phone up to 640 px and grows to the calculator's height. The line under it links to this page, so your visitors can see where it comes from. Every calculator you can embed

Free calculator by Billsmith

Riser7 11/16 in
Risers14
See the working

Stairs, worked out

Start with the total rise

Measure from the finished floor at the bottom to the finished floor at the top. If either floor will get tile, carpet or hardwood later, allow for it: a first or last riser that differs from the rest by more than 3/8 inch is outside the code.

The formulas

Risers = total rise ÷ the tallest riser allowed, rounded up. 108 ÷ 7.75 = 13.94, so 14.

Riser height = total rise ÷ risers. 108 ÷ 14 = 7.714 inches, 7 11/16 on the tape.

Treads = risers − 1, because the top floor is the last step. Total run = treads × tread depth. Stringer ≈ √(rise² + run²).

The code limits

The 2021 International Residential Code sets, for stairs in homes: risers at most 7 3/4 inches (R311.7.5.1), treads at least 10 inches (R311.7.5.2), at most 3/8 inch between the largest and smallest riser or tread in a flight, and at most 12 feet 7 inches of rise in one flight (R311.7.3). Headroom is at least 6 feet 8 inches (R311.7.2).

Local code rules

States and cities adopt the IRC with their own changes, and some allow taller risers or shallower treads. Commercial buildings follow different codes again. The checks here are the model code's numbers: your building department has the last word.

Stair stringer calculator

Stringer length

The stringer runs along the slope, so its length is the diagonal of the total rise and total run: √(rise² + run²). A 108 in rise with a 130 in run gives √(108² + 130²) = 169 in, 14 ft 1 in. Buy a board longer than that, for the cuts at each end.

Laying it out

Set a framing square on the board with the riser height on the tongue and the tread depth on the blade, and mark along both arms. Slide the square along to the last mark and repeat, once for each tread. Each step is a right triangle, so the marks are √(riser² + tread²) apart along the edge: 12 5/8 in for a 7 11/16 in riser and a 10 in tread.

Notch and throat

Each notch cut into the board is riser × tread ÷ √(riser² + tread²) deep, measured square to the edge: 7.714 × 10 ÷ 12.63 = 6.11 in, 6 1/8 in. What is left below the notch is the throat. A 2x12 is 11 1/4 in wide, so 5 1/8 in is left; a 2x10, 9 1/4 in wide, would keep only 3 1/8 in. Check the span and the throat your stair needs with your building department.

Dropping the stringer

The layout makes every riser the same, but the treads sit on top of the cuts. Take the thickness of one tread off the bottom of the stringer so that the first step comes out the same height as the rest, and allow for the finished floor at the top.

Questions

How do you calculate the number of stairs?

Divide the total rise, floor to finished floor, by the tallest riser allowed and round up. For a 108 inch (9 foot) rise and a 7 3/4 inch limit, 108 ÷ 7.75 = 13.94, so 14 risers of 108 ÷ 14 = 7.71 inches (7 11/16). There is one tread fewer than risers: 13.

What is the maximum riser height for stairs?

7 3/4 inches under the International Residential Code (R311.7.5.1), and the tallest riser in a flight may be at most 3/8 inch taller than the shortest. Some states and cities set other limits, so your local code rules.

What is the minimum tread depth?

10 inches under the International Residential Code (R311.7.5.2), measured from the front edge of one tread to the front edge of the next. With treads under 11 inches, the code also asks for a nosing of 3/4 to 1 1/4 inches.

How long is a stair stringer?

About √(rise² + run²). A 108 inch rise with 13 treads of 10 inches (a 130 inch run) needs a stringer of √(108² + 130²) = 169 inches, 14 ft 1 in. Buy a longer board to allow for the cuts at each end.

How do I lay out a stair stringer?

Set a framing square on the board with the riser height on the tongue and the tread depth on the blade, mark along both arms, slide it along to the last mark and repeat once for each tread. For 14 risers of 7 11/16 in and 10 in treads the marks are 12 5/8 in apart and each notch is 6 1/8 in deep, which leaves 5 1/8 in of a 2x12 below it.

How tall can one flight of stairs be?

12 feet 7 inches between floors or landings, under the International Residential Code (R311.7.3). A taller rise needs a landing part way.