WoodKoma WoodKoma
Gable & Shed Framing · Plumb & Seat Cut Angles

Rafter Length Calculator & Roof Pitch Blueprint

Calculate exact common rafter lengths for garages, backyard sheds, porches, and gable roofs. Automatically deducts half the ridge board thickness and adds your eave overhang to give shop-ready cut lengths and miter saw angles.

Total Rafter Length
—
Buy Lumber Size
—
Ridge Peak Rise
—
Plumb / Seat Cut
—
Effective Run (after ridge deduction): —
Rafter Line Length (wall to ridge): —
Tail / Overhang Length: —
Live Gable Rafter Framing Diagram

Common Rafter Formula & Birdsmouth Cutting Tips

Every common rafter is a right triangle: Effective Run equals half of your total building span minus half the thickness of your ridge board (typically 0.75″ for a 2× ridge). Multiply Effective Run by your pitch ratio (e.g., 6/12) to find the Rise, then apply the Pythagorean theorem (√(Run² + Rise²)) and add the overhang tail length.

  • Plumb Cut vs. Seat Cut: The vertical ridge cut (plumb cut) is set at the roof pitch angle from vertical, while the horizontal birdsmouth seat cut is the complementary angle (90° − pitch angle).
  • Birdsmouth Depth Rule: Never notch more than 1/3 of the rafter's depth at the top wall plate so structural bearing capacity stays intact.
  • Need lumber volume for your shed or pergola? Check total board footage with our Board Foot Calculator.