Roofing calculator

Bundles of shingles for a gable, hip or shed roof from the size of the building and the roof pitch, and a shopping list of the underlayment, drip edge, starter strip, caps and nails that go with them.

Roof type

Shape of the roof

Along the ridge; for a shed roof, along the low edge

Across the ridge, wall to wall

How far the roof extends past each wall; 0 for none

Inches of rise for every 12 in of run

Bundles per square are printed on the wrapper

More options

Extra shingles for cutting and trim

Underlayment

Roll type; coverage is the product's

Eaves strip where the local code requires one

Nails per shingle

Some local codes require six

Bundles of shingles

Enter the building length, width and roof pitch to see the result

Roofing calculators

What the results mean

Bundles of shingles
Bundles of the shingles you chose for one layer of shingles on the whole roof, with the waste allowance added and rounded up to a whole bundle. The roof is taken as simple planes that all have the same pitch; valleys and dormers are not counted.
Roofing squares
The roof area in roofing squares, before the waste allowance. A roofing square is a fixed area of roof, shown in the formula.
Roof area
The surface of the roof. For a building given by its sides, the sides are measured wall to wall and the overhang is added on every side (0 adds nothing); the footprint is then multiplied by the slope factor. Or the area you measured on the roof.
Pitch
The pitch as an angle and as the slope factor, the number a flat footprint is multiplied by to get the area on the slope.
Not included
Valleys and dormers, roofs with planes of different pitch, flashing, vents, roof sheathing, a second layer or tear-off, fasteners for the underlayment, roofing cement, tools, delivery, labor and any prices.

How it's calculated

Bundles = roof area ÷ 100 sq ft × (1 + waste) × bundles per square, rounded up

  1. 1Find the area under the roof40 × 30 = 1,200 sq ft
  2. 2Find the slope factor√(1 + (6 ÷ 12)²) = 1.11803
  3. 3Multiply by the slope factor1,200 × 1.11803 = 1,341.64 sq ft
  4. 4Find the roofing squares1,341.64 ÷ 100 = 13.416 squares
  5. 5Add 10% for waste13.416 × 1.10 = 14.758 squares
  6. 6Multiply by the bundles per square14.758 × 3 = 44.274, rounded up to 45 bundles

Measuring the roof

Roof type is a gable, a hip or a shed roof. Building length and Building width are the sides of the building under the roof, measured wall to wall. On a gable roof, Building length runs along the ridge and Building width across it. On a shed roof, Building length runs along the low edge. Overhang is how far the roof extends past each wall. It starts at 0 and adds nothing until you fill it.

Roof pitch is the rise of the roof in inches for every 12 inches of run. A roof that rises 6 inches over 12 inches of run is entered as 6.

Roofs this count fits

The count stands for the whole roof of a simple rectangular building. Every roof plane has the same pitch, and the roof gets one layer of shingles.

Valleys and dormers are not counted. A roof with a wing, a dormer or planes of different pitch is outside this count: no area, no edge length and no material is added for them. The roofing squares calculator takes an area measured on the roof itself, whatever its shape.

How to find the area of a roof

Start from the flat area under the roof: Building length times Building width, measured wall to wall. The overhang goes into its own field, which starts at 0 and adds nothing until it is filled. With an overhang above 0, it is added to each side twice, once for each end, before the two sides are multiplied.

A sloped plane is larger than the flat area under it. The ratio between the two is the slope factor, which follows from the pitch alone:

slope factor = √(1 + (pitch ÷ 12)²)

The roof area is the flat area times the slope factor. At one pitch, a gable, a hip and a shed roof over the same building have the same area, so they get the same squares and the same bundles. The roof type changes the lengths of the edges, and with them the drip edge, the starter strip and the caps.

The table shows one building at six pitches, and “How it’s calculated” shows the flat area, the slope factor and the roof area with your numbers.

A 40 × 30 ft gable roof by pitch
Roof pitchRoof area, sq ftSquaresBundles
3/121,236.9312.3741
4/121,264.9112.6542
6/121,341.6413.4245
8/121,442.2214.4248
10/121,562.0515.6252
12/121,697.0616.9757

Bundles are rounded up, for the first option of the Shingles field at the default waste allowance, with no overhang. Squares are before the waste allowance.

How many bundles of shingles a roof takes

Shingle makers state the bundles for one square of roof. The Asphalt Roofing Manufacturers Association’s Residential Asphalt Roofing Manual defines the unit: “1 square = 100 square feet”. The roof area divided by that area is the squares, and the squares under the result are before the waste allowance.

