Nails & Numbers

HomeDecking › Deck Fastener Calculator

Deck Fastener Calculator

Source: IRC R317.3.1 · connectors ASTM A653 G185 · ASTM A153

Counting fasteners is the easy part. Choosing the wrong metal is what takes a deck apart: modern pressure-treated lumber eats ordinary electroplated screws, and IRC R317.3.1 says so explicitly.

Fastener takeoff

ft
ft
in
in
in
ea
ea

Counts assume two fasteners per board at every joist crossing, the normal convention for face-screwed decking. Hidden clip systems are counted per manufacturer instead.

joists run this waydecking boards run this wayEvery crossing takes its own fasteners
Where the fasteners go: boards crossing joists

Worked example

The same 16 ft × 12 ft deck: 5½ in boards at a 3/16 in gap, joists at 16 in on center, two screws per crossing, hung on a ledger at one end.

  1. Crossings. 26 rows of board × 13 joists = 338 board-to-joist crossings.
  2. Screws. Two per crossing = 676 screws. At 350 per box that is 2 boxes, with enough spare for the stair treads.
  3. Hangers. 13 joists hung at the ledger = 13 hangers.
  4. Hanger nails. 10 per hanger = 130 nails, and every hole gets filled.
  5. Then choose the metal. This is the step that actually matters, see below.

Two boxes of screws is a $60 line item on a deck that costs thousands. Buying the cheap electroplated ones to save $20 of that is how a deck ends up with sheared fasteners in five years.

The formula

The count is the product of two grids. How many board rows cross how many joists:

crossings = ⌈ W / (b + g) ⌉ × ( ⌊ L / s ⌋ + 1 )    screws = crossings × n
W
deck width, in (boards stack across this)
b, g
actual board width and gap, in
L
deck length, in (joists are spaced along this)
s
joist spacing on center, in
n
fasteners per crossing, normally 2

The +1 on the joist count is the closing joist at the far end, and it is the term people drop. On a 16 ft deck at 16 in centers it is the difference between 12 and 13 joists, and 26 screws.

What the code requires the fasteners to be made of

IRC R317.3.1 is unambiguous: fasteners for preservative-treated wood, including nuts and washers, must be hot-dipped zinc-coated galvanized steel, stainless steel, silicon bronze or copper. Staples must be stainless steel. Ordinary electroplated or zinc-flashed screws are not on that list.

Connectors (hangers, straps, post bases)follow the connector manufacturer's coating recommendation. Where the manufacturer says nothing, the code sets a floor of ASTM A653 type G185 zinc-coated galvanized steel or equivalent. G185 carries roughly twice the zinc of the G90 coating used on interior hardware.

There are exceptions worth knowing. Steel bolts ½ in diameter or greater are exempt. Fasteners other than nails and timber rivets may be mechanically deposited zinc-coated steel to ASTM B695 Class 55 minimum. Hot-dip galvanized fasteners themselves are covered by ASTM A153.

Why the code got strict. The industry moved off CCA for residential use in 2003 and onto copper-based preservatives: ACQ and copper azole. Those carry far more copper, and copper in contact with damp steel drives galvanic corrosion. Fasteners that were adequate in CCA lumber corrode noticeably faster in ACQ, which is the entire reason R317.3.1 reads the way it does. A deck built in 2005 with leftover 1990s screws is a known failure pattern.

Do not mix metals. Stainless fasteners in a galvanized hanger, or galvanized fasteners in a stainless one, sets up the same galvanic cell the coating was meant to prevent. Match the fastener to the connector.

Hidden fasteners and clip systems

Counts above assume face-screwed boards. Hidden clip systems fasten into the board edge instead, and their count comes from the manufacturer, usually one clip per board per joist, which is roughly half the fastener count but a substantially higher cost per fastener. Grooved boards are required for most clip systems, and the clips are proprietary: they are not interchangeable between brands even when they look identical.

Whatever the system, the coating rules in R317.3.1 still apply. A stainless clip driven by a plated screw is only as durable as the screw.

The ledger is not a fastener question

Deck screws hold boards down. What holds the deck to the house is a different problem entirely, governed by IRC R507.9 and its bolt-pattern table, and ledger failure (not decking failure)is what collapses decks. No number on this page speaks to it. If the deck attaches to a building, the ledger connection needs its own attention and, in most jurisdictions, its own inspection.

Frequently asked questions

How many deck screws do I need?
Two per board at every joist crossing. For a 16×12 deck with 26 board rows and 13 joists that is 338 crossings and 676 screws, or two 350-count boxes.
What screws are code-approved for pressure-treated wood?
IRC R317.3.1 permits hot-dipped zinc-coated galvanized steel, stainless steel, silicon bronze or copper. Staples must be stainless. Electroplated screws are not permitted against treated lumber.
Can I use deck screws in joist hangers?
No, unless the hanger manufacturer specifically lists that screw. Hangers are rated with a particular nail at a particular diameter, and substituting a deck screw changes the shear capacity the rating was based on.
Do I have to fill every hole in a joist hanger?
Yes. The published capacity assumes every specified hole is filled. Partly-nailed hangers are among the most common defects found in post-failure deck inspections.
Why do modern treated boards corrode screws so fast?
Residential treatment moved from CCA to copper-based ACQ and copper azole in 2003. The higher copper content drives galvanic corrosion of steel in damp conditions, which is why the coating requirement tightened.
Is stainless worth the extra cost?
Near salt water or on cedar and redwood, yes: galvanized fasteners can stain those species. Inland on treated pine, properly hot-dipped galvanized meets the code and performs well. What is never worth it is mixing the two in one connection.

Check these numbers yourself

Figures on this page last checked against the source documents on 2026-09-05. Codes are amended locally; confirm against the edition your jurisdiction enforces.

Related calculators

Estimates only. Fastener counts are a takeoff for ordering, based on the normal two-per-crossing convention rather than a code table. Connector nailing, hanger selection and ledger attachment must follow the connector manufacturer's published instructions and IRC R507.9. Coating requirements come from IRC R317.3.1. Confirm against the edition your jurisdiction enforces.