Nakada Design Logo
WhoWhatHowWhyWorkToolsPressInquire
Rafter lengths and pitch, worked out to the inch

Roof Pitch & Rafter Calculator


Give it the span and the pitch and it returns the numbers that set out a roof: common rafter length, ridge height, roof angle, grade and sloped area, plus the hip rafter for a hip roof and the single-slope run for a lean-to. Switch the roof type and the whole calculation, and the section diagram, follow.
‍
Common rafter
—
‍

The Pitch and Rafter Math


Pitch is written as rise per 12 inches of horizontal run. Everything else falls out of it. The slope factor (how much longer the rafter is than its run) is:

slope factor = √(1 + (rise ÷ 12)²)

Multiply the horizontal run by that factor for the rafter length; multiply the flat footprint by it for the true sloped area. The roof angle is arctan(rise ÷ 12). A gable rafter runs half the span; a lean-to rafter runs the full width in a single slope; a hip roof adds four hip rafters that travel diagonally over the corners, longer per foot of run because they use a 17-inch diagonal base instead of 12. This tool applies the right run for the roof type you pick and adds your overhang before reporting the cut length.
‍

Common Pitches at a Glance


PitchAngleGradeSlope factorCharacter
3/1214.0°25%1.031Low-slope limit for most shingles
4/1218.4°33%1.054Common ranch / modern
6/1226.6°50%1.118The residential workhorse
8/1233.7°67%1.202Traditional, sheds snow well
12/1245.0°100%1.414Steep; strong attic volume

Below 3/12, plan on a membrane roof rather than shingles. Between 6/12 and 9/12 you get reliable water and snow shedding with a surface you can still walk.

Frequently Asked Questions

How do you calculate rafter length from pitch?

Rafter length = run × √(1 + (rise ÷ 12)²). The run is half the span for a gable, the full width for a lean-to. Add the overhang, then deduct half the ridge thickness at the peak.

Hip vs gable vs lean-to?

Gable slopes two ways to a ridge with triangular end walls; hip slopes all four sides with hip rafters and a shorter ridge; lean-to (shed) is a single plane from a high wall to a low wall.

How do you convert pitch to degrees?

Angle = arctan(rise ÷ 12). 4/12 ≈ 18.4°, 6/12 ≈ 26.6°, 12/12 = 45°. The tool shows angle and grade beside the rise-in-12 figure.

How long is a hip rafter?

Its plan run is the common run × √2, so hip length = common run × √(2 + (rise ÷ 12)²), plus overhang. This tool reports it whenever the hip roof type is selected.

What is a good roof pitch?

Most homes run 4/12–9/12. 6/12–8/12 balances shedding, walkability and material. Steeper adds attic volume and a traditional look at higher cost.

More tools for architects

Sun PathSite AnalysisADA RampBeam & JoistCost to BuildFAR & ZoningArchitect FeesAXP HoursProposal WriterAI PromptsScale ConverterOccupancy & EgressR-Value
Browse all free design tools →

Have clients discover you before your competitors do


This tool is built by Nakada Design, a Los Angeles marketing agency that specializes in architects. The same care that went into it goes into your visibility: the search presence and advertising that puts your firm in front of the clients planning to build. Tell us about your firm below.
In the garden of time, we'll soon meet
Your aspiration, like a seed, has taken root
Our response, like a bloom, shall shortly greet.
A fleeting error has crossed our path, please, try once more
Correspondence

Discover the marketing and client acquisition strategies behind top architects. Monthly emails, unsubscribe anytime.

Thank you, we look forward to sharing our insights with you.
About
Solutions for
StoriesPressTalent
ArchitectsArt Galleries & ArtistsInterior Designers
Luxury BrandsReal EstateYachting
1925 Century Park E Suite 1700
Los Angeles, CA 90067
© 2026 NAKADA DESIGN
Terms & Conditions
Privacy Policy
Sitemap
DIGITAL ART STUDIO