Roofing Calculator — Shingle Bundles, Squares & Cost

Enter your roof footprint and pitch and get roof area, squares, shingle bundles, underlayment rolls and drip edge — with a 10% waste allowance built in.

Quick answer

A 40×30 ft roof at a 6/12 pitch needs 45 bundles of shingles — 13.42 squares.

Roofing calculator

Results update as you type. Your numbers are saved in the page link, so you can bookmark or share them.

Units
Roof footprint
ft
ft
Waste allowance
10%
Price (optional)
45
bundles of shingles
13.42
squares (100 sq ft each)
Roof area1,341.6 sq ft
Pitch factor1.118
Underlayment rolls4 rolls
Drip edge114 linear ft
Ridge cap bundles2 bundles

Includes a 10% waste allowance on shingles — adjust with the slider. Bundle counts always round up to whole bundles. Measure the footprint at the eaves, including overhangs.

How the roofing calculator works

This calculator takes the footprint of your roof — the length and width of the building — plus the roof pitch, and works out how much material you need to shingle it. You enter length, width, pitch, a waste allowance, and a price per bundle of shingles. The calculator returns roof area, squares, shingle bundles, underlayment rolls, drip edge length, and ridge cap bundles.

The key step is converting your flat footprint into the actual sloped surface area of the roof. A steeper roof has more surface than a flat one covering the same footprint, and the pitch factor accounts for that. The formula is:

The math, step by step

pitch factor = √(1 + (rise ÷ 12)²)
roof area = footprint length × footprint width × pitch factor
squares = roof area ÷ 100
bundles = squares × 3 × 1.10 (round up)
  • One square: 100 sq ft of roof area. Three bundles of standard 3-tab or architectural shingles cover one square.
  • Underlayment: one roll covers about 400 sq ft (4 squares); rolls = roof area ÷ 400, rounded up.
  • Drip edge: eaves plus rakes on a gable roof = 2 × length + width × pitch factor, in linear feet.
  • Ridge cap: one bundle of cap shingles covers about 33 linear feet of ridge.
  • Waste: 10% covers starter strips, valleys, hips and cutting losses on a simple gable; complex roofs with many valleys need 15%.
run 12 rise 6 6/12 pitch slope gable roof, cross-section — pitch factor 1.118
A 6/12 pitch roof: for every 12 in of run the roof rises 6 in, so the slope is 1.118 times the footprint.

Pitch factor = √(1 + (rise ÷ 12)²)

Pitch is written as rise over run, like 6/12, meaning the roof rises 6 inches for every 12 inches of horizontal run. Divide the rise by 12, square it, add 1, and take the square root. A 6/12 roof gives √(1 + 0.25) = 1.118, so the roof surface is about 11.8% larger than its footprint. A steeper 12/12 roof gives 1.414 — roughly 41% more surface.

Once you have the factor, the rest is straightforward multiplication and rounding up:

Roof area = L × W × factor. This is the total shingled surface for a gable roof with two equal slopes. A 40×30 ft footprint at 6/12 works out to 1,200 × 1.118 = 1,341.6 sq ft.

Squares = area ÷ 100. Roofing materials are sold by the "square," which is 100 sq ft of coverage. So 1,341.6 sq ft is 13.42 squares.

Bundles = ceil(squares × 3 × 1.10). Three bundles cover one square, and the 1.10 multiplier adds a 10% waste allowance for cuts, starter courses, and damaged shingles. You always round up to a whole bundle because that's how they're sold. For the example: 13.42 × 3 × 1.10 = 44.3, which rounds up to 45 bundles.

Underlayment rolls = ceil(area ÷ 400). A standard roll of underlayment covers about 400 sq ft, and again you round up.

Drip edge = 2×L + W×factor. This covers both eaves (two runs the length of the building) plus both rakes, which follow the slope along the width. Buy in whole feet, rounding up.

Ridge cap bundles = ceil(L ÷ 33). One bundle of ridge cap shingles covers roughly 33 linear feet of ridge, and a gable roof's ridge runs the length of the building.

The waste allowance is deliberately conservative for a simple gable roof. Complex roofs with valleys, dormers, and hips generate more cut waste, so consider raising the percentage if that describes your roof.

