Framing & Carpentry UtilityIRC Section R802 Calibrated

Roof Rafter Calculator

Calculate exact common rafter cutting lengths, theoretical line lengths, ridge board deductions, eave overhang tails, birdsmouth seat cuts, and IRC Section R802.7.1 notching limits.

Quick Setup Framing Presets:

1. Roof Span & Pitch Geometry

Total exterior wall-to-wall framing width (Half-span = Run: 12.0′)
in 12″ (26.57° Plumb)
Horizontal soffit depth
Dimensional lumber depth

Rafter Cut Length & Lumber Order

6:12 (26.57°)
Total Practical Cut Length:
14' 5-9/16"(14.464′)

Tip of plumb cut to tail end cut

Recommended Stock Board:
16′2x6 Stock

Order 16-foot boards for cutting

Line Length:13' 5"
Ridge Deduct:0.84″
Overhang Tail:13.42″ cut
Seat Cut Bearing:3.5″
Plumb Notch Depth:1.75″
H.A.P. Heel Stand:3.75″
Framing Takeoff for 32′ Roof (16″ O.C.):
25 Rafter Pairs • 50 Total Common Rafters
50 pcs (2x6 × 16′)
The birdsmouth plumb cut (1.75") exceeds 1/4 the rafter depth (1.38" for 2x6) per IRC R802.7.1. Increase rafter lumber depth (e.g. 2x8) or reduce seat cut bearing to prevent structural split failure.
Calibrated to IRC R802 Rafter Framing Standards

Common Rafter Framing Blueprint

Pitch 6:12 • 26.57° Plumb Angle • 24′ Span (12′ Run)

2x4 PlateRidge (Deduct 0.84″)Overhang: 12″ (13.42″ cut)Line Length: 13' 5"Run: 12′ (144″) • Span: 24′Rise: 6′ (72″)126
⚠ Notch Exceeds 1/4 Depth
Total Cut Length14' 5-9/16"
Stock Board Order16′ Stock Lumber
Plumb Cut Pitch6/12 (26.57°)
Seat Cut Bearing3.5″ (63.43°)

Carpentry Calculation Steps & Trigonometric Proofs

