Skip to content
Tools

Stair Stringer Calculator

Calculate stair risers, treads, total run, stringer layout length, stair angle and notch throat depth for a straight flight, with a scale diagram that updates as you type.

Enter the total rise of your stairs and the riser, tread and lumber you plan to use. This stair layout calculator works out the number of risers, the equal riser height, the treads, the run, the stringer layout length, the stair angle and the notch throat, and draws the stair to scale so you can check it by eye. It is built for a single straight flight, such as a set of deck stairs.

Straight-flight layout estimates only. This calculator gives geometric layout estimates for a single straight flight of stairs. It does not certify structural safety or compliance with your local building code, and it does not cover landings, winders, curved or spiral stairs, or commercial stairs. Confirm your design with your local building department.

Stair Stringer Calculator

The starting values are examples only. They are not building-code requirements for your project.

Finished lower floor or landing to finished upper floor or deck.

The tallest single riser you will accept. 7 3/4 in is an example, not a universal rule.

Horizontal distance from the front of one tread to the front of the next. 10 in is an example.

Thickness of the tread boards. 1 1/2 in (2x boards) is an example.

Overall width of the stair. 36 in is an example.

Farthest apart, center to center. Starts at the reference value for the stringer type.

Nominal size, with the dressed (actual) size the calculation uses.

A solid stringer has no notches, so no throat is calculated.

US Deck Stairs is the US residential deck stair reference from the American Wood Council's DCA 6, 2015 edition (based on the 2015 IRC), for single-level residential wood decks attached to the house. The profile only decides which figures your result is compared with. It does not change the geometry, and it is not your local code.

Stair Layout Results

Fix the highlighted entries. The results below are the last valid ones.

This rise needs only one riser, so there are no treads and no stringer layout. A single step does not need a stair stringer.

These figures come from a 2015 deck guide, not from the code in force where you live, which may be a different edition or may be amended. A check that is within the reference does not show that a stair is structurally safe, and an outside value is not a ruling on your local code. These are reference comparisons only.

Show the calculation step by step

Layout length is not the length of board to buy

The stringer layout length is the straight-line distance between the lower and upper reference points. The board you buy has to hold the whole cut layout, including the end cuts and the depth of the board itself, so the length you need is not set by either diagonal and can be shorter or longer than the A to B line. The calculator does not add a cutting allowance because that depends on how you lay out and cut. Mark the layout full size on the board before you cut, and choose a standard board length that holds the whole marked layout. That length is set by the full-size layout, not by the A to B figure.

Enter your measurements above to see the layout.

Stair Diagram

A side view drawn to scale from your results. It updates as you change the numbers.

A
lower reference point: the finished lower surface at the face of the first riser.
B
upper reference point: the finished upper surface at the face of the last riser.
Blue line
stringer layout length L between A and B.
Orange dashed line
the line through the front edges of the treads. It gives the stair angle.
Because the first tread is one riser above the lower surface, line A to B is steeper than the line through the treads, so the stair angle is not the angle of line A to B.
Treads are drawn flush with the risers, with no nosing projection. For a cut stringer the treads sit on the notches, and the top of the stringer is drawn one tread thickness below the upper surface for illustration only. How the stringer connects to your deck framing is not modelled.

How to Measure Total Stair Rise

The total rise is the vertical distance from the finished lower surface, where the bottom of the stair will stand, to the finished upper surface, such as the top of the deck boards or the finished floor. Everything else in the layout comes from this one number, so it is worth measuring carefully.

  1. Lay a straight board or long level on the upper surface so it extends past the edge where the stairs will start.
  2. Level it, then measure straight down from the underside of the board to the lower surface at the exact spot where the stair will land.
  3. If the ground is sloped or uneven, measure where the foot of the stringers will actually bear, not at the nearest high or low point.
  4. Measure to the finished surfaces. If the decking, pavers or flooring are not installed yet, add their thickness to the measurement.

Where a deck stair meets the ground, DCA 6 has its own bearing and footing requirements (its Figure 34). This calculator does not evaluate them. If your project will cover or change either surface later, recalculate with the final heights.

How to Calculate Stair Risers and Treads

Every stair calculator starts from the tallest riser you will accept. A stair riser calculator divides the total rise by it and rounds up, then divides the rise by that whole number so every riser is the same.

  • Number of risers: N = ceiling(total rise ÷ maximum riser height)
  • Riser height: R = total rise ÷ N
  • Number of treads: N − 1
  • Horizontal run: G = treads × tread depth

