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.
- The area seen from above: 40 × 30 = 1,200 ft².
- The slope factor: √(1 + (6 ÷ 12)²) = √1.25 = 1.118034.
- The roof area: 1,200 × 1.118034 = 1,341.64 ft², which is 13.42 squares.
- 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
- Roof area as the area including the overhang times a factor for the rise, with a worked example (70 by 30 ft at a 5 1/2 inch rise is 2,310 ft²); rafter length per foot of run; pitch and span; a square as 100 ft²: US Navy, Builder 3 & 2, Volume 2 (NAVEDTRA 14044, 1994), chapters 2 and 3
- Slope factors for rises of 4 to 12 in 12, gable and hip roof examples, faces at different slopes worked separately, and waste for gable and hip roofs: CertainTeed, Master Craftsman Shingle Applicator’s Manual, 17th edition, chapter 3
- Rafter length per foot of run on the framing square, and pitch as a fraction of the span: US Army, FM 5-426 Carpentry (1995), chapter 7
- A square as 100 ft², slope written as a rise in 12, pitch as half the slope, and 2% to 10% for waste: Asphalt Roofing Manufacturers Association, Residential Asphalt Roofing Manual (2014), chapter 5 and glossary
- Pitch and slope: Wikipedia, “Roof pitch”; the angle from a slope, θ = arctan(m): Wikipedia, “Slope”
- Three bundles covering 98.4 ft²: CertainTeed, Landmark technical data sheet and Owens Corning, TruDefinition Duration data sheet
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/.