Rafter Length Roof Framing & Pitch Calculator
All Tools
Shed & Lean-To Framing

Shed Roof Rafter Calculator

Calculate common rafter line length, rise, run, birdsmouth cuts, plumb cut angles, and overhang dimensions with interactive 2D framing elevation blueprints.

Roof Framing Parameters

ft
in
in
ft

Framing Calculations

6:12 Pitch (26.6°)
Common Rafter Line Length
13' 4-3/8"
160.4 inches (4.07 meters)
Total Board Cut Length
14' 5-13/16"
Line Length + 12" Overhang
Total Roof Rise
5' 11-5/8"
Vertical height from wall plate
Plumb Cut / Seat Cut
63.4° / 26.6°
Plumb cut at ridge • Seat cut on plate
Total Rafters Required
50 Boards
25 pairs @ 16" O.C. for 32 ft roof
Birdsmouth Cut: 3.5" level seat cut with a 1.75" vertical plumb cut notch (safe: within 1/3 rafter depth IRC code limit).
Single-Slope Rafter Calculation
For a 12 ft shed span with a 4:12 pitch, common rafters span the entire building width with a 4-foot rise, requiring 12' 8" common line length plus front and rear eave overhangs.

Interactive Roof Truss Blueprint

Architectural cross-section showing ridge board, rafter slope, birdsmouth seat cut, and overhang.

Common Rafter Timber
Ridge Board (Center)
Wall Top Plates
Birdsmouth Notch Cut

The Carpenter's Guide to Calculating Rafter Length

Calculating rafter lengths accurately is one of the foundational skills of carpentry and timber roof framing. Cutting rafters correctly the first time saves hundreds of dollars in wasted lumber and ensures a perfectly straight, structural roofline.

1. The Trigonometry Behind Rafter Length

A common rafter forms a right-angled triangle where the horizontal run and vertical rise are the legs, and the rafter itself is the hypotenuse ($c = \sqrt{a^2 + b^2}$):

  • Building Span: The total outside-to-outside distance between your exterior bearing walls.
  • Actual Run: Half of the building span, minus half of the ridge board's thickness: $\text{Run} = (\text{Span} - \text{Ridge}) \div 2$.
  • Total Rise: The vertical elevation from the top of the wall plate to the top point of the rafter line: $\text{Rise} = \text{Run} \times (\text{Pitch} \div 12)$.
  • Rafter Line Length: The theoretical hypotenuse: $\sqrt{\text{Run}^2 + \text{Rise}^2}$.
  • Overhang Tail Length: The diagonal length added by the eave: $\text{Overhang Run} \times \sqrt{1 + (\text{Pitch} / 12)^2}$.

2. How to Layout the Birdsmouth Cut

A birdsmouth is the triangular notch cut into a rafter allowing it to sit flat on top of the wall framing (the top plate). It consists of two cuts:

  • Seat Cut (Horizontal): The level cut that bears full weight on the wall plate. For standard $2\times 4$ walls, the seat cut is 3.5 inches long; for $2\times 6$ walls, it is 5.5 inches long.
  • Heel Cut (Vertical): The plumb cut that extends upward from the inside edge of the wall plate.

IRC Building Code Rule (Section R802.5): The vertical depth of the birdsmouth heel cut must never exceed one-third (1/3) of the total rafter depth (or 1/4 in heavy snow regions). Cutting too deeply weakens the lumber, causing it to split along the grain under heavy snow loads.

3. Using a Speed Square for Plumb & Level Cuts

When marking your timber on the jobsite, use a speed square (rafter square):

  • Pivot the square on the corner of the timber until your roof pitch number on the COMMON scale aligns with the edge of the board.
  • Scribing along the straight edge gives you your exact Plumb Cut line (for the ridge and the tail fascia).
  • Drawing perpendicular to that line gives you your exact Seat Cut line (for resting on the top plate).

Roof Pitch to Angle Conversion Table

Roof Pitch Pitch Angle (Degrees) Rise per Foot of Run Rafter Length Multiplier Typical Architectural Use
3:12 Pitch 14.04° 3.0 inches 1.031 Sheds, carports, modern lean-to additions
4:12 Pitch 18.43° 4.0 inches 1.054 Single-story ranch homes, low-slope shingles
5:12 Pitch 22.62° 5.0 inches 1.083 Suburban residential roofs, moderate rain shedding
6:12 Pitch 26.57° 6.0 inches 1.118 Most common US residential pitch (standard colonial)
7:12 Pitch 30.26° 7.0 inches 1.158 Traditional two-story houses, good attic headroom
8:12 Pitch 33.69° 8.0 inches 1.202 Cape Cod, craftsman homes, excellent snow shedding
9:12 Pitch 36.87° 9.0 inches 1.250 Steep roofline, cathedral ceilings, dormer additions
12:12 Pitch 45.00° 12.0 inches 1.414 A-frame chalets, Victorian gables, gothic revival

Frequently Asked Questions

Does a shed roof need a ridge board?
No. Single-slope shed roofs and lean-to additions rest directly upon a high exterior wall and a low exterior wall, using birdsmouth seat cuts on both bearing plates.
How do you calculate common rafter length?
First calculate the actual run: (Total Building Span minus Ridge Board Thickness) divided by 2. Then calculate rise: Run × (Pitch / 12). Common rafter line length is the hypotenuse: √(Run² + Rise²). To find total board length, add the overhang length and plumb cut allowance.
What is a birdsmouth cut and how deep can it be?
A birdsmouth cut is a notch cut into a rafter where it rests upon the wall top plate, consisting of a horizontal seat cut and a vertical plumb cut. Under the International Residential Code (IRC), the vertical heel cut depth must not exceed one-third (1/3) of the rafter lumber depth (or 1/4 in some regional codes) to prevent structural splitting.
What is the difference between rafter line length and total cut length?
Rafter line length is the theoretical measurement along the top edge from the center of the ridge board to the outside edge of the wall top plate. Total cut length includes the line length plus the tail overhang extending past the wall to the fascia.
How do you calculate rafter cut angles?
The seat cut (level horizontal cut) angle equals the roof pitch angle: arctan(Pitch / 12). The plumb cut (vertical cut at the ridge and tail) equals 90 degrees minus the pitch angle.
How far can a 2x6 rafter span without support?
Under standard residential roof loads (30 PSF live/snow load, 10 PSF dead load) at 16 inches on-center, a Douglas Fir-Larch #2 2x6 rafter can safely span approximately 14 feet 4 inches of horizontal run. For spans over 15 feet, upgrade to 2x8 or 2x10 lumber.