Skip to content
Measure the Build logoMeasure the Build

Decking

Deck Board Calculator

Enter your deck's length and width, pick your board material, and get the quantity of deck boards and joists to buy — board width, board-to-board gap, and joist spacing preset to each material's spec, with the math shown. Optional board set-out even-spaces a layout across an exact width without a separate tool page.

This is the material takeoff — how much to order. For how far a joist may legally span and what size it has to be, use the deck joist span calculator.

ft
ft

Boards run the length; joists run across the width beneath them.

Board material
Board direction
in
in
in

Board-to-board gap is the space between decking faces. Joist spacing is framing under the boards — a different number for a different job.

Face width and board-to-board gap preset to each material’s spec — override them for your own layout. Picking a material or direction resets them to that spec’s default.

%

10% is the labeled trade starting point for offcuts and defects on a straight layout. Bump it toward 15% for a diagonal layout, where angled end cuts waste more.

You need

29 boards

16 ft · standard lumber

+ 13 joists

156 linear ft of joist stock

The working

Planning estimate only. Check the result against current product instructions, local requirements, and your own takeoff. See the calculator disclaimer.

Count the rows, then the joists

A takeoff for decking is two counts, not one: the boards you walk on, and the joists that hold them up. The boards go by rows. Figure how wide one board plus its gap really is, divide the deck's width by that to get the number of rows, then multiply by the deck's length to get the linear feet of decking. Convert to physical boards by dividing by the length of board you buy, and add for waste.

Joists are separate: they run under the boards, spaced 16 inches on center for a straight layout, and the count is the deck length divided by that spacing, plus one for the far end.

The single most common mistake is estimating from square footage and forgetting the gap. Boards have to breathe — a gap sheds water and gives the board room to move — so a nominal "6-inch" board is really 5½ inches wide, and with a 1/8-inch gap it eats 5.625 inches of your deck per row. Skip that and you'll come up a few rows short on anything but a tiny deck.

The second mistake is buying a board length that fights your deck: if your run is 17 feet and you buy 16-foot boards, every row needs a butt joint and a short filler, and every one of those joints has to land on a joist. Buy the longest board that spans your deck in one piece and the waste and the labor both drop.

Gap and brand change the divisor

Board width and board-to-board gap are the levers, and they differ by product — which is why this tool keeps a preset per material. Standard 5/4 and 2× lumber and Trex all run 5½ inches wide; the gap is where they split, since Trex's guidance sets a 1/4-inch gap while dry lumber is usually laid at 1/8 inch. A wider gap means fewer rows, so it genuinely moves the board count. That gap is not joist spacing: joists are the framing members under the boards, usually 16 inches on center (12 inches for many diagonal layouts).

Even set-out versus a fixed preferred gap

The default estimate rounds up rows at your preferred board-to-board gap. That answers “how many boards do I buy?” It does not force the last row to land flush on the far edge — leftover width shows up as a ripped board or a field tweak.

Board set-out is the other job: you already know the exact available width and want an even layout. Full boards at both edges redistributes leftover width into equal gaps. Full start / cut final keeps the preferred gap and rips the last board. Centered edges keeps the preferred gap and rips equal boards at both sides. None of those layouts is manufacturer approval — product installation instructions override calculated aesthetics, especially with hidden-fastener systems that set gap for you.

Worked example: a 12 ft (144 in) wide deck, 5½-inch face boards, preferred ⅛-inch gap. With set-out off, shopping math is 144 ÷ 5.625 → 26 rows. With set-out on and full boards at both edges, those 26 full rows fill the width with an actual even gap of 0.040 inch — 0.085 inch tighter than preferred. If your product needs at least ⅛ inch, that layout fails your minimum; switch to cut-final or centered edges (which hold ⅛ inch and rip the edges), widen the face assumption, or change the width. Material totals then follow the chosen piece count, not the shopping round-up alone.

