Skip to main content
📐

Rafter Calculator

Calculate common rafter dimensions including length, rise, run, plumb cut angle, birdsmouth cuts, and materials list. Interactive SVG diagram with birdsmouth detail.

Calculator Mode
🏠

Building Dimensions

ft
in
ft
in
📐

Roof Pitch

Custom:
/12
6/12 = 26.6°
in
📐

Rafter Diagram

WALL PLATERIDGEBIRDSMOUTHSEAT 3.5"HEELRUN: 11.9' (143.25")RISE: 6.0' (72")OVERHANG: 12"RAFTER: 13.3'6/12 (26.6°)
Rafter
Birdsmouth Cut
Ridge Board
Wall Plate

Rafter Length (Line)

14.5 feet

Run (Half Span)11.9'
Rise6.0'
Pitch6/12
Recommended Size2x10
🪚Cut Angles
26° 34'
Plumb Cut
Ridge & Tail ends
63° 26'
Seat Cut (Level)
Birdsmouth horizontal
3.5"
Seat Cut Width
Horizontal cut length
1.8"
Heel Height
Vertical plumb cut
📋Materials Needed
62
Rafters
2x10 × 15'
40'
Ridge Board
3 @ 16'
16"
Spacing
On center
Speed Square Reference (6/12 Pitch)
Common Rafter:
Pivot point at 6 on COMMON scale
Angles:
Plumb: 26.6° | Level: 63.4°
Pro Tips
  • Cut a pattern rafter first and test fit before cutting all rafters
  • Birdsmouth should not cut more than 1/3 into rafter depth
  • Allow 1.5" deduction from run for ridge board thickness
  • Add 10% waste factor when ordering materials
  • Mark rafter tables on lumber for reference during installation

About This Calculator

Accurate rafter calculations are the foundation of proper roof framing—determining rafter length, rise, run, cut angles, and birdsmouth specifications for safe, code-compliant construction. Our comprehensive Rafter Calculator determines all critical dimensions including the plumb cut angle at the ridge, seat cut width for the birdsmouth, heel height above the plate, tail length for eave overhangs, and total rafter length from ridge to fascia, with an interactive SVG diagram showing birdsmouth detail and all cut angles.

Whether you're framing a new home roof, building an addition that ties into existing rooflines, constructing a shed or outbuilding, or replacing damaged rafters, this calculator provides the precise measurements professional framers rely on. In 2026, dimensional lumber costs for typical rafter sizes (2×6 through 2×12) range from $0.75-$2.50 per linear foot, making accurate calculations essential to minimize waste on projects that may require 50-200+ rafters. Enter your building dimensions, desired pitch, and overhang to generate a complete cutting schedule with all angles and dimensions needed for your speed square or framing square layout.

