Skip to content
Metal Roof Calculator

Rafter Calculator

Enter span, pitch, overhang and your lumber size to get a one-page cut sheet for a common rafter, including every birdsmouth dimension.

01 / Roof

02 / Rafter & birdsmouth

03 / Count

Switching units shows a separate example for that system; your entries in each are kept.

Rafter cut sheet

Span 24 ft, pitch 6:12, overhang 12 in, ridge 1.5 in, rafter depth 7.25 in.

Top edge length
14′ 5-9/16″
ridge cut to tail
Buy boards
16 ft
needs 14′ 9-3/16″
Rafters
56
28 per side
above plate 6-3/8″seat 3-1/2″heel 1-3/4″notch depth 1-9/16″wall
Ridge cut to birdsmouth heel
13′ 4-3/16″Measure along the top edge from the ridge plumb cut.
Tail beyond the heel
1′ 1-7/16″Along the top edge to a plumb tail cut.
Birdsmouth seat cut
3-1/2″Level cut that sits on the wall plate.
Birdsmouth heel cut
1-3/4″Plumb cut against the outside face of the wall.
Notch depth, square to the edge
1-9/16″ (22% of depth)Deepest point of the notch.
Height above plate
6-3/8″Plumb, from top of plate to top of rafter.
Plate to top of rafter at ridge
6′ 6″Use it to set the ridge board.
Saw setting
26.6° plumb, 63.4° levelAngles measured from a square cut.

Common rafters on a symmetrical gable roof only. Hip, valley and jack rafters, load and span checks, and fly rafters are not included. Board length assumes parallel plumb cuts and no allowance for defects.

The math

Ordering the roofing? Use the metal roof calculator for panels, trim and screws.

Worked example: 24 ft span, 6 in 12 pitch

Take a gable roof 36 ft long over walls 24 ft apart outside to outside, with a 12 in horizontal overhang, a 1-1/2 in ridge board, 2×8 rafters (7-1/4 in deep) at 16 in on centre and a 3-1/2 in seat cut.

Run
(24 ft − 1-1/2 in) ÷ 2 = 11 ft 11-1/4 in
Slope factor
√(1 + 0.5²) = 1.118
Ridge cut to birdsmouth
run × 1.118 = 13 ft 4-3/16 in
Tail
12 in × 1.118 = 13-7/16 in
Top edge length
14 ft 5-9/16 in
Minimum board
add 7-1/4 in × 0.5 for the two plumb cuts: 14 ft 9-3/16 in, so buy 16 ft
Heel cut
3-1/2 in × 0.5 = 1-3/4 in
Notch depth
1-3/4 in ÷ 1.118 = 1-9/16 in, about 22% of a 2×8
Rafter count
28 per side, 56 in total

Rafter length chart

Top edge length from the ridge plumb cut to the tail, and the shortest stock board that fits, for common spans. Assumes a 12 in horizontal overhang, a 1-1/2 in ridge board and 2×8 rafters (7-1/4 in deep). Span is measured outside to outside of the walls.

Span 4 in 126 in 128 in 12
12 ft 7′ 3-3/4″8 ft board7′ 9-1/16″10 ft board8′ 4-1/16″10 ft board
16 ft 9′ 5-1/16″10 ft board9′ 11-15/16″12 ft board10′ 8-7/8″12 ft board
20 ft 11′ 6-3/8″12 ft board12′ 2-3/4″14 ft board13′ 1-3/4″14 ft board
24 ft 13′ 7-5/8″14 ft board14′ 5-9/16″16 ft board15′ 6-9/16″16 ft board
28 ft 15′ 8-15/16″16 ft board16′ 8-7/16″18 ft board17′ 11-7/16″20 ft board
32 ft 17′ 10-1/4″20 ft board18′ 11-1/4″20 ft board20′ 4-1/4″22 ft board

Reading the birdsmouth

A birdsmouth is the notch that lets the rafter sit flat on the wall plate. It has two cuts. The seat cut is level and bears on top of the plate. The heel cut is plumb and sits against the outside face of the wall.

Mark the ridge plumb cut first, then measure down the top edge to the heel position. Draw a plumb line there, then slide the square until the level line from that plumb line to the bottom edge matches the seat length. The notch depth in the cut sheet is measured square to the rafter edge, so it is smaller than the heel height measured plumb.

A longer seat gives more bearing but takes a deeper bite out of the rafter. On steep roofs the heel grows quickly, so check the notch warning before you cut. Cut one rafter, test it on both walls, then use it as the pattern for the rest.

Common rafter mistakes

Questions

How do I calculate rafter length?
Take half the span, subtract half the ridge board thickness, add the horizontal overhang, then multiply by the slope factor. For a 6 in 12 roof the factor is 1.118.
How deep can a birdsmouth be?
The commonly applied US limit for an end notch in sawn lumber is one quarter of the rafter depth, about 1-13/16 in on a 2×8. The calculator warns you above that. Check the code that applies where you build.
Why is the board to buy longer than the rafter?
Both ends are cut plumb, so the board has to be longer than the top edge by the rafter depth multiplied by the slope before it can be trimmed.
What pitch should I enter?
Enter rise per 12 units of run. A roof that rises 6 in over every 12 in of horizontal distance is 6 in 12, about 26.6 degrees. Measure it on the existing roof or take it from the drawings.
Can I use this rafter calculator for a shed roof?
It is laid out for two matching rafters meeting at a ridge. A single-slope shed rafter has a bearing at each end and no ridge board, so the span and cut positions differ and need to be set out separately.
Should I enter nominal or actual lumber size?
Enter the actual depth. A US 2×6 is normally 5-1/2 in deep, a 2×8 7-1/4 in, a 2×10 9-1/4 in and a 2×12 11-1/4 in. In metric mode, enter the depth in millimetres as measured on the board.
How do I mark the cuts with a speed square?
Put the pivot corner on the top edge of the rafter and swing the square until the pitch angle on the degree scale, 26.6 degrees for 6 in 12, lines up with that edge. Draw along the side that started square to the board: that is a plumb line. The level seat line runs at right angles to it. Keep the saw bevel at zero, and finish the birdsmouth with a handsaw so you do not cut past the corner.
Does it check span or load?
No. It lays out the cuts. Choose rafter size and spacing from span tables or an engineer.