Rooftop Math
Steep shingle gables, rakes, and eave overhangs on a light-colored house

Home › Rafter Length Calculator

Rafter Length Calculator

The length of a common rafter from the ridge to the fascia, including the overhang.

A nominal 2x ridge is 1½ inches. Set this to 0 if your run is already to the face of the ridge.

Enter your measurements and tap Calculate to see the result.

How to measure

Find the rafter run (definition) of a common rafter: the horizontal distance from the outside wall line to the ridge centerline. For a simple gable that is often half the building width. Measure the overhang separately, also as a horizontal distance from the wall to the fascia line. Then take the roof pitch (definition) with a level in the attic or from the plans. Note the actual thickness of the ridge board; a nominal 2x is usually 1½ inches.

How the length is calculated

The pitch multiplier (definition) is √(1 + (rise/run)²). If the run is to the centerline, the run to the plumb cut is that run minus half the ridge thickness. Length to the plumb cut = run-to-plumb × multiplier. The tail, from the wall to the fascia, is overhang × multiplier. Total rafter length is those two added together. Multiply by the number of rafters to get a total linear footage for ordering, remembering that lumber comes in standard lengths and you will buy the next stock length up.

Worked example: a 15-foot run to the centerline, 6:12 pitch, 1-foot overhang, and a 1½-inch ridge. Run to the plumb cut is 15 − (1.5 ÷ 12) ÷ 2 = 14.9375 feet. The multiplier is about 1.118. Length to the plumb cut is about 16.70 feet; the tail is about 1.12 feet; the total is about 17.82 feet. You would typically buy 18-foot or 20-foot stock, depending on what the yard carries and how you cut.

This is layout math, not a cutting list, and it is only for common rafters. Results are planning estimates. Confirm coverage, nail patterns, and installation details with the manufacturer's instructions, and check your local building code. This tool is not a substitute for a licensed roofer or a permit review.

How long is a common rafter?

A common rafter is a right triangle: length to the plumb cut equals the run to the ridge face times the pitch multiplier, √(1 + (rise/run)²). If you measured run to the ridge centerline, subtract half the ridge thickness first. Add the tail, which is the overhang times the same multiplier. The worked example on this page — a 15-foot run to the centerline, 6:12 pitch, 1-foot overhang, and a 1½-inch ridge — comes to about 17.82 feet, so you would typically buy 18-foot or 20-foot stock. This is layout math for common rafters, not a cutting list for hips, valleys, or jack rafters.

Frequently asked questions

Do I measure run to the ridge centerline or to the face of the ridge board?

This calculator assumes, by default, that your run is measured to the ridge centerline and then subtracts half the ridge thickness so the plumb cut lands on the face of the board. If you already measured to the face, set ridge thickness to 0.

Is the birdsmouth included?

The length given is along the rafter from the ridge plumb cut to the fascia line, including the overhang tail. It does not subtract a birdsmouth or add a fascia board. Cut from the layout, not from this number alone.

How do I find the run?

For a simple gable, the run of a common rafter is half the building width, plus the wall thickness to the outside, or simply the horizontal distance from the outside wall to the ridge centerline. Add the overhang separately; do not fold it into the run if you are using the overhang box.

Can I use this for hip or valley rafters?

Not directly. Hip and valley rafters are longer than a common rafter on the same pitch. This tool is only for common rafters of a constant pitch.

How long is a common rafter on a 6/12 pitch?

Multiply the run (and the horizontal overhang, if you enter one) by the 6:12 pitch multiplier, about 1.118. A 12-foot run with no overhang is about 13.42 feet to the plumb cut; subtract half the ridge thickness if you measured to the centerline. The pitch calculator shows the multiplier for other rises and runs.

Results are planning estimates. Confirm coverage, nail patterns, and installation details with the manufacturer's instructions, and check your local building code. This tool is not a substitute for a licensed roofer or a permit review.

Related calculators

Sources