Going diagonal changes two things at once: the joists tighten from 16 to 12 inches on center, adding framing, and the angled end cuts push waste from 10% toward 15%. Board length changes the count through butt joints, and picture-frame borders or a breaker board down the middle add boards this simple rectangle model doesn't — add those separately.

How the inputs become a buy count — dimensions, face width, gap, and waste — is walked through in How a Deck Board Calculator Actually Works. The Trex 1/4-inch vs 3/16-inch conflict, and why this tool uses the live page with worked math, is in How Many Deck Boards Do You Need.

This page counts boards, because that is how decking is bought. Framing lumber for the substructure is often quoted by volume instead, and board measure has a trap in it — a 2×8 is tallied on its nominal 2 by 8, not the 1½ × 7¼ you can measure. If your yard is quoting the joists and beams per board foot rather than per piece, run that side through the board foot calculator so the two takeoffs reconcile.

One thing this calculator deliberately doesn't do: size your joists or beams. How far a joist can span before it needs support is a structural question driven by lumber size, species, and load — that's the job of the IRC span tables or an engineer, not a board count. This tool tells you how many joists at a given spacing; it does not tell you whether a 2×8 is big enough to carry them.

Joist count walkthrough: How Many Deck Joists Do You Need. Board-width, gap, and joist-spacing presets come from each manufacturer’s published install guidance, cited below — not affiliated with Trex or TimberTech.

Sources

Grouped by manufacturer or publisher, then by document. Expand a group for the cited document, its verified-on date, and every value taken from it — all of it stays in the HTML either way.

TimberTech(2 documents, 2 values)
Trex(4 documents, 4 values)
Published standards(1 document, 1 value)
Trade conventions(3 documents, 3 values)

Frequently asked questions

How many deck boards do I need for a 12x16 deck?

For a 12 ft × 16 ft deck with 5½-inch boards run the 16-foot direction and a 1/8-inch gap, you need 26 rows, which is 416 linear feet. In 16-foot boards with 10% waste that is 29 boards, plus about 13 joists at 16 inches on center. Change the board length or gap and the count shifts, so run your own numbers above.

How do I calculate deck boards from square footage?

Square footage alone undercounts, because it ignores the gap between boards. A 5½-inch board plus a 1/8-inch gap actually occupies 5.625 inches of width, so you fit fewer rows than a bare area figure suggests. Divide the deck width by that per-board figure to get rows, multiply by the deck length for linear feet, then divide by your board length.

What is the gap between Trex deck boards?

Trex specifies a 1/4-inch side-to-side gap in its planning guidance, and its hidden-fastener clips set the spacing for you as you install. Note Trex is not fully consistent here — its installation guide and hidden-fastener spec cite 3/16 inch — so confirm against the instructions packed with your fasteners. This tool defaults the Trex preset to 1/4 inch and lets you override it.

How do I space deck boards evenly across a known width?

Turn on Board set-out in the calculator. Full boards at both edges redistributes the leftover width into equal board-to-board gaps. Cut-final keeps your preferred gap and rips the last board. Centered edges keeps the preferred gap and rips equal starter and finisher boards. Product install instructions override any calculated aesthetic gap — this is not manufacturer approval.

How far apart should deck joists be for composite decking?

For boards laid straight across the joists, 16 inches on center is the maximum for both Trex and TimberTech composite, matching the code figure for 5/4 wood decking. For a 45-degree diagonal layout, tighten to 12 inches on center. Some products differ — TimberTech Advanced PVC wants 12 inches even for straight runs — so check your specific board. That is the decking manufacturer’s requirement; how far the joist itself may span at that spacing is a separate code question, answered by the deck joist span calculator.

How much extra decking should I order for waste?

Ten percent over the net amount is the standard allowance for offcuts, defects, and the odd board you cut wrong. Go to about 15% for a diagonal or herringbone layout, where every board gets an angled end cut and the triangular pieces at the edges are mostly scrap. Ordering the longest boards that suit your deck also cuts waste by reducing butt joints.