🏗️

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: $\text{Run} = \frac{\text{Span} \times 12}{2} - \frac{\text{Ridge Thickness}}{2} \quad \text{(inches)}$
  • Pitch Angle: $\theta = \arctan\left(\frac{\text{Rise in 12"}}{12}\right)$
  • Line Length (Ridge to Wall Plumb Line): $L_{\text{common}} = \frac{\text{Run}}{\cos \theta} = \sqrt{\text{Run}^2 + \text{Rise}^2}$
  • Eave Overhang Tail Length: $L_{\text{tail}} = \frac{\text{Overhang Run}}{\cos \theta}$
  • Total Rafter Lumber Length: $L_{\text{total}} = L_{\text{common}} + L_{\text{tail}}$
  • Plumb Cut Angle (at Ridge and Tail): $\alpha = 90^\circ - \theta$

Standard Pitch Multipliers (Hypotenuse per Foot of Run)

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

How to Use This Calculator

Enter Building Total Span (Wall-to-Wall), Roof Pitch (Rise in 12"), Ridge Board Thickness, Eave Overhang (Tail Run) into the input fields and the calculator will instantly compute Theoretical Rafter Length (Ridge to Wall), Total Cut Length (with Overhang Tail). All calculations happen in real time — no submission or page reload required. You can adjust any input value and see the result update immediately.

Understanding Your Result

The Rafter Length result gives you a precise, calculated value based on the inputs you provide. Compare your result against published benchmarks from IRC, NAHB, and local building codes to assess where you stand. A single calculation is a useful starting point, but tracking this metric over time — as inputs change — gives you a much more complete picture.

Practical Application

The Rafter Length is most useful when you have specific, real-world data to enter. For example: enter your actual Building Total Span (Wall-to-Wall) to calculate your theoretical rafter length (ridge to wall). The result helps homeowners, contractors, project managers, and architects make informed decisions about estimating material quantities, project costs, and construction planning. This calculator is trusted by professionals and individuals alike because it follows the exact formulas validated by IRC, NAHB, and local building codes.

Accuracy Notes and Limitations

Add a 10–15% waste buffer to all material estimates. Always verify with local building codes and a licensed contractor. The accuracy of any calculator is limited by the quality of the inputs provided. Double-check your units before entering values — unit errors are the most common source of incorrect results. For critical decisions, cross-reference with at least one additional source or professional consultation.

Frequently Used With

This calculator is often used alongside other construction tools to build a complete analytical picture. Combining multiple related calculations provides stronger evidence for decisions than relying on any single metric. Browse the Construction category to find complementary calculators for your specific use case.

💡 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