Roofing Calculator

Measure a roof from the ground: footprint, overhang and pitch give the roof area, squares, shingle bundles and the trim materials to order.

Units
Roof shape
Outside wall to outside wall, parallel to the ridge.
Outside wall to outside wall, across the ridge.
Horizontal projection at the eaves and rakes.
Inches of rise per 12 inches of run, e.g. 6 for a 6/12 roof.
About 10% for gable roofs, 15% for hips, 15–20% for complex roofs with valleys.
Most 3-tab and architectural shingles are 3 bundles per 100 ft²; check the wrapper.
Synthetic rolls often cover 1,000 ft²; #15 felt about 400 ft²; #30 felt about 200 ft².
Roof area
1,503 ft²15.03 squares before waste
Squares to order
16.53including 10% extra
Underlayment
2 rollsat 1,000 ft² per roll
Drip edge
156 ft16 pieces of 10 ft
Starter strip (eaves)
84 ftadd the rakes if your shingle maker calls for it
Ridge cap
42 ft≈ 2 bundles at ~25 ft each
Roofing nails
≈ 5,3004 per shingle; 6 in high-wind areas
Shingle bundles50 bundles16.53 squares on a 6/12 (26.6°) roof
  • Conventional slope: walkable for most roofers.
  • Valleys, dormers, chimneys and skylights add cutting waste and flashing; raise the waste allowance for cut-up roofs.

Show the work

  1. Plan area with overhang = (40 ft + 2 × 1 ft) × (30 ft + 2 × 1 ft) = 42 ft × 32 ft = 1,344 ft²
  2. Pitch factor = √(1 + (6 ÷ 12)²) = 1.1180
  3. Roof area = 1,344 ft² × 1.1180 = 1,502.6 ft² = 15.03 squares
  4. With 10% extra: 15.03 × 1.1 = 16.53 squares
  5. Bundles = 16.53 × 3 per square = 49.59 → 50 bundles
rise 8 ftrun 16 ft6/12
Edge lengths
EdgeLengthUsed for
Eaves84 ftdrip edge, starter, ice barrier
Rakes71.6 ftdrip edge
Ridge42 ftridge cap, ridge vent

Roof area is hard to measure directly and risky to measure on top of the roof. Fortunately you can get it from the ground. Take the building’s footprint, add the overhang on every side, and multiply by a pitch factor that converts horizontal area into sloped area. This calculator does exactly that and then turns the area into roofing squares, shingle bundles and the trim materials that go along the edges.

How to use the roofing calculator

  1. Choose US or Metric units.
  2. Pick the roof shape: gable, hip or shed.
  3. Enter the building length and width, measured outside wall to outside wall.
  4. Enter the overhang at the eaves and rakes, measured level.
  5. Enter the pitch as inches of rise per 12 inches of run (in metric, the slope angle in degrees). The roof pitch calculator converts between the two.
  6. Adjust the waste, bundles per square and underlayment roll coverage to match your products.

Roofing formulas

pitch factor = √(1 + (pitch ÷ 12)²)
roof area = (length + 2o) × (width + 2o) × pitch factor
bundles = ⌈ roof area ÷ 100 × (1 + waste) × bundles per square ⌉

where o is the overhang. Hips are found with the hip factor √(pitch² + 288) ÷ 12, applied to half the building width.

Worked example: a 40 × 30 ft gable roof

Footprint with 1 ft overhang: 42 × 32 = 1,344 ft².

Pitch factor for 6/12: √(1 + 0.5²) = 1.1180, so the roof is 1,344 × 1.1180 = 1,502.6 ft² = 15.03 squares.

With 10% waste: 16.53 squares × 3 bundles = 49.6 → 50 bundles.

Edges: 84 ft of eaves, 71.6 ft of rakes (156 ft of drip edge, 16 ten-foot pieces) and a 42 ft ridge.

The same house with a hip roof and 15% waste needs 52 bundles, and its four hips plus a 10 ft ridge add up to about 106 ft of hip and ridge cap.

Pitch factors for common slopes

Pitch Angle Pitch factor
3/12 14.0° 1.0308
4/12 18.4° 1.0541
5/12 22.6° 1.0833
6/12 26.6° 1.1180
7/12 30.3° 1.1577
8/12 33.7° 1.2019
9/12 36.9° 1.2500
10/12 39.8° 1.3017
12/12 45.0° 1.4142

Asphalt shingles need a slope of at least 2/12 under the International Residential Code, and slopes from 2/12 up to 4/12 require two layers of underlayment. Flatter roofs need a membrane system instead.

What else to order

  • Underlayment: synthetic rolls commonly cover about 1,000 ft²; #15 felt about 400 ft² and #30 felt about 200 ft² per roll.
  • Ice barrier: in cold climates, codes require a self-adhering membrane from the eave edge to at least 24 inches inside the exterior wall where ice dams are a risk.
  • Drip edge: along eaves and rakes, sold in 10 ft pieces.
  • Starter strip: along the eaves (and the rakes, if the shingle maker recommends it).
  • Hip and ridge cap: coverage varies by product, often 20–35 linear feet per bundle.
  • Flashing and vents: count chimneys, skylights, wall junctions and roof vents separately.

When tearing off, ask about disposal: a square of asphalt shingles weighs roughly 200–350 lb, and dumpster fees are usually by weight.

Measure the attic while you are at it: the insulation calculator shows whether it meets the recommended R-value for your climate zone, and re-roofing is a good time to fix ventilation.

Frequently asked questions

How many bundles of shingles do I need for a 2,000 square foot roof?

A 2,000 ft² roof is 20 squares. Adding 10% for waste makes 22 squares, and at three bundles per square that is 66 bundles. Use about 15% waste for a hip roof and more for roofs with valleys and dormers.

What is a square in roofing?

A roofing square is 100 square feet of roof surface. Shingles are priced and packaged by the square; most asphalt shingles come three bundles to the square, so one bundle covers about 33⅓ ft².

Do I use the house's square footage to estimate a roof?

No. Use the outside dimensions of the building plus the overhang on every side, then multiply by the pitch factor for the slope. The living area of a two-story house, for example, has little to do with its roof area.

Does the roof shape change the area?

If every plane has the same pitch, gable, hip and shed roofs all have the same area: footprint times pitch factor. The shape changes the waste, the edge lengths and the amount of ridge and hip cap, which this calculator reports separately.

How many roofing nails per square?

Most shingles are fastened with four nails each, about 300–320 nails per square for standard three-tab shingles. High-wind installations and some laminated shingles call for six nails per shingle, so check the wrapper.

Last reviewed October 2026 by the CalcFluent editorial team. How we check our calculators.