Gable roof calculator online

Calculate gable roof online. Enter the required dimensions and parameters to estimate quantities and key values.

DOC_REF // CALC-GABLE-ROOF

Building dimensions

Wall plate

Rafter dimensions

Rafter system

Batten dimensions

Additional calculations

Rafter and batten layout (top view)
Rafter and batten layout (top view)
Roof truss layout (front view)
Roof truss layout (front view)
Single rafter layout (front view)
Single rafter layout (front view)

Roof

Rafter length:0 mm
Slope width:0 mm
Roof pitch:0°
Area of both slopes:0 m²

Rafters

Length:0 mm
Quantity:0 pcs
Volume:0 m³

Battens

Length of one row:0 mm
Rows across both slopes:0 pcs
Total length:0 m
Volume:0 m³

Wall plate

Total length:0 m
Volume:0 m³

01 / Calculation method

Disclaimer and scope

⚠️ IMPORTANT NOTE: The calculated results are preliminary estimates only. Before purchasing construction materials or starting installation, verify them against current local codes and standards and consult a qualified design engineer. The tool developer accepts no legal or financial liability for consequences of using these results without an independent engineering review.

The online calculator performs a geometric calculation for a symmetrical gable roof and provides a preliminary estimate of the main roof framing materials.

The calculator’s engineering model includes:

  • Two symmetrical roof slopes;
  • Eaves and gable overhangs;
  • Load-bearing members: rafters, collar ties, posts, and wall plates;
  • Roof build-up components: battens, counter-battens, waterproofing, and insulation;
  • Finishing components: fascia and bargeboards.

The calculation uses a clean geometric model. Enter all input parameters in millimetres (mm). Areas are shown in square metres (m2\mathrm{m}^2), timber and insulation volumes in cubic metres (m3\mathrm{m}^3), and total material lengths in millimetres (mm) or metres (m), depending on the result row.

Roof geometry model

Roof slope angle

The roof slope angle is derived from a right triangle. Half the house width (the slope run) X/2X / 2 is the horizontal leg, and roof rise HH is the vertical leg. Overhangs are excluded from the angle calculation because they extend the existing slope line.

α=arctan⁡(HX2)\alpha = \arctan\left(\frac{H}{\frac{X}{2}}\right)

Slope length

The full sloped length is calculated from angle α\alpha and eaves overhang CC. For house width XX and roof height HH, the calculated slope length includes half the building span and the linear overhang:

Lsk=X2+Ccos⁡(α)L_{sk} = \frac{\frac{X}{2} + C}{\cos(\alpha)}

Roof width

The full roof covering width is calculated from building length BB and the two symmetrical side (gable) overhangs C2C2:

W=B+2⋅C2W = B + 2 \cdot C2

Roof area

The total area is the area of two identical slopes: the sloped length multiplied by the full roof width. Divide by 10610^6 to convert square millimetres to square metres:

A=2⋅Lsk⋅W106A = \frac{2 \cdot L_{sk} \cdot W}{10^6}

Rafters and spacing

Number of rafters

The number of rafters is based on the working roof width, the end-rafter offset OO, board thickness S2S2, and design spacing RR. Since the offset is applied at both building ends, subtract two offsets from the total roof width to get the clear working zone.

Wwork=W−2⋅OW_{work} = W - 2 \cdot O Nside=floor(Wwork−S2R+S2)+2N_{side} = \text{floor}\left(\frac{W_{work} - S2}{R + S2}\right) + 2 Ntotal=2⋅NsideN_{total} = 2 \cdot N_{side}

Structural rafter length

One complete rafter is longer than the geometric slope length LskL_{sk}. The calculation includes an automatic adjustment for the lower angled cut, based on rafter board depth S1S1 and roof pitch:

Lrafter=Lsk+S1⋅tan⁡(α)L_{rafter} = L_{sk} + S1 \cdot \tan(\alpha)

Rafter timber volume

Timber volume is the total number of rafters multiplied by their calculated length and board section dimensions (depth and thickness). Dividing by 10910^9 converts cubic millimetres to cubic metres:

V=Ntotal⋅Lrafter⋅S1⋅S2109V = \frac{N_{total} \cdot L_{rafter} \cdot S1 \cdot S2}{10^9}

💡 Design guide: Timber rafters are traditionally spaced 600–900 mm apart. Common timber sections depend directly on the design span, snow region, roof covering weight, and support arrangement, so a geometric member count does not replace a full structural check.

Collar ties and posts

Collar tie parameters

A collar tie is calculated as a horizontal connecting member at a specified height above the roof base. Its height is limited to the range 00 to HH (a value above the roof height does not increase the calculated height).

The tie length decreases proportionally as the member is raised above the roof base within the triangular cross-section of the structure:

Ltie=(X+2⋅C)⋅(H+K−Z)H+C⋅2⋅HXL_{tie} = \frac{(X + 2 \cdot C) \cdot (H + K - Z)}{H + \frac{C \cdot 2 \cdot H}{X}}

The number of collar ties is set equal to the number of rafter pairs in one side of the calculation. Their volume is calculated from length, count, width, and thickness, then converted from cubic millimetres to cubic metres.

Vertical post parameters

Posts are calculated according to their design position relative to the roof centre:

  • If the offset from the centre is 0, one central post is used for each rafter pair: Npost=Nside⋅1N_{post} = N_{side} \cdot 1.
  • If the offset is greater than 0, two symmetrical posts are used for each rafter pair: Npost=Nside⋅2N_{post} = N_{side} \cdot 2.

Post height is determined geometrically from the slope line at the installation point. The calculator finds the vertical distance from the base to the inner line of the rafter layout and multiplies it by the number of posts and their section area to calculate total volume.

