Roof framing
Roof Rafter Length & Pitch Calculator
Lay out common, hip and valley rafters. See how slope, ridge thickness and a birdsmouth change the cut dimensions.
Project inputs
Results
Updates as you type- Common rafter with tail
- 14 ft 5.57 in
- Hip centerline with eave
- 19 ft 6 in
- Sloped roof area
- 1,104.6 ft²
Roof section and birdsmouth
SchematicProject inputs
- Full outside-wall span
- 24 ft
- Rise per 12 of run
- 6
- Building length along ridge
- 36 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 × 8
- Actual wall plate width
- 3.5 in
- Horizontal seat cut
- 3.5 in
Calculation details
- Common rafter with tail
- 14 ft 5.57 in
- Hip centerline with eave
- 19 ft 6 in
- Sloped roof area
- 1,104.6 ft²
- Common run to ridge center
- 12 ft
- Rise from wall line
- 6 ft
- Common length to ridge face
- 13 ft 4.16 in
- Tail length along slope
- 13.42 in
- 45° valley to wall line
- 18 ft
- Common rafter angle
- 26.6°
- Ridge centerline length
- 38 ft
- Vertical heel cut
- 1.75 in
- Perpendicular birdsmouth depth
- 1.57 in
- Remaining rafter depth
- 5.68 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.
How the calculation works
The steps use US customary units for the reference formulas.
Lay out the common rafter
Half the span is 144 in. Multiply by 6/12 to get 72 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 14 ft 5.57 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 1,104.62 ft².
Lay out the birdsmouth
Mark 3.5 in of level seat and 1.75 in of vertical heel. The notch consumes 1.57 in perpendicular to the grain, leaving 5.68 in.
Enter valid values to see the steps for this layout.
Frequently asked questions
Do I enter the full building width or the half span for rafters?
Enter the full outside-wall span. The calculator halves it for the common run and deducts half the entered ridge thickness from the cut run.
Why does a hip use a different length factor from a common rafter?
An equal-pitch hip runs diagonally across the roof plan. Its plan run is √2 times the common run, with the same vertical rise at the ridge.