Calculator

Roofing Nail Calculator

Work out how many roofing nails your shingles need. A square of GAF Timberline HDZ architectural shingles takes 256 nails and a square of GAF Royal Sovereign three-tab takes 316, at the standard four nails per shingle. Enter your squares and shingle below for your own count, and the number of boxes if you know how many nails your box holds.

Last reviewed: September 14, 2026. Nail counts use manufacturer specifications and the 2024 International Residential Code.

Field shingle nails
5,632 nails

1,408 shingles x 4

Shingles to fasten
1,408

20 sq x 1.10 x 64, rounded up

Nails per square
256

64 pieces x 4 nails

Four nails per shingle is the code minimum; follow your wrapper if it asks for more

The count covers field shingles only. Starter strip and hip and ridge caps are nailed too, following their own instructions. Need your squares? Use the roofing square calculator.

How the nail count works

Nails follow shingles, not bundles. Every shingle on the open roof gets the same number of nails, so the count is:

  • shingles = squares × (1 + waste %) × pieces per square, rounded up
  • nails = shingles × nails per shingle
  • boxes = nails ÷ nails per box, rounded up

The arithmetic checks out against the manufacturer. GAF lists Timberline HDZ at 64 pieces and 256 nails per square, and Royal Sovereign at 79 pieces and 316 nails per square. Both are exactly four nails per shingle: 64 × 4 = 256 and 79 × 4 = 316.

Why three-tab takes more nails than architectural

Both shingles come three bundles to a square, so it is tempting to assume they need the same nails. They don’t. A three-tab shingle is smaller and laid with a 5 inch exposure, so 79 of them make a square. An architectural shingle is larger, with a 5 5/8 inch exposure, and 64 make a square. Fifteen more shingles per square means 60 more nails per square at four nails each, which is about 23 percent more.

Nails for common roof sizes

Roof squaresArchitectural (64/sq), 10% wasteThree-tab (79/sq), 10% waste
102,816 nails3,476 nails
154,224 nails5,216 nails
205,632 nails6,952 nails
257,040 nails8,692 nails
308,448 nails10,428 nails

Each figure is squares × 1.10 × pieces per square, rounded up to a whole shingle, then × 4 nails.

Worked example: one house, two shingles

A 2,000 square foot footprint under a 6:12 roof has 2,236 square feet of roof, or 22.36 squares, using the 1.118 pitch multiplier from the roof pitch calculator. With 10 percent waste:

  • Architectural: 22.36 × 1.10 × 64 = 1,574.1, so 1,575 shingles, and 1,575 × 4 = 6,300 nails.
  • Three-tab: 22.36 × 1.10 × 79 = 1,943.1, so 1,944 shingles, and 1,944 × 4 = 7,776 nails.

If your nails come in cartons of 7,200, the architectural roof needs one carton and the three-tab roof needs two. The shingle choice changes the nail order by a whole carton, which is why the box count is worth checking before you buy.

If the wrapper calls for six nails

Some installation instructions call for more than four nails per shingle. Change nails per shingle to 6 and the counts rise by half: 64 × 6 = 384 nails per square for a 64-piece shingle and 79 × 6 = 474 for a 79-piece shingle. On the 20-square architectural example above, 1,408 shingles become 8,448 nails instead of 5,632. The wrapper states when the higher count applies; use it rather than the code minimum.

What the building code requires

Section R905.2.6 of the 2024 International Residential Code requires asphalt shingles to have the number of fasteners in the manufacturer’s approved installation instructions, and never fewer than four per strip shingle or two per individual shingle. The manufacturer’s figure governs whenever it is higher, which is why the calculator lets you change nails per shingle. Read the wrapper before you trust the default.

Section R905.2.5 sets the nail itself:

  • galvanized steel, stainless steel, aluminum or copper roofing nails
  • a shank of at least 12 gage, 0.105 inch, and a head at least 3/8 inch across, complying with ASTM F1667
  • long enough to go through the roofing and at least 3/4 inch into the roof sheathing, or right through sheathing thinner than that

The code sets that penetration rather than a single nail length, because the length needed depends on how many layers the nail passes through. Local jurisdictions adopt different code editions and their own amendments, so your building department has the final word.

Overlays need longer nails

The penetration rule has a practical consequence on a roof-over. When new shingles go on top of an existing layer, every nail passes through two layers of shingles before it reaches the sheathing, so a nail that met the 3/4 inch rule on a tear-off can fall short. Measure through both layers, or ask your supplier, before you buy a nail sized for a single layer. Overlays have other limits too: most cities cap a roof at two layers, as our roof replacement cost guide explains.

Where the nails go matters as much as how many

The code’s four-nail minimum assumes each nail is where the manufacturer’s installation instructions put it, and manufacturers mark that nailing area on the shingle. GAF, for example, describes the StrikeZone on Timberline HDZ as the industry’s widest nailing area and reports that a roofer placed 999 of 1,000 nails correctly in its test. Whatever the brand, the wrapper shows where the nails belong.

Why this page does not give pounds of nails

Nails per pound depend on the shank, the gauge, the head and the coating, and published counts for a “1 1/4 inch roofing nail” disagree widely. We have not found one figure we can cite across brands, so rather than guess a weight we ask for the count printed on the box or coil carton. Enter it in the calculator and it returns whole boxes. Hand-driven nails and coil nails for a pneumatic nailer are packed differently, so use the count on the carton you will actually buy, and check that the nail on that carton meets the size rules above before you compare prices by the box.

Sources used on this page

The nail counts are our own arithmetic on those figures, shown in the calculator and the table. The methodology page explains how sources are used.

Roofing nail FAQ

How many roofing nails per square?

It depends on the shingle. GAF lists 256 nails per square for Timberline HDZ architectural shingles and 316 for Royal Sovereign three-tab shingles, both at four nails per shingle.

How many nails per shingle?

At least four per strip shingle under section R905.2.6 of the 2024 International Residential Code, or two per individual shingle. If the manufacturer’s installation instructions require more, that higher number applies.

How many roofing nails do I need for 20 squares?

With a 10 percent waste allowance at four nails per shingle, about 5,632 nails for architectural shingles at 64 pieces per square, or 6,952 for three-tab shingles at 79 pieces per square.

Why do three-tab shingles need more nails?

Three-tab shingles are smaller, so more of them make a square: 79 against 64 for a typical architectural shingle. At four nails each, that is 60 more nails per square.

What size roofing nails do I need?

The 2024 International Residential Code calls for galvanized steel, stainless steel, aluminum or copper roofing nails with at least a 12 gage shank and a 3/8 inch head, long enough to reach at least 3/4 inch into the sheathing or pass through thinner sheathing.

Does the count include starter strip and ridge cap?

No. It covers field shingles only. Starter strip and hip and ridge cap shingles need their own nails, set by their installation instructions.