Rafter Length Calculator — Roof Framing Dimensions & Cut Angles

Determine exact rafter line lengths, total rise, overhang dimensions, and cut angles for common roof pitches to properly plan your roof framing project.

Rafter Length Calculator
Roof Pitch
Rafter Section
26.6°12.0 ft6.0 ft14.5 ft

Hover for details • not to scale

Total Rafter Length
14' 6"
14.46 ft (with overhang)
Rise
6' 0"
5.97 ft vertical
Line Length (no overhang)
13' 4"
13.35 ft
Overhang Length
1' 1"
1.12 ft along slope
Plumb Cut Angle
26.6°
from vertical
Seat Cut Angle
63.4°
from horizontal
Buy 16-foot lumberYour total rafter length of 14' 6" rounds up to a standard 16-foot board. Standard lumber lengths are 8, 10, 12, 14, 16, 18, and 20 feet — always buy the next size up to allow for clean end cuts.
HAP (Height Above Plate): 3.5" seat cut depthThe birdsmouth cut will leave 3.5" of rafter material above the wall plate. A common rule of thumb is that the seat cut should not exceed one-third of the rafter depth. Verify your HAP meets local code requirements.
This calculator provides theoretical rafter dimensions based on standard geometry. Always verify measurements on site and consult local building codes — actual conditions (lumber dimensions, ridge beam details, load requirements) may require adjustments.

When to Hire a Framing Contractor

Framing a roof demands precision, physical endurance, and a strict adherence to local building codes. While building a small shed or simple detached garage roof is a realistic DIY project, framing a residential house roof carries structural risk and steep safety hazards. If your structure involves complex geometry like hips, valleys, or dormers, hiring a licensed framing contractor is the safest path forward.

  • Structural Integrity Risks: Span distances over 20 feet require engineered wood trusses or stamped structural calculations from an engineer.
  • High Roof Slopes: Working on pitches above 6/12 significantly increases fall hazards and requires specialized OSHA-compliant fall protection gear.
  • Heavy Snow and Wind Loads: High-load climate zones mandate strict rafter sizing, collar tie placement, and hurricane clip schedules governed by local codes.
  • Modifications to Load-Bearing Walls: Altering existing roof structures without proper temporary shoring can lead to ceiling sag or catastrophic structural collapse.

Professional roof framing labor typically costs between $5 and $12 per square foot of roof surface area, excluding material expenses. For a standard 2,000-square-foot single-story home, total framing labor costs range from $4,000 to $10,000 depending on pitch complexity, site access, and local labor rates. When evaluating contractors, verify that they carry active general liability insurance, worker's compensation coverage, and can provide references for framed structures built under your local International Residential Code (IRC) jurisdiction.

Calculating Rafter Lengths and Cut Angles

Rafter calculations are grounded in basic right-triangle geometry. The horizontal span of the building is halved to determine the theoretical run. You then calculate the total rise based on the roof pitch (expressed as inches of vertical rise per 12 inches of horizontal run). The actual length of the rafter timber—known as the line length—is the hypotenuse of this right triangle, minus a deduction for half the ridge board's thickness.

  • Adjusted Run (ft) = (Building Span ÷ 2) − (Ridge Thickness ÷ 24)
  • Pitch Multiplier = √(1 + (Pitch ÷ 12)²)
  • Line Length (ft) = Adjusted Run (ft) × Pitch Multiplier
  • Total Rise (ft) = Adjusted Run (ft) × (Pitch ÷ 12)
  • Overhang Length (in) = Horizontal Tail Overhang (in) × Pitch Multiplier
  • Plumb Cut Angle (θ) = arctan(Pitch ÷ 12)
  • Seat Cut Angle = 90° − θ

Real-World Calculation Example

Suppose you are framing a roof for a shed with a total building span of 24 feet. You select a 6/12 pitch, a 1.5-inch thick ridge board (2× lumber), and an 12-inch horizontal overhang tail. Your seat cut depth (Height Above Plate, or HAP) is set to 4 inches.

First, calculate the adjusted run by taking half the span and subtracting half the ridge board thickness:

Adjusted Run = (24 ÷ 2) − (1.5 ÷ 24) = 12 − 0.0625 = 11.9375 feet (11 ft 11-1/4 in).

Next, calculate the pitch multiplier for a 6/12 slope:

Pitch Multiplier = √(1 + (6 ÷ 12)²) = √(1 + 0.25) = √1.25 ≈ 1.11803.

Now compute the rafter line length and overhang length:

  • Line Length = 11.9375 ft × 1.11803 ≈ 13.346 ft (13 ft 4-1/8 in).
  • Total Rise = 11.9375 ft × 0.5 = 5.968 ft (5 ft 11-5/8 in).
  • Overhang Length = 12 in × 1.11803 ≈ 13.416 in (1 ft 1-7/16 in).
  • Total Rafter Cut Length = 13.346 ft + 1.118 ft = 14.464 ft (14 ft 5-9/16 in).

