Worked example · Roof framing
12/12 Valley Rafter Length for a 20 ft Span
Two equal-slope planes meet in a valley at a right-angle plan intersection. At 12/12, the valley rises 10 ft while crossing a plan diagonal with two 10 ft legs.
Example inputs
Worked result
Updates as you type- Common rafter with tail
- 15 ft 5.62 in
- Hip centerline with eave
- 19 ft 0.63 in
- Sloped roof area
- 995.6 ft²
Roof section and birdsmouth
SchematicProject inputs
- Full outside-wall span
- 20 ft
- Rise per 12 of run
- 12
- Building length along ridge
- 30 ft
- Horizontal eave overhang
- 12 in
- Roof plan shape
- Symmetric gable
- Gable overhang per end
- 12 in
- Actual ridge thickness
- 1.5 in
- Sawn rafter stock
- 2 × 12
- Actual wall plate width
- 3.5 in
- Horizontal seat cut
- 3.5 in
Calculation details
- Common rafter with tail
- 15 ft 5.62 in
- Hip centerline with eave
- 19 ft 0.63 in
- Sloped roof area
- 995.6 ft²
- Common run to ridge center
- 10 ft
- Rise from wall line
- 10 ft
- Common length to ridge face
- 14 ft 0.64 in
- Tail length along slope
- 16.97 in
- 45° valley to wall line
- 17 ft 3.85 in
- Common rafter angle
- 45°
- Ridge centerline length
- 32 ft
- Vertical heel cut
- 3.5 in
- Perpendicular birdsmouth depth
- 2.47 in
- Remaining rafter depth
- 8.78 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 12/12 to get 120 in rise above the wall line.
Allow for the ridge and tail
Subtract half the 1.5 in ridge thickness from run, add 12 in horizontal tail, then multiply by √(1 + slope²) for 15 ft 5.62 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 995.61 ft².
Lay out the birdsmouth
Mark 3.5 in of level seat and 3.5 in of vertical heel. The notch consumes 2.47 in perpendicular to the grain, leaving 8.78 in.
Enter valid values to see the steps for this layout.
Frequently asked questions
How long is the 12/12 valley line before cut allowances?
The equal-pitch 45° centerline is 10 × √3 ft, about 17.32 ft to the wall line.
Why can the cut valley stock differ from the centerline length?
The joint geometry, valley thickness, offsets and end bearing shift the long and short points of the cuts.