Stair Stringer Calculator for Decks
Calculate deck stair risers, horizontal run and nominal diagonal stringer span before end cuts.
How the result changes
Only finished total rise changes; all other inputs stay at your current values. The line illustrates the formula across the shown range. This is not a forecast of real-world outcomes.
About this calculation
A deck stair stringer needs a consistent vertical rise and horizontal tread layout. Start with the finished height from the lower landing to the deck surface, not the raw framing height. This calculator divides that rise into a whole number of equal risers and treats the deck surface as the top landing, so it counts one fewer cut tread than risers. It is a geometric planning aid. Structural strength, attachment, landings, handrails, nosings and local stair rules still need separate review. It also estimates the straight diagonal span between the landings before end cuts.
Formula
n = ⌈H / h⌉; hₐ = H / n; t = max(0, n − 1); R = t × d; L = √(H² + R²)
Worked example
With Finished total rise: 280 cm, Target maximum rise per step: 18 cm, Planned tread depth: 28 cm, nominal diagonal stringer span before cuts is 504.777179 cm.
Measure finished rise before dividing it
Take the total rise vertically between the final walking surfaces. Include the thickness of decking and landing finishes that change those elevations. Choose a target maximum rise as a planning value, then verify the permitted riser and tread dimensions in the code that applies where the deck stands. The calculator rounds the number of risers upward so the actual equal rise does not exceed the target. It does not automatically certify a stair design or select lumber dimensions.
Count the top deck as a landing
For this layout, the deck surface is the final place a person steps onto. With N vertical rises there are N minus one separate treads cut into the stringer below that top surface. Multiply those cut treads by the selected tread depth to obtain the horizontal run of the cut portion. If your construction has a separate top tread level with the deck, this convention does not describe it. Sketch the side elevation and label each landing before marking lumber.
Worked deck-stair example
Suppose the finished height is 280 cm and the target rise is 18 cm. Dividing gives 15.56, so round up to 16 risers. Each actual rise is 280 ÷ 16 = 17.5 cm. With the deck as the top landing, the stringer has 15 cut treads. At 28 cm tread depth, their horizontal run is 15 × 28 = 420 cm. A target of 17 cm would produce a different riser count, so the total run could jump rather than change smoothly.
Transfer the layout to material carefully
Mark one 17.5-by-28 cm rise-and-run pattern repeatedly with a reliable square; do not round each mark independently or small errors will accumulate. The first and last cuts need adjustment for the thickness of treads, the attachment method and the bearing at the lower landing. These details affect the physical stringer even though the count formula is correct. Verify the available horizontal space and clearance before cutting. A drawing with every step and final elevation is more useful than an isolated tread number. Uniformity of finished risers matters: adding a tread cover after cutting changes the first and last heights if it is not accounted for. The number of stringers required across stair width, lumber depth beneath notches, fasteners, guards and footings are outside this model. Codes differ by location and building type. Have the planned dimensions and connection details checked against applicable requirements and manufacturer instructions before construction, especially for a raised or public-access deck. The diagonal result measures a straight geometric span between landings before end cuts; it is not a stock-board length or structural sizing recommendation.
Common questions
Why is the tread count one less than the riser count?
This model counts the deck surface as the top landing. You climb one last rise from the highest separate tread to that surface, so 16 equal rises correspond to 15 cut treads below the deck. If the actual assembly places a separate tread at deck height, draw and calculate that different geometry instead of silently adding a tread to this result.
Sources and references
Inputs
- Finished total rise (cm)
- Target maximum rise per step (cm)
- Planned tread depth (cm)