Skip to main content
Shops & Outbuildings 8 min read Feb 23, 2026

Rafter Framing and Roof Geometry

Cut rafters right the first time with unit run, rise, and bird's mouth layout

Rafter framing is geometry made physical. Every cut (plumb, seat, tail) is determined by the roof pitch, span, and overhang dimensions. A framing square and the unit-run/unit-rise system have been the carpenter's tools for solving this geometry for over a century, and the underlying math is still the fastest way to calculate rafter lengths, determine angles, and lay out bird's mouth cuts accurately.

This guide covers common, hip, and valley rafter geometry, the bird's mouth joint that transfers roof loads to the wall plate, and the overhang calculations that determine fascia and soffit dimensions. Whether you are cutting rafters by hand or programming a saw, the relationships are the same.

Unit Run and Unit Rise

Roof pitch is expressed as inches of rise per 12 inches of horizontal run. A 6/12 pitch rises 6 inches for every 12 inches of run. The unit run is always 12 inches for a common rafter. The unit rise is the pitch number (4, 6, 8, etc.). The unit rafter length (the hypotenuse) is the square root of (12² + rise²). For a 6/12 pitch: sqrt(144 + 36) = sqrt(180) = 13.416 inches per foot of run.

Total rafter length equals the unit rafter length times the number of feet of run. For a 24-foot wide building with a centered ridge, each common rafter has a run of 12 feet. At 6/12 pitch, the rafter length is 13.416 × 12 = 161 inches, or 13 feet 5 inches from the ridge plumb cut to the building line (heel of the bird's mouth). Add the overhang length separately. It uses the same pitch multiplier applied to the horizontal overhang distance.

Tip: Rafter table on the framing square: The first line of the rafter table gives the length of a common rafter per foot of run. At the 6-inch mark, it reads 13.42, matching the calculation. Hip/valley rafters use the second line, which is based on a unit run of 16.97 inches.
Shops & Outbuildings

Rafter Length Calculator

Calculate common, hip, and valley rafter lengths with bird's mouth cuts and roof area.

Launch Calculator →

Bird's Mouth Layout

The bird's mouth is the notch cut where the rafter sits on the wall top plate. It consists of a horizontal seat cut (bearing on the plate) and a vertical plumb cut (against the inside face of the wall). The seat cut should be at least the full width of the top plate, typically 3.5 inches for a 2×4 wall. The plumb cut depth (HAP, or height above plate) must leave enough rafter material above the seat to resist the horizontal thrust from roof loads.

A common rule is to limit the bird's mouth depth to no more than one-third of the rafter depth. For a 2×8 rafter (7.25 inches actual), the maximum seat cut depth is about 2.4 inches, leaving 4.85 inches of HAP. If the seat cut needs to be wider to fully bear on a 2×6 wall (5.5 inches), the rafter depth may need to increase to maintain adequate HAP. IRC Table R802.5.1 lists maximum rafter spans based on species, grade, spacing, and snow load. These assume standard bird's mouth proportions.

Warning: Do not over-cut: A bird's mouth cut deeper than 1/3 the rafter depth creates a stress concentration that can split the rafter at the notch under heavy snow or wind uplift loads.

Hip and Valley Rafters

Hip and valley rafters run diagonally from the ridge to the plate corner (hip) or from the plate intersection to the ridge (valley). Because they run at 45 degrees in plan view, their unit run is not 12 inches but rather the diagonal of a 12-inch square: sqrt(12² + 12²) = 16.97 inches. The unit hip/valley rafter length is sqrt(16.97² + rise²). For a 6/12 pitch: sqrt(288 + 36) = sqrt(324) = 18 inches per foot of common run.

Hip and valley rafters also need compound angle cuts (cheek cuts) where they meet the ridge or other rafters. The backing angle or drop must be applied so the top edges of the hip rafter align with the jack rafter planes on each side. Jack rafters are shortened commons that run from the plate to the hip rafter, decreasing in length by a constant amount equal to the unit rafter length times the jack spacing divided by 12.

Shops & Outbuildings

Rafter Length Calculator

Calculate common, hip, and valley rafter lengths with bird's mouth cuts and roof area.

Launch Calculator →

Overhang and Tail Cuts

The rafter tail extends beyond the building line to form the eave overhang. Its length is calculated the same way as the main rafter: overhang run times the pitch multiplier. A 16-inch horizontal overhang at 6/12 pitch has a rafter tail length of (16/12) × 13.416 = 17.9 inches measured along the rafter. The tail cut at the end can be plumb (for a vertical fascia), square (perpendicular to the rafter), or a combination.

Fascia board thickness must be accounted for when calculating the plumb cut location. The rafter tail is typically shortened by the fascia thickness so the fascia face lands at the correct line. For a level soffit (horizontal), the subfascia or lookout height determines the soffit plane. Mark and cut a pattern rafter first, test-fit it, verify the ridge height, plate bearing, overhang projection, and fascia alignment, then use it as a template for the remaining rafters.

Tip: Pattern rafter: Always cut and test-fit one rafter before cutting the rest. Verify ridge height, HAP, overhang, and plumb at both ends. A 1/8-inch error per foot of run becomes a 1.5-inch error on a 12-foot run.

Frequently Asked Questions

Divide the building span by 2 to get the run. Multiply the run in feet by the rafter length per foot of run (the pitch multiplier). For a 6/12 pitch, the multiplier is 13.416 inches per foot. A 28-foot span gives 14 feet of run, and 14 times 13.416 = 187.8 inches or 15 feet 7-3/4 inches of rafter length to the building line.
The seat cut should be at least the full width of the wall top plate so the rafter bears fully on the plate. For a 2x4 wall, that is 3.5 inches. For a 2x6 wall, 5.5 inches. If the required seat cut would exceed one-third of the rafter depth, use a deeper rafter to maintain adequate HAP (height above plate).
The plumb cut angle from horizontal equals the roof pitch angle. For a 6/12 pitch, arctan(6/12) = 26.57 degrees from horizontal, or 63.43 degrees from vertical. On a framing square, align the 6-inch mark on the tongue and the 12-inch mark on the blade with the rafter edge, and scribe along the tongue for a plumb cut.
The hip rafter runs diagonally across the building corner at 45 degrees in plan view. For every 12 inches of common rafter run, the hip rafter covers the diagonal of a 12-inch square, which is 12 times the square root of 2, or 16.97 inches. This longer unit run means hip rafters are always longer than common rafters for the same roof.
Disclaimer: Rafter sizing depends on species, grade, span, spacing, snow load, and local building codes. This guide covers general rafter calculation principles. Structural framing design must comply with local building codes and may require review by a licensed engineer or architect.

Calculators Referenced in This Guide

Shops & Outbuildings Live

Rafter Length Calculator

Calculate common, hip, and valley rafter lengths with bird's mouth cuts and roof area.

Shops & Outbuildings Live

Roofing Material Estimator

Estimate roofing material quantities for shingles and metal panels with slope factor and waste.

Related Guides

Shops & Outbuildings 7 min

Roofing Material Estimation: Squares, Slope Factor, and Waste Allowance

How to estimate roofing materials for shingles and metal panels. Slope factor, squares, bundles, underlayment, ice and water shield, and waste allowance.