The tread count is one less than the riser count because the upper floor or deck is the last step. The top riser rises from the last tread to that surface, so a flight of six risers has five treads and a run of five tread depths, not six. This is the most common mistake, whether you use a stair tread calculator or work the numbers by hand.

Example: a 42 in rise with a 7¾ in maximum riser gives 42 ÷ 7.75 = 5.42, which rounds up to 6 risers of 42 ÷ 6 = 7 in each. With 10 in treads there are 5 treads and a run of 50 in.

The riser and tread limits are yours to choose and your local code to set. The IRC and DCA 6 (2015 edition) use a 7¾ in maximum riser, a 10 in minimum tread and no more than ⅜ in variation between risers or between treads in a flight. Some jurisdictions amend these figures. Because every riser here is calculated as the same height, the variation is zero by construction. Building the stair to match is up to you.

Stair landings are not part of this version of the calculator. If you are searching for a stair stringer calculator with a landing, note that a landing splits the stair into separate straight flights, and the landing itself needs its own framing. DCA 6 requires an intermediate landing when a deck stair's total rise is more than 12 ft.

How to Calculate Stair Stringer Length

The stringer layout length is the straight-line distance between two reference points:

  • A, the lower reference point: the finished lower surface at the face of the first riser, taken as the origin (0, 0).
  • B, the upper reference point: the finished upper surface at the face of the last riser, at (run, total rise).

Point B is the total rise above A and one run away horizontally, so the length is the hypotenuse of that triangle: L = √(total rise² + run²). For the example, L = √(42² + 50²) = √4264 = 65.299 in.

The run is treads × tread depth, not risers × tread depth. Using the riser count would add a tread that does not exist and overstate the length.

Line A to B is not parallel to the stair. Because the first tread is one riser above the lower surface, A to B is steeper than the line through the tread edges, which is the line that sets the stair angle. The results also show the length along that line from the front edge of the first tread to the front edge of the deck, which is treads × √(riser² + tread²), or 5 × √149 = 61.033 in in the example, so you can see both.

Layout length is not purchase length. Neither figure is the length of board to buy. The board has to contain the whole cut layout, including the plumb and level end cuts and the depth of the board itself, and how much extra that needs depends on how you lay out and cut it. The calculator does not invent an allowance. Lay the stair out full size on the board before cutting, and choose a standard length that holds it.

The stair stringer angle is the angle of the line through the tread edges: arctangent(riser height ÷ tread depth). In the example, arctangent(7 ÷ 10) = 34.99°.

Stair Stringer Throat Depth Explained

A cut stringer is a board with notches cut into its top edge. The throat is the smallest amount of board left under a notch, measured at right angles to the underside of the stringer. It is found by subtracting the notch depth, measured the same way, from the actual depth of the board:

throat = actual board depth − (unit rise × unit run ÷ √(unit rise² + unit run²))

Use the actual dressed size of the lumber. A nominal 2×12 is about 11¼ in deep, not 12, so a 2×12 stair stringer calculator that used 12 in would overstate the throat by ¾ in.

For a 7 in rise and 10 in run the notch depth is 7 × 10 ÷ √149 = 5.735 in. The table shows the throat that leaves for each board size:

Nominal size Actual depth Throat (7 in rise, 10 in run) Against the 5 in reference
2×8 7.25 in 1.515 in Below
2×10 9.25 in 3.515 in Below
2×12 11.25 in 5.515 in At or above
2×14 13.25 in 7.515 in At or above

DCA 6 shows a 5 in minimum throat for cut stringers (its Figure 28), and the calculator warns when your result is below that. Passing the throat check does not show that a stringer is strong enough, because strength also depends on the lumber species and grade, the span, the loads and the connections. A solid stringer is not notched, so no throat applies to it.

How to Use a Framing Square

A framing square marks the notches. The two numbers it needs are the unit rise (your riser height) and the unit run (your tread depth).

  1. Read the unit rise and unit run from the results. In the example they are 7 in and 10 in.
  2. Hold the square with the unit rise on the tongue and the unit run on the blade both touching the edge of the board. Stair gauges or clamps fixed at those two marks make it repeatable.
  3. Trace the rise and the run, slide the square along so the rise mark meets the end of the line you just drew, and repeat for each step.
  4. For a cut stringer whose treads sit on the notches, lay out the first notch one tread thickness lower, so the first walking surface is still one riser above the lower surface. The bottom riser adjustment in the results is that thickness, and the first riser as cut is the riser height minus it.

The calculator shows the unit rise to three decimals and to the nearest sixteenth, because a square is marked in sixteenths. Rounding adds up. For a 96 in rise the riser is 7.385 in, about 7⅜ in on the square. Thirteen risers of exactly 7⅜ in would total 95.875 in, ⅛ in short, so check the total as you step off the board and use the decimal figure with a tape where you can.

Sequences differ between builders. The calculator documents one arrangement (shown in the diagram) and does not decide how the top of the stringer connects to your deck framing, which depends on the framing and the decking thickness.

Cut Stringers vs Solid Stringers

Cut stringer Solid stringer
How it is madeNotches cut into the board; treads rest on the notches.A full-depth board with no notches; treads are fixed to ledgers or supports on the sides.
ThroatYes. The notches remove wood, so the throat matters.None, so the calculator does not show one.
DCA 6 reference span6 ft 0 in maximum (Figure 28).13 ft 3 in maximum (Figure 28).
DCA 6 reference spacing18 in on center at most (Figure 29).36 in at most between solid stringers on a 36 in wide stair (Figure 29).

DCA 6 asks for a minimum 2×12 for all stair stringers, and gives minimum tread sizes for cut and solid stringers in its Table 6. These are the guide's figures for its own scope, residential wood decks, and are not a design for your project.

The span is measured horizontally. The calculator compares your run with the DCA 6 span for the stringer type you choose and warns when it is longer. A longer span needs intermediate support, which this calculator does not design.

How Many Stair Stringers Do You Need?

The calculator spaces stringers evenly, from the center of the stringer at one edge to the center of the stringer at the other, with no gap wider than the maximum spacing you enter. It assumes the outer stringers sit flush with the edges of the stair, so the centerline span is the stair width minus one stringer thickness (1½ in for 2× lumber):

stringers = ceiling((stair width − stringer thickness) ÷ maximum spacing) + 1

A 36 in wide stair at 18 in spacing has a centerline span of 34.5 in, which needs two gaps and so three stringers, 17.25 in apart, with the outer ones centered ¾ in from each edge. A 48 in stair gets four stringers (15.5 in apart), a 60 in stair five (14.625 in) and a 72 in stair five (17.625 in). This matches the DCA 6 statement that a stair with only cut stringers needs a minimum of three. For stairs wider than 36 in, DCA 6 allows a combination of cut and solid stringers at no more than 18 in on center, so the calculator compares a solid-stringer spacing on a wider stair with 18 in, not 36 in. What the treads are made of also matters, so check the tread span against DCA 6 Figure 29 and Table 6.

This is a quantity estimate from geometry and a spacing you choose. It is not a structural design, and it does not show that the number of stringers is adequate for any lumber, load or jurisdiction.

Residential Stair Dimensions and Code References

The reference profile in this deck stair stringer calculator uses figures from the American Wood Council's Prescriptive Residential Wood Deck Construction Guide (DCA 6, 2015 edition, based on the 2015 International Residential Code). It is a 2015 guide. It is not the code in force where you live, which may be a newer edition of the IRC and may be amended locally, and the guide itself says that building to it does not assure that the requirements of any particular jurisdiction are met.

Its scope is narrow. DCA 6 applies to single-level residential wood decks attached to the house, and it excludes, for example, decks carrying hot tubs or other large concentrated loads and decks with snow loads above 40 psf. Its stair details are for stairs serving such decks. They are not rules for interior stairs, other buildings, or commercial or workplace stairs, which follow different requirements that this calculator does not cover. Local codes vary and are often amended, so check yours.

The guide brackets the IRC sections it restates, says that provisions not found in the IRC are recommended good practice, and says that where it differs from the IRC, the IRC applies. In the table, the riser, tread, nosing and width figures correspond to IRC R311.7. The stringer size, throat, span, spacing and landing figures are DCA 6's own prescriptive details and the guide gives them without an IRC section reference, so do not treat them as IRC requirements.

Item DCA 6 (2015) reference Origin
Maximum riser height7¾ in; risers in a flight within ⅜ in of one another (Figure 27)IRC R311.7
Minimum tread depth10 in; nosing ¾ in to 1¼ in (Figure 27)IRC R311.7
Minimum stair width36 in (stair requirements; Figure 33)IRC R311.7
Stringer size2×12 minimum (stair requirements)DCA 6 detail
Cut stringer throat and span5 in minimum; 6 ft 0 in maximum span (Figure 28)DCA 6 detail
Solid stringer span13 ft 3 in maximum (Figure 28)DCA 6 detail
Stringer spacing and numberCut stringers 18 in on center at most; solid stringers 36 in at most on a 36 in stair; at least 3 when only cut stringers are used; stairs wider than 36 in 18 in on center at most (Figure 29; stair requirements)DCA 6 detail
Maximum total rise without a landing12 ft 0 in (stair requirements)DCA 6 detail
HandrailOn at least one side of stairs with 4 or more risers (handrail requirements)IRC R311.7.8
Stair guardRequired for a total rise of 30 in or more (Figure 30)Guard requirements

Showing a value as within one of these figures is not a statement that your stair meets code, and showing it outside is not a ruling that it does not. The calculator does not check handrails, guards, lighting, footings, connections, lumber grade or loads. For measurements and unit conversions while you plan, the Length Converter covers feet, inches, millimeters and centimeters.

Frequently Asked Questions

How do I calculate stair stringer length?

Work out the number of risers (total rise ÷ maximum riser height, rounded up), the equal riser height (total rise ÷ number of risers) and the number of treads (risers minus one). The horizontal run is treads × tread depth, and the stringer layout length is the straight-line distance between the lower and upper reference points: the square root of (total rise² + run²). For a 42 in rise with 10 in treads that is √(42² + 50²) = 65.299 in. This is a layout length, not the length of board to buy.

How many risers do I need?

Divide the total rise by the largest riser height you are willing to use and round up to a whole number. A 42 in rise with a 7¾ in maximum gives 5.42, so 6 risers. Dividing the rise by 6 gives equal risers of exactly 7 in.

Why is the number of treads one less than the number of risers?

In a straight flight the upper floor or deck is the last step. The top riser rises from the last tread to that surface, so no tread is cut for it. Six risers therefore need five treads.

Do I subtract the tread thickness from the first riser?

For a cut stringer whose treads sit on top of the notches and whose bottom rests on the finished lower surface, yes: the first notch is cut one tread thickness lower so the first walking surface is still one riser height above the floor. The calculator shows this as the bottom riser adjustment. For a solid stringer there are no notches, so it does not apply.

What is stringer throat depth?

The throat is the least amount of board left under a notch, measured at right angles to the underside of the stringer. It equals the actual board depth minus (unit rise × unit run ÷ √(unit rise² + unit run²)). For a 2×12 (11¼ in actual) with a 7 in rise and 10 in run the throat is 5.515 in.

Is a 2×12 really 12 inches deep?

No. A nominal 2×12 is about 1½ in × 11¼ in once dressed, and the calculator uses that actual depth. Using 12 in would overstate the throat by ¾ in. Measure your own boards, because dressed sizes can vary.

How many stair stringers do I need?

The calculator spaces stringers no farther apart than the maximum you enter: the number of gaps is the centerline width divided by that spacing, rounded up, and the stringer count is one more. A 36 in wide stair at 18 in spacing gives three. This is a layout estimate, not a structural design.

Can I use this for a stair with a landing?

Not directly. This version calculates one straight flight and does not model landings, winders or turns. DCA 6 calls for an intermediate landing when the total rise of a deck stair exceeds 12 ft. If your stair has a landing, each straight flight would be laid out separately and the landing framing is outside this calculator.

Does the calculator guarantee code compliance?

No. It compares your numbers with a reference profile taken from the American Wood Council's DCA 6 deck guide and the IRC it is based on, and flags values outside it. Local codes add or amend requirements, and the calculator does not check loads, lumber grade, connections or footings. Confirm your plan with your local building department.

Can I enter metric measurements?

Yes. Choose millimeters or centimeters, or feet and inches. Everything is converted to inches internally (1 in = 25.4 mm exactly) and results are shown in the system you chose.

Sources

  • Prescriptive Residential Wood Deck Construction Guide (DCA 6, 2015 edition), American Wood Council: stair requirements, Figures 27 to 34 and Table 6. Check awc.org for any newer edition.
  • International Residential Code, section R311.7 (stairways), International Code Council. Editions and local amendments vary.
  • American Softwood Lumber Standard, PS 20: dressed sizes of dimension lumber. Actual sizes vary with the product, so measure your boards.