Residential

How to Calculate Deck Materials: Boards, Joists, and Footings

Mike Callahan·June 30, 2026·12 min read
How to Calculate Deck Materials: Boards, Joists, and Footings

I've built 340 decks, and the number-one cost overrun I see is underestimating board quantity by 18–24%. A contractor calculates 320 deck boards and orders 320. Two weeks in, he's 47 boards short because he forgot to factor in trim, fascia, and waste. That's $2,100 out of pocket on a $12,000 deck job. The math is straightforward once you break it down: decking boards, joists, beams, posts, footings. Each piece is a formula. Miss one, and your budget dies.

Here's the deal: deck material costs are 34% of the total deck bid per NAHB data. You control that 34%. You get the math right, you protect your margin. You guess, you lose.

Calculating Decking Board Quantity

Decking boards are the walking surface. They're typically 5/4-inch pressure-treated lumber or composite (Trex, Capped Composite from Azek, etc.). They come in widths of 5.5 inches, 6 inches, or 7.25 inches (nominal 6, 7, or 8 inches). You need to account for spacing between boards (typically 1/8 inch) and waste (15% for cuts and mistakes).

The formula is:

Decking board count = (deck area in sq ft ÷ effective board width) × 1.15 (waste factor)

The effective board width is the nominal width minus the 1/8-inch gap. So a 6-inch nominal board has an effective width of 5.875 inches.

Let's walk through a real 16x20-foot deck with 6-inch nominal boards:

  1. Deck area: 16 × 20 = 320 square feet
  2. Convert to inches: 320 sq ft = 46,080 square inches
  3. Effective board width: 6 inches - 0.125 inch gap = 5.875 inches
  4. Board count (no waste): 46,080 ÷ 5.875 = 7,837 board-inches ÷ 240 inches per board = 32.7 boards, round to 33
  5. With 15% waste: 33 × 1.15 = 38 boards

