Measuring a roof from the ground is safer than climbing on it, and the geometry is simpler than it looks. This roofing calculator starts from the building's footprint (the length and width of the walls), adds the overhang of the eaves and rakes, and multiplies the result by a pitch factor to get the true sloped surface.
From that surface it works out the quantities a roofer or a supplier will ask for: the area with a waste allowance, the number of roofing squares (one square = 100 sq ft, about 9.29 m²), the number of shingle bundles (usually three per square), the underlayment rolls, the ridge cap length and, if you enter a price per square or per m², an estimated cost.
Pitch can be typed in the three usual notations: rise per 12 (6/12, common in North America), degrees or percent (common in Europe). Gable, hip and shed roofs are supported. When every plane has the same pitch, the sloped area is the same for all three shapes — the hip roof only changes the ridge and hip lengths.
How to use this calculator
- Measure the length and width of the building at the walls, or take them from the plans.
- Enter the overhang on each side (eaves and gable ends), or 0 if your dimensions already include it.
- Choose the roof type and enter the pitch as x/12, degrees or percent.
- Set the waste allowance: around 10% for a plain gable, 15% or more with hips, valleys and dormers.
- Check the bundles per square on the shingle wrapper and choose the underlayment type.
- Optionally enter a price per square or per m² to get a budget figure.
The formula
With building length , width and overhang , the plan area covered by the roof is:
For a slope (e.g. , or for an angle ), the pitch factor is the length of rafter per unit of horizontal run:
Then the order quantities:
On a hip roof with equal pitches, the ridge is and each of the four hips is , where and include the overhang.
Worked example
A house measures 40 × 30 ft with a 12 in overhang and a 6/12 gable roof.
- Plan area: sq ft
- Pitch factor: , so the roof surface is 1,502.64 sq ft
- With 10% waste: 1,652.9 sq ft, or 16.53 squares
- Shingles: 16.53 × 3 rounded up = 50 bundles
- Underlayment: 5 rolls of No. 15 felt; ridge cap: 42 ft
In metric, a 10 × 8 m house with 30 cm overhangs and a 30° roof has a plan area of 91.16 m², a pitch factor of 1.1547 and a roof surface of 105.26 m² (12.46 squares with waste, 38 bundles).
Pitch conversion and pitch factors
| Pitch | Angle | Percent | Pitch factor |
|---|---|---|---|
| 2/12 | 9.5° | 16.7 % | 1.014 |
| 3/12 | 14° | 25 % | 1.031 |
| 4/12 | 18.4° | 33.3 % | 1.054 |
| 5/12 | 22.6° | 41.7 % | 1.083 |
| 6/12 | 26.6° | 50 % | 1.118 |
| 7/12 | 30.3° | 58.3 % | 1.158 |
| 8/12 | 33.7° | 66.7 % | 1.202 |
| 9/12 | 36.9° | 75 % | 1.25 |
| 10/12 | 39.8° | 83.3 % | 1.302 |
| 12/12 | 45° | 100 % | 1.414 |
Multiply the footprint (with overhang) by the pitch factor to get the roof area. At 12/12 (45°) the roof is about 41% larger than its footprint.
Shingles, bundles and squares
Asphalt shingles are sold in bundles, and most three-tab and architectural shingles are packed three bundles per square, so each bundle covers about 33.3 sq ft (3.1 m²). Heavier designer shingles may need four or five bundles per square — always use the coverage printed on the wrapper.
Order separately: starter strip along the eaves and rakes, ridge cap shingles for the ridge and hips (the length is shown above), drip edge, and flashing around chimneys, walls and skylights. In the US building code, asphalt shingles need a slope of at least 2/12, and between 2/12 and 4/12 a double layer of underlayment; the calculator flags both cases.
Assumptions and limits
The calculation assumes that every plane has the same pitch and that the footprint is a rectangle. For L-shaped houses, split the plan into rectangles and add the results; for different pitches on different wings, calculate each wing separately. Dormers, valleys and complex intersections increase waste — raise the allowance rather than the area. If you can measure the roof planes directly, their total area is the most accurate input; use the square footage calculator for that.
Frequently asked questions
How do I calculate the area of a roof?
Multiply the length and width of the building, including the overhang, then multiply by the pitch factor √(1 + (rise/run)²). A 6/12 roof has a factor of 1.118, so a 1,344 sq ft footprint has about 1,503 sq ft of roof.
What is a roofing square?
A square is 100 square feet of roof surface (about 9.29 m²). Roofers price labour and materials per square, and shingles are packed so that a set number of bundles, usually three, covers one square.
How many bundles of shingles do I need?
Divide the roof area including waste by 100 sq ft to get squares, then multiply by the bundles per square shown on the wrapper (usually 3) and round up. For a 16.5-square roof that is 50 bundles.
How much waste should I allow?
About 10% for a simple gable roof, 12–15% for hip roofs, and 15–20% for roofs with many valleys, dormers or skylights. The waste covers cutting at edges, starter courses and damaged pieces.
Does a hip roof need more shingles than a gable roof?
For the same footprint and pitch, the shingled area is the same. A hip roof needs more cutting along the hips, so allow more waste, and it has a longer total length of ridge and hip cap.
Sources
- International Code Council — IRC 2021, Chapter 9 Roof Assemblies (R905.2 asphalt shingles)
- Asphalt Roofing Manufacturers Association (ARMA) — technical resources
- National Roofing Contractors Association (NRCA)
Last updated: