Skip to main content
Takeoff Estimates
Free calculator · Framing No sign-up Formula shown

Rafter Length Calculator

Rafter length is the run multiplied by the pitch factor, the square root of 12 squared plus the rise squared, divided by 12. Add the overhang the same way. A 12 ft run at 6/12 with a 12 in overhang gives a rafter of about 14.46 ft, cut from 16 ft stock.

Inputs

ft

Half the building span for a symmetrical gable.

in

in

in

0.75 in for a 1½ in ridge board. Enter 0 to measure to the ridge centerline.

Result

Rafter length incl. overhang

14.46 ft

Ridge to birdsmouth (plate line)
13.35 ft
Overhang tail
1.12 ft
Stock length to order
16 ft
Pitch factor
1.118 ×
Total rise
6 ft
Full takeoff

Results are estimates for planning, not engineering advice. Check quantities against your drawings and specs.

Whole plan set

Want This Done for the Whole Plan Set?

A calculator handles one room or one wall. Send the drawings and we measure every area, level and partition type, with the numbers traced to marked-up sheets.

  • Your calculator inputs are attached to the request
  • Quote first, and the price is negotiable
  • Excel + marked-up PDF back

Send the Full Plan Set

Your result is attached automatically.

Step of 2

What do you need?

Free quote. We only use your email to reply to this request.

You'll get an email confirming we received it.

Formula

How Do You Calculate Rafter Length?

A common rafter is the hypotenuse of a right triangle: the run is the level leg and the rise is the vertical leg.

  1. 1

    Find the pitch factor: √(12² + rise²) ÷ 12. For 6/12 that is 1.118.

  2. 2

    Subtract half the ridge board thickness from the run, so the rafter stops at the face of the ridge.

  3. 3

    Multiply that run by the pitch factor to get the length from ridge to plate line.

  4. 4

    Multiply the level overhang by the same factor and add it for the tail.

  5. 5

    Round up to the next even foot for stock, leaving room for plumb and seat cuts.

In one line

rafter = (run − ridge ÷ 2) × √(12² + rise²) ÷ 12 + overhang × √(12² + rise²) ÷ 12

Worked example

Worked Example: 24 ft Span at 6/12

A 12 ft run (half of a 24 ft span), 6/12 pitch, 12 in overhang measured level, and a 1½ in ridge board (0.75 in deducted).

Inputs

Rafter run (wall to ridge centerline)
12 ft
Roof pitch (rise per 12 in of run)
6 in
Overhang, measured level
12 in
Half the ridge board thickness
0.75 in

Results

Rafter length incl. overhang
14.46 ft
Ridge to birdsmouth (plate line)
13.35 ft
Overhang tail
1.12 ft
Stock length to order
16 ft
Pitch factor
1.118 ×
Total rise
6 ft

Assumptions & limits

What This Calculator Assumes

  • Lengths are measured along the top edge line of a common rafter. Hip, valley and jack rafters need their own factors.
  • The overhang is measured level from the outside of the wall.
  • Rafter size and spacing come from the drawings, the locally adopted span tables or the engineer; this tool gives geometry only.
  • Use the roof pitch calculator if you have a measured rise and run but not the pitch.

Results are estimates for planning and ordering, not engineering advice. Confirm quantities and methods against your drawings, specifications and local code.

FAQ

Rafter Length Questions

√(144 + 36) ÷ 12 = 1.118. Multiply a level run by 1.118 to get the sloped length.

For a symmetrical gable, the run is half the building span, measured level from the outside of the wall to the centerline of the ridge.

The rafter stops at the face of the ridge board, not its centerline. Half the ridge thickness comes off the run before applying the pitch factor.

Yes. A framing quantity takeoff counts commons, hips, valleys and jacks by size and length from the roof framing plan.

Embed this calculator

Free to use on your website with the credit link.

Free quote · any trade · any state

Tell us the trade and what you need, then upload the drawings or paste a link. We review the scope and reply with a price. It depends on the project, and it's negotiable.

  • Quote first. Nothing starts until you approve it.
  • Excel workbook + marked-up PDF plans.
  • Reviewed by Waqas Wakeel, lead estimator.

Get a Free Quote

Step of 2

What do you need?

Free quote. We only use your email to reply to this request.

You'll get an email confirming we received it.