Rafter Length Calculator

Calculate precise rafter lengths, ridge heights, and bird's mouth cuts for any roof pitch. Get complete material estimates and cutting dimensions for professional roof framing.

Precise
Calculations
All Roof
Pitches
Calculation
History
Export
Results

Roof Specifications

ft
Total width from outside wall to outside wall
ft
Length of the building (ridge length)
Rise over run ratio (e.g., 6" rise per 12" run)
in
Typical overhang is 12-24 inches
Distance between rafter centers
Verify size meets span requirements
$
Current price for 2x6 x 16 ft

Enter roof specifications and click Calculate to see rafter dimensions

Complete Guide to Rafter Length Calculations

Accurate rafter calculations are fundamental to successful roof framing. Whether you're building a new home, adding a garage, or constructing a shed, understanding rafter geometry ensures structural integrity and proper material ordering. Our Rafter Length Calculator simplifies complex trigonometry into easy-to-use inputs.

Understanding Roof Framing Terminology

Before calculating rafters, it's essential to understand the key terms:

  • Span: The horizontal distance from outside wall to outside wall
  • Run: Half the span; horizontal distance from wall to ridge center
  • Rise: Vertical distance from top of wall plate to top of ridge
  • Pitch: Ratio of rise to run, expressed as X/12
  • Rafter Length: Diagonal distance from ridge to wall plate
  • Overhang: Extension of rafter beyond the exterior wall
  • Bird's Mouth: Notch cut where rafter sits on wall plate
  • Ridge Board: Horizontal board at peak where rafters meet

The Mathematics of Rafter Calculation

Rafter length is calculated using the Pythagorean theorem: a² + b² = c², where 'a' is the run, 'b' is the rise, and 'c' is the rafter length. For example, with a 12-foot run and 6-foot rise (6/12 pitch):

Rafter Length = √(12² + 6²) = √(144 + 36) = √180 = 13.42 feet

Choosing the Right Roof Pitch

Roof pitch affects aesthetics, drainage, snow load capacity, and interior space:

  • 2/12 to 4/12: Low slope, requires special waterproofing, common in commercial buildings
  • 4/12 to 6/12: Standard residential pitch, good drainage, economical
  • 6/12 to 8/12: Popular residential pitch, attractive appearance, good attic space
  • 8/12 to 12/12: Steep pitch, excellent for snow shedding, maximum attic space, higher cost

Bird's Mouth Cut Specifications

The bird's mouth cut is critical for proper rafter installation and load transfer. Key specifications:

  • Seat cut should be 3.5 inches (standard wall plate width) for optimal bearing
  • Plunge cut (heel) should not exceed 1/3 of rafter depth to maintain strength
  • For a 2x6 rafter (5.5" actual depth), maximum plunge is about 1.83 inches
  • For a 2x8 rafter (7.25" actual depth), maximum plunge is about 2.42 inches
  • Position bird's mouth so remaining rafter depth above cut supports the load
  • Cut bird's mouth at the proper distance from the ridge to achieve correct pitch

Rafter Sizing and Spacing

Proper rafter sizing depends on several factors. Always consult local building codes and span tables:

  • Span: Longer spans require larger rafters
  • Spacing: 16" O.C. is standard; 24" O.C. requires larger lumber
  • Snow Load: Higher snow loads require heavier rafters
  • Wood Species: Douglas Fir and Southern Pine are stronger than SPF
  • Live Load: Account for maintenance access, future solar panels, etc.
  • Dead Load: Weight of roofing materials varies significantly

Common Rafter Installation Tips

  • Always cut a pattern rafter first and test fit before cutting all rafters
  • Mark ridge, bird's mouth, and tail cut locations clearly on pattern
  • Use a framing square or speed square for accurate angle cuts
  • Install rafters in opposing pairs to keep ridge board straight
  • Use temporary bracing until all rafters are installed
  • Install hurricane ties or rafter ties in high-wind areas
  • Ensure proper ventilation with ridge and soffit vents
  • Check local codes for requirements on collar ties and ceiling joists

Rafter Calculator FAQs

Have more questions? Contact us

What Builders Say

4.9
Based on 1,623 reviews

This rafter calculator is a game-changer for my business. I use it for every estimate to calculate exact rafter lengths and material needs. The bird's mouth dimensions are spot-on, and the material cost estimation helps me provide accurate quotes. It's saved me from costly material shortages and overages. Highly professional tool!

T
Tom Anderson
Roofing Contractor
September 18, 2024

I built a shed in my backyard and used this calculator to figure out the rafter lengths for a 6/12 pitch roof. The step-by-step breakdown made it easy to understand, even as a beginner. The bird's mouth cut dimensions were perfect - my rafters fit like they were made by a pro! I felt confident throughout the project.

R
Rachel Green
DIY Homeowner
August 28, 2024

As a professional builder, I've used many rafter calculators, and this is by far the most comprehensive. It handles all the common pitches, calculates ridge heights accurately, and even estimates total lumber costs. The export feature is great for project documentation. An essential tool for any builder's toolkit!

M
Marcus Johnson
Home Builder
October 10, 2024

Love using our calculator?