From this site

One project, every trade

Each calculator adds its lines to a single estimate — consolidated BOM, schedule and cash-flow included.

Open My Project

Gambrel Roof Rafter Geometry Calculator

Calculate total rafter length for a two-slope gambrel (barn-style) roof from building width and each segment's pitch.

Computed in your browser — nothing you enter is uploaded. Figures are presented for United States against IRC 2024, and every formula is cited under regulatory standards below.

Last verified 2026-08-26 · v1.0.0

Market
Imperial · sales tax
26.25 ft
Schematic, drawn to the proportions you entered — not to scale on screen.

Total gambrel rafter length

22.01 ft

High confidence
Lower segment length
14.67 ft
Upper segment length
7.34 ft

With the figures above, the total gambrel rafter length comes to 6.71. Behind that figure, lower segment length is the biggest single quantity at 4.47 m; start there if the total looks wrong. This is calculated for United States and cites IRC 2024. Building in another market? Change the selector above so the units and code reference follow.

Estimated cost — your price

This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.

Preliminary estimate, not certified engineering. This tool produces an indicative quantity calculation for planning purposes only — it is not a certified structural analysis, a guaranteed material takeoff, or a substitute for building department approval. Always verify measurements on-site and have a licensed contractor or structural engineer review any load-bearing, code-sensitive, or safety-critical work before purchasing materials or starting construction. Spotted an arithmetic or standards error? Report it to contact@craftquantities.com with your inputs — confirmed fixes become pinned regression tests.

[Schema Verified] Computed in alignment with American Concrete Institute (ACI 318-19) formulas and International Residential Code (IRC 2024) spatial boundaries.

Regulatory standards & verification citations

  • Standard rafter-length trigonometry applied independently to each of the gambrel roof's two slope segments: segment length = segment run × √(1+(segment pitch/12)²)

Your workspace

Most jobs need more than one number. Add the calculators you need next and they open right here, underneath this one — your figures stay on screen and nothing is lost to a page change.

Frequently asked questions

Why does a gambrel roof need two separate rafter-length calculations?
A gambrel roof has two distinct slope segments per side — a steep lower segment and a shallower upper segment — each with its own pitch and run, so standard rafter-length trigonometry is applied independently to each segment before summing.
What does the break point ratio control?
It sets what fraction of the half-building-width the lower (steep) segment's run covers before the roof transitions to the shallower upper segment; the remaining fraction is the upper segment's run.
Does the result include overhang?
No — this calculates rafter length from the wall plate to the ridge across both segments only. Add any overhang tail length separately.