Rafter Length Calculator
Enter the building span, roof pitch, ridge and overhang to get the common rafter line length, the total board length and the stock to buy. The birdsmouth is laid out and checked against the IRC notch and bearing limits.
By ChiselJobs Team · Updated
The Roof
Span is measured to the outside of the wall framing. A 2x4 wall plate is 3-1/2" wide and a 2x6 plate is 5-1/2".
Rafter Length
Run (after ridge)
143-1/4"
Rise
71-5/8"
Overhang Along Slope
13-7/16"
Total Rafter Length
14' 5-9/16"
Stock Length
16 ft or longer
Plumb Cut Angle
26.6°
Birdsmouth
Seat Cut (level)
3-1/2"
Heel Cut (plumb)
1-3/4"
Notch Depth
1-9/16"
Height Above Plate
6-3/8"
- Notch 1-9/16" (maximum 1-13/16", 1/4 of the rafter depth, IRC R802.7.1). Longest seat at this pitch: 4-1/16".
- Seat 3-1/2" (minimum 1-1/2" of bearing, IRC R802.6)
Keep the seat cut no wider than the top plate, so the heel carries the load instead of the toe.
Rafter Count (Optional)
How Rafter Length Is Calculated
A common rafter is the hypotenuse of a right triangle. The run is the level distance from the outside of the wall to the center of the ridge, and the rise is how high the roof climbs over that run. The pitch, rise per 12 inches of run, sets the multiplier between them.
On a gable roof, the run is half the span. If the rafters land on a ridge board, each rafter stops at the face of the board, not the center, so take half the ridge thickness off the run first. Forgetting that deduction makes the rafters too long, pushes the peak up and the walls out.
The result is the line length: from the long point of the ridge plumb cut to the heel of the birdsmouth, where the rafter meets the outside of the wall. The overhang tail is added on top of that to get the total board length.
Laying Out the Birdsmouth
The birdsmouth is the notch that seats the rafter on the wall plate: a level seat cut and a plumb heel cut. The IRC sets both ends of its size.
- Bearing: rafters need at least 1-1/2" of bearing on wood or metal (R802.6).
- Notch depth: notches at the end of a sawn rafter may not exceed one-fourth of its depth (R802.7.1). On a 2x12, that is 2-13/16".
- Seat width: the seat should be no wider than the top plate, so the heel, not the toe, carries the load.
- Steep roofs: as the pitch rises, a full-width seat cuts deeper into the rafter. On a 12/12 roof, a 2x12 seat cut is limited to about 4".
- Height above plate: the plumb height from the top of the plate to the top of the rafter, which sets where the roof plane lands and how much room there is for insulation at the eaves.
Rafter Formulas
All lengths in inches. The rafter factor is the same multiplier used on the roof pitch calculator.
- Rise
- Pitch, inches of rise per 12 inches of run
- Ridge
- Ridge board thickness (1-1/2" for a 2x)
- Overhang
- Level overhang past the wall
- Seat
- Level length of the seat cut
- θ
- Roof angle, the arctangent of rise ÷ 12
- Depth
- Actual rafter depth (7-1/4" for a 2x8)
Notch depth is measured square to the rafter’s edge, which is how the IRC one-fourth limit is applied.
Worked Example: 24 ft Gable, 6/12, 2x8 Rafters
A 24 ft span with a 6/12 pitch, a 2x ridge board, 12" of level overhang, 2x8 rafters and a 3-1/2" seat cut on 2x4 walls.
- Run: 288 ÷ 2 − 1.5 ÷ 2 = 143.25".
- Rafter factor at 6/12: 1.118. Line length: 143.25 × 1.118 = 160.16", or 13' 4-3/16".
- Overhang along the slope: 12 × 1.118 = 13-7/16". Total length: 14' 5-9/16", so buy 16 ft stock.
- Birdsmouth: heel cut 1-3/4", notch depth 1-9/16" against a 1-13/16" limit for a 2x8. Height above plate: 6-3/8".
Worked Example: Why the Ridge Deduction Matters
A garden shed 8 ft wide with a 5/12 roof and a 2x ridge board.
- Run with the deduction: 48 − 0.75 = 47.25", or 3' 11-1/4".
- At 5/12 the rafter factor is exactly 13 ÷ 12, so the line length is 47.25 × 13 ÷ 12 = 51-3/16".
- Without the deduction, the run is 48" and the rafter is 52".
Worked Example: Overnotching on a Steep Roof
A 12/12 roof with 2x12 rafters on 2x6 walls, cut for full bearing with a 5-1/2" seat.
- Notch limit: 11.25 ÷ 4 = 2-13/16".
- A 5-1/2" seat at 45° cuts 5.5 × 0.707 = 3-7/8" deep, over the limit.
- Longest seat that stays within the limit: 2.8125 ÷ 0.707 = 4".
Common Rafter Length Chart
Line length from the ridge plumb cut to the birdsmouth heel, with a 1-1/2" ridge board and no overhang. Add the overhang and extra for the tail cut.
| Span | 4/12 | 6/12 | 8/12 | 10/12 | 12/12 |
|---|---|---|---|---|---|
| 12 ft | 6' 3-1/8" | 6' 7-11/16" | 7' 1-5/8" | 7' 8-3/4" | 8' 4-3/4" |
| 16 ft | 8' 4-3/8" | 8' 10-1/2" | 9' 6-1/2" | 10' 4" | 11' 2-11/16" |
| 20 ft | 10' 5-11/16" | 11' 1-5/16" | 11' 11-5/16" | 12' 11-1/4" | 14' 5/8" |
| 24 ft | 12' 7" | 13' 4-3/16" | 14' 4-3/16" | 15' 6-1/2" | 16' 10-9/16" |
| 28 ft | 14' 8-5/16" | 15' 7" | 16' 9" | 18' 1-11/16" | 19' 8-1/2" |
| 32 ft | 16' 9-5/8" | 17' 9-13/16" | 19' 1-7/8" | 20' 8-15/16" | 22' 6-7/16" |
Field Tips
Practical advice from framers in JLC and on the Fine Homebuilding forum, checked against the IRC.
Sources: JLC: Sizing the birdsmouth, Fine Homebuilding forum: Roof rafters