Rafter length calculator
Find the common rafter length from your run and roof pitch.
Enter your horizontal run and roof pitch to get the common rafter length. Handy for framing a roof, addition, shed, or porch.
Add overhang length and account for ridge board thickness when cutting.
How rafter length is figured
The common rafter is the hypotenuse of the run and rise. Length = run × √(1 + (rise/12)²). This gives the line length from wall plate to ridge, before you add the overhang (tail) and subtract half the ridge thickness.
Cost ranges reflect 2026 U.S. installed prices (BLS producer/labor data, Remodeling Cost vs. Value, and manufacturer pricing). Your real price depends on your roof, region, and pro — see the full cost guide.

Your roof can’t wait. Let’s get it done right.
Get matched with a trusted local pro today. Free. No pressure. Takes 60 seconds.
Free • No pressure • Licensed & insured pros