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

Rafter Framing and Roof Geometry

Review unit run, rise, and bird's mouth prompts before code, structural, cut, material, and safety decisions

Rafter framing starts with geometry, but geometry alone does not approve a roof. Pitch, span, ridge thickness, overhang, and a centered-ridge assumption can produce useful common and hip rafter prompts, while adopted code, span tables, roof loads, species, grade, ties, bearing, bracing, uplift, roof assembly, permits, and jobsite safety remain separate source gaps.

This guide explains the local math behind common, hip, and valley rafter prompts, the bird's mouth source boundary, and overhang geometry. Treat it as context for review with current IRC/AWC references, field layout, manufacturer instructions, and qualified structural and safety reviewers before ordering, cutting, installing, or accessing a roof.

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 prompt 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 near 12 feet before ridge-board thickness and field layout adjustments. At 6/12 pitch, the rafter length prompt is about 13.416 times the run in feet. Add the overhang prompt separately after converting horizontal overhang to slope length.

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 where a rafter bears on the wall top plate. The app treats a one-third-depth comparison as a source-review prompt, not as code compliance, bearing approval, HAP approval, connection approval, ridge-system approval, or cutting authorization.

Actual acceptability depends on the adopted code edition and amendments, rafter species and grade, spacing, roof loads, ridge board or ridge beam condition, rafter ties, bracing, uplift connections, bearing, fasteners, and the approved plans. Use current IRC/AWC references and qualified review before relying on any notch or cut geometry.

Warning: Source boundary: A one-third notch prompt is not enough to approve a rafter. Verify the adopted code, span sizing, bearing, tie/bracing, uplift, and engineered detail before cutting.

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 prompts also hide source gaps. Compound cheek cuts, backing or drop, jack rafters, unequal pitches, overhang geometry, roof intersections, ridge and valley details, and product-specific installation requirements must be resolved from the actual roof plan and qualified field review.

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, subfascia, soffit plane, HAP, bearing, ridge height, and roof plan details must be reconciled in the field. A pattern-rafter review is a field quality step, but it is still not a substitute for adopted-code, structural, permit, manufacturer, or site-safety review.

Tip: Pattern rafter: Use a field template as a geometry check, then reconcile ridge height, HAP, bearing, overhang, fascia, code, structural, and safety requirements before production work.

Frequently Asked Questions

Start with half the building span, subtract any ridge-thickness prompt used by the layout, convert that run to feet, and multiply by the unit length for the pitch. This remains a geometry prompt, not rafter sizing, cut approval, or code compliance.
It is a local source boundary prompt. Actual notch, bearing, HAP, rafter size, tie/bracing, connection, and adopted-code acceptance require current source review outside the app.
No. The guide explains geometry relationships. Field measurements, a pattern rafter, approved plans, adopted code, engineering review, manufacturer instructions, permits, inspections, and jobsite safety controls govern the work.
In a square-plan 45-degree prompt, the hip rafter covers the diagonal of a 12-inch square for every 12 inches of common run. That is about 16.97 inches. Real roofs can require jack rafter, backing/drop, compound-cut, unequal-pitch, and overhang review.
Disclaimer: Rafter geometry context is preliminary. Do not use it as structural design, rafter span approval, code-compliance proof, permit document, inspection acceptance, cut-list approval, material order verification, roof assembly approval, fall-protection approval, scaffold approval, or safe-work authorization.

Calculators Referenced in This Guide

Shops & Outbuildings Live

Roofing Material Estimator

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

Related Guides

Shops & Outbuildings 10 min

Fillet Weld Strength Planning

Effective throat vs leg size, AWS D1.1 allowable stresses, the cost of overwelding, base metal shear failure, and why increasing weld length beats increasing weld size.

Shops & Outbuildings 8 min

Pole Barn Snow Load Source Boundaries

Ground snow load vs roof snow load, exposure and thermal factors, drift loads, unbalanced loads, IBC requirements, and when you need a structural engineer.

Shops & Outbuildings 7 min

Roofing Material Source Boundaries: Squares, Slope Factor, and Waste Prompts

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