RoughInSizing calculators for the trades

Stair stringer calculator

Enter the height from floor to floor. You get the number of risers and treads, the exact riser height, the stringer board to buy, a mark-by-mark layout, and a check against the stair code.

IRC R311.7 and IBC 1011AWC DCA 6 stringer rulesLayout to 1/16 in

Inputs

Code
in
Finished floor to finished floor, or deck surface to the ground or pad.
in
7 to 7.5 feels best. The calculator never goes over the code maximum.
0 lets the calculator choose.
in
Nosing to nosing. 10 in is the IRC minimum, 11 in the IBC minimum.
in
How far the tread overhangs the riser below.
in
1 for 5/4 decking, 1.5 for 2x. The bottom riser is cut short by this much.
in
For the number of stringers. 0 to skip.
DCA 6 requires 2x12 for cut deck stringers.

Result

Stairs
—
Code check
RuleYoursLimit

Stringer layout

Heights are to the top of each finished tread, measured from the lower floor. Horizontal distances are from the face of the first riser. On the stringer itself, each notch sits one tread thickness lower, which is why the bottom riser is cut short.

StepHeight, finishedNotch on stringerBack of tread

How the steps are worked out

  1. Number of risers. Divide the total rise by your target riser height and round to the nearest whole step. If that leaves the riser over the code maximum, add a step until it is legal.
  2. Riser height. Divide the total rise by the number of risers. Every riser is the same height; the code allows only 3/8 in of variation in a flight.
  3. Treads. One fewer than the risers, because the upper floor is the last step. Total run is treads times tread depth.
Risers = round(total rise / target), raised until riser ≤ code max Riser = total rise / risers Treads = risers − 1 Total run = treads x tread depth Stair angle = arctan(riser / tread)

For 108 in of rise at a 7.5 in target: 108 / 7.5 = 14.4, so 14 risers of 7.714 in, just under 7-3/4. That gives 13 treads, and at 10 in each a total run of 130 in.

Stringer length and the uncut depth

The board has to be long enough to hold every notch plus the cuts at each end. The calculator finds the shortest straight board that contains the whole stringer outline and rounds up to the next lumber length.

Each notch cuts into the board by riser x tread / √(riser² + tread²), measured square to the edge. What is left is the uncut depth, or throat, and it is what carries the load. DCA 6, the American Wood Council's deck guide, asks for at least 5 in. A 2x12 at 7-3/4 by 10 in leaves 5.12 in, which is why 2x12 is the minimum and why a 2x10 cut stringer fails at almost any normal pitch.

Laying it out

  1. Clamp stair gauges to a framing square: the riser height on the tongue, the tread depth on the blade.
  2. Mark each notch along the board, sliding the square so the gauges stay on the edge. Use the cumulative heights in the layout table to check you have not drifted.
  3. Cut the bottom riser short by the tread thickness, so the first step comes out the same height as the rest once the tread is on.
  4. Cut one stringer, test it in place, then use it as the pattern for the others.
Measure the rise where the stairs will land. A floor or patio that slopes even half an inch across the bottom of the run will show up as an odd first step. Measure from the top finished surface straight down to the point where the bottom riser will sit, not at the house wall.

Questions

How many stairs do I need for a 9 ft rise?

For 108 in floor to floor, 14 risers of 7.71 in and 13 treads. At 10 in treads the run is 130 in, about 10 ft 10 in. The calculator works it out for any height and checks it against the code.

How many steps for a 36 inch deck?

Five risers of 7.2 in and four treads. With 10.5 in treads the stairs run 42 in out from the deck.

What is the maximum riser height and minimum tread depth?

For homes under the IRC, risers up to 7-3/4 in and treads at least 10 in, with a 3/4 to 1-1/4 in nosing unless the tread is 11 in or deeper. Commercial stairs under the IBC need risers between 4 and 7 in and treads of at least 11 in.

How many stringers do I need?

At least three cut stringers for a 36 in wide stair, spaced no more than 18 in on centre, under the AWC DCA 6 deck guide. Wider stairs need one more for every extra 18 in.

Why is the bottom riser shorter?

Because the treads sit on top of the stringer. Every step gets a tread's thickness added except the floor at the bottom, so the stringer is dropped by that much to keep the first step the same height as the others.

What is the most comfortable stair rise and run?

The old rule is that twice the riser plus the tread should come to 24 to 25 in. A 7 in riser with an 11 in tread hits it exactly. Stairs built to the IRC maximum, 7-3/4 by 10, come to 25.5 in and feel steep.

How long should a stair stringer be?

Roughly the square root of rise squared plus run squared, plus the end cuts. For a 108 in rise with 13 ten-inch treads it is about 169 in, so a 16 ft board.

More Carpentry calculators

Fence calculator

Posts, pickets, rails and post-hole concrete for a wood fence, from the length of each run and the gates.

Deck board calculator

Deck boards, linear feet, screws or hidden clips for a deck of any size, straight or diagonal.

Stud calculator

Studs, plates and precut stud length for any set of walls, with corners, intersections, doors and windows, and the cost.

Header size calculator

Header size and jack studs for a door, window or garage door in a bearing wall, from IRC Table R602.7(1).

Plywood calculator

Sheets of plywood or OSB for walls, floors or any area, with waste, weight per sheet and the cost.

Floor joist span calculator

Maximum floor and ceiling joist spans by species, grade, size and spacing, worked from the AWC 2024 span tables and design values.

Rafter span calculator

Maximum rafter span for roof live or snow load, by species, grade, size and spacing, from the AWC 2024 span tables.

Deck joist span calculator

Maximum deck joist span and overhang by species, size and spacing, from the AWC DCA 6 tables, with a check of your span.

Deck beam span calculator

Maximum deck beam span for every beam size by the joist span it carries, and the posts each beam needs, from AWC DCA 6.

Deck footing calculator

Footing size and thickness, maximum 6x6 post height and concrete for deck posts, from AWC DCA 6 Table 4.

Baluster spacing calculator

How many balusters a railing needs and the exact gap between them, kept under the IRC's 4 inch sphere rule.

Board foot calculator

Board feet for any list of lumber, with price, plus Doyle, Scribner and International log scales.

Other trades