This sheet works an 18" porch or low deck two ways. Option A uses the fewest risers the IRC allows, 3 at 6" on 10" treads. Option B adds one riser and uses 11" treads for a gentler 4-1/2" step. Both come with hook-once tape marks for the stringer edge, below the calculator.
Option A: 3 risers at 6"
18" ÷ 7.75 = 2.32, rounded up to 3 risers, each 6" (6.0000", 152.4 mm). On 2 treads of 10" the stair lands 20" (1' 8") out from the deck and climbs at 31.0°; 2R + T scores 22.00".
Each step is 11-11/16"− along the stringer edge. Notches cut 5-1/8" deep, leaving 6-1/8" of throat in a 2x12; the cut length is 2' 1-7/8", so buy 8 ft stock.
Option B: 4 risers at 4-1/2"
One more riser drops each step to 4-1/2" (4.5000"). With 11" treads the run grows to 33" (2' 9"), 13" more than Option A, and the angle eases to 22.2° with 2R + T at 20.00".
The diagonal is 11-7/8", the throat 7-1/16", and the stringer cut length 3' 1" (8 ft).
Cutting the bottom and the top
Take the tread thickness off the bottom riser: 6" becomes 5" under 1" 5/4 or composite treads, 4-1/2" under 1-1/2" 2x6 treads. Every finished step then measures 6".
At the top, the last tread notch sits 7" below the finished deck for 1" treads. Hung flush from the rim, the stringer edge meets the rim face 1" below the finished deck surface.
Code notes for this deck
With 3 risers no handrail is required (the IRC asks for one at four or more).
Under 30" of total rise the open sides need no guard, though many owners add one.
The 20" run is within the 6'-0" a cut 2x12 stringer may span under DCA 6, so no mid-support is needed.