Enter your deck size and board specs to get the number of boards, total linear feet, and an honest look at how much of that is waste versus this specific layout.
Deck Board Calculator
LiveThe formula
A 240 sq ft deck using 5.5" boards, no gap, 12ft board length, 10% waste: 240 ÷ (5.5÷12) = 523.6 total linear feet, ÷ 12ft boards = 43.6, +10% waste = 48 boards — matching the standard industry worked example exactly.
Wet vs. dry lumber: the gap rule most calculators skip
Nearly every decking guide says "use a 1/8-inch gap" without qualifying it, but the right gap depends on whether your pressure-treated lumber is still wet from the treatment process:
| Lumber condition | Installation gap |
|---|---|
| Wet, freshly pressure-treated (common straight off a delivery truck) | Install boards tight, with no gap — the wood shrinks as it dries, creating a natural 1/8" to 3/16" gap on its own |
| Dry, kiln-dried, or already acclimated | Use a physical spacer for a consistent 1/8" to 1/4" gap — it won't shrink further to create one |
| Cedar, redwood, or composite | Follow the manufacturer's spec, typically 1/8" to 3/16" — composite doesn't shrink like wet wood, so always use a spacer |
Installing wet lumber with a spacer as if it were dry results in gaps that are too wide once the wood fully dries and shrinks — enter the gap value above that matches your actual lumber condition, not just a generic "1/8 inch" default.
Why the waste percentage above is an estimate, not a rule
Most competitor tools present a flat 10% (straight) or 15% (diagonal) waste figure as if it were a fixed constant. It's a reasonable starting assumption, but the real waste on any specific deck depends heavily on how evenly your chosen board length divides your deck's run — a deck length that leaves a large, barely-used offcut on every row wastes materially more than one where board lengths divide in cleanly. The insight message above flags this specifically when your entered dimensions suggest a meaningful mismatch, rather than silently applying the same flat percentage regardless of your actual layout.
Nominal vs. actual board dimensions
Lumber is sold by its "nominal" size, which is the rough-cut dimension before the board is planed smooth — the actual finished size is smaller. A "2x6" board is actually about 1.5" × 5.5" (the Lumber Calculator covers this conversion for framing lumber too). This calculator's board width options already use actual dimensions, so enter your deck's real measurements directly; don't apply an additional correction.
| Nominal size | Actual (net) width |
|---|---|
| 2x4 / 5/4x4 | 3.5" |
| 2x6 / 5/4x6 (most common decking) | 5.5" |
| 2x8 / 5/4x8 | 7.25" |
Picture-frame borders add more waste than they look like they would
A picture-frame border — a perimeter run of boards, often at a different angle than the field — is a common finishing touch, but it changes the math in two ways this calculator's basic straight/diagonal toggle doesn't capture. First, every field board that meets the border needs an angled or notched cut rather than a clean butt joint, adding waste beyond the flat allowance above. Second, the border itself is usually figured separately, as a simple perimeter linear-footage calculation (deck perimeter ÷ board length, rounded up), then added to the field board count from this calculator.
A reasonable rule of thumb: add 10-15% on top of whatever straight or diagonal waste figure this calculator already shows, to account for the extra border-meeting cuts — treat it as a planning buffer, not a precise number, since the real waste depends on your specific border width and corner detailing.
Common mistakes
Frequently asked questions
How many deck boards do I need for a 12×16 deck?
It depends on your board width, length, and gap — use the calculator above with your specifics. As a reference point, a 12×16 (192 sq ft) deck using standard 5.5" boards at 12ft lengths with a small gap and 10% waste typically needs somewhere in the mid-40s in board count.
What size gap should I leave between deck boards?
1/8" to 1/4" is typical, but it depends on your lumber's moisture condition — see the wet vs. dry section above. Composite decking should always follow the manufacturer's specific spacing chart rather than a generic wood-lumber assumption.
Why does diagonal decking need more boards?
A 45° layout increases the actual linear footage of board needed to cover the same floor area by a factor of about 1.414 (the square root of 2), and creates triangular end-cut waste on every board — both effects are built into this calculator's diagonal option.
Does this calculator include joists, framing, or fasteners?
No — this covers surface decking boards only. Joist spacing (commonly 16" on center) determines the structural frame underneath, and doesn't meaningfully change how much decking material you need for the surface itself. For footings and posts, the Concrete Calculator covers that separately.
What's the difference between 5/4 decking and 2x lumber?
5/4 boards are specifically milled for decking — thick enough for standard joist spans but lighter and less expensive than full 2x lumber. Both come in the same standard widths (3.5", 5.5", 7.25" actual), so this calculator applies to either.
Should I round up or down when the calculator gives a fraction?
Always round up — you can't buy a fraction of a board, and this calculator already rounds the final figure up for you. Buying the exact rounded number leaves no room for cutting mistakes or damaged boards found after delivery.
Does composite decking use the same formula as wood?
Yes, the area-based formula applies the same way — just enter your composite board's actual width and the manufacturer's specified gap, which is often narrower than typical wood spacing since composite doesn't shrink the way wet lumber does.
Sources
- Core formula and worked example. Cross-verified against multiple industry decking calculators' published methodology and worked examples (Inch Calculator, ConstructlyTools, InvoiceMama), independently tested in Node.js.
- Wet vs. dry lumber gap guidance. TimberTech, How to Calculate How Much Decking You Need.
- Nominal vs. actual lumber dimensions. Standard U.S. softwood lumber industry sizing convention.
Related calculators
See the full list of Construction calculators, or try: