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
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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.
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.
Frequently asked questions.
Why did I get 8 risers when 54 ÷ 7.5 is only 7.2?
Why is there one fewer tread than risers?
Why is the bottom riser cut shorter than the others?
How many stringers does a 36-inch stair need?
How long can a notched stringer span?
How much wood is left under the notches?
Does my deck stair need a handrail and a guard?
What changes if the deck is very high?
The ground at the bottom slopes away. Where do I measure the rise?
If the check says within your limits, will the stair pass inspection?
References& sources.
- [1]American Wood Council (2018). DCA6 Prescriptive Residential Wood Deck Construction Guide Based on the 2015 International Residential Code. AWC.
- [2]Simpson Strong-Tie (2026). Deck Connection and Fastening Guide. Simpson Strong-Tie.
- [3]International Code Council (2024). 2024 International Residential Code, Chapter 3 Building Planning, Section R311.7 Stairways. ICC Digital Codes.
- [4]International Code Council (2018). 2018 International Residential Code, Section R311.7.5.1 Risers. ICC Digital Codes.
- [5]International Code Council (2018). 2018 International Residential Code, Section R311.7.6 Landings for Stairways. ICC Digital Codes.
- [6]American Wood Council (n.d.). Is Your Deck Safely Connected to Your House? AWC.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- 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