SiteworkMath — cubic-yard markConstruction math from people who’ve thrown the wheelbarrow.
Tools · No. 05Deck · Surface materials only

Deck cost calculator — surface boards, fasteners, rough cost.

Plug in deck length × width and board specs. The math gives you board count, fastener count, and optional material cost. Frame (joists / beams / posts / footings) is out of scope — that goes through AWC DCA-6 + a contractor or engineer.

Pressure-treated deck — surface materialsParallel-to-house · 10% waste
feet
Long direction. Boards run this way.
feet
Short direction. Joists run this way.
inches
Actual: 3.5 (4″ nominal), 5.5 (6″ nominal). Composite at 5.5 is typical.
feet
8 / 12 / 16 typical. Above 16, SiteworkMath flags warp risk — 20 ft boards cup in wet outdoor service.
Layout
Fasteners
inches o.c.
16″ residential code default. 12″ for diagonal layouts and most composite product lines (check the install guide).
$/linear ft
Cedar ~$3-4, PT ~$1.50-2, composite ~$3-7. Skip if unknown — cost output goes blank.

Pressure-treated — face-screws standard. Hand-select straight boards at the lumber yard; PT ships wet and varies.

Linear ft · 476 LF
Joists · 13
Screws · 702
Material order cushion
The math432 LF27 rows × 16 ft = 432 LF; 476 LF after 10% cushion ÷ 16 ft boards = 30 boards
What I’d actually order30 boards+ 702× screws
Why the cushionBoards parallel to the house run at 5-10% waste; diagonal layout pushes that to 15% because every board edge needs an angle cut. The cushion absorbs cut-pattern waste plus the ceil-to-next-board-length rounding.
When NOT to over-orderDon't order extra material for the structural frame from this calculator — the surface count is independent of joist / beam / post / footing requirements. Frame goes through AWC DCA-6 + IRC 2021 R5 + a contractor or engineer.
Worked example10×10 PT deck — boards + screws

A small PT deck — leave 3/16″ gap, not 1/8″.

10 ft × 10 ft (100 sq ft) deck, 5/4×6 pressure-treated boards (5.5″ actual width), 16″ on-center joists, parallel-to-house layout, 10-ft boards. Per row: 10 × 12 / (5.5 + 0.125) = 21.3 → 22 boards. With the 10% cushion: 25 boards. Fasteners: 22 boards × 7 joists × 2 screws/intersection = 308 screws — buy a 500-count box, you'll use the rest on the railing.

The number the calculator shows is 1/8″ gap. On pressure-treated lumber, override that to 3/16″ — PT arrives wet from the mill and shrinks roughly 3/8″ across the width as it dries. A 1/8″ gap closes to zero by the end of the first summer, which traps water and accelerates rot at the screw heads. Cedar and composite both ship at moisture content the gap math accommodates; PT is the outlier. Set a 3/16″ spacer block, not the 1/8″ default.

How I'd actually use this on a flip

