Four numbers run a deck-surface layout. Joist spacing: 16″ on center is residential code default per AWC DCA-6 + IRC 2021 R5; composite often requires 12″ on center, especially for diagonal layouts. Board-to-board gap: 1/8″ for cedar and pressure-treated, 3/16″ to 1/4″ for composite per the manufacturer install guide. Practical max board length: 16 ft — SiteworkMath field preference, not a code citation. 20 ft boards warp under wet service across all materials (DCA-6 doesn't publish board-length max). Board-end alignment: stagger butt joints across rows, 1/3-2/3 pattern, no two adjacent rows meeting at the same joist.
Board-end alignment for staggered patterns is where most flips waste lumber. 16 ft boards beat 12 ft boards on a 20 ft deck because 12 ft creates a butt joint mid-deck; 16 ft gives a 4 ft remainder + clean run. SiteworkMath field preference: deck boards >16 ft exceed the practical residential cap because 20 ft boards warp under wet service across all materials (DCA-6 covers structural framing, not board-length max). Run the surface counts through the deck cost calculator (surface-only — joist size, beam spacing, posts, footings, ledger flashing all live with AWC DCA-6 + your contractor).
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.
How pros actually do this
Boards run perpendicular to joists. That's the first decision that matters and it's usually made before the framer is on site — get it wrong and you're rebuilding the frame, not the deck. The long axis of the deck typically runs parallel to the house, with boards running parallel to the house too, joists running perpendicular out from the ledger. Diagonal layouts rotate the boards 45° but keep the joists perpendicular to the ledger; that's where 12″ joist spacing becomes mandatory on composite, because the diagonal effective span across joists 16″ on center is ~22.6″ — past every composite manufacturer's deflection spec.
Once joist direction is set, board-end alignment is the next call. I stagger butt joints in a 1/3-2/3 pattern across rows, never on adjacent joists; the inspector won't fail you for adjacent joints but the deck looks like a quilt and the joints lift first as the boards expand and contract over seasons. The math is simple — every row needs a butt joint somewhere unless the deck is shorter than the board length (which on a 20 ft deck means 20 ft boards, which warp). The discipline is to alternate where the joints land so no two adjacent rows meet at the same joist, and so the joints fall on a doubled joist where possible.
Board-to-board spacing is the field detail that separates a good-looking deck from a sloppy one. Cedar and PT take 1/8″ — a 16d nail laid flat between rows is the carpenter shorthand. Composite takes more, typically 3/16″ to 1/4″ depending on the brand, because the boards expand and contract more with temperature than wood does. Trex publishes 3/16″ for end-to-end gaps and references board-to-board per the temperature at install; TimberTech publishes a similar table. Tighter gaps trap water + debris under the boards and cup them from beneath; wider gaps look sloppy and let phones, dog tags, and small tools drop through to the joist work.
The layout discipline, line by line
- Confirm joist direction first.Boards run perpendicular to joists. Joists run perpendicular to the ledger, out from the house. If the framer set joists running the wrong way for your planned deck shape, that's a frame rebuild — catch it before sheathing goes on.
- Set joist spacing to the surface material spec.16″ on center for cedar and PT (AWC DCA-6 residential code default). 12″ on center for composite — required by Trex, TimberTech, and AZEK for diagonal layouts and for picture-frame perimeter rows where boards span more than one direction.
- Pick board length to minimize butt joints. On a 20 ft deck, use 16 ft boards (4 ft remainder, one butt joint per row); on a 24 ft deck, use 12 ft boards (zero waste, butt joint mid-span). Avoid 20 ft boards regardless of material — they warp past the 16 ft SiteworkMath field-preference cap.
- Stagger butt joints 1/3-2/3 across rows. No two adjacent rows meeting at the same joist. Where butt joints fall, they sit on a doubled joist if possible — the seam carries half a board on each side and the doubled joist gives full bearing.
- Set board-to-board gaps per material. 1/8″ for cedar and PT (16d nail laid flat). 3/16″ to 1/4″ for composite per the manufacturer install guide — the exact number varies by brand and by install temperature.
- Decide picture-frame border at layout time, not after.A perimeter board running around the deck edge eats 1-2 boards from the field count and changes every field board's cut. If you're framing for a picture-frame border, double the perimeter joists so both the field row and the perimeter board get full joist support.
Three layout scenarios, end to end
Three common deck shapes, run through to board count + butt-joint plan. All assume 5.5″ boards (5/4×6 nominal), parallel-to-house layout, joists running perpendicular to the ledger.
| Scenario | Board length | Butt joints per row | Notes |
|---|---|---|---|
| 20 × 12 ft, parallel | 16 ft + 4 ft offcut | 1 | Cleanest. Stagger 1/3-2/3 across 27 rows. |
| 20 × 12 ft, parallel | 12 ft + 8 ft | 1 | More cut ends exposed; offcuts harder to use. |
| 20 × 12 ft, parallel | 20 ft (warning) | 0 | Exceeds 16 ft SiteworkMath field-preference cap — boards warp. |
| 24 × 12 ft, parallel | 12 ft (paired) | 1 (mid-span) | Zero waste. Stagger butt joints alternating rows. |
| 16 × 12 ft, diagonal composite | 16 ft (varies per row) | Varies | 12″ joist spacing required. 15% waste cushion (angle cuts). |
Run the math yourself
Plug in your deck dimensions, board width, and length. The calculator flags board lengths over 16 ft (SiteworkMath field-preference cap), counts joists at the spacing you set, and outputs the fastener count for the type you pick. Composite preset defaults to hidden clips per warranty; cedar / PT default to face-screws. Surface-only — frame stays out of scope.
Surface-material only
This calculator estimates deck boards + fasteners + (optional) material cost. It does NOT estimate joists, beams, posts, footings, ledger flashing, railings, stairs, permits, labor, or structural-design review. Frame must be designed per AWC DCA-6 + IRC 2021 R5 by a qualified contractor or engineer.
Where this number breaks down
A few traps that put the layout on the wrong side:
- 12″ vs 16″ joist spacing for composite.Trex, TimberTech, and AZEK each require 12″ on center for diagonal layouts (16″ across joists at 45° is ~22.6″ effective span — past their deflection spec). Don't assume the residential 16″ default applies to composite. Confirm the brand's install guide before the framer cuts hangers.
- Adjacent-row butt joints at the same joist.Inspector won't fail you, but the deck looks like a quilt and the joints lift first as boards expand and contract. Stagger 1/3-2/3 across rows; land joints on doubled joists where possible.
- 20 ft boards exceed the 16 ft SiteworkMath field-preference cap.They warp under wet service regardless of material — even premium AZEK 20 ft boards cup. Plan staggered runs across 12-16 ft boards instead of single-piece spans. The math saving (one fewer butt joint per row) doesn't survive the warp.
- Board-to-board gap, wrong number.Cedar / PT take 1/8″ — tighter and water gets trapped, wider and the deck looks sloppy. Composite takes 3/16″ to 1/4″ per the brand install guide — the boards expand and contract more with temperature than wood does. Don't apply the 1/8″ wood rule to composite or the boards will buckle in the first hot summer.
- Joist direction wrong for the deck shape.Boards run perpendicular to joists. If the framer set joists running the wrong way for the planned deck shape, you're rebuilding the frame, not the deck. Catch it before sheathing — at the joist-layout stage, the fix is moving hangers; after sheathing, it's a tear-out.
- Picture-frame border eats the field count.The perimeter board running around the deck edge changes every field board's cut and consumes 1-2 boards from the surface count. If you're framing for a picture-frame, double the perimeter joists so both the field row and the perimeter board get full bearing — single-joist support there is a common warranty gotcha on composite.
Frequently asked
What's the standard deck joist spacing?
16″ on center is residential code default per AWC DCA-6 + IRC 2021 R5 — applies to PT and cedar surface decks with 5/4×6 or 2×6 boards. Composite manufacturers (Trex, TimberTech, AZEK) often require 12″ on center for diagonal layouts and for picture-frame perimeter rows where boards span more than one direction. Confirm against the specific composite brand's published install guide before the framer cuts joist hangers — re-spacing joists after the deck is sheathed is a tear-out, not a fix.
How wide should the gap between deck boards be?
1/8″ for cedar and pressure-treated boards installed wet (the wood shrinks as it dries, opening the gap further); a 16d nail laid flat between rows is the carpenter shorthand. For composite, 3/16″ to 1/4″ is typical — Trex / TimberTech / AZEK each spec their own minimum gap to allow thermal expansion. Tighter gaps trap water + debris and cup the boards from underneath; wider gaps look sloppy and let phones drop through. The manufacturer install guide is the authoritative number for composite; cedar + PT take the 1/8″ rule of thumb.
Should I stagger deck board butt joints?
Yes — staggering butt joints across rows is the practical standard, even though residential code doesn't strictly require it. Two adjacent rows joining at the same joist creates a structural weak spot (less continuous board carrying load across that joist) and looks like a quilt seam from above. Stagger in a 1/3-2/3 pattern across rows so no two adjacent rows meet at the same joist. The inspector won't fail you for adjacent joints, but the deck looks like a quilt and the joints lift first as the boards expand and contract over seasons.
Why do composite manufacturers require 12″ joist spacing for diagonal layouts?
Diagonal board layouts increase the effective span — a board running at 45° across joists 16″ on center is actually spanning ~22.6″ between bearing points (16 ÷ cos 45°). Composite boards have less stiffness than wood at the same dimension, so the longer effective span flexes past the manufacturer's deflection spec, voids the warranty, and produces the bouncy underfoot feel that's the calling card of a wrong-spec composite install. 12″ on center brings the diagonal-effective span down to ~17″, back inside spec. Trex, TimberTech, and AZEK each publish the rule explicitly in their install guides.
What's the longest practical deck board length?
16 ft is SiteworkMath field preference for the practical residential maximum (DCA-6 covers structural framing, not board length). 20 ft boards exist (cedar, premium composite) but warp under wet service over a couple seasons, regardless of material. The math reason is leverage — a 20 ft board cantilevers more weight off any imperfect support point, and the joist work has to be near-perfectly flat to keep a 20 ft board from telegraphing every 1/8″ ridge. Plan staggered 12-16 ft runs instead of single-piece spans. On a 20 ft deck, 16 ft boards give you a clean 4 ft offcut row; 12 ft boards force a butt joint mid-deck.
Do I need a picture-frame border on my deck?
No — it's an aesthetic choice, not a structural requirement. The picture-frame border is a perimeter board running around the deck edge perpendicular to the field boards, which hides the cut ends and gives the deck a finished frame. It eats 1-2 boards from the field count and changes the cut math — every field board needs a clean cut to land on the perimeter joist instead of running long into the trim. If you're framing a composite deck, double the perimeter joists so the picture-frame and the adjacent field row each get full joist support — single-joist support there is a common warranty gotcha.
Related guides
- Cedar vs PT vs composite (decision matrix) →
- Deck cost calculator (cluster anchor) →
- Concrete yardage (footings live here) →
- Tile calculator (sister cluster) →
Once layout is locked, the next decision is fastener type — face-screws versus hidden clips. That call ties back to the material decision and the warranty conditions that ride with composite. Cedar vs pressure-treated vs composite covers it.
By James Wu. 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 (DCA-6 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. Composite joist-spacing requirements (12″ on center for diagonal layouts) and board-to-board gap specs follow Trex installation guidance and TimberTech installation guidance; AZEK has equivalent published install + warranty docs. Engine logic in lib/sitework/deck.ts. Surface-material discussion 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.