How to Figure Rafter Length

A common rafter follows the hypotenuse of a right triangle. Identify the horizontal run and vertical rise for one roof plane, solve the triangle, then handle any overhang as a separate extension of the run.

Have two sides or a pitch and run? Use the rafter calculator →

FIELD GUIDE PC-09 · US CUSTOMARYrun 10 ftrise 5 ft

The rafter triangle: rise, run, and length

Figuring rafters starts with one right triangle for one roof plane. Run is the level distance from the outside wall line to the ridge centerline. Rise is the vertical distance from that same wall-line elevation to the ridge-line elevation. The geometric rafter length is the sloped hypotenuse connecting those two points.

Keep these definitions tied to the same reference points. The rafter's line length is not the building span, and the run is not the distance measured up the roof. On a centered, symmetrical gable, each side usually has half the total span as its run. A shed roof or an off-center ridge needs its actual horizontal run instead. Hips and valleys follow different plan geometry and should not be treated as common rafters.

Measure the rafter triangle in the field

Figuring rafters on site means producing two honest sides of the triangle first. The solving stays in the calculator; your job with a tape and a level is to record a rise, a run, or a line length that describe one roof plane in matching units.

Get the run from the plan or the span

Run is the horizontal distance from the outside wall line to the ridge centerline. On a centered, symmetrical gable it is half the total span: measure wall to wall and divide by two. On a shed roof or an off-center ridge, measure the run itself instead of trusting the halving shortcut.

Get the rise from pitch or direct measurement

If the pitch is known, rise equals run × (pitch ÷ 12): a 10 ft run at 6/12 rises 5 ft. If it is not, measure the pitch first — a level against a rafter underside in the attic gives rise per 12 inches of run. See how to calculate roof pitch for the attic and ladder methods, or convert a measured angle with the roof pitch calculator. The roof pitch chart lists the matching multipliers.

Treat a taped rafter as a line length

A tape pulled along an existing rafter returns the sloped line length, not the run and not the rise. Use it in an inverse mode with one leg, or keep it as a check against the solved result — never enter it as the horizontal run.

Measure the overhang horizontally

An eave tail continues the same pitch past the wall line. Measure its horizontal projection, from the wall out to the fascia line, and keep it separate from the wall-to-ridge run until the main triangle is solved.

A taped rafter length is not the horizontal runA tape measure follows the sloped rafter and reads about 11.2 feet. Below it, the horizontal run measures 10 feet. Entering the taped slope length as the horizontal run produces a wrong triangle.taped line length ≈ 11.2 fthorizontal run = 10 ft≠ same field
Common error: a tape pulled along an existing rafter returns its sloped line length (~11.2 ft here), not the 10 ft horizontal run. Keep them in different fields — never swap them.

Overhangs and rafter tails

Gable rafter geometry with span, run, rise, and overhangA symmetric gable has walls 20 feet apart, with a 10 foot one-side run and a 5 foot rise. A one foot horizontal overhang extends outside each wall and is excluded from span and run. The wall-to-ridge rafter is about 11.2 feet and the rafter including its overhang is about 12.3 feet.ridgewallwallspan 20 ftrun 10 ftrise5 ftOH 1 ft
Geometry example only: 20 ft wall-to-wall span, 10 ft one-side run, 5 ft rise, and 1 ft horizontal overhang. Wall-to-ridge length ≈ 11.2 ft; with overhang ≈ 12.3 ft.

In this centered gable example, the wall-to-wall span is 20 ft and each run is 10 ft. A 5 ft rise gives an 11.2 ft wall-to-ridge line. Adding a 1 ft horizontal overhang extends the run to 11 ft, giving a 12.3 ft total sloped line. The overhang belongs outside the wall line, not inside the span or the original run.

An eave overhang extends the horizontal run beyond the exterior wall line while following the same pitch. If the main run is 10 feet and the horizontal overhang is 1 foot, solve the sloped line over a total 11-foot run, or calculate the tail's sloped extension separately with the same multiplier. Measure a horizontal projection, not the already sloped tail.

This produces a geometric reference-line length only. It does not locate a birdsmouth, size a seat cut, set a plumb cut, deduct for ridge-board thickness, establish fascia geometry, or select lumber. Those details depend on the framing layout, member depth, connection, loads, product, and code. A line-length answer is useful for geometry and estimating, but it is not a cut list or structural design.

Common mistakes when figuring rafters

Most bad rafter numbers come from mismatched reference points or units, not from the square-root operation.

Using span instead of run

Span crosses the whole building. A common rafter covers one roof plane. On a centered symmetrical gable, divide span by 2 to get run. Verify the ridge location on an asymmetrical or altered roof.

Mixing inches and feet

Convert all real lengths before solving. Six feet is 72 inches, while 6 inches is 0.5 foot. Decimal feet are not feet-and-inches notation: 12.5 feet means 12 feet 6 inches.

Measuring from different endpoints

Rise, run, and length must describe one triangle. Mixing wall-line run with a rafter length that includes the tail creates a result that cannot reconcile until the overhang is separated.

Trusting a sagging ridge

Existing framing may have settled, bowed, or been altered. A measured ridge height can describe current geometry without describing the intended plan. Compare multiple rafters and available drawings before turning one field reading into a layout.

What to do with the rafter length

Label the result as a geometric line length and record whether it includes the horizontal overhang. Keep the unrounded value for follow-on calculations. To check rise, run, pitch, inverse modes, and overhang in one place, open the rafter calculator. For a classroom set of common-rafter problems with an answer checker, use the rafter math worksheet.

Before cutting material, establish the actual ridge, wall, bearing, and fascia details; lay out plumb and seat cuts separately; and verify the design against the plans, product requirements, and local code. Triangle math answers how long the reference line is. It does not decide whether the proposed member or connection is safe. The formulas, precision, and rounding rules behind the result are listed on the methodology page.

Figuring rafters FAQ

Short answers for checking rafter triangles, pitch, span, and overhang.

How do I figure rafter length from rise and run?

Use the Pythagorean theorem: rafter length = √(run² + rise²). Measure one roof plane's horizontal run and vertical rise in the same unit, then enter both legs in the rafter calculator for the solved line length.

How do I calculate rafter length from roof pitch?

Multiply the horizontal run by the pitch ratio (pitch ÷ 12) to get rise, then solve the triangle — or multiply the run directly by the pitch multiplier. The rafter calculator handles both routes from the inputs you enter.

Is roof span the same as rafter run?

No. Span is the full horizontal width between supports. On a centered, symmetrical gable roof, one common rafter usually has a run equal to half the span. Verify the actual ridge location before using that shortcut.

Does calculated rafter length include the overhang?

Only if you extend the horizontal run by the overhang before solving. The extension follows the same pitch. The result is still a geometric line length and does not include fascia details, ridge deductions, or cut layout.

Does this method tell me where to make a birdsmouth or plumb cut?

No. Triangle math gives a reference line length only. Birdsmouth, seat and plumb cuts, ridge details, connections, lumber sizing, loads, and code compliance require a separate framing layout and structural check.