The cedar deck I built at the Chicago-suburb gut rehab in summer 2020 was a 16×12 ft surface with 5.5″ actual-width cedar boards, 16 ft lengths, parallel-to-house layout, 16″ on-center joists, face-screws (cedar takes screws fine; clips are an option for the cleaner look but didn't make sense on the budget). 27 board rows × 16 ft = 432 LF exact, 476 LF practical with the 10% cushion, 30 boards ordered. 13 joists × 27 rows = 351 intersections; 702 screws.

The cushion did its job — a few boards came in with bow that wouldn't flatten under fasteners, three got cut into trim pieces, one got returned because the supplier shipped a different grade by mistake. Net result: 27 boards installed, 3 spares left for the railing-cap rip (which is actually a different scope, but the spares saved me a trip). 10% on cedar parallel-to-house is the right number; bump to 15% only if you're running diagonal or if the supplier's stock is inconsistent.

What the calculator does NOT do: the frame. The frame for that deck was 2×8 PT joists 16″ oc on a 6×6 PT post-and-beam, ledger-attached to the rim joist with through-bolts + flashing. I didn't design that — I followed the AWC DCA-6 prescriptive guide. The calc handles the cedar that goes on top of that frame; joist sizing, beam spans, post footings, ledger flashing all live with a structural engineer or your local building inspector.

Where this number breaks down

A few traps that put the math on the wrong side of the order:

Methodology

Every number on this page traces to one of three layers — site arithmetic for the count math, manufacturer data sheets for board dimensions + fastener specs, and AWC DCA-6 for structural conventions (16″ on-center joist spacing default + structural-frame opt-out only — DCA-6 covers joist spans, ledger, beam, footings, NOT deck-board length). The 16 ft practical board-length cap is SiteworkMath field preference, not a DCA-6 publication. The per-calculator sourcing tier in methodology spells out which sources back which kinds of claims. AWC DCA-6 has a free PDF mirror; IRC 2021 Ch.5 is paywalled at ICC and cited by name when this page touches structural conventions (without claiming the calculator enforces them).

Show the formulas
  • Board rows: ceil(deck_width_ft / (board_width_in / 12)).
  • Linear feet exact: board_rows × deck_length_ft.
  • Linear feet practical: ceil(LF_exact × (100 + waste_pct) / 100) — integer formulation avoids the JavaScript float trap.
  • Board count: ceil(LF_practical / board_length_ft).
  • Joist count: ceil(deck_length_ft / (joist_spacing_in / 12)) + 1.
  • Fastener count: board_rows × joist_count × (clip:1 | screw:2).
  • Material cost (optional): boards × board_length × price_per_LF.

Frequently asked

How many deck boards do I need for a 16×12 ft surface?

30 boards (16 ft × 5.5″ wide, the standard 6″ nominal), plus 702 face-screws or 351 hidden clips. The math: 27 board rows running 16 ft each = 432 linear feet exact. Add a 10% waste cushion (parallel-to-house layout) = 476 LF practical. Rounded up to whole 16 ft boards = 30 boards. Fasteners with 16″ on-center joists: 13 joists across the 16 ft deck length × 27 boards = 351 board-joist intersections. Face-screws at 2 per intersection = 702. Hidden clips at 1 per intersection = 351. Which fastener: For composite, board profile decides — grooved-edge boards usually need the manufacturer's hidden-clip system; square-edge boards in the same line often have an approved face-fastener. Read the install guide before you buy.

What's the difference between cedar, pressure-treated, and composite decking for the cost math?

The board count is identical across materials. The per-board price varies 2-4×, so the cost output is driven by the linear-foot price you plug in. Typical price bands (varies by region + grade): • Pressure-treated — ~$1.50-$2 per linear foot. Cheapest upfront. • Cedar — ~$3-$4 per linear foot. • Composite (Trex / TimberTech / AZEK) — ~$3-$7 per linear foot, with premium tiers running higher. Which to pick: PT is cheapest upfront. Composite wins on lifetime cost in north-facing or shaded conditions where wood rots fast. What the calc does: Plug your local supplier's per-LF quote into the optional price input; the calc does the rest.

What does this calculator NOT estimate?

Anything structural. This is a surface-material calc only. Explicitly out of scope: Joists, beams, posts, footings, ledger flashing, railings, stairs, permits, labor, structural-design review. Why the line is drawn here: Pretending a surface calc handles structural design is the kind of overreach that turns a trust-credible tool into spam. The board count is independent of frame requirements. Where your frame design comes from: The prescriptive deck-framing code (joist spans, ledger, beam, footings, fastener requirements) plus a qualified contractor or engineer. A structural deck calc may ship later; this one stays deliberately surface-only.

Why are 20 ft deck boards a bad idea?

They warp and cup over the first one or two winters in wet outdoor service — across cedar, PT, and composite alike. 16 ft is the practical cap. Where the cap comes from: Operator field experience plus manufacturer handling guidance. Not a code citation — the prescriptive deck-framing standard covers spans and fastener requirements, not maximum board length or warp behavior. What to do instead: Plan staggered runs across 12 ft and 16 ft boards rather than single-piece 20 ft spans. Looks intentional, performs better, easier to source. Where the calculator warns you: Set board length above 16 ft and the warning surfaces above the order.

Should I use hidden clips or face-screws for my deck?

Material + board profile decide. Composite is split between the two; cedar and PT default to face-screws. Composite (Trex, TimberTech, AZEK): Grooved-edge boards usually require the manufacturer's hidden-fastener clip system. Square-edge boards in the same product line often have an approved face-fastener system. The warranty is profile-specific — read the install guide for your exact board profile before buying fasteners. Cedar and pressure-treated: Face-screws standard. Hidden clips work as an optional upgrade for the cleaner look. Quantity math: Clips run 1 per joist per board (~2× per linear foot). Face-screws run 2 per joist per board (~4×). The calculator handles both.

Does the calculator account for diagonal layouts or only parallel-to-house?

Both. Pick the layout in the segmented control; the waste percentage adjusts automatically. Parallel-to-house — 10% waste: Boards run perpendicular to the house, butt joints land on side rims, minimal cuts. Diagonal (45° rotation) — 15% waste: Every board edge needs an angle cut and the off-cuts are usually too short to reuse, so the cushion is wider. What else changes between layouts: In this version, only the waste percentage. The surface-only opt-out (no frame design) applies regardless.

What I'd do next

  1. Pick the deck material first

    The math changes by ~30% across cedar, PT, and composite. Material choice drives the whole estimate.

  2. Plan joists + spacing before ordering boards

    Joist on-center spacing drives screw count, board run direction, and the gap between boards you'll see daily.

  3. Concrete for the footings

    Out of scope for the surface calc, in scope for your weekend. Cylinder mode covers post-hole footings.


By James Wu. Surface-material count is site arithmetic, formulas shown above. Joist-spacing default (16″ on center) + structural-frame opt-out come from American Wood Council DCA-6 — Prescriptive Residential Wood Deck Construction Guide; the 16 ft practical board-length cap is SiteworkMath field preference, not a DCA-6 publication (the standard covers joist spans, ledger, beam, footings, fastener requirements, NOT deck-board length or warp behavior). IRC 2021 Chapter 5 (Floors) is paywalled at ICC and cited by name. Manufacturer fastener-system requirements (composite warranty conditions) follow Trex installation guidance and TimberTech installation guidance. Engine logic in lib/sitework/deck.ts. Surface- material only — frame design (joists, beams, posts, footings, ledger flashing, railings, stairs) requires AWC DCA-6 + IRC 2021 R5 + a qualified contractor or engineer. Not structural- engineering advice. Full methodology.

Ask a SiteworkMath question

Quick answers about SiteworkMath's calculators and material take-offs — concrete yardage, topsoil + mulch volume, tile box-count, deck-surface materials. Free, no signup. Not structural-engineering or code advice — for joist / beam / footing / permit decisions, talk to a structural engineer, licensed contractor, or your local building department.

Hi, I'm the SiteworkMath assistant. I answer questions about the calculators and guides on this site — concrete yardage, topsoil, mulch, tile, and decking material math. I'm not a structural engineer or a licensed contractor; I'm a calculator built around the math that James Wu — Chicago-area flipper — uses on his own jobs. For structural decisions (joist sizing, beam spans, footing depth in your soil + climate, anything that needs a permit) talk to a licensed structural engineer or your local building department.