Stair stringer calculator

Enter the total rise and the tread run you want. You get the number of risers, a scaled drawing of the stringer with every cut mark measured along the board, and a check against the stair limits in the 2021 International Residential Code.

Units
Finished floor to finished floor. 108 1/2 or 9' 1/2 both work.
The calculator picks the step count closest to this.
Nosing to nosing. This is the tread cut on the stringer.
1 1/2 for 2x lumber. Sets how far to drop the stringer.
How far each tread sticks out past the riser below.
Center to center. Check what your tread material can span.

Your stairs

14 risers of 7 11/16", 13 treads with 10" run

Total rise
9' 0"
Riser height
7 11/16" 7.714 in
Total run
10' 10" first riser to the top riser
Stair angle
37.6°
Tread boards
11" deep run plus nosing
Framing square
7 11/16" tongue, 10" blade
Stringers
4 × 2x12 16" max spacing
Stringer board length
13' 7 1/4" buy 14 ft
First riser on the stringer
6 3/16" riser minus tread thickness
Top plumb cut
6 1/2" against the header or rim
Wood left below the cuts
5 1/8"
Top of stringer
9 3/16" below the upper floor surface

Riser, tread and nosing are inside the 2021 IRC figures. Notes are in the code check below.

Side view

lower floorupper floortotal run 10' 10"rise 9' 0"7 11/16"10"
Drawn to scale. Shaded in red: the stringer. The treads sit on the stringer cuts and stick out past each riser by the nosing.

Code check

Code figures come from the 2021 IRC (International Residential Code, sections R311.7 and R312). They are a reference, not an approval. Your city or county may use another edition or its own changes, so ask your local building department before you build.

Stringer layout

This is the board as it lies on your sawhorses, with the steps cut into the top edge. Each numbered mark is a step corner on the top edge. Measure every mark from the square bottom end using the table, instead of stepping the framing square along the board, so small errors don't add up.

12345678910111213cut length 13' 7 1/4"14 ft board
Full board, to scale. Red: the stringer. Dashed: wood you cut away.
first riser 6 3/16"tread 10"riser 7 11/16"on the floor 10 3/8"5 1/8" of wood leftBottom end
last tread 10"plumb cut 6 1/2"headerTop end

Cut marks

StepMark on the top edge, from the bottom endRiser face, from the first riserFinished tread height
13 13/16"0"7 11/16"
216 7/16"10"15 7/16"
32' 5 1/16"20"23 1/8"
43' 5 11/16"2' 6"2' 6 7/8"
54' 6 5/16"3' 4"3' 2 9/16"
65' 6 15/16"4' 2"3' 10 5/16"
76' 7 9/16"5' 0"4' 6"
87' 8 3/16"5' 10"5' 1 11/16"
98' 8 13/16"6' 8"5' 9 7/16"
109' 9 7/16"7' 6"6' 5 1/8"
1110' 10 1/16"8' 4"7' 7/8"
1211' 10 3/4"9' 2"7' 8 9/16"
1312' 11 3/8"10' 0"8' 4 5/16"
Top end13' 7 1/4"10' 10"9' 0"

Other step counts

More risers give shorter steps and a longer run. Pick one to update the drawings.

RisersRiser heightTotal runAngleRiser limit
129"9' 2"42.0°Over 7 3/4"
138 5/16"10' 0"39.7°Over 7 3/4"
147 11/16"10' 10"37.6°Under 7 3/4"Showing
157 3/16"11' 8"35.8°Under 7 3/4"
166 3/4"12' 6"34.0°Under 7 3/4"

What to measure

Side view of stairs between two floors. Total rise is measured straight up from the finished lower floor to the finished upper floor. Total run is measured level from the first riser to the face of the upper floor.
Measure total rise from finished floor to finished floor, at the spot where the bottom step will land.

How the numbers are worked out

  1. Risers = total rise ÷ the riser height you want, rounded to a whole number. If that would make a riser taller than 7 3/4", the count goes up by one.
  2. Riser height = total rise ÷ risers. Every step comes out the same.
  3. Treads = risers − 1. The upper floor is the last step, so it doesn't need a tread on the stringer.
  4. Total run = treads × tread run.
  5. Stringer length = treads × the diagonal of one step, minus a little for the dropped bottom end. The diagonal is √(riser² + run²).

With the example numbers, a 108" rise and a 7 1/2" target gives 14 risers of 7 11/16" and 13 treads. The stairs run 10' 10" across the floor, and each stringer needs 13' 7 1/4" of board, so you buy 14 ft lumber.

Why the first riser on the stringer is shorter

Every tread adds its thickness on top of the cut. The bottom step has no tread below it to make up for that, so if you cut all risers the same, the first step ends up taller by one tread thickness and the top step shorter by the same amount. Cutting the bottom of the stringer down by the tread thickness fixes both. Carpenters call this dropping the stringer. The calculator has already taken it off the "First riser on the stringer" figure.

Common questions

How do I calculate stair stringers?

Divide the total rise by about 7 1/2" and round to get the number of risers. Divide the rise by that number for the exact riser height. You have one tread fewer than risers. Multiply treads by the tread run for the total run. The stringer length is the number of treads times √(riser² + run²).

How many steps do I need for a 9 foot rise?

A 108" rise works out to 14 risers of 7 11/16" with 13 treads. Thirteen risers would be 8 5/16" each, which is over the 7 3/4" limit in the 2021 IRC.

What is the maximum riser height and minimum tread for house stairs?

The 2021 International Residential Code allows risers up to 7 3/4" and treads of at least 10", measured nosing to nosing. Your area may use another edition or local changes. The stair code limits page lists each figure with its section number.

How long should my stringer boards be?

The calculator gives the length of board each stringer needs, then the next standard lumber length up. For a 108" rise with a 10" run that is 13' 7 1/4", so you buy 14 ft boards. If the spare is only an inch or two, buy the next size, since board ends are often split.

How many stringers do I need?

One at each side plus enough in between that no gap is wider than your tread material can span. A 36" wide stair needs 4 stringers at 16" spacing, or 3 at 18". Composite treads often need closer spacing, so check the maker's instructions.

Does the top floor count as a step?

Yes. The last riser goes up to the upper floor or deck, and that floor is the top step. That is why a stair has one tread fewer than risers.

What angle should stairs be?

Most house stairs fall between 30 and 38 degrees. At the 2021 IRC limits, a 7 3/4" riser with a 10" run, the angle is about 37.8 degrees. Shorter risers and longer treads give a gentler stair that also takes more floor space.

Is there a version for deck stairs?

Yes. The deck stair stringer calculator adds the slope of the ground and the height of a landing pad, which change the rise once the stairs reach out from the deck.