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.
Construction & Framing Takeoff Worksheet
Date: October 7, 2026
Source: ProTrade Calculators
1. Roof Span & Pitch Geometry
Rafter Cut Length & Lumber Order
Tip of plumb cut to tail end cut
Order 16-foot boards for cutting
Common Rafter Framing Blueprint
Pitch 6:12 • 26.57° Plumb Angle • 24′ Span (12′ Run)
Carpentry Calculation Steps & Trigonometric Proofs
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 Factor = √(1 + (Pitch / 12)²)
Used to convert any horizontal distance into its true diagonal sloped length.
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 = (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:
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.
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.
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 Pitch | Plumb Cut Angle | Slope Multiplier | Length Per Ft Run | Standard 24′ Span Line Length |
|---|---|---|---|---|
| 3:12 Pitch | 14.04° | 1.0308 | 12.37″ / ft | 12′ 4-7/16″ |
| 4:12 Pitch | 18.43° | 1.0541 | 12.65″ / ft | 12′ 7-13/16″ |
| 5:12 Pitch | 22.62° | 1.0833 | 13.00″ / ft | 13′ 0″ |
| 6:12 Pitch | 26.57° | 1.1180 | 13.42″ / ft | 13′ 5″ |
| 8:12 Pitch | 33.69° | 1.2019 | 14.42″ / ft | 14′ 5-1/16″ |
| 10:12 Pitch | 39.81° | 1.3017 | 15.62″ / ft | 15′ 7-7/16″ |
| 12:12 Pitch | 45.00° | 1.4142 | 16.97″ / ft | 16′ 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.