How to Calculate Rafter Length

Use trigonometry to find rafter length from building span and roof pitch โ€” including birdsmouth cut, ridge height, and overhang calculations.

The Basic Rafter Length Formula

A common rafter runs from the ridge board at the peak to the top plate of the exterior wall. The length depends on the building's half-span (run) and the roof pitch.

Rafter Length = Run รท cos(pitch angle)
Run = Building Span รท 2

Alternative: Rafter Length = Run ร— Pitch Multiplier
Pitch Multiplier for 6/12 = 1.118

Example

Building span = 30 feet, pitch = 6/12 (26.57ยฐ):

  • Run = 30 รท 2 = 15 feet
  • Rafter length = 15 รท cos(26.57ยฐ) = 15 ร— 1.118 = 16.77 feet

Ridge Height

The height of the ridge above the top plate is calculated from the run and pitch:

Ridge Height = Run ร— tan(pitch angle)
= Run ร— (rise/12)
Example: 15' run at 6/12 = 15 ร— 0.5 = 7.5 feet

The Birdsmouth Cut

The birdsmouth is the notch cut into the rafter where it sits on the top plate of the wall. It consists of two cuts:

  • Seat cut (level cut): The horizontal portion that sits flat on the top plate. Width equals the top plate width (typically 3.5" for a 2ร—4 wall).
  • Plumb cut: The vertical portion. Depth should not exceed 1/3 of the rafter depth.
Seat Cut Width = Wall Plate Width (3.5" for 2ร—4)
Plumb Cut Depth = Seat Width ร— tan(pitch angle)
HAP (Height Above Plate) = Rafter Depth โˆ’ Plumb Cut Depth
Rule: Plumb cut depth โ‰ค 1/3 rafter depth

Overhang / Tail Length

The rafter tail extends beyond the wall to create the eave overhang. Calculate the tail length from the desired horizontal overhang:

Tail Length = Horizontal Overhang รท cos(pitch angle)
Example: 12" overhang at 6/12 = 12 รท cos(26.57ยฐ) = 13.4 inches

Total Rafter Board Length

Total = Rafter Length + Tail Length โˆ’ (ยฝ Ridge Board Thickness)
Ridge board thickness is typically 1.5" (a 2ร— board)

Rafter Sizing Guide

Rafter SizeMax Span (20 PSF, 16" OC)Max Span (40 PSF, 16" OC)
2ร—6 SPF #212' 6"10' 2"
2ร—8 SPF #216' 6"13' 5"
2ร—10 SPF #221' 0"17' 1"
2ร—12 SPF #225' 7"20' 10"

Calculate Rafters Instantly