/
/
CalculateYogi
  1. Home
  2. Construction
  3. Rafter Length Calculator
Construction

Rafter Length Calculator

Calculate rafter length, cut angles, bird's mouth dimensions, and lumber requirements for roof framing. Uses roof span and pitch to determine common rafter measurements.

Roof Type Presets

Common Roof Pitches

Roof Dimensions

Framing Options

Made with love
SupportI build these free tools with love, late nights, and way too much coffee ☕ If this calculator helped you, a small donation would mean the world to me and help keep this site running. Thank you for your kindness! 💛

Related Calculators

You might also find these calculators useful

Roof Pitch Calculator

Calculate roof pitch, angle, and slope factor

Stair Calculator

Calculate stair dimensions and materials

Shingle Calculator

Calculate roofing shingles needed

House Construction Cost Calculator

Estimate new home building costs

Calculate Rafter Length for Roof Framing

Building a roof? Our rafter length calculator determines the exact length of common rafters based on your roof span and pitch. Get precise cut angles for plumb cuts, seat cuts, and bird's mouth dimensions. Calculate lumber requirements for your entire roof with material lists and recommended board lengths.

Understanding Rafter Calculations

Rafters are the sloped structural members that support the roof deck and transfer loads to the walls. Rafter length is calculated using the Pythagorean theorem: the rafter is the hypotenuse of a right triangle where the run (horizontal distance from wall to ridge) and rise (vertical height) are the legs. The total rafter length includes the overhang (tail) that extends past the wall.

Rafter Length Formula

L = √(Run² + Rise²) + Tail Length

Why Use a Rafter Calculator?

Precise Measurements

Get exact rafter lengths to avoid costly cutting mistakes and wasted lumber.

Cut Angle Reference

Know the exact plumb cut and seat cut angles for your speed square or miter saw.

Bird's Mouth Dimensions

Calculate proper bird's mouth cuts for secure rafter-to-plate connections.

Material Planning

Determine total rafters needed and recommended lumber lengths for ordering.

Overhang Calculation

Include eave overhang in total length for proper fascia and soffit planning.

Ridge Board Allowance

Automatically accounts for ridge board thickness in run calculation.

How to Calculate Rafter Length

1

2

3

4

5

6

7

8

Common Rafter Framing Projects

Gable Roof Construction

Calculate common rafters for traditional gable roofs with ridge beam support.

Shed Roof Framing

Determine rafter lengths for single-slope shed roofs and lean-to additions.

Garage Roofing

Plan rafters for detached garages and carports with proper overhang.

Porch & Patio Covers

Size rafters for covered porches and outdoor living spaces.

Addition Roofing

Match existing roof pitch and calculate rafters for home additions.

Barn & Outbuilding

Calculate rafters for agricultural buildings and storage structures.

Rafter Calculator FAQ

Use the formula: Rafter Length = √(Run² + Rise²). The run is half the span minus half the ridge board thickness. The rise = (Pitch ÷ 12) × Run. For example, a 24' span with 6:12 pitch: Run = 12' - 0.75" = 143.25", Rise = 71.625". Rafter = √(143.25² + 71.625²) = 160.16" or about 13'4".

A bird's mouth is a notch cut into the rafter where it sits on the wall plate. It consists of a horizontal seat cut (sits on the plate) and a vertical plumb cut (against the wall). This joint provides a stable connection and prevents the rafter from sliding off the wall.

The plumb cut angle equals the roof pitch angle. For a 6:12 pitch, set your miter saw to 26.57°. For a 4:12 pitch, use 18.43°. For a 12:12 pitch, use 45°. Our calculator shows the exact angle for your pitch.

Typical overhangs range from 12" to 24". Standard is 12-18" for most homes. Larger overhangs (24"+) provide better wall protection and shade but may require additional support. Check local codes and wind load requirements for your area.

Rafter size depends on span, spacing, and snow/wind loads. General guidelines: 2×6 for spans up to 10', 2×8 for 10-15', 2×10 for 15-20', 2×12 for longer spans. Use span tables or consult an engineer for your specific loads and code requirements.

The ridge board sits between opposing rafters at the peak. Its thickness (typically 1.5" for dimensional lumber) reduces each rafter's horizontal run by half the ridge thickness. This ensures rafters meet properly at the ridge.

16" on center is standard for residential roofs and provides good support for most roofing materials. 24" OC can be used for non-structural applications or where larger lumber compensates. Some roof sheathing requires 16" spacing. Check local codes.

Add 6-12" to your calculated rafter length and round up to the next standard lumber length (8', 10', 12', 14', 16', etc.). This allows for cutting waste and any measurement adjustments. Our calculator recommends the appropriate standard length.

CalculateYogi

The most comprehensive calculator web app. Free, fast, and accurate calculators for everyone.

Calculator Categories

  • Math
  • Finance
  • Health
  • Conversion
  • Date & Time
  • Statistics
  • Science
  • Engineering
  • Business
  • Everyday
  • Construction
  • Education
  • Technology
  • Food & Cooking
  • Sports
  • Climate & Environment
  • Agriculture & Ecology
  • Social Media
  • Other

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2026 CalculateYogi. All rights reserved.

Sitemap

Made with by the AppsYogi team