Measure the footprint at the ground, not on the roof: length and width of the building along the eaves and gable ends, then take the pitch from inside the attic or from a level held against a rafter — for every foot of run, count how far the roof rises and express it as rise per foot of run, such as 6/12. Walking a roof to tape it off is where most bad numbers start, because a sagging tape line, a hip you forgot, or a dormer treated as part of the rectangle quietly skews the result. The calculator multiplies the footprint by a pitch factor — 1.118 for a 6/12 roof, for instance — so if you enter the pitch wrong by a step or two, the whole material list shifts with it. The other common mistakes: forgetting that the footprint already counts the overhang only if you measured to the drip edge rather than the wall, ordering by squares without converting to bundles (shingles come 3 bundles per square), and skipping the waste allowance entirely. The 10% built into this calculator covers ordinary cutting at hips, valleys, and rakes on a straightforward gable roof like the 40×30 ft example, which lands at 13.42 squares and 45 bundles. Raise that allowance when the roof gets complicated: lots of valleys, a steep pitch that slows careful cutting, dormers or skylights breaking up the planes, or a design where every shingle gets trimmed at an angle. You don't need to recompute by hand — bump the waste field up and let the bundle count rise accordingly, because a bundle or two left over is a cheap insurance policy against dye-lot differences if you need repair shingles later. On the other end, a plain two-plane gable with straight rakes is the one case where you might trim below 10%, but do it only if the supplier accepts returns of unopened bundles. Also check the byproducts of the calculation before you buy: underlayment rolls assume about 400 sq ft of coverage per roll, drip edge is priced by the foot, and ridge cap comes in bundles covering roughly 33 ft each — the worked example needs 114 ft of drip edge and 2 cap bundles, so round every purchase up at the store even if the calculator already did.

Worked example: a 40 × 30 ft roof at a 6/12 pitch

Here is the full worked example using the default inputs: a 40 ft × 30 ft roof at a 6/12 pitch, 10% waste allowance, and shingles priced at $35 per bundle.

  1. Pitch factor. Rise ÷ 12 = 6 ÷ 12 = 0.5. Factor = √(1 + 0.25) = 1.118.
  2. Roof area. 40 × 30 = 1,200 sq ft footprint. Area = 1,200 × 1.118 = 1,341.6 sq ft.
  3. Squares. 1,341.6 ÷ 100 = 13.42 squares.
  4. Shingle bundles. 13.42 × 3 = 40.26 bundles without waste. Adding 10%: 40.26 × 1.10 = 44.3. Rounded up, that's 45 bundles.
  5. Underlayment. 1,341.6 ÷ 400 = 3.35 rolls, rounded up to 4 rolls.
  6. Drip edge. Eaves: 2 × 40 = 80 ft. Rakes: 30 × 1.118 = 33.5 ft. Total = 80 + 33.5 = 113.5 ft — round up to 114 ft to buy.
  7. Ridge cap. The ridge runs the full 40 ft length. 40 ÷ 33 = 1.21, rounded up to 2 cap bundles.
  8. Shingle cost. 45 bundles × $35 = $1,575 for the shingles themselves.

That $1,575 covers shingles only. Underlayment, drip edge, ridge cap, nails, and any disposal costs are extra, and labor is not included in this figure at all — it's a material estimate for the shingles at your entered bundle price.

Quick reference tables

Speed sheetPitch factors — multiply your footprint area by the factor for your pitch to get the sloped roof area

Pitch factors — multiply your footprint area by the factor for your pitch to get the sloped roof area:

Pitch factors — multiply your footprint area by the factor for your pitch to get the sloped roof area
PitchFactor
3/121.031
4/121.054
5/121.083
6/121.118
7/121.158
8/121.202
9/121.250
12/121.414

Common roofs at a 6/12 pitch (the 50×28 row is at 8/12), with bundles including the 10% waste allowance:

Common roofs at a 6/12 pitch (the 50×28 row is at 8/12), with bundles including the 10% waste allowance
FootprintRoof areaSquaresBundlesUnderlayment rolls
30×24 ft758.9 sq ft7.59262
40×30 ft1,341.6 sq ft13.42454
50×28 ft (8/12)1,682.6 sq ft16.83565

What roofing costs

At the default price of $35 per bundle, the worked example costs 45 × $35 = $1,575 in shingles. Because bundles are sold in packs of three per square, squares are the real cost driver: every square of roof adds roughly three bundles to the order.

Keep in mind that $35 per bundle is a planning default, and actual bundle prices vary by shingle type and grade — three-tab architectural styles sit at different points than premium lines. Change the price field to match quotes from your local supplier and the cost updates directly. Prices shown are national planning ranges checked November 2026, not quotes.

Also remember what the shingle figure leaves out. The $1,575 covers bundles only. You'll also buy underlayment (4 rolls in the example), drip edge (114 ft), ridge cap (2 bundles), nails and starter material, plus dumpster or disposal fees if you're tearing off an old roof. And labor typically equals or exceeds material cost on a re-roof, so treat the calculator's total as one line item in a larger budget, not the whole project.

Frequently asked questions

How many bundles of shingles does a 40×30 ft roof at 6/12 pitch need?

A 40×30 ft roof at a 6/12 pitch works out to 13.42 squares, which comes to 45 bundles of shingles. That includes a 10% waste allowance. At $35 per bundle, that's $1,575 for shingles.

How does the calculator figure roof area?

It multiplies your footprint by a pitch factor. The pitch factor is √(1 + (rise ÷ 12)²). Roof area = length × width × that factor. For a 6/12 pitch the factor is 1.118, so a 1,200 sq ft footprint becomes 1,341.6 sq ft of roof.

What waste allowance is built in?

A 10% waste factor is included in the bundle count. Bundles are calculated as squares × 3 × 1.10, rounded up, since a square of shingles takes 3 bundles. The 45-bundle result for the 40×30 example already includes that 10%.

How many squares is my roof?

A square is 100 sq ft of roof area, so squares = roof area ÷ 100. The worked example gives 1,341.6 sq ft ÷ 100 = 13.42 squares for a 40×30 ft roof at 6/12.

How much underlayment and drip edge do I need?

Underlayment rolls = roof area ÷ 400, rounded up, so the 1,341.6 sq ft example takes 4 rolls. Drip edge = 2×L + W×pitch factor for a gable roof (eaves plus rakes), which is 113.5 ft in the example — buy 114 ft to be safe. Ridge cap bundles = length ÷ 33, rounded up, so a 40 ft ridge needs 2 cap bundles.

How does pitch change the amount of material?

Steeper roofs have more surface area for the same footprint. Pitch factors from the table: 3/12 → 1.031, 4/12 → 1.054, 5/12 → 1.083, 6/12 → 1.118, 7/12 → 1.158, 8/12 → 1.202, 9/12 → 1.250, and 12/12 → 1.414. A 12/12 roof has about 41% more surface than its footprint.

How much do the shingles cost?

Bundles × price per bundle. At the default $35 per bundle, the 45 bundles for the 40×30 ft, 6/12 example cost $1,575. Change the price in the calculator to match your local supplier.

Do you have numbers for other roof sizes?

Yes, the common-roofs table covers them. At 6/12 pitch, a 30×24 ft roof is 758.9 sq ft (7.59 squares, 26 bundles, 2 underlayment rolls) and a 40×30 ft roof is 1,341.6 sq ft (13.42 squares, 45 bundles, 4 rolls). A 50×28 ft roof at 8/12 pitch is 1,682.6 sq ft (16.83 squares, 56 bundles, 5 rolls).

Assumptions and limitations

  • Coverage figures assume 3 bundles of shingles per roofing square (100 sq ft), the standard for common asphalt shingles.
  • A 10% waste allowance is added to the shingle order before rounding up to whole bundles; increase it for roofs with many valleys, hips, or dormers.
  • One roll of underlayment covers about 400 sq ft, with the order rounded up to whole rolls.
  • One bundle of ridge cap shingles covers about 33 linear feet of ridge.
  • Drip edge is calculated for a simple gable roof: both eaves plus both sloped rakes, rounded up to the whole foot.
  • Defaults are a 40 ft × 30 ft footprint, 6/12 pitch, 10% waste, and a $35 per bundle shingle price; all inputs can be changed.

Sources

  • GAF — gaf.com
  • Owens Corning — owenscorning.com
  • CertainTeed — certainteed.com
  • Asphalt Roofing Manufacturers Association (ARMA) — arma.org

Last reviewed: November 20, 2026, by the YardMath Editorial Team. Formulas re-checked against manufacturer datasheets; national price ranges refreshed quarterly.