🏗️

Rafter Length Calculator

Construction Free Instant Private
Construction

### Roof Framing Geometry & Structural Carpentry A **Common Rafter** forms the structural diagonal truss member running from the central ridge beam down to the exterior wall top plates, transferring.

Reviewed by Sagar Sageer · Associate Engineer
Last updated:
Editorial Guidelines

⚙ Input Values

ft
in
in
in

📊 Results

Theoretical Rafter Length (Ridge to Wall)
13.35
ft
Total Cut Length (with Overhang Tail)
14.46
ft
Total Center Rise Height
5.97
ft
Pitch Angle (θ)
26.57
°
Lumber Stock & Cutting Recommendation
Purchase 16' stock 2x6 / 2x8 dimensional lumber. Plumb cut angle: 63.4°, Bird's mouth seat cut: 3.5" on 2x4/2x6 top plate.
Embed on Your Website

Copy and paste this code into your website.

<iframe src="https://calcusolve.com/calculator/rafter-length-calculator?embed=true" width="100%" height="600" frameborder="0" loading="lazy" title="Rafter Length Calculator"></iframe>

📐 Formula

Pitch angle: tan(theta) = pitchRise / 12
Hypotenuse = run / cos(theta)

💡 Practical Example

✅

Framing a 24-ft garage roof with a 6:12 pitch: Run = 12' - 0.75" = 11.94'. Rafter length = 13.34 ft + 1.12 ft overhang = 14.46 ft total cut length, requiring 16-ft 2x6 dimensional boards.

📖 About Rafter Length Calculator

Roof Framing Geometry & Structural Carpentry

A Common Rafter forms the structural diagonal truss member running from the central ridge beam down to the exterior wall top plates, transferring roof dead and live loads safely to the foundation.

Core Framing Formulas

  • Net Framing Run: Run = Span × 122 - Ridge Thickness2 (inches)
  • Pitch Angle: θ = (Rise in 12"12)
  • Line Length (Ridge to Wall Plumb Line): L_common = Run θ = √(Run^2 + Rise^2)
  • Eave Overhang Tail Length: L_tail = Overhang Run θ
  • Total Rafter Lumber Length: L_total = L_common + L_tail
  • Plumb Cut Angle (at Ridge and Tail): α = 90^ - θ

Standard Pitch Multipliers (Hypotenuse per Foot of Run)

  • 3:12 Pitch (14.04^): Factor 1.0308 12.37" of rafter per foot of run.
  • 4:12 Pitch (18.43^): Factor 1.0541 12.65" of rafter per foot of run.
  • 6:12 Pitch (26.57^): Factor 1.1180 13.42" of rafter per foot of run.
  • 8:12 Pitch (33.69^): Factor 1.2019 14.42" of rafter per foot of run.
  • 12:12 Pitch (45.00^): Factor 1.4142 16.97" of rafter per foot of run.

How to Use This Calculator

Enter your Building Total Span (Wall-to-Wall) (e.g. 24.0 in ft), Roof Pitch (Rise in 12") — choose from 3:12 (14.04° - Low Slope / Shed), 4:12 (18.43° - Standard Low Pitch), 5:12 (22.62° - Moderate Pitch), Ridge Board Thickness (e.g. 1.5 in in), Eave Overhang (Tail Run) (e.g. 12.0 in in), and Bird's Mouth Seat Cut (Wall Plate Width) (e.g. 3.5 in in). Measure twice before entering dimensions — small measurement errors scale up significantly in material estimates.

The Formula

Pitch angle: tan(theta) = pitchRise / 12

Hypotenuse = run / cos(theta)

Worked Example

Framing a 24-ft garage roof with a 6:12 pitch: Run = 12' - 0.75" = 11.94'. Rafter length = 13.34 ft + 1.12 ft overhang = 14.46 ft total cut length, requiring 16-ft 2x6 dimensional boards.

Understanding Your Result

Construction estimates are starting points — site conditions, material specifications, and local code requirements will affect final quantities and costs. Always obtain at least three contractor bids for major projects. Local building departments can confirm permit requirements and inspection milestones. Add waste factors appropriate to the material type and complexity: 10% for simple rectangular shapes, 15–20% for complex geometries or custom cuts.

💡 Methodological Standards & Calculation Accuracy

  • All calculations are performed client-side in your browser using verified, standards-compliant mathematical algorithms.
  • Results are provided for educational and informational analysis; verify critical applications with certified domain specialists.
  • Ensure input values are entered in consistent units matching the selector options to guarantee accurate outputs.
  • Periodic recalibration is recommended whenever baseline assumptions, operating parameters, or external conditions change.

Results are for informational and educational purposes only. Always verify critical decisions with a qualified professional.

❓ Frequently Asked Questions

What is the formula for calculating rafter length?

Rafter Length = Square Root of, or Run divided by the cosine of the roof pitch angle.

How do you calculate rafter length with an overhang?

Calculate the theoretical line length from ridge to wall plate, then add the overhang tail length.

What is a bird's mouth cut on a rafter?

A bird's mouth is a triangular cutout consisting of a plumb cut (vertical) and a seat cut (horizontal) that allows the rafter to rest flat on the wall top plate.

Why must you deduct half the ridge board thickness?

The ridge board sits at the center apex between opposing rafters; deducting half its thickness ensures the rafters meet flush without bowing the walls.

What stock lumber size should I buy for rafters?

Always purchase the next standard even lumber length (10', 12', 14', 16', 18', or 20') that is at least 1 foot longer than your total calculated cut length.

Try Other Calculators