The bundles follow from the squares in three steps:

  1. The waste allowance is added to the squares.
  2. The result is multiplied by the bundles per square of the shingles.
  3. The product is rounded up to a whole bundle.

Every shingle on offer names its bundles per square. The first is an architectural shingle with the numbers of GAF’s product data for Timberline HDZ. The second is an architectural shingle with more bundles per square, from the rows “Duration Premium Cool” and “Duration MAX” of the Owens Corning Roofing Collection Product Guide. The third is a 3-tab shingle, the Supreme row of the same guide. These are the numbers of the cited products, and another product can differ. The bundles per square are printed on the wrapper, and the wrapper of the shingles you buy decides.

The waste allowance starts at 10%, the upper end of the range the same manual gives: “Most roofing jobs require anywhere from 2% to 10% excess shingles due to trim waste. The amount of trim waste depends on how many valleys, dormers, hips and roof penetrations there are.” No percentage is picked by roof type: the allowance is the one you set under Waste. At 0 the note under the result says that no waste was added.

Shingle bundles by building size (gable roof, 6/12 pitch)
Building, length × widthSquaresBundles
24 × 24 ft6.4422
30 × 24 ft8.0527
40 × 30 ft13.4245
50 × 30 ft16.7756
60 × 40 ft26.8389

Bundles are rounded up, for the first option of the Shingles field at the default waste allowance, with no overhang. The rows are examples chosen for the table.

Underlayment, drip edge, starter strip, caps and nails

Every rate below belongs to the product or the document named with it, listed under “Sources and methodology”. The roll coverage and the lengths a bundle covers are those of the cited products, and another product can differ.

Underlayment. The rolls are the roof area divided by the coverage of one roll, rounded up. There are two rolls to choose from. Synthetic uses the coverage that Owens Corning states for a roll of ProArmor with its overlap. No. 15 felt uses a roll size from the information sheet of G.A.P. Roofing. The list names the coverage it counts. No waste is added. On a low slope two layers are counted, as the next section describes.

Ice barrier. Section R905.1.2 of the code requires one “in areas where there has been a history of ice forming along the eaves”, from the eaves “to a point not less than 24 inches (610 mm) inside the exterior wall line of the building”, and on a slope of 8/12 or more at least 36 in up the slope. The roll and its laps are those of Owens Corning WeatherLock G.

Drip edge. It runs along the eaves and the rakes. Section R905.2.8.5 of the International Residential Code says: “A drip edge shall be provided at eaves and rake edges of shingle roofs. Adjacent segments of drip edge shall be overlapped not less than 2 inches (51 mm).” The length of one piece is from the Amerimax catalog, and the lap is that of the code sentence. Every piece after the first adds its length less one lap, and the count is rounded up. For a shed roof the drip edge is counted on the high edge as well, next to the eave and the two rakes. The code names eaves and rakes only; a high edge against a wall takes the flashing of R905.2.8.4 instead.

Starter strip. The eaves and the rakes are divided by the length of one bundle of Owens Corning Starter Strip Plus, as its product page states it, and rounded up. The high edge of a shed roof gets no starter strip.

Hip and ridge caps. The ridge and the hips are divided by the length of one bundle of GAF TimberTex, as its product data states it, and rounded up. A gable roof has a ridge and no hips. A hip roof has four hips and a ridge as long as the difference between the two sides of the building, so a square hip roof has no ridge. A shed roof has neither, and takes no caps.

Nails. The shingles take the squares with waste times the shingles per square and the nails per shingle: the smallest number of fasteners that section R905.2.6 of the code allows for a strip shingle, or the enhanced nailing pattern of the GAF installation instructions. The starter strip takes the fasteners per piece of the Owens Corning Starter Strip Plus instructions, which name them for the first piece; every piece is the calculator’s reading. The caps take those of the GAF Timbertex sell sheet. The shingle nails and the pieces are rounded up, the sum to whole boxes; the count of the box you buy decides.

Shingles on a low-slope roof

Section R905.2.2 of the International Residential Code sets two limits by slope: “Asphalt shingles shall be used only on roof slopes of 2 units vertical in 12 units horizontal (17-percent slope) or greater. For roof slopes from 2 units vertical in 12 units horizontal (17-percent slope) up to 4 units vertical in 12 units horizontal (33-percent slope), double underlayment application is required”.