How to Use the Rafter Calculator

  1. 1Enter the building span (total width from outside wall to outside wall in feet).
  2. 2Enter the building length for total rafter count calculations.
  3. 3Select or manually enter your roof pitch as rise per 12 inches of run (e.g., 6/12).
  4. 4Enter the desired eave overhang (horizontal projection past the wall) in inches.
  5. 5Specify ridge board thickness if using a ridge board (typically 1.5" for 2× lumber).
  6. 6Select rafter spacing: 16" on-center (standard) or 24" on-center (some applications).
  7. 7Choose lumber size from the sizing guide or let the calculator recommend based on span.
  8. 8Review the interactive diagram showing rafter geometry, birdsmouth detail, and all cut angles.
  9. 9Switch to "With Costs" mode for complete materials cost estimates including lumber, fasteners, and hardware.

Formula

Rafter Length = √(Rise² + Run²)

The Pythagorean theorem calculates the rafter line length from the vertical rise and horizontal run (half the building span). Total rafter length adds the overhang projection calculated along the roof slope (overhang × pitch factor). The ridge board thickness is deducted from the run calculation at the ridge end.

Understanding Roof Pitch and Angles

Roof pitch determines virtually every rafter calculation—rise, run, cut angles, and material quantities:

Pitch Notation Explained: Pitch is expressed as X/12, meaning the roof rises X inches for every 12 inches of horizontal run. A 6/12 pitch rises 6 inches per foot of run.

PitchDegreesPitch FactorCommon Uses
2/129.5°1.014Flat roofs, minimum slope for drainage
3/1214.0°1.031Low slope, requires membrane roofing
4/1218.4°1.054Ranch homes, standard asphalt shingles
5/1222.6°1.083Standard residential
6/1226.6°1.118Most popular residential pitch
7/1230.3°1.158Good snow shedding
8/1233.7°1.202Traditional aesthetics
9/1236.9°1.250Steep, walkable with caution
10/1239.8°1.302Steep, challenging to walk
12/1245.0°1.414Maximum walkable pitch
14/1249.4°1.537Very steep, requires scaffolding

Using Pitch Factor: The pitch factor converts horizontal measurements to slope measurements:

  • Rafter length on slope = Horizontal run × Pitch factor
  • Example: 12 ft run at 6/12 pitch = 12 × 1.118 = 13.4 ft on slope

Converting Pitch to Degrees:

Angle (degrees) = arctan(pitch ÷ 12) × (180 ÷ π)
Example: 6/12 pitch = arctan(0.5) × 57.3 = 26.6°

Pitch and Climate Considerations:

ClimateMinimum PitchRecommended
Heavy snow6/128/12 or steeper
Moderate snow4/126/12
Heavy rain4/125/12
Hot/dry2/124/12

The Birdsmouth Cut: Critical Details

The birdsmouth is the notch cut where the rafter sits on the wall top plate—proper execution is essential for structural integrity:

Components of the Birdsmouth:

1. Seat Cut (Level Cut):

  • Horizontal cut that rests flat on the top plate
  • Standard width: 3.5" (width of 2×4 wall plate)
  • For 2×6 walls: 5.5" seat cut possible but not required
  • Must provide full bearing on plate

2. Plumb Cut (Heel Cut):

  • Vertical cut at the back of the birdsmouth
  • Height determined by seat cut and pitch
  • Creates the "heel" that bears against plate edge

3. Heel Height:

  • Vertical distance from top plate to top of rafter
  • Affects insulation space at eaves
  • Formula: Heel Height = Seat Cut × tan(pitch angle)

The 1/3 Rule (IRC R802.6): Never notch more than 1/3 of the rafter depth:

Rafter SizeActual DepthMax Notch
2×65.5"1.83"
2×87.25"2.42"
2×109.25"3.08"
2×1211.25"3.75"

Birdsmouth Calculation Example (6/12 pitch):

  • Seat cut: 3.5" (standard)
  • Pitch angle: 26.6°
  • Heel height: 3.5" × tan(26.6°) = 3.5" × 0.5 = 1.75"
  • This is within limits for 2×6 rafters (max notch 1.83")

When to Raise the Birdsmouth:

  • Need more insulation space at eaves (raised heel truss)
  • Cathedral ceiling with deeper insulation
  • Matching existing roofline
  • Energy code compliance (R-38+ at eaves)

Rafter Sizing by Span (IRC 2021)

Rafter size depends on span, spacing, species, grade, and roof loads. These tables assume #2 or better SPF (Spruce-Pine-Fir):

Rafter Span Table - 16" OC, 20 PSF Live Load + 10 PSF Dead Load:

Rafter SizeMax Span (SPF #2)Max Span (DF #2)
2×610'-6"12'-0"
2×813'-10"15'-10"
2×1017'-8"20'-3"
2×1221'-6"24'-8"

Rafter Span Table - 24" OC, 20 PSF Live Load + 10 PSF Dead Load:

Rafter SizeMax Span (SPF #2)Max Span (DF #2)
2×68'-6"9'-9"
2×811'-3"12'-11"
2×1014'-4"16'-5"
2×1217'-5"20'-0"

Heavy Snow Load Areas (30 PSF Live + 15 PSF Dead):

Rafter SizeMax Span 16" OCMax Span 24" OC
2×68'-6"6'-11"
2×811'-3"9'-2"
2×1014'-4"11'-9"
2×1217'-5"14'-3"

When to Consult Span Tables:

  • Snow loads over 30 PSF
  • Tile or slate roofing (heavy dead load)
  • Spans exceeding table values
  • Cathedral ceilings (no attic storage bracing)
  • Point loads (dormers, solar panels)

2026 Rafter Lumber Prices:

SizePrice per LF16' Length20' Length
2×6$0.80-1.20$13-19$16-24
2×8$1.10-1.60$18-26$22-32
2×10$1.50-2.10$24-34$30-42
2×12$2.00-2.80$32-45$40-56

Cutting Rafters: Step-by-Step Guide

Accurate rafter cutting ensures proper fit and structural integrity:

Tools Required:

  • Framing square or speed square
  • Stair gauges (for framing square)
  • Circular saw with sharp blade
  • Tape measure (25' minimum)
  • Pencil
  • Calculator or rafter table

Setting Up a Speed Square:

  1. Locate the "Common" scale on the square
  2. Find your pitch number on that scale
  3. Pivot the square so pitch mark aligns with board edge
  4. Blade edge shows plumb cut angle
  5. Tongue shows level cut angle

Marking the Four Cuts:

1. Ridge Plumb Cut:

  • Starting point for rafter layout
  • Mark plumb line at ridge end
  • Shorten by half ridge board thickness (typically 3/4")

2. Birdsmouth (Two Cuts):

  • Measure down from ridge plumb cut = rafter line length
  • Mark plumb cut (heel cut)
  • Mark level cut (seat cut) = wall plate width
  • Double-check notch depth doesn't exceed 1/3 rule

3. Tail Plumb Cut:

  • Measure overhang along top edge from birdsmouth
  • Mark plumb cut for fascia attachment
  • May need level cut for soffit nailer

The Pattern Rafter System:

  1. Carefully cut ONE pattern rafter
  2. Test-fit on actual building
  3. Verify: Ridge fits, birdsmouth seats, overhang correct
  4. Make adjustments if needed
  5. Use pattern to mark ALL remaining rafters
  6. Gang-cut multiples when possible

Common Cutting Errors to Avoid:

ErrorResultPrevention
Wrong pitch settingAll cuts offDouble-check pitch before first cut
Measuring to wrong edgeLength errorMeasure along TOP edge consistently
Forgot ridge deductionToo longDeduct half ridge thickness
Birdsmouth too deepWeak rafterCheck 1/3 rule before cutting

Ridge Board and Ridge Beam Calculations

The ridge supports opposing rafters at the peak—understanding the difference between ridge boards and ridge beams is essential:

Ridge Board (Most Common):

  • Provides alignment for opposing rafters
  • NOT structural—ceiling joists or collar ties resist thrust
  • Size: Minimum 1×6, typically 2× lumber
  • Depth: Equal to or greater than rafter cut depth
  • Ridge deduction: Subtract half ridge thickness from each rafter run

Ridge Beam (Structural):

  • Carries roof load when no ceiling joists provide thrust resistance
  • Required for cathedral ceilings without collar ties
  • Must be sized by engineer or span tables
  • Much larger than ridge board (LVL or built-up)

When Ridge Beams Are Required:

SituationRidge Board OK?Ridge Beam Required?
Ceiling joists at every rafterYesNo
Collar ties at every third rafterYesNo
Cathedral ceiling, no tiesNoYes
Open floor plan, no bearingNoYes
Exposed raftersMaybeVerify with engineer

Ridge Board Sizing:

Rafter SizeMinimum RidgeTypical Ridge
2×6 rafters1×62×6
2×8 rafters1×82×8
2×10 rafters1×102×10
2×12 rafters1×122×12

Ridge Board Length Calculation:

Ridge length = Building length - (2 × gable overhang)
For common gable: Ridge = Building length
For barge rafters: Ridge = Building length - (2 × barge extension)

Ridge Height Calculation:

Ridge height above wall plates = Run × (Pitch ÷ 12)
Example: 12' run at 6/12 = 12 × 0.5 = 6 feet
Total height = Wall height + Ridge height above plates

Rafter Quantity and Materials List

Accurate material takeoffs prevent costly job-site delays and excess waste:

Rafter Quantity Formula:

Rafters per side = (Building length in inches ÷ Spacing) + 1
Total rafters = Rafters per side × 2
Add 10% for waste and defects

Example - 40' Building at 16" OC:

  • Building length: 40 ft = 480 inches
  • Rafters per side: (480 ÷ 16) + 1 = 31 rafters
  • Total rafters: 31 × 2 = 62 rafters
  • With 10% waste: 62 × 1.10 = 69 rafters

Complete Materials List for Typical Roof:

ComponentCalculation40' × 24' Building Example
Common raftersAs above69 each
Ridge boardBuilding length + 10%44 LF (3 × 16')
Ceiling joistsSame count as rafters69 each
Collar tiesEvery third rafter pair23 each
Hurricane ties2 per rafter124 each
Rafter hangersIf used62 each

Fastener Requirements (per IRC):

ConnectionFastenerQuantity
Rafter to plate3-10d toenailsPer rafter
Rafter to ridge4-16d toenailsPer rafter end
Collar tie to rafter3-10d each endPer tie
Hurricane tie8-10d nailsPer tie

2026 Hardware Costs:

ItemPriceQuantity Needed (40×24 roof)
Hurricane ties$1.50-2.50 ea124
Rafter hangers$2.00-3.50 eaOptional
Simpson H2.5A$1.75-2.50 ea124
Structural screws (box)$45-752 boxes

Special Rafter Types and Applications

Beyond common rafters, various rafter types handle different roof geometries:

Hip Rafters:

  • Run diagonally from corner to ridge
  • Longer than common rafters (× 1.414 for 12/12 pitch)
  • Require compound angle cuts
  • Support jack rafters on both sides

Hip Rafter Length Factor:

Hip factor = √(pitch factor² + 1)
Example at 6/12: √(1.118² + 1) = √2.250 = 1.5
Hip run = Common run × 1.414 (for 45° plan angle)
Hip length = Hip run × Hip factor

Valley Rafters:

  • Run diagonally in roof valleys
  • Same calculations as hip rafters
  • Require different direction compound cuts
  • Must handle concentrated water drainage

Jack Rafters:

  • Shorter rafters from hip/valley to eave or ridge
  • Maintain same pitch as common rafters
  • Progressive length change by "common difference"
  • Common difference = Spacing × Pitch factor

Jack Rafter Common Difference:

Spacing4/126/128/1210/12
16" OC16.9"17.9"19.2"20.8"
24" OC25.3"26.8"28.8"31.2"

Barge (Fly/Rake) Rafters:

  • Extend beyond gable end wall
  • Supported by lookouts or outriggers
  • No birdsmouth cut
  • May be decorative/larger dimension

Cripple Jack Rafters:

  • Short rafters between two hip/valley rafters
  • Found in complex roof intersections
  • Both ends cut at compound angles

Raised Heel Trusses and Energy Codes

Modern energy codes often require raised heel details for full insulation depth at eaves:

Standard vs. Raised Heel:

Heel TypeInsulation at EaveEnergy Code Compliance
Standard (6/12, 2×6)R-19 to R-22Often fails
Raised 6"R-30Marginal
Raised 10"R-38Most codes
Raised 14"R-49+Cold climates

2026 Energy Code Requirements (IECC):

Climate ZoneCeiling R-ValueHeel Height Needed
Zone 1-2R-3810-11"
Zone 3R-3810-11"
Zone 4-5R-4914-15"
Zone 6-8R-4914-15"

Achieving Raised Heel with Site-Built Rafters:

  1. Raise the birdsmouth - Cut seat higher on rafter
  2. Add vertical block - Above standard birdsmouth
  3. Use deeper rafters - 2×8 or 2×10 even if 2×6 spans work
  4. Install blocking - Between rafters at raised heel

Benefits of Raised Heel:

  • Full insulation depth to exterior wall
  • Eliminates cold/hot spots at eaves
  • Prevents ice dams in cold climates
  • Required for energy rebates/credits
  • Better moisture management

Cost Impact:

  • Additional lumber: $50-150 per roof
  • Taller fascia: $25-75
  • More insulation: Included (it's going in anyway)
  • Energy savings: 5-15% heating/cooling

Pro Tips

  • 💡Always cut and test-fit ONE pattern rafter before cutting the rest—this catches errors before they multiply across dozens of rafters.
  • 💡Deduct half the ridge board thickness from your rafter length—forgetting this common step makes every rafter 3/4" too long.
  • 💡Use a framing square with stair gauges clamped at your pitch numbers for consistent, accurate cuts on every rafter.
  • 💡Mark the "crown" (slight curve) on each piece of lumber and install all rafters with crown facing UP—this prevents sagging.
  • 💡Order rafters 2 feet longer than calculated to allow for cutting variations—16-foot lumber for 14-foot rafters.
  • 💡Install hurricane ties at every rafter-to-plate connection—required by code in many areas and cheap insurance everywhere.
  • 💡Check your speed square accuracy before starting—drop it once and the pivot can bend, throwing off all your cuts.
  • 💡Snap a chalk line across all ceiling joists at rafter locations before starting—this ensures proper alignment during installation.
  • 💡Pre-cut all rafters on the ground—working on sawhorses is faster, safer, and more accurate than cutting on the roof.
  • 💡For long ridges, use a temporary post at center to support the ridge during installation—remove after several rafters are installed each side.
  • 💡Apply construction adhesive at birdsmouth seat before nailing—this dramatically improves uplift resistance.
  • 💡Stack cut rafters near their installation location, organized by type—common, hip, jack—to speed installation.

Frequently Asked Questions

For 6/12 pitch with 24' building width: Run = 12' (half span), Rise = 12' × (6÷12) = 6'. Rafter line length = √(12² + 6²) = √180 = 13.4'. Add overhang (e.g., 12" × 1.118 pitch factor = 13.4") and subtract half ridge thickness (0.75"). Total rafter ≈ 14.3 feet. Order 16-foot lumber.

Nina Bao
Written byNina BaoContent Writer
Updated January 5, 2026

More Calculators You Might Like