Worked example · Roof framing
4/12 Rafter Length for a 20 ft Span and 18 in. Overhang
A garage has a 20 ft span, a 4/12 gable and an 18 in. horizontal overhang. Lay out the wall-to-ridge cut and the eave tail on 2×8 stock.
Example inputs
Worked result
Updates as you type- Common rafter with tail
- 12 ft 0.67 in
- Hip centerline with eave
- 16 ft 8.51 in
- Sloped roof area
- 630.3 ft²
Roof section and birdsmouth
SchematicProject inputs
- Full outside-wall span
- 20 ft
- Rise per 12 of run
- 4
- Building length along ridge
- 24 ft
- Horizontal eave overhang
- 18 in
- Roof plan shape
- Symmetric gable
- Gable overhang per end
- 12 in
- Actual ridge thickness
- 1.5 in
- Sawn rafter stock
- 2 × 8
- Actual wall plate width
- 3.5 in
- Horizontal seat cut
- 3.5 in
Calculation details
- Common rafter with tail
- 12 ft 0.67 in
- Hip centerline with eave
- 16 ft 8.51 in
- Sloped roof area
- 630.3 ft²
- Common run to ridge center
- 10 ft
- Rise from wall line
- 3 ft 4 in
- Common length to ridge face
- 10 ft 5.7 in
- Tail length along slope
- 18.97 in
- 45° valley to wall line
- 14 ft 6.36 in
- Common rafter angle
- 18.4°
- Ridge centerline length
- 26 ft
- Vertical heel cut
- 1.17 in
- Perpendicular birdsmouth depth
- 1.11 in
- Remaining rafter depth
- 6.14 in
Checks and references
- Within limit
Wood bearing seat
R802.6 requires at least 1½ in. of bearing on wood or metal. Seat length must fit the actual plate.
- Within limit
Sawn rafter notch
R802.7.1.1 calls for at least 3½ in. remaining depth and up to 24 in. of cantilever for this detail.
- Reference
Ridge and roof load path
Confirm rafter spans, ties, ridge support, heel connectors and roof loading for the actual assembly.
Worked calculation
The steps use US customary units for the reference formulas.
Lay out the common rafter
Half the span is 120 in. Multiply by 4/12 to get 40 in rise above the wall line.
Allow for the ridge and tail
Subtract half the 1.5 in ridge thickness from run, add 18 in horizontal tail, then multiply by √(1 + slope²) for 12 ft 0.67 in.
Check diagonal framing and area
An equal-pitch 45° hip or valley uses √(2 + slope²) × common run. Multiply the eave-inclusive plan area by the common slope factor for 630.35 ft².
Lay out the birdsmouth
Mark 3.5 in of level seat and 1.17 in of vertical heel. The notch consumes 1.11 in perpendicular to the grain, leaving 6.14 in.
Enter valid values to see the steps for this layout.
Frequently asked questions
Is the 18 in. overhang measured horizontally or along a 4/12 rafter?
Enter the horizontal projection. The sloped tail length is about 18.97 in. before fascia cuts.
What if the garage plan specifies overhang to the face of the fascia?
Deduct the horizontal projection of the fascia thickness before using the result as a cut length. Confirm the drawing datum.