Battens, counter-battens, and slope-edge boards

Batten elements

Battens are calculated in rows perpendicular to the rafters. One row is the calculated roof width WW. The number of rows is based on the sloped length and batten spacing O3O3 (the distance between adjacent board centre lines):

Nrow=(ceil(Lsk−O1O3)+1)⋅2N_{row} = \left(\text{ceil}\left(\frac{L_{sk} - O1}{O3}\right) + 1\right) \cdot 2

Total batten length is one row length multiplied by the total number of rows over both roof slopes. Batten volume is calculated from total length, board width, and thickness O2O2:

Vbatten=W⋅Nrow⋅O1⋅O2109V_{batten} = \frac{W \cdot N_{row} \cdot O1 \cdot O2}{10^9}

Counter-batten elements

Counter-battens are installed along the rafters to secure the roof layers. One counter-batten is the length of the slope, and total length varies linearly with the total rafter count:

Lcounter=Ntotal⋅Lsk1000L_{counter} = \frac{N_{total} \cdot L_{sk}}{1000}

Fascia and bargeboards

  • Fascia: Installed along the two horizontal eaves. Total length is twice the calculated roof width:

    Lfascia=2⋅W1000L_{fascia} = \frac{2 \cdot W}{1000}
  • Bargeboard: Installed along the four sloped gable ends. Total length is four times the slope length:

    Lbarge=4⋅Lsk1000Lbarge = \frac{4 \cdot L_{sk}}{1000}

Wall plates, waterproofing, and insulation

Wall plate (supporting timber)

The wall plate is calculated along the two load-bearing longitudinal walls. In the geometric model, its length is twice the house length, without adding roof overhangs. Volume is calculated by multiplying length, width, and thickness:

Lmauerlat=2⋅B1000L_{mauerlat} = \frac{2 \cdot B}{1000}

Under-roof waterproofing

The base is the area of both slopes plus an installation allowance for roll overlaps. The additional area is calculated from roll length LrollL_{roll}, overlap HoverlapH_{overlap}, slope length LskL_{sk}, and roll width WrollW_{roll}:

Ahydro=A+Lroll⋅Hoverlap⋅LskWroll106A_{hydro} = A + \frac{\frac{L_{roll} \cdot H_{overlap} \cdot L_{sk}}{W_{roll}}}{10^6}

The number of rolls NrollN_{roll} to purchase is rounded up to a whole number:

Nroll=AhydroLroll⋅Wroll106N_{roll} = \frac{A_{hydro}}{\frac{L_{roll} \cdot W_{roll}}{10^6}}

Insulation layer

Insulation volume is calculated over the two slopes without the eaves overhang, because overhangs are outside the building’s heated interior envelope. Use the clear rafter-line length from ridge to wall L0L_0, house length BB, and insulation thickness TinsT_{ins}:

Vins=2⋅L0⋅B⋅Tins109V_{ins} = \frac{2 \cdot L_0 \cdot B \cdot T_{ins}}{10^9}

Practical design recommendations

  • Suitable pitch: A typical gable roof angle is between 5° and 30°. The minimum is strictly governed by the manufacturer of the final roof covering (for example, metal tile, profiled sheeting, or bituminous materials).
  • Rafter spacing: Often designed in the 400–800 mm range. The selected spacing depends on the code snow load, rafter section, and standard insulation board width (to minimize cutting).
  • Overhang size: Eaves overhang is usually 300–600 mm. A larger overhang improves protection from rain but requires stronger connections because wind load increases.
  • Lap size: Under-roof waterproofing membranes commonly use 100–200 mm overlaps. For low-pitch slopes (under 15°), increase the overlap or seal the joints with suitable tapes.
  • Waste allowance: Allow 7–12% for end cuts and rejected pieces when purchasing timber, insulation, and waterproofing.

Alignment with international building standards

  • EN 1990 (Eurocode): Basis of structural design. Sets the basic principles for reliability, design limit states, and load combinations for structures.
  • EN 1991-1-1 (Eurocode 1): Actions on structures — self-weight, permanent and imposed loads. Used to determine loads from roof materials and related service actions.
  • EN 1991-1-3 (Eurocode 1): Snow loads. Defines how to calculate roof snow load based on region, roof shape, and calculated roof pitch.
  • EN 1991-1-4 (Eurocode 1): Wind actions. Used to estimate wind pressure and aerodynamic suction on roof surfaces, edges, and vulnerable gable areas.
  • EN 1995-1-1 (Eurocode 5): Design of timber structures. Defines checks for timber rafters, posts, collar ties, and connections for strength, stiffness, and deflection in service.

02 / Frequently asked questions

Why is the roof area larger than the building area?

A gable roof area is calculated along the sloped surfaces, not from the building’s horizontal projection. The result depends on the pitch and the eaves and gable overhangs, so the amount of roofing material is always greater than the house footprint.

Why does the rafter count change in steps instead of continuously?

Rafters are complete structural members, so they are counted as whole pieces. When the working roof width or rafter spacing crosses a calculated interval, the system automatically adds or removes one pair of rafters, causing a step change in the result.

How does roof height affect rafter length?

As roof height (HH) increases, the pitch becomes steeper and the calculated rafter length increases. This also increases roof slope area, timber volume, and the length of bargeboards.

Why is insulation calculated without the eaves overhang?

Insulation is installed only inside the building’s thermal envelope, while the eaves overhang is usually outside it. The insulation slope length is therefore measured from the ridge to the exterior wall.

What rafter spacing is suitable for a preliminary estimate?

A spacing of 600–900 mm is commonly used for an initial estimate. When choosing a specific value, consider insulation board width, roof covering properties, and the required load-bearing capacity of the roof framing.