Free roofing tool

Rafter length calculator

Halve the span to get the run, add the level overhang, and multiply by the pitch factor for your pitch. That is the rafter's line length from the ridge line to the tail. The plumb cut angle is the roof angle: arctan(rise ÷ 12).

Andie Gray
· CEO of RooferX and ContractorX
Updated · 3 min read

Verified against the formulas on this page

12626.6°
RooferX
Rafter length
16' 9 1/4"
Ridge to wall
15' 7 7/8"
Rise
7' 0"
Plumb cut
26.6°

Every rafter run already measured.

Every lead comes with a measured roof on RooferX. No additional costs from us.

Free roof measurements on RooferX

How do you calculate rafter length?

A common rafter is the hypotenuse of a right triangle: the run is the base and the rise is the height. The pitch factor turns any level distance into the length along the slope.

Worked example: 28 ft span, 6:12, 12 in overhang
StepResult
Run: 28 ÷ 214 ft
Ridge to wall: 14 × 1.11815' 7 7/8"
Tail: 1 ft × 1.1181' 1 3/8"
Rafter line length16' 9 1/4"
Rise: 14 × 6 ÷ 127' 0"

What about the ridge board?

The calculator gives the line length to the center of the ridge. With a ridge board, shorten each rafter by half the board's thickness, measured level and multiplied by the pitch factor: a 1-1/2 inch board at 6:12 takes 3/4 × 1.118 = 0.84 inches off each rafter.

What angle is the plumb cut?

The plumb cut at the ridge and the tail is set at the roof angle, arctan(rise ÷ 12). Every pitch's angle is in the roof pitch chart; on a framing square, hold the rise on the tongue and 12 on the blade.

Andie Gray
Written by
Andie Gray
CEO, RooferX and ContractorX

Andie Gray leads RooferX, the most powerful roofing platform. These guides give roofers the exact forms, rules and steps for every permit, free, so the packet goes in right the first time.