Stringer length = √(total rise² + total run²). Enter your rise and tread depth to see the length, the angle and the board to buy, with every step worked out.
Based on the 2021 IRC. Local codes may be stricter; confirm with your building department before building.
The first four lines are the same ones used in the stair rise and run calculator. The last two come from the right triangle the stair makes: rise is one leg, run is the other, and the stringer is the long side.
A porch step 30 in above the ground, with a 7 in target riser:
For an outdoor stair like this one, the deck stair stringer calculator starts from the deck height and adds the cutting steps.
The diagonal is the length of the stair's slope line. A board has square ends, and the stringer has angled ends, so the shortest rectangular board that holds the whole stringer is slightly different from the diagonal. In example 1 the diagonal is 174.1 in, and the shortest board is 173.4 in. Close, but that is the minimum with no room for error, and boards come in 2 ft steps, so you buy a 16 ft length.
The throat matters as much as the length. On a 2×12 in example 1 it is 5 1/16". Notch depth is also why a stringer cut from a 2×10 needs a lower riser, as the tables in the stair stringer calculator show.
These rows use a 7½ in target riser, 10½ in treads, a 2×12 and the same functions as the calculator above.
| Total rise | Risers | Run | Stringer (diagonal) | Shortest board | Buy |
|---|---|---|---|---|---|
| 30 in | 4 | 31 1/2" | 43 1/2" | 42 1/2" | 8 ft |
| 42 in | 6 | 4' 4 1/2" | 5' 7 1/4" | 5' 6 7/16" | 8 ft |
| 60 in | 8 | 6' 1 1/2" | 7' 10 7/8" | 7' 10 1/8" | 8 ft |
| 80 in | 11 | 8' 9" | 11' 0" | 10' 11 5/16" | 12 ft |
| 96 in | 13 | 10' 6" | 13' 2 3/8" | 13' 1 11/16" | 14 ft |
| 108 in | 14 | 11' 4 1/2" | 14' 6 1/16" | 14' 5 3/8" | 16 ft |
| 120 in | 16 | 13' 1 1/2" | 16' 6" | 16' 5 5/16" | 18 ft |
For code limits on the riser and tread, see the IRC stair code page, and for typical values by ceiling height, standard stair dimensions.
For a 108 in rise with 7½ in risers and 10½ in treads, the diagonal is 14' 6 1/16". The shortest square-ended board that holds the stringer is 14' 5 3/8" on a 2×12, so you buy a 16 ft board.
Between about 30° and 37°. A 7½ in riser with a 10 in tread is 36.9°, and a 7½ in riser with a 10½ in tread is 36.3°. The pitch is arctan of the riser height divided by the tread depth.
Often, yes. A 2×10 leaves less wood under the notch, so it only works for smaller risers. The throat for the board you choose is shown in the calculator, and the tables in the stair stringer calculator list the largest riser each board allows.
Find the shortest board that holds the whole stringer, then round up to the next standard length: 8, 10, 12, 14 or 16 ft (and longer for tall stairs). The calculator shows that minimum length. Leave a little extra if you are cutting your first stringer, so a slip does not cost a whole board.
The throat is the wood left under the deepest notch, measured straight down to the bottom edge of the board. It is where a stringer is weakest. Many builders want at least 3½ in indoors and about 5 in outdoors, as rules of thumb rather than code numbers.
These formulas plan the layout. They do not size a stringer for a load. Confirm the details with your local building department before you cut.