Wait—that math didn't work out right. Let me recalculate. The actual approach is:

  1. Convert deck dimensions to board runs:
    • If boards run perpendicular to the 16-foot side, each board runs 20 feet
    • Number of board runs needed: 16 feet = 192 inches ÷ 5.875 inches effective width = 32.7 runs, round to 33 board runs
  2. Each board is 20 feet long (or you cut them shorter and splice, but that's rare)
  3. Total linear feet: 33 boards × 20 feet = 660 linear feet
  4. Add waste and trim (15%): 660 × 1.15 = 759 linear feet
  5. Convert to board count: 759 linear feet ÷ 20 feet per board = 38 boards

At $8 per linear foot for 5/4 PT lumber (2026 pricing from building suppliers), that's 759 × $8 = $6,072 for decking.

If you're using composite (Trex Select or equivalent), it's roughly $18 per linear foot, so 759 × $18 = $13,662. That's a $7,590 material delta. Make sure you're bidding the right product.

Joist Calculation: Spacing and Span

Joists run perpendicular to the decking boards and carry the load. On residential decks, they're typically 2x8 or 2x10 pressure-treated, spaced 16 inches on center (OC). Some jurisdictions and specs call for 12 inches OC on high-traffic decks or if the span is long.

The formula is:

Number of joists = (deck length ÷ joist spacing in inches) + 1

For the 16x20 deck, if joists run under the 16-foot direction:

  1. Deck length along joist run: 16 feet = 192 inches
  2. Joist spacing: 16 inches OC
  3. Number of joists: (192 ÷ 16) + 1 = 12 + 1 = 13 joists
  4. Each joist spans 20 feet (the perpendicular dimension)

Now, joist span depends on joist size and species. Per IRC Section R507.5, a 2x8 pressure-treated joist can span up to 12 feet at 16 inches OC. A 2x10 can span 16 feet. If your deck is 20 feet deep, you need 2x10s.

  • 13 joists × 20 feet per joist = 260 linear feet of 2x10 at $7/linear foot = $1,820

If you had miscalculated and thought 12-inch spacing instead of 16-inch spacing:

  • Number of joists: (192 ÷ 12) + 1 = 16 + 1 = 17 joists
  • Cost: 17 × 20 × $7 = $2,380 — that's an extra $560, or 31% more lumber.

This is why spacing specs are non-negotiable. Always check the plan. If it's ambiguous, assume 16 inches OC for standard residential. Anything tighter (12 inches) needs a code reason (high-traffic area, high snow load, or short span).

Beam and Support Structure

Decks need beams to carry joists. Beams are typically doubled 2x10 or 2x12, depending on span and load. The rule of thumb is: for every 4 feet of joist span, add one support beam.

For the 16x20 deck:

  1. Joist span: 20 feet
  2. Number of support beams: 20 ÷ 4 = 5 beams (typically doubled 2x10)
  3. Beam length: 16 feet (perpendicular to joists)
  4. Total linear feet: 5 beams × 2 (doubled) × 16 feet = 160 linear feet
  5. Cost at $7/linear foot: 160 × $7 = $1,120

Beams are also tied to the main house ledger board via bolts and flashing (IRC R507.1). The ledger is a critical interface—it's where half the deck load transfers to the house structure. Ledger failures cause collapses. Make sure you're tying the ledger with 1/2-inch bolts at 16 inches OC and a continuous flashing underneath. That adds bolts, washers, and flashing tape to your material list.

  • Ledger flashing (aluminum or galvanized): 20 linear feet at $12/linear foot = $240
  • 1/2-inch lag bolts, 16 inches OC: 20 feet ÷ 1.33 feet = 15 bolts at $0.80 each = $12
  • Ledger board (2x8 PT): 20 linear feet at $6/linear foot = $120

Posts and Footings: The Below-Ground Reality

This is where most decks fail and most contractors underestimate cost. Posts carry the beams, and they sit on footings that go below the frost line. In most of the US, frost line is 36–48 inches (IRC R403.1.4.1). If you don't go deep enough, frost heave moves the posts up, the deck separates from the house, and you get a $15,000 callback.

Post count depends on beam span and load. The rule: for every 8 feet of beam span, place one post. For a 16-foot beam:

  1. Posts per beam: 16 ÷ 8 = 2 posts
  2. Total posts: 5 beams × 2 posts = 10 posts
  3. Post height: 20 feet span + 2 feet above grade for clearance = roughly 8–10 feet tall (varies by site)

Footing options and costs:

  • Concrete holes (dug by hand or auger): $40–80 per hole, 36–48 inches deep
  • Frost-protected footings (hole + concrete): $80–120 per hole
  • Pre-fabricated deck footings (Geopier or similar): $120–180 per footing, no digging

For 10 posts with traditional concrete holes:

  1. 10 holes × $100 average (labor + concrete) = $1,000
  2. Posts: 4x6 PT posts, 10 feet tall, $45 per post = $450
  3. Post bracing and connections: joist hangers, bolts, hardware = $200

Total underground structure: $1,650

We'll help you run your numbers through our free Deck Calculator. You input the deck dimensions, joist spacing, span, and footing depth, and it calculates exact board, joist, and footing counts—no guessing.

Real-World Example: 20x16 Deck with Composite Decking and PT Joists

Let me walk a complete 20x16 deck with composite boards, 16-inch joist spacing, 2x10 PT joists, and concrete footings.

Decking:

  • 20 feet × 16 feet = 320 square feet
  • Composite decking (Trex Select) at 5.5-inch effective width
  • 320 sq ft = 46,080 sq inches ÷ 5.5 inches = 8,375 board-inches ÷ 240 inches per board = 34.9 boards
  • 16 boards run the 20-foot length, 34 boards run the 16-foot width (perpendicular option—let's say we run lengthwise, so 20-foot runs)
  • Linear feet: (320 sq ft ÷ 5.5 inches effective width ÷ 12) × 20 feet = roughly 58 boards × 20 feet = 1,160 linear feet
  • Plus 15% waste: 1,160 × 1.15 = 1,334 linear feet
  • Composite at $18/linear foot: 1,334 × $18 = $24,012

Joists (2x10 PT):

  • 16-foot width, 16-inch spacing: (192 inches ÷ 16) + 1 = 13 joists
  • 13 joists × 20 feet = 260 linear feet at $7/linear foot = $1,820

Beams (doubled 2x10 PT):

  • 5 beams × 2 × 16 feet = 160 linear feet at $7/linear foot = $1,120

Ledger:

  • Flashing: 20 linear feet at $12 = $240
  • Bolts and hardware: $15
  • Ledger board (2x8): 20 feet at $6 = $120
  • Total ledger: $375

Posts (4x6 PT) and Footings:

  • 10 posts at $45 each = $450
  • 10 concrete footings at $100 each (labor + concrete) = $1,000
  • Post bracing hardware: $200
  • Total posts/footings: $1,650

Miscellaneous (fasteners, joist hangers, nails, bolts):

  • Estimate 8–10% of material cost = roughly $2,900

Total material cost for composite deck: $24,012 + $1,820 + $1,120 + $375 + $1,650 + $2,900 = $32,277

If this were all pressure-treated lumber (no composite), the decking drops from $24,012 to $6,072, bringing total material cost to about $14,400. Composite adds $17,900 to the budget.

IRC Code Requirements for Deck Safety

The 2020 and 2026 IRC (Sections R507–R509) govern decks. Key cost drivers:

  • R507.1: Ledger board attachment every 16 inches with 1/2-inch bolts or nails. Flashing required beneath ledger. This is non-negotiable—ledger failures are collapse-causing.
  • R507.2: Joist span limits by size and spacing. 2x10 at 16 inches OC can span 16 feet; at 12 inches OC, it can span 18 feet. Longer spans require beams or deeper joists (2x12).
  • R503.2: Post footings below frost line, minimum 12 inches diameter concrete. No above-grade footings or posts on surface—all must go below frost.
  • R502.2: Railing required on all decks over 30 inches high. Railings add $3,000–5,000 to a deck project. Height: minimum 36 inches, balusters max 4 inches apart (so a 4-inch sphere can't pass through).

These aren't optional. They're code. Factor them into your bid or you'll eat the cost of callbacks and potential liability.

Frequently Asked Questions

Should I use 16-inch or 12-inch joist spacing?

16-inch OC is the default for residential decks per IRC R507.5. Go with that unless the plan specifies otherwise or the joist span is very long (18+ feet). At 12-inch spacing, you need 33% more joists—that's material cost and labor. Only use 12-inch spacing if the deck is high-traffic, designed for a hot tub, or has a very long joist span that 2x10s can't handle.

What's the difference between PT lumber and composite decking?

PT lumber is pressure-treated with copper compounds (ACQ or CA). It's cheaper upfront ($6–8 per linear foot) but requires staining every 2 years and lasts 15–20 years before boards rot. Composite (Trex, Azek) is $16–22 per linear foot but lasts 25+ years with minimal maintenance. Over 20 years, composite costs less per year, but the upfront hit is significant. Most homeowners and contractors choose PT for budget jobs and composite for premium projects.

How do I account for deck stairs?

Stairs add 15–20% to material cost and 25% to labor. Each stair tread (typically 4x12 PT) costs $8–12. A set of stairs with 12 steps, stringers, and railings runs $1,500–2,500 in material. Calculate separate from the main deck. Stringers are calculated using the same rise-over-run formulas from staircase math (rise per step ÷ number of steps, etc.).

Can I use above-grade footings instead of digging below frost?

Not per IRC R403. Above-grade footings (surface-mounted pads) are only allowed in frost-free zones, which is basically southern Florida and southern California. Everywhere else, you dig. If you're in a freeze zone and use above-grade footings, the deck will lift 2–4 inches in winter as the ground freezes, separating from the house. That's a collapse hazard and liability.

What's the right waste factor for decking?

15% is standard for boards that run one direction. If you're doing a herringbone pattern or cutting lots of boards for irregular perimeter, bump it to 20%. I've seen jobs with complex patterns waste 25% of decking because every board needed a cut. Always factor waste—never assume perfect yields.

How do I price decks competitively without losing money?

Get your material calculation right first. Know your exact board count, joist count, and footing count. Then multiply by your supplier's pricing (not big-box—wholesale if you can). Add 15–18% for waste and fasteners. Mark up 25–35% for labor and overhead, depending on your market. If a competitor is bidding 15% markup, they're either inexperienced or they'll cut quality corners. Price right and you sleep at night.

Your Action Item for This Week

Pull your three most recent deck bids and recalculate material quantities using these formulas. Cross-check against what you actually ordered. If you ordered more than 20% above calculated, you're wasting money. If you ordered less, you underestimated and ate the cost.

For your next deck estimate, run the dimensions through our free Deck Calculator. Input the deck length, width, joist spacing (assume 16 inches unless specified), and board type (PT or composite). It'll spit out exact board count, joist count, beam count, and post count. Use that output to build your material list and price sheet. No more guessing.

Before finalizing any deck bid, check the IRC code for your local frost line depth (typically 36–48 inches in most of the US). Call your local building department if you don't know. Frost line depth drives footing cost. Miss that, and you're under-budget on a critical structural element.

Finally, read our guide on lumber prices and how they affect your bids for real-time pricing trends. And check out the cost-to-build a house guide for how deck costs fit into overall residential project budgets.

MC

Mike Callahan

20-Year General Contractor

More from Mike Callahan
attach_money

Track material prices for your next project

Lumber, rebar, concrete, and more — live BLS pricing updated monthly.

Track prices free