For this build, purchase 16-foot 2×8 boards to allow clean cut-offs at both ends. Calculate timber counts using our rafter calculator to account for rafter spacing and waste margins. Before laying out ceiling framing beneath the roof, use the joist span calculator to size ceiling joists that tie opposite exterior walls together.

Tools and Materials Reference for Roof Framing

Having the proper layout tools and structural fasteners on hand prevents framing delays and ensures accurate angle transfers from your speed square to the lumber.

Essential Framing Tools

  • Framing Square & Speed Square: Essential for laying out plumb cuts, seat cuts, and bird's mouth notches using stair gauges.
  • Circular Saw: High-torque 7-1/4 inch saw equipped with a framing blade for plumb cut end trims.
  • Tape Measure & Layout Chalk Line: 35-foot tape measure with wide blade stand-out and chalk line for snapping ridge alignment references.
  • Hand Handsaw or Reciprocating Saw: Used to complete clean vertical cuts on bird's mouth notches without overcutting into the rafter body.
  • Carpenter's Level: 4-foot plumb level for setting ridge board elevation and plumbing end gable studs.

Framing Materials & Hardware

  • Dimensioned Lumber: Kiln-dried #2 or better grade 2×6, 2×8, or 2×10 framing timber (Douglas Fir, Hem-Fir, or Southern Yellow Pine). Calculate total dimensional lumber needs with the lumber calculator.
  • Ridge Board Stock: Standard 2× or 1-1/2 inch engineered rimboard sized one depth increment larger than the rafters (e.g., a 2×10 ridge for 2×8 rafters).
  • Fasteners: 16d common or 3-1/2 inch bright smooth shank framing nails for rafter-to-ridge connections.
  • Hurricane Ties & Structural Screws: Simpson Strong-Tie H2.5A or similar clips with SDS structural connector screws to meet wind uplift codes.

Safety Gear

  • OSHA-compliant safety glasses, hard hat, and leather framing gloves.
  • Full-body fall protection harness, roof anchor, and shock-absorbing lanyard for pitches over 4/12.
  • Work boots with slip-resistant rubber soles.

Roof Framing Pitfalls and Safety Cautions

Small layout errors at the top plate can compound into significant roof sag, uneven eaves, or structural failures under heavy snow. Watch out for these standard framing mistakes:

  • Over-Notching the Bird's Mouth: Never cut deeper than one-third of the total rafter depth vertically. Excess notch depth severely weakens the cantilever and bearing strength of the board.
  • Forgetting Ridge Board Thickness: Neglecting to subtract half of the ridge board's actual thickness (usually 0.75 inches) from the horizontal run will make your roof ridge too high and push overhangs out past exterior walls.
  • Omitting Collar Ties and Rafter Ties: Un-tied rafters push outward under vertical loads, causing exterior walls to tilt outward. Install rafter ties in the lower third of the attic space and collar ties in the upper third to prevent ridge separation.
  • Failing to Account for Dead Load: Heavy roofing materials like clay tiles or multi-layer architectural shingles require larger rafter sizes or tighter 12-inch spacing. Verify combined roof weight against local span tables.
  • Working without Fall Arrest Gear: Steep pitches combined with saw dust make roof decking and rafter walking slick. Always anchor fall protection into double top plates or solid framing before working at height.

Frequently Asked Questions

How do I measure roof pitch accurately on site?

Place a 12-inch torpedo level horizontally against the underside of an existing rafter or roof board. Measure the vertical distance from the 12-inch mark on the level up to the rafter bottom; this measurement gives you the pitch rise over 12 inches.

What size lumber board should I choose for roof rafters?

Common rafter sizing depends on horizontal span, spacing (16 or 24 inches on center), and ground snow load. Most residential rafters use #2 grade 2×6 boards for spans up to 10-12 feet, and 2×8 or 2×10 boards for longer spans up to 16-20 feet.

How deep can a bird's mouth seat cut be made safely?

According to the International Residential Code (IRC), the vertical plumb cut of a bird's mouth cannot exceed one-third of the overall rafter depth. The horizontal seat cut must provide at least 1.5 inches of continuous bearing on wall plates.

What is the distinction between rafter span and rafter run?

Rafter span is the total horizontal distance between the outside faces of the supporting exterior walls. Rafter run is half of the span, representing the horizontal distance covered by a single common rafter from the wall plate to the center of the ridge.

Why is it necessary to subtract half the ridge board thickness?

The theoretical rafter run measures to the exact center line of the building. Because a physical ridge board sits along that center line, subtracting half its thickness ensures the cut rafter ends meet tight against the wood face at the proper peak height.

What is the difference between collar ties and rafter ties?

Rafter ties sit in the bottom third of the roof frame to prevent the rafter feet from spreading exterior walls outward under roof load. Collar ties are installed in the upper third to prevent uplift separation at the ridge beam during high wind events.

How do I determine which standard lumber length to buy?

Add your rafter line length and overhang length together, then round up to the nearest standard even-foot board length (such as 12, 14, or 16 feet). Always allow 6 to 12 inches of extra margin for squaring and angled cuts.