Roof area calculator online

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

DOC_REF // CALC-ROOF-AREA

Roof shape and dimensions

Roof diagram

Group Angles

Angle A-

Group Slopes

Group Edges

eaves-

Roof area

Roof area-

Enter the value using the units shown. Check the measurements before calculating., %

01 / Calculation method

Disclaimer and scope

⚠️ IMPORTANT NOTE: The calculated results are provided for information only. Before purchasing materials or starting construction, verify them against current local building codes 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 is intended for geometric roof analysis and for determining the covering area of four roof types: gable, pyramid, hip, and single-slope.

The tool calculates:

  • Roof slope angles;
  • Sloped roof lengths (roof planes and hips);
  • Total lengths of eaves, overhangs, ridges, and hips;
  • Total roof covering area, including all overhangs.

Enter all dimensions in millimetres (mm). Area is automatically converted to square metres (m2\mathrm{m}^2).

Input parameters

  • AA — building width, mm;
  • BB — building length, mm;
  • HH — roof rise from the eaves baseline to the ridge, mm;
  • d1d_1 — roof overhang at the end/gable sides, mm;
  • d2d_2 — roof overhang along the eaves, mm;
  • CC — distance from the building end to the start of the ridge (hip roof only), mm.

Stage 1. Roof slope angle

The slope angle is determined from a right triangle formed by roof rise HH and the horizontal run of the slope. Overhangs do not affect the angle because they extend the roof plane.

Gable roof:

α=arctan⁡(HA/2)\alpha = \arctan\left(\frac{H}{A/2}\right)

Pyramid roof (two perpendicular slope directions):

α=arctan⁡(HA/2)\alpha = \arctan\left(\frac{H}{A/2}\right) β=arctan⁡(HB/2)\beta = \arctan\left(\frac{H}{B/2}\right)

Hip roof (main slope and hip slope):

α=arctan⁡(HA/2)\alpha = \arctan\left(\frac{H}{A/2}\right) β=arctan⁡(HC)\beta = \arctan\left(\frac{H}{C}\right)

Single-slope roof:

α=arctan⁡(HA)\alpha = \arctan\left(\frac{H}{A}\right)

Stage 2. Sloped roof lengths

The base sloped length for each roof type is calculated with the Pythagorean theorem, as the hypotenuse of a triangle with legs HH and the horizontal run.

Gable roof (slope length without overhangs):

q=(A2)2+H2q = \sqrt{\left(\frac{A}{2}\right)^2 + H^2}

Pyramid roof (slopes in the AA and BB directions):

q=(A2)2+H2q = \sqrt{\left(\frac{A}{2}\right)^2 + H^2} w=(B2)2+H2w = \sqrt{\left(\frac{B}{2}\right)^2 + H^2}

Hip roof (hip slope and main slope):

q=C2+H2q = \sqrt{C^2 + H^2} w=(A2)2+H2w = \sqrt{\left(\frac{A}{2}\right)^2 + H^2}

Single-slope roof (sloped length across the full width):

q=A2+H2q = \sqrt{A^2 + H^2}

Add overhang d1d_1 to the slope length for a gable, pyramid, or hip roof. For a single-slope roof, add 2⋅d22 \cdot d_2, the sloped projection of its overhang:

L=q+d1L = q + d_1 L=q+2⋅d2L = q + 2 \cdot d_2

Stage 3. Roof covering area

The area for each roof type is the sum of the individual slope areas, including overhangs. Horizontal overhangs are projected onto the sloping plane.

Gable roof (two rectangular slopes):

S=2⋅(q+d1)⋅(B+2⋅d2)106S = \frac{2 \cdot (q + d_1) \cdot (B + 2 \cdot d_2)}{10^6}

Pyramid roof (four triangular slopes; d2p=B⋅d22wd_{2p} = \frac{B \cdot d_2}{2w} and d1p=A⋅d12qd_{1p} = \frac{A \cdot d_1}{2q} are overhang projections onto the slope edges):

S=2⋅((q+d1)⋅(B+2⋅d2p)2+(w+d2)⋅(A+2⋅d1p)2)106S = \frac{2 \cdot \left( \frac{(q + d_1) \cdot (B + 2 \cdot d_{2p})}{2} + \frac{(w + d_2) \cdot (A + 2 \cdot d_{1p})}{2} \right)}{10^6}

Hip roof (two trapezoidal and two triangular slopes; d2p=A⋅d22wd_{2p} = \frac{A \cdot d_2}{2w} and d1p=d1⋅Cqd_{1p} = \frac{d_1 \cdot C}{q} are overhang projections):

S=2⋅((A+2⋅d2p)⋅(q+d1)2+(B+2⋅d1p+B−2⋅C)2⋅(w+d2))106S = \frac{2 \cdot \left( \frac{(A + 2 \cdot d_{2p}) \cdot (q + d_1)}{2} + \frac{(B + 2 \cdot d_{1p} + B - 2 \cdot C)}{2} \cdot (w + d_2) \right)}{10^6}

