Skip to main content
Mathlark

Roofing Calculator

Find a roof's area from the building's size and the roof's pitch, with roofing squares and bundles of shingles, or work out the pitch itself.

Your numbers

Units
Building length
Building width
Overhang past the walls

How far the roof sticks out past each wall, measured level. Leave it at 0 if you measured the edges of the roof.

How far the roof rises for every 12 across: 6 for a 6/12 roof.

For shingles cut to fit at the edges, hips, and valleys.

One bundle covers

Printed on the wrapper. For many shingles, three bundles cover about one square (100 ft²).

Results

Roof area

120.75 m²

Roofing squares
13
Bundles of shingles
44
Roof angle
26.57°

Runs in your browser. Your numbers are never stored or sent.

Show the work

How it works

A sloped roof has more surface than the ground it covers, because each face is tilted. The calculator starts from the building’s length and width, adds any overhang past the walls, and multiplies that area by a slope factor that depends only on how steep the roof is. The steeper the roof, the bigger the factor.

Give the steepness as a pitch, the rise in 12 (6 for a 6/12 roof), or as an angle in degrees. The calculator then shows the roof area, the number of roofing squares, and how many bundles of shingles to buy with your extra for waste, rounded up to whole bundles.

If you don’t know the pitch, choose Roof pitch from rise and run. Hold a level against the roof or a rafter, measure a run along it (12 inches is handy), and measure how far the roof rises over that run.

The formula

Slope factor = √(1 + (rise ÷ 12)²), or 1 ÷ cos(angle) for an angle

Roof area = (length + 2 × overhang) × (width + 2 × overhang) × slope factor

Squares = roof area ÷ 100 ft²

Bundles = roof area × (1 + waste percentage ÷ 100) ÷ area one bundle covers, rounded up to a whole number

  • Rise in 12 is how far the roof goes up for every 12 it goes across, in any unit.
  • The slope factor comes from the Pythagorean theorem. For every 12 across, the roof surface runs √(12² + rise²), so it is that many twelfths longer than the level distance it covers.
  • Overhang is how far the roof sticks out past each wall, measured level. It’s added at both ends of the length and the width.
  • A square is 100 square feet of roof (9.290304 m²).

From a rise and a run, slope = rise ÷ run, pitch = slope × 12, and angle = tan⁻¹(slope).

The factor works for a gable roof and a hip roof alike, as long as every face has the same pitch: each face is longer than its level run by the same factor and no wider, so the whole roof is too.

Worked example

Want this with your own numbers? See Show the work above.

A house is 40 ft long and 30 ft wide, with a 6/12 roof and no overhang. One bundle of shingles covers 32.8 ft², and you add 10% for waste.

  1. The area seen from above: 40 × 30 = 1,200 ft².
  2. The slope factor: √(1 + (6 ÷ 12)²) = √1.25 = 1.118034.
  3. The roof area: 1,200 × 1.118034 = 1,341.64 ft², which is 13.42 squares.
  4. With 10% extra: 1,341.64 × 1.1 = 1,475.80 ft², and 1,475.80 ÷ 32.8 = 44.99, so 45 bundles.

A 6/12 roof rises at tan⁻¹(0.5) = 26.57°. In metric, a 12 m by 9 m house with a 50 cm overhang covers 13 × 10 = 130 m² from above, and its 6/12 roof is 130 × 1.118034 = 145.34 m².

FAQ

How do I find the pitch of my roof?

Measure a level run along the roof or a rafter, and how far the roof rises over it. A rise of 6 inches over 12 inches is a 6/12 pitch, and so is 50 cm over 100 cm. Choose Roof pitch from rise and run to work it out from any two measurements, along with the angle.

What is a roofing square?

100 square feet of roof, or about 9.29 m². Roofers price and order materials by the square, so a 1,341.64 ft² roof is about 13.42 squares.

How many bundles of shingles are in a square?

Many asphalt shingles come three bundles to the square, but check the wrapper, since some heavier shingles need more. Two common architectural shingles, CertainTeed Landmark and Owens Corning TruDefinition Duration, cover 98.4 ft² with three bundles, which is 32.8 ft² a bundle, so the calculator starts there. Change it to the coverage printed on your shingles.

How much extra should I add for waste?

It depends on the roof. Shingles are cut to fit at the edges, hips, and valleys, so a plain gable roof needs less extra than one with hips, valleys, and dormers. CertainTeed’s applicator manual suggests 10% for a gable roof and 15% for a hip roof, and less for a large roof. The Asphalt Roofing Manufacturers Association says most jobs need between 2% and 10%. The calculator starts at 10%; change it to suit your roof.

Does this work for a hip roof?

Yes, if every face has the same pitch, since each face is longer than its level run by the same slope factor. For a roof with faces at different pitches, work out each part separately and add them up. Dormers and other add-ons are best measured on their own.

Is pitch the same as slope?

Strictly, no. Slope is the rise for every 12 across, written 6/12 or 6:12. In carpentry manuals, pitch is the rise divided by the whole span of the building (twice the run), so a 6/12 slope is a 1/4 pitch. This calculator’s “pitch” is the rise in 12, the slope.

Sources

Cite this page

APA (7th edition)

Mathlark. (2026, October 23). Roofing calculator. https://mathlark.com/diy/roofing-calculator/

MLA (9th edition)

"Roofing Calculator." Mathlark, 23 Oct. 2026, mathlark.com/diy/roofing-calculator/.

Spot a mistake?