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

Roof dimensions
ft
ft
in
in
Ridge and bearing cuts
in
in
in
See results

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

Schematic
Roof section and birdsmouth 24 ft6:12 · 26.6°Rise 6 ft · gable planBirdsmouth3.5 in level seat1.57 in notch

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.

  1. Lay out the common rafter

    Half the span is 144 in. Multiply by 6/12 to get 72 in rise above the wall line.

  2. 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.

  3. 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².

  4. 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.

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.

Other calculators