Rafter Length Calculator

By the RoofRatio team. Updated November 6, 2026.

Enter the building span, pitch, ridge board thickness and overhang. You get the rafter length from ridge to plate, the tail length and the total, in decimal feet and feet and inches.

Outside of wall to outside of wall.
14.46 ft
Total rafter length
14' 5 9/16"
Feet and inches
13.35 ft
Ridge to plate
26.57°
Plumb cut angle

How to calculate rafter length

A common rafter is the hypotenuse of a right triangle. The run is half the span, less half the ridge board thickness. The calculator multiplies that run by the pitch multiplier, then adds the tail for the overhang:

Run = span ÷ 2 − ridge thickness ÷ 2
Rafter (ridge to plate) = run × √(1 + (pitch ÷ 12)²)
Tail = level overhang × same multiplier

For a 24 ft span at 6/12 with a 1.5 in ridge and 12 in overhang: run is 11.94 ft, ridge to plate is 13.35 ft, and the total is 14.46 ft (14' 5-9/16"), so you buy 16 ft stock.

Measure along the line. These lengths are measured along the rafter's measuring line, the line from the top outside corner of the wall plate (where the birdsmouth seat cut meets the heel cut) parallel to the rafter edge. Lay out the birdsmouth before cutting the tail.

Need the pitch first? Use the roof pitch calculator. Rafter size and spacing depend on span, snow load and lumber grade, so check IRC Table R802.4 or your engineer.

Frequently asked questions

How long is a rafter for a 24 ft span at 6/12?

About 13.35 ft from ridge to plate with a 1.5 in ridge board, plus the tail for your overhang.

Why subtract the ridge board?

Rafters butt against each side of the ridge board, so each run is shortened by half the board's thickness.

What is the plumb cut angle?

It equals the roof angle. For 6/12 that is 26.57 degrees, set on a speed square using the 6 on the common scale.

Embed this calculator on your website

Free for blogs, suppliers, clubs and schools. Paste this code into your page. It stays up to date automatically, and the short credit line under it must stay in place.

More roofing calculators

Last updated November 6, 2026. Results are estimates for planning. See how we build and check our tools in our editorial policy. Found an error? Tell us.