Single-slope roof (one rectangular slope extended by overhangs along the slope and ends):

S=(q+2⋅d2)⋅(B+2⋅d1)106S = \frac{(q + 2 \cdot d_2) \cdot (B + 2 \cdot d_1)}{10^6}

Dividing by 10610^6 converts area from mm2\text{mm}^2 to m2\mathrm{m}^2.

Stage 4. Roof edge and boundary lengths

Total linear length of roof elements:

Gable roof ridge length:

K=B+2⋅d2K = B + 2 \cdot d_2

Hip roof ridge length:

K=max⁡(0,  B+2⋅d1−2⋅C)K = \max\left(0,\; B + 2 \cdot d_1 - 2 \cdot C\right)

Total eaves length:

P=2⋅(B+2⋅d2)P = 2 \cdot (B + 2 \cdot d_2) P=2⋅(B+2⋅d2)+2⋅(A+2⋅d1)P = 2 \cdot (B + 2 \cdot d_2) + 2 \cdot (A + 2 \cdot d_1) P=2⋅(B+2⋅d1)+2⋅(A+2⋅d2)P = 2 \cdot (B + 2 \cdot d_1) + 2 \cdot (A + 2 \cdot d_2)

Sloped gable end edges:

R=4⋅(q+d1)R = 4 \cdot (q + d_1)

Sloped lower overhang edges for a single-slope roof:

R=2⋅(q+2⋅d2)R = 2 \cdot (q + 2 \cdot d_2)

Hip lengths for pyramid and hip roofs:

R=4⋅(A2+d1)2+(B2+d2)2+H2R = 4 \cdot \sqrt{\left(\frac{A}{2} + d_1\right)^2 + \left(\frac{B}{2} + d_2\right)^2 + H^2} R=4⋅(A2+d2)2+(C+d1)2+H2R = 4 \cdot \sqrt{\left(\frac{A}{2} + d_2\right)^2 + \left(C + d_1\right)^2 + H^2}

Recommendations

  • A minimum slope of 12° is recommended for flexible shingles, 8–10° for profiled sheeting and metal tile, and at least 2° for flat and membrane systems with enhanced sealing.
  • Typical overhangs are 300–600 mm at the eaves (d2d_2) and 200–500 mm at the ends (d1d_1).
  • Add a 5–12% allowance to the calculated covering area for overlaps, cuts, and junctions.
  • When selecting rafter sections and batten spacing, account for regional snow (EN 1991-1-3) and wind (EN 1991-1-4) loads.
  • On a hip roof, when C≥B/2C \geq B/2, the ridge disappears and the roof becomes a pyramid roof.

02 / Frequently asked questions

Why is the roof area larger than the house footprint (A × B)?

A roof is made of sloped surfaces, not a horizontal projection. The sloped length is always greater than its horizontal run (it is the hypotenuse of a right triangle), and all overhangs are added as well. Hip and pyramid roofs consist of several differently shaped slopes, which further increases the total covering area compared with the building footprint.

How does the calculator account for roof overhangs?

It uses two parameters: d1d_1 is the overhang at the end/gable sides, and d2d_2 is the eaves overhang. For a gable roof, the slope length increases by d1d_1, and its width increases by 2⋅d22 \cdot d_2. For a single-slope roof, the sloping roof surface extends by 2⋅d22 \cdot d_2 (overhangs at the upper and lower edges), and its width increases by 2⋅d12 \cdot d_1. For pyramid and hip roofs, horizontal overhangs are projected onto the sloping planes.

What happens if dimension C on a hip roof is at least half of dimension B?

The ridge length becomes zero: the formula K=max⁡(0,B+2d1−2C)K = \max(0, B + 2d_1 - 2C) clamps a negative result to zero. Geometrically, the roof becomes a pyramid roof: four triangular slopes meet at one point, so there is no separate ridge. The calculator still calculates its area correctly in this limiting case.

How much extra roof area should I allow when ordering roofing material?

Add a 5–12% allowance to the calculated area. The amount depends on sheet overlaps, cuts around the ridge, hips, and junctions (such as pipes and parapets), as well as the installation method for the material (metal tile, shingles, or profiled sheeting). Always recalculate the exact number of sheets or packs from the slope dimensions, rather than from the net area alone.

Are these results sufficient to design the roof framing?

No. This tool handles geometry only: angles, slope and hip lengths, roof boundaries, and total area. Designing roof framing requires a separate load calculation, including snow load (EN 1991-1-3), wind load (EN 1991-1-4), the dead load of the roof build-up, support spans, and the capacity of the selected section. A structural engineer should perform those calculations.