1.Unit Run and Slope Factor: sqrt(1 + (6 / 12)^2)
= 1.1180 (Pitch Angle: 26.57°)
2.Rafter Run & Theoretical Rise: 24' / 2 = 12' (144"); 12' * (6 / 12)
= Run: 12' | Rise: 6' (72")
3.Rafter Line Length (Ridge Center to Wall): 144" * 1.1180
= 160.99" (13' 5")
4.Ridge Board Deduction: (1.5" / 2) * 1.1180
= 0.84"
5.Eave Overhang Rafter Length: 12" * 1.1180
= 13.42"
6.Total Cutting Length: 160.99" - 0.84" + 13.42"
= 173.57" (14' 5-9/16" / 14.464')
7.Birdsmouth Seat & Plumb Cut (IRC R802.7.1): 3.5" * (6 / 12) = 1.75"; 5.5" - 1.75"
= Seat: 3.5" | Plumb Cut: 1.75" | H.A.P.: 3.75"

1. Common Rafter Geometry & Trigonometric Formulas

Every common roof rafter forms the hypotenuse of a right-angled triangle where the base is the horizontal run (half of the total building span), the altitude is the vertical rise, and the slope is defined as inches of rise per 12 inches of run ($P/12$).

Slope Multiplier Factor

Slope Factor = √(1 + (Pitch / 12)²)

Used to convert any horizontal distance into its true diagonal sloped length.

Rafter Line Length Formula

Line Length = Run (inches) × Slope Factor

Measures center of ridge board to outside face of top wall plate line.

2. Ridge Board Thickness Deduction Rules

A common framing error made by novice carpenters is forgetting to deduct for the ridge board. Because theoretical rafter line length is calculated to the geometric center of the building span, you must shorten each rafter by half the thickness of the ridge member:

Ridge Deduction along Rafter Slope:

Ridge Deduction = (Ridge Thickness / 2) × Slope Factor

For standard 2x dimensional lumber (1.5″ net thickness), the horizontal half-thickness is 0.75″. On a 6:12 pitch (slope factor 1.1180), the deduction along the rafter line is 0.75″ × 1.1180 = 0.84″ (approx 13/16″). For engineered LVL ridge beams (1.75″ thick), deduct 0.875″ × Slope Factor.

3. Birdsmouth Cut Layout & IRC Section R802.7.1 Notching Limits

The birdsmouth notch allows the sloped rafter to transfer roof gravity and snow loads directly down into the vertical wall studs. It is formed by two intersecting cuts:

1. Horizontal Seat Cut Bearing (IRC R802.7.1)

The seat cut must bear flat across the top plate. Under IRC building codes, minimum bearing length is 1.5 inches on wood and 3.0 inches on masonry or concrete. On a standard 2x4 exterior wall, the seat cut is typically 3.5 inches. On a 2x6 exterior wall, it is typically 5.5 inches.

2. Vertical Plumb Cut Notch Depth Limit (D / 4)

To prevent catastrophic split failure along the timber grain under high snow or wind loads, IRC Section R802.7.1 dictates that end notches shall not exceed one-fourth (1/4) of the actual rafter depth. For a 2x6 (5.5″ depth), the maximum allowable plumb cut is 1.375″. For a 2x8 (7.25″ depth), the maximum is 1.81″. If a steep pitch creates a plumb cut exceeding this threshold, structural framing screws or engineered rafter ties (such as Simpson Strong-Tie H2.5A) must be specified.

3. Height Above Plate (H.A.P. / Heel Stand)

HAP is the remaining uncut vertical wood thickness directly above the top plate: HAP = Actual Depth - Plumb Cut Depth. Maintaining consistent HAP across all rafters ensures straight eave lines and uniform ceiling drywall heights.

4. Framing Square Rafter Table Lookup Chart

Master carpenters use the standard steel framing square rafter tables. Below is the official multiplier and common rafter length per foot of run for standard roof pitches:

Roof PitchPlumb Cut AngleSlope MultiplierLength Per Ft RunStandard 24′ Span Line Length
3:12 Pitch14.04°1.030812.37″ / ft12′ 4-7/16″
4:12 Pitch18.43°1.054112.65″ / ft12′ 7-13/16″
5:12 Pitch22.62°1.083313.00″ / ft13′ 0″
6:12 Pitch26.57°1.118013.42″ / ft13′ 5″
8:12 Pitch33.69°1.201914.42″ / ft14′ 5-1/16″
10:12 Pitch39.81°1.301715.62″ / ft15′ 7-7/16″
12:12 Pitch45.00°1.414216.97″ / ft16′ 11-11/16″

5. Frequently Asked Questions

How do you calculate the length of a common rafter?

To calculate common rafter length: First, find the horizontal run (half the building span). Second, find the slope factor using the Pythagorean theorem: Slope Factor = sqrt(1 + (Pitch/12)^2). Third, multiply Run by the Slope Factor to obtain the theoretical Line Length. Finally, subtract the ridge board deduction (half the ridge board thickness times the slope factor) and add the rafter tail overhang length.

Why do you subtract half the ridge board from the rafter length?

The theoretical rafter line length is calculated to the geometric centerline of the building roof ridge. In actual construction, a continuous ridge board (typically 1.5 inches thick for 2x dimensional lumber) separates the opposing rafter pairs. Subtracting half the thickness (0.75 inches measured horizontally, or 0.75" * slope factor along the rafter line) ensures the rafter pairs meet tight against the face of the ridge board without pushing the exterior walls out of plumb.

What is a birdsmouth cut and what are the IRC code limits?

A birdsmouth is a V-shaped triangular notch cut into a rafter allowing it to rest flat on top of the exterior wall top plate. It consists of two cuts: a horizontal seat cut that bears on the plate (minimum 1.5 inches on wood per IRC R802.7.1), and a vertical plumb cut. Under IRC Section R802.7.1, notches on the ends of rafters cannot exceed 1/4 the actual lumber depth (e.g. 1.375 inches maximum plumb cut on a 2x6, or 1.81 inches on a 2x8) to preserve structural shear strength.

What size lumber should I order for my rafters?

Always order the next standard even-foot dimensional lumber length that exceeds your Total Cut Rafter Length. For example, if your total cut length (line length minus ridge deduction plus overhang) is 14 feet 5 inches, you must order 16-foot 2x6 or 2x8 lumber stock. Standard dimensional lumber lengths are sold in 2-foot increments (8', 10', 12', 14', 16', 18', 20', 22', 24').

What is H.A.P. (Height Above Plate) in roof framing?

Height Above Plate (HAP), also known as the heel stand, is the vertical distance of solid, uncut wood remaining directly above the exterior wall top plate after the birdsmouth notch is cut. Maintaining consistent HAP across all rafters is essential because it dictates the exterior wall height, fascia board alignment, and roof plane consistency.

How do you read the common rafter table on a framing square?

On a standard steel framing square, the first row of numbers on the face of the blade is labeled 'Length of Common Rafters per Foot Run'. Locate the roof pitch mark (e.g. 6 for 6:12 pitch) on the edge ruler. Directly below 6 is the number 13.42. This means that for every 1 foot of horizontal run, the rafter length increases by 13.42 inches. Multiply 13.42 inches by your total run in feet to get the exact rafter line length.

Rafter Framing Checklist

  • Always verify building span at both gable ends and mid-span.
  • Deduct half the ridge board along the rafter slope line.
  • Cut one pattern rafter and test-fit before gang-cutting.
  • Crown all rafter boards upwards to resist deflection.
  • Check local ground snow load for maximum allowable spans.