Pick the unit your lengths are in. Areas are then labelled in square units and volumes in cubic units; nothing is converted.
Why the roof is larger than the house
A house with a 120 m² footprint does not have 120 m² of roof. Seen from straight above, the roof covers
exactly the footprint — but the roof slopes, and a sloping surface that spans a given width has to be
longer than that width. That is what the formula works out, and forgetting it is how an order of roof
tiles comes up short.
Take a section straight through the house. The section is a right-angled triangle: the horizontal leg is
the width of the building, the sloping hypotenuse is the roof surface, and the angle between them is the
pitch. The relation between an adjacent leg and the hypotenuse is what
cosine describes:
- width = roof slope · cos θ
So the slope is the width divided by the cosine. And because every part of a roof with a single pitch is
stretched in the same way, the same holds for the whole surface, not just for the width.
The footprint is the area the building covers on the ground — the one you read off a floor plan. The
roof area is the surface you actually have to put material on.
The formula holds for any roof whose surfaces all share one pitch: a gable roof, a hip roof, a shed
roof. A hip roof has four surfaces instead of two, but if all four slope alike they stretch alike, and
the total comes out the same.
A mansard roof has two pitches. There you use the formula once per band — the steep band’s footprint at
the steep angle, the shallow band’s at the shallow one — and add them. The formula does not change; it
is used twice.
Eaves are not included. The footprint stops at the wall, and an overhang of half a metre all round adds
a strip you count as a separate
rectangle.
Worked examples
A gable roof. The house is 8.0 m wide and 15.0 m long, and the roof has a pitch of 27°. How much
roof has to be covered?
The footprint is 8.0 · 15.0 = 120 m². Then divide by the cosine of the pitch:
- A = B / cos θ = 120 / cos 27°
- A = 120 / 0.891 = 135 m²
Fifteen square metres more than the floor, or a little over 12% extra material — a difference that
shows up directly in a quote.
The pitch from two areas. A roof measures 96 m² and the house beneath it 80 m². How steep is the
roof?
- cos θ = 80 / 96 = 0.833
- θ = arccos 0.833 = 34°
The key is marked cos⁻¹ or acos. The sanity check is easy: the roof area has to be the larger of the
two numbers, or no pitch fits them.
Common mistakes
- Buying material by the footprint. That is the mistake the formula exists to prevent. A roof at 30°
is 15% larger than the house; at 45° it is 41% larger.
- Confusing degrees with a ratio. Builders often give pitch as rise over run, such as 1:3 or “4 in
12”. That is not 3° — it is arctan(1/3) ≈ 18°. Convert first.
- The calculator in radian mode.
cos 27° is 0.891, but cos 27 read as radians is −0.292, and a
negative roof area is not a roof area. Look for DEG in the display.
- Forgetting the eaves. They are not in the footprint, but they still have to be covered.
Frequently asked questions
Does this work for a hip roof?
Yes, as long as all four surfaces share the same pitch. A hip roof divides the same footprint among
more surfaces, but every surface stretches by the same 1/cos θ, so the total is the same as for a
gable roof at the same pitch.
What happens at 0° and at 90°?
At 0° the cosine is 1 and the roof area is exactly the footprint — a flat roof. At 90° the cosine is 0
and the division cannot be carried out: a roof standing upright covers nothing at all, so there is no
footprint to spread across it. The formula applies in between.