Both slopes of that sentence set the count:

  • Below the lower slope no quantity is shown, and the result gives the reason.
  • From the lower slope up to the upper one, two layers of underlayment are counted, so the rolls cover twice the roof area.
  • At the upper slope and above, one layer is counted.

Two layers are counted for either underlayment: the quoted sentence states the rule by slope, and it applies to both rolls. The “How?” text of the underlayment line says how many layers were counted.

The code text was read in Chapter 9 of the International Residential Code 2021 on the website of the International Code Council. The code in force where you live can differ, and this count does not check a roof against any code.

Using the calculator

The drawing above the fields changes with Roof type, and each side has a switch for feet or meters. Until both sides and the pitch are filled, the result stays empty and asks for them.

The main result is the bundles of shingles for the whole roof, rounded up to a whole bundle. The note under it names the shingles and the waste allowance that was added. Below the note are the roofing squares, the roof area in square feet and in square meters, and the pitch as an angle in degrees and as a slope factor.

The shopping list is under the result. Every line has a “How?” button that opens the rule behind the quantity with the arithmetic written out, and “Include accessories” switches the lines below the shingles on and off. Waste, Underlayment, Ice barrier and Nails per shingle are under “More options”.

What is not counted

The count leaves out flashing, vents, roof sheathing, a second layer of shingles or the tear-off of an old roof, tools, delivery and labor, and no prices are shown.

To get the area of a floor or a footprint, use the square footage calculator. For the attic under the roof, use the insulation calculator.

Questions

How many bundles of shingles do I need for a 40 × 30 ft house?

45 bundles of "Architectural, 3 bundles" shingles for a 40 × 30 ft building with a 6/12 roof, no overhang and 10% added for waste. That roof covers 1,342 sq ft, or 13.42 squares before waste. An overhang, a steeper pitch or a shingle with more bundles per square raises the count.

How is the roof area found from the size of the building?

Multiply the building length by the building width, measured wall to wall, with the overhang added to each side, to get the flat area under the roof. The overhang has its own field, which starts at 0 and adds nothing until it is filled. That flat area times the slope factor, a number worked out from the roof pitch, is the roof area, so a steeper roof has a larger area. "How it's calculated" shows each step with your numbers.

What is a roofing square?

A unit of roof area, which the Asphalt Roofing Manufacturers Association's Residential Asphalt Roofing Manual defines as "1 square = 100 square feet". Shingle makers state their bundles for one square, so the roof area in squares times the bundles per square gives the bundles before waste. The squares under the result are counted before the waste allowance.

Does a hip roof take more shingles than a gable roof?

Not at the same pitch: a gable, a hip and a shed roof over the same building have the same roof area, so the squares and the bundles of shingles are the same. The roof type changes the lengths of the eaves, rakes, ridge and hips, and with them the drip edge, the starter strip and the hip and ridge caps.

What is the minimum roof pitch for asphalt shingles?

2/12, by section R905.2.2 of the International Residential Code: "Asphalt shingles shall be used only on roof slopes of 2 units vertical in 12 units horizontal (17-percent slope) or greater." From that slope up to 4/12 the same section requires double underlayment, so two layers are counted for either underlayment, and one layer from 4/12 up. Below 2/12 no quantity is shown, and the result gives the reason.

How much waste should I add for roof shingles?

10%, the upper end of the trim waste range in the manual of the Asphalt Roofing Manufacturers Association, which ties the amount to how many valleys, dormers, hips and roof penetrations the roof has. The allowance goes on the shingles and so on their nails; the underlayment, the drip edge, the starter strip and the caps get none. Change Waste under "More options" to fit your roof; the note under the result names the percentage.

Are valleys and dormers included in the shingle count?

No. The count is for a simple rectangular building whose roof planes all have the same pitch, with one layer of shingles, and it adds no area, no edge length and no material for a valley or a dormer. For a roof that has them, measure the area on the roof and enter it in the roofing squares calculator of this section, which still adds nothing for a valley or a dormer.

How long should the nails for the hip and ridge caps be?

Long enough to reach the depth GAF sets for its TimberTex caps: "Nails should be long enough to penetrate at least ¾" (19 mm) into wood decks, or just through plywood or OSB decks". GAF's TimberTex installation instructions give no nail length. The cap nails are counted in the same box as the shingle nails, so check that the nails of that box are long enough for your roof before you use them for the caps.

Sources and methodology

Data updated . Bundles, rolls, pieces and boxes are rounded up; areas to 0.01 sq ft; squares to 0.01.

How we calculate