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
Total gambrel rafter length
22.01 ft
- 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.
[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)²)