Audited 27 Jul 2026·Last updated 28 Oct 2026·6 citations·Tier 1·0 uses

Deck Stair Stringer Calculator

Lay out deck stairs from the deck height: riser count and exact riser height, treads, total run, stringer length, bottom cut and stringer count.

Deck Stair Stringer Calculator

Riser count
8
The number of risers, the total rise divided by your target riser and rounded up to a whole step.
Actual riser height
6.75
Tread count
7
Total stair run
73.5
Total stair run
6.125
Stringer layout length
91.2044
Stringer layout length
7.6004
Bottom riser cut (tread-thickness adjusted)
5.75
Required stringer count
4
Actual stringer spacing
14
Check against your local limits
Within your limits: the 6.75 in riser is at or under your 7.75 in maximum; the 10.5 in tread is at or over your 10 in minimum. This compares geometry only and is not proof the stair will pass inspection.
Check against your board length
Fits: the stringer layout length is 7.6 ft and your board is 8 ft. Leave room beyond the layout line for the end cuts.

Background.

Every riser on a deck stair has to match its neighbours to within 3/8 inch — the tolerance the American Wood Council's deck guide, DCA6, carries over from the International Residential Code. The only reliable way to hit it is to work down from the total height: measure from the finished landing to the finished deck surface, divide by the riser you would like, round up to a whole number of steps, and let that number set the exact height of every one. Starting from a favourite riser and stepping down until the deck runs out is how a stair ends with a short or tall step at the bottom.

From the total rise and a target riser, you get the riser count, the actual riser height, the number of treads, how far the stair reaches out from the deck, and the diagonal layout length of the stringer. A tread-thickness entry lowers the bottom cut so the first step comes out the same height as the rest once treads are on, and the stair width and maximum spacing give the number of stringers and how far apart they sit.

The results compare your actual riser and tread with limits you enter, preset to the 7¾-inch maximum riser and 10-inch minimum tread in DCA6. Other limits are not tested, and some bite on very ordinary decks. DCA6 lets a notched 2x12 stringer span no more than 6 feet horizontally, and the 54-inch deck in the worked example below needs a run of 73.5 inches — just past that limit. Use the layout numbers to plan and mark the cut, then check span, throat depth, guards, handrails and footings against DCA6 or the rules your building department applies before you buy lumber.

What is deck stair stringer calculator?

A stair stringer is the sloped board that carries the treads. A cut stringer is notched into a sawtooth, with each tread resting on a level cut and each riser on a plumb cut; a solid stringer stays whole and the treads sit on ledgers or hangers fixed to its face. Laying one out means turning a single measurement, the total rise, into a whole number of equal risers, a matching set of treads, and a total run. The stringer layout length is the diagonal of the right triangle formed by the total rise and the total run: the line through the corners of the notches from the landing up to deck height.

How to use this calculator.

  1. Measure the total rise in inches from the finished landing surface to the top of the decking. If the ground slopes, measure at the spot where the bottom step will land, roughly one total run out from the deck, using a straight board and a level, and rerun the numbers if the riser count changes.
  2. Enter a target riser height (4 to 8.25 inches). It acts as a ceiling: the actual riser comes out equal to it or lower, never higher.
  3. Enter the tread depth as the horizontal step from one nosing to the next, which is the length of the level cut on the stringer. The tread boards will overhang that by the nosing, which DCA6 sets at 3/4 to 1¼ inches.
  4. Enter the stair width and the maximum stringer spacing your treads allow; DCA6 permits 18 inches on center for cut stringers under 2x or 5/4 wood treads, and composite tread makers often require less.
  5. Enter the actual tread thickness, about 1 inch for 5/4 decking or 1½ inches for 2x lumber. Optionally enter the length of the board you plan to use; the board-length line then says whether the stringer layout length fits it, and leaving the box blank or 0 skips that check.
  6. Enter the maximum riser and minimum tread your jurisdiction enforces, or 0 in either box to skip that comparison, then read the check beneath the results.

The formula.

L = √( rise² + run² )

The layout runs in a fixed order. The riser count is N = ⌈H ÷ r_target⌉, the total rise H divided by your target riser and rounded up to a whole number; rounding up is what keeps every actual riser at or below the target. The actual riser is r = H ÷ N. Because the deck surface itself is the top step, there is one tread fewer than risers, N − 1, and the total run is (N − 1) × T for a tread depth T. The stringer layout length follows from Pythagoras, L = √(H² + run²).

The bottom riser cut is r − t, where t is the tread thickness. On a cut stringer every tread sits on top of a level cut, so the first tread would stand a full thickness taller than the other risers if the stringer bottom were left at r. Trimming t off the bottom drops the whole stringer by that amount; every step above still rises r, and the top step lands r below the deck surface.

Stringer count uses the stair width W and your maximum spacing s: the number of gaps is ⌈W ÷ s⌉, the stringers are one more than the gaps, and the actual spacing is W divided by the number of gaps. The width is treated as the distance between the outer stringers.

Two things the formula does not tell you are worth working out by hand. Each notch cuts r × T ÷ √(r² + T²) deep into the board, measured square to its edge, and what remains of a 2x12's actual 11¼-inch depth is the throat that carries the load. And L is the length of the sawtooth line, not of the board: the stringer extends beyond it where it is cut plumb against the rim joist and level on its bearing at the bottom, so the lumber has to be longer than L.

A worked example.

Example

The deck surface sits 54 inches above the landing, and the builder aims for 7.5-inch risers. Dividing, 54 ÷ 7.5 = 7.2, and since a stair needs a whole number of steps that rounds up to 8 risers, each exactly 54 ÷ 8 = 6.75 inches. With the deck as the top step there are 7 treads; at 10.5 inches each, the stair runs 7 × 10.5 = 73.5 inches, or 6.125 feet, out from the deck. The stringer layout is √(54² + 73.5²) = √(2,916 + 5,402.25) = √8,318.25 = 91.2 inches, or 7.6 feet. With 1-inch treads the bottom riser is cut to 6.75 − 1 = 5.75 inches. Across a 42-inch stair with stringers no more than 16 inches apart, 42 ÷ 16 = 2.625 rounds up to 3 gaps, so 4 stringers at 42 ÷ 3 = 14 inches on center. The 6.75-inch riser and 10.5-inch tread sit inside the 7.75 and 10-inch limits. The numbers raise two practical points. An 8-foot board is 96 inches long, only 4.8 inches more than the layout line, which leaves very little for the end cuts. And the 73.5-inch run is longer than DCA6's 6-foot (72-inch) limit for a cut stringer's span, so under that guide this stair would need a supporting post partway down or solid stringers. The throat is comfortable: each notch is 6.75 × 10.5 ÷ √(6.75² + 10.5²) = 5.68 inches deep, leaving 5.57 inches of the 2x12.

stringer Board Length Ft8
max Stringer Spacing In16
target Riser In7.5
total Rise In54
tread Depth In10.5
tread Thickness In1
stair Width In42

Frequently asked questions.

Why did I get 8 risers when 54 ÷ 7.5 is only 7.2?
A stair cannot have a fraction of a step, and rounding down to 7 would push each riser to 7.714 inches, above the 7.5 you asked for. Rounding up gives 8 risers of 6.75 inches. If you would accept the steeper step, enter 7.75 as the target: you get 7 risers of 7.714 inches, 6 treads, a 63-inch run and an 82.98-inch stringer — one less tread and 10.5 inches less reach into the yard.
Why is there one fewer tread than risers?
Because the deck is the top step. You climb the last riser straight onto the decking, so no separate tread is needed there. An 8-riser stair has 7 treads; the total run is those 7 tread depths. If you build a separate top landing or start the stringers one step below the deck surface, count the treads for that arrangement yourself.
Why is the bottom riser cut shorter than the others?
Each tread adds its thickness on top of the stringer. Without an adjustment the bottom step, from the landing to the top of the first tread, would be a full tread thickness taller than the rest. Cutting that amount off the bottom of the stringer lowers it so every finished riser matches. Measure the rise to the finished landing — a paver or concrete pad added later changes the bottom step too.
How many stringers does a 36-inch stair need?
DCA6 requires deck stairs to be at least 36 inches wide, at least three stringers where only cut stringers are used, and no more than 18 inches between them. Entering 36 inches of width with 18 inches maximum spacing returns 3 stringers at 18 inches. Composite and some plastic treads often need closer support, so check the tread manufacturer's stair spacing before you settle on a number.
How long can a notched stringer span?
DCA6 limits a cut 2x12 stringer to 6 feet of horizontal span and a solid stringer to 13 feet 3 inches. The horizontal span is roughly the total run. If yours is longer, the guide allows a 4x4 post bolted to the stringer and set on its own footing to shorten the span, or an intermediate landing. A run of 73.5 inches already calls for one with cut stringers.
How much wood is left under the notches?
Each notch removes r × T ÷ √(r² + T²) measured square to the stringer's edge. For 6.75-inch risers and 10.5-inch treads that is 5.68 inches, leaving 5.57 inches of a 2x12's 11¼-inch depth. At the steepest DCA6 geometry, 7.75 by 10 inches, the remainder is about 5.12 inches. DCA6 sets a 5-inch minimum throat and requires 2x12 stringers; a 2x10 would fall well short.
Does my deck stair need a handrail and a guard?
Under DCA6, any stair with four or more risers needs a handrail on at least one side, 34 to 38 inches above the line of the nosings, and a stair with a total rise of 30 inches or more needs guards at least 34 inches high whose openings stop a 4⅜-inch sphere. The 8-riser, 54-inch example needs both. A 30-inch deck lays out as 4 risers of 7.5 inches, so it needs them too.
What changes if the deck is very high?
DCA6 requires an intermediate landing once a stairway's total vertical height exceeds 12 feet, 144 inches, and each landing must be at least 36 inches deep in the direction of travel and as wide as the stair. Lay out each flight separately with its own rise. Even a 120-inch rise at 7.5-inch risers makes 16 risers, a 157.5-inch run and a 198-inch stringer line, well past the cut-stringer span limit.
The ground at the bottom slopes away. Where do I measure the rise?
At the point where the bottom step will land, because that is what the stair must reach. If the ground there sits 4 inches lower than at the deck edge, the 54-inch rise becomes 58: still 8 risers, now 7.25 inches each, and a 6.25-inch bottom cut. DCA6 also wants the stringers to bear on footings at least 12 inches below undisturbed ground or the frost line, not on a patio that is not founded that deep.
If the check says within your limits, will the stair pass inspection?
Not necessarily. The check compares geometry only: your actual riser against the maximum you entered and your tread depth against the minimum. An inspector also looks at riser uniformity within 3/8 inch, nosings of 3/4 to 1¼ inches, open risers that stop a 4-inch sphere, handrails, guards, footings, fastening and a light at the top landing switched from inside the house.

How this page was produced

Published by
Quanta Calculator
Primary sources
6 cited below
Method
L = √( rise² + run² )
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon