Stair Stringer Calculator

How we build and test

Enter the total rise of your stairs to lay out the stringers: how many risers and treads, the exact riser height to the nearest 1/16 inch, the length of each stringer, how many stringers the stair width needs and which 2×12 to buy.

From the landing or ground to the top of the deck or floor.

in

7 3/4 in is the IRC limit.

in

10 in minimum under the IRC.

in
in

16 in for 2x treads. Composite treads often need 12 in or less: check the maker's guide.

Stringer layout

Enter the total rise to lay out the stringers.

What this calculator does

  • Stringer length and layout from the total rise
  • Risers, treads, total run and stair angle
  • Stringers needed, lumber to buy and an IRC check

How to use the stair stringer calculator

  1. Measure the total rise: the vertical distance from the landing, pad or ground where the stairs will sit to the top of the finished deck or floor. Measure straight down from the edge, not along a slope, and use a level and straightedge if the ground is uneven.
  2. Leave the maximum riser at 7 3/4 in and the tread run at 10 in unless your local code or design calls for something else. Lower risers and deeper treads make an easier stair but need more run.
  3. Enter the stair width and the maximum spacing between stringers so the calculator can count the stringers.
  4. Pick the tread thickness. The calculator uses it for the bottom cut that keeps the first step the same height as the others.
  5. Read the stringer length at the top, then the cut list below it: riser height, tread run, number of treads, total run, angle and the board length to buy.

Stair stringer formulas

Risers = total rise ÷ maximum riser, rounded up
Riser height = total rise ÷ risers
Treads = risers − 1   (the top step is the deck)
Total run = treads × tread run
Stringer length = √(total rise² + total run²)
Throat depth = 11.25 − (riser × run) ÷ √(riser² + run²)
Stringers = stair width ÷ spacing, rounded up, + 1

The throat is the solid wood left between the inside corner of each notch and the bottom edge of the stringer. The American Wood Council’s deck guide (DCA 6) asks for at least 5 inches of throat on a cut stringer, which is why stairs are cut from 2x12s and not 2x10s.

Worked example: a deck 54 in above the patio

  1. Risers: 54 ÷ 7.75 = 6.97, rounded up to 7 risers.
  2. Riser height: 54 ÷ 7 = 7.714 in, or 7 11/16 in.
  3. Treads: 7 − 1 = 6 treads of 10 in, because the deck surface is the top step.
  4. Total run: 6 × 10 = 60 in, so the stairs land 5 ft out from the deck.
  5. Stringer length: √(54² + 60²) = 80.7 in, or 6 ft 8 3/4 in. Buy 8 ft 2x12s.
  6. Throat: 11.25 − (7.714 × 10 ÷ 12.63) = 5.14 in, just over the 5 in minimum.
  7. A 36 in wide stair with stringers no more than 16 in apart needs 4 stringers.

Riser and tread limits

Rule IRC residential Why it matters
Maximum riser height 7 3/4 in Taller steps are tiring and cause trips.
Minimum tread depth 10 in (nosing to nosing) Room for the whole foot.
Riser variation 3/8 in max in one flight An odd step is the most common cause of falls.
Minimum width 36 in Clear width above the handrail height.
Handrail Required at 4 or more risers Set 34 to 38 in above the tread nosings.

A comfortable stair also follows the 2R + T rule: two risers plus one tread should add up to about 24 to 25 1/2 inches. A 7 1/2 in riser with a 10 in tread gives 25 in. The calculator flags layouts that fall outside that range.

Cutting the stringers

Set framing-square stair gauges at the riser height on the tongue and the tread run on the blade, then step the layout along the 2×12. Mark every notch before you cut, finish the inside corners with a handsaw so you do not over-cut, and use the first stringer as the template for the rest. Take the tread thickness off the bottom of each stringer so that, once the treads are on, the first step is the same height as the others. Where the bottom of the stringer meets concrete, set it on a pressure-treated cleat or a metal connector rather than straight on the slab.

Questions

How long should a stair stringer be?

The stringer is the hypotenuse of a triangle with the total rise and total run as its sides. For 54 in of rise and 60 in of run that is 80.7 in. Add a foot for the top and bottom cuts and buy the next standard length, here 8 ft.

How many stringers do I need for 36 inch stairs?

With 2x treads, stringers are usually set no more than 16 in apart, so a 36 in stair needs four. Some builders use three at 18 in for wood treads. Composite treads usually need closer spacing, often 12 in or less, so check the decking maker’s instructions.

What size lumber is used for stair stringers?

Cut stringers are made from 2x12s, pressure treated outdoors. A 2×10 leaves too little wood below the notches for a normal 7 to 7 3/4 in riser.

How do I calculate the number of steps?

Divide the total rise by the tallest riser you will allow and round up. The result is the number of risers. The number of treads is one less when the stairs end at a deck or floor that forms the top step.

This calculator follows common IRC rules for one- and two-family homes. Local codes can differ, so check with your building department before you build.

Related calculators