Rafter Length Calculator

Calculate rafter length, pitch, slope angle, and cut angles from roof run and rise.

Rafter Length
—
Roof Pitch (per 12)
—
Slope Angle
—
Run : Rise Ratio
—
Hip/Valley Angle (plumb cut)
—
Jack Rafter Length (per 16" O.C.)
—

How it works

The calculator uses the Pythagorean theorem to find rafter length: Length = √(Run² + Rise²). The slope angle comes from arctan(Rise ÷ Run). Roof pitch is expressed as rise per 12 units of horizontal run — the standard convention carpenters use (e.g., "6 in 12"). Hip and valley rafters run diagonally across a 45° plan angle, so their slope is computed against a plan length of Run × √2. Enter the same unit for both run and rise; the tool handles conversion and outputs in your chosen unit.

Frequently Asked Questions

How do you calculate rafter length?
Measure the horizontal run and vertical rise of the roof, then apply the Pythagorean theorem: rafter length = √(run² + rise²). For example, a 12" run and 6" rise gives a rafter length of about 13.42".
What is a 6/12 roof pitch in degrees?
A 6/12 pitch (6 inches of rise for every 12 inches of run) equals approximately 26.57°. This is one of the most common roof pitches for residential homes because it balances water runoff, snow load, and material cost.
How much overhang should I add to rafter length?
Typical eave overhang is 12–24 inches beyond the exterior wall. Add the overhang length (measured horizontally along the run) to your run before calculating, or compute the rafter tail separately using the same slope ratio and add it to the total.
Free tools by TUNA — energy supply from vetted manufacturers
``` Wait — the footer div and tracking script need to be inside ``. Let me re-output the corrected complete file.