This sheet works a 38" deck two ways. Option A uses the fewest risers the IRC allows, 5 at 7-5/8" on 10" treads. Option B adds one riser and uses 11" treads for a gentler 6-5/16" step. Both come with hook-once tape marks for the stringer edge, below the calculator.
Option A: 5 risers at 7-5/8"
38" ÷ 7.75 = 4.90, rounded up to 5 risers, each 7-5/8"− (7.6000", 193.0 mm). On 4 treads of 10" the stair lands 40" (3' 4") out from the deck and climbs at 37.2°; 2R + T scores 25.20".
Each step is 12-9/16" along the stringer edge. Notches cut 6-1/16" deep, leaving 5-3/16" of throat in a 2x12; the cut length is 4' 6-1/4", so buy 8 ft stock.
Option B: 6 risers at 6-5/16"
One more riser drops each step to 6-5/16"+ (6.3333"). With 11" treads the run grows to 55" (4' 7"), 15" more than Option A, and the angle eases to 29.9° with 2R + T at 23.67".
The diagonal is 12-11/16", the throat 5-3/4", and the stringer cut length 5' 6-1/8" (8 ft).
Cutting the bottom and the top
Take the tread thickness off the bottom riser: 7-5/8" becomes 6-5/8" under 1" 5/4 or composite treads, 6-1/8" under 1-1/2" 2x6 treads. Every finished step then measures 7-5/8".
At the top, the last tread notch sits 8-5/8" 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
5 risers means a handrail is required (four or more risers), 34" to 38" above the nosings.
At 38" the open sides need a guard: 34" above the nosings, no opening wider than a 4-3/8" sphere, and the tread-riser triangle under 6".
The 40" run is within the 6'-0" a cut 2x12 stringer may span under DCA 6, so no mid-support is needed.