Deck Board Calculator

Boards needed26
Total linear feet416 ft
Deck area192 ft²
Width actually covered12.46 ft
How this was calculated
  1. Each board covers its own width plus one gap: 5.5 + 0.25 = 5.75 inches of deck width. The deck is 12 ft = 144 inches wide, so 144 ÷ 5.75 = 25.04 — round up to 26 boards.
  2. With every board running the full 16 ft length, that is 26 × 16 = 416 linear feet of decking to buy. Add a couple of spare boards for the inevitable split or miscut — lumber yards let you return unopened extras more easily than they forgive a mid-job shortage.
  3. Nominal sizes lie: a '6-inch' deck board is really 5.5 inches wide, which is the figure to enter here. Gaps of ¼ inch suit most lumber; freshly pressure-treated boards shrink as they dry, so many builders butt them tight and let the gap open itself.

A deck board calculator tells you how many boards you need to build your deck and how many linear feet or metres of decking to buy. You enter your deck size, board length, board width, and the gap between boards, and the calculator returns a board count and a total length. For example, a 16 x 12 ft deck using 12 ft boards with an actual width of 5.5 in and a 0.25 in gap requires 26 boards, or 312 linear feet of decking. A 20 x 10 ft deck with 10 ft boards and a 0.125 in gap needs 21 boards, or 420 linear feet. In metric, a 4 x 3 m deck with 3 m boards that are 140 mm wide with a 6 mm gap requires 26 boards, or 78 linear metres.

This calculator uses the accepted standard method: it calculates row pitch as the actual board width plus the gap, then divides the deck dimension by that pitch to find the number of boards. A nominal 6-inch deck board is actually 5.5 inches wide, so the calculator relies on actual dimensions rather than nominal sizes. Gaps of 1/8 to 1/4 inch drain water and allow for expansion, while freshly treated wet boards are often laid tight because they shrink as they dry. The calculator also assumes boards span the deck in single lengths where possible, since every butt joint needs support and doubles the fasteners at that point. This page shows the formula, step-by-step workings, worked examples, and sources.

Worked examples

A 16 by 12 ft deck with standard 5.5-inch boards

Each board covers 5.75 inches of width with its gap: 26 boards, 416 linear feet of decking. (16 ft · 12 ft · 5.5 in · 0.25 in)

Boards needed26
Total linear feet416 ft
Deck area192 ft²
Width actually covered12.46 ft

A 20 by 10 ft deck, same boards

21 boards — but each is longer, so the order is 420 linear feet. (20 ft · 10 ft · 5.5 in · 0.25 in)

Boards needed21
Total linear feet420 ft
Deck area200 ft²
Width actually covered10.06 ft

A small 12 by 8 ft deck with narrow 3.5-inch boards

Narrow boards multiply fast: 26 boards and 312 linear feet for under 100 ft². (12 ft · 8 ft · 3.5 in · 0.25 in)

Boards needed26
Total linear feet312 ft
Deck area96 ft²
Width actually covered8.13 ft

Pitch is what counts: board plus gap

The most common mistake people make when estimating decking materials is counting boards by their nominal width instead of their actual width. A board sold as a 6-inch board is really 5.5 inches wide. When you add the gap between boards, the row pitch — the distance from the center of one board to the center of the next — is the actual width plus the gap, which is what this deck board calculator uses. Ignore this and your count will come up one board short.

Gaps matter because decks live outside. A gap of 1/8 to 1/4 inch lets water drain and gives the boards room to expand with humidity changes. Freshly treated lumber is an exception: wet when it leaves the mill, these boards are often laid tight because they shrink as they dry. Either way, the gap is part of the coverage calculation, not an afterthought.

The examples show why this matters. A 16 x 12 ft deck using 12 ft boards with a 5.5 in actual width and a 0.25 in gap needs 26 boards — 312 linear feet of decking. A 20 x 10 ft deck with 10 ft boards and a 0.125 in gap needs 21 boards — 420 linear feet. And a 4 x 3 m deck with 3 m boards that are 140 mm wide with a 6 mm gap needs 26 boards — 78 linear metres. In each case the row pitch, not the board width alone, determines the count.

Board length is the other factor. Boards should span the deck in single lengths where possible. Every butt joint needs support underneath and doubles the fasteners at that point, which adds cost and labor. The calculator accounts for this by favoring full-length boards and only adding joints when a single board cannot cover the deck's full span.

Worked examples: two imperial decks and a metric one

The best way to understand any deck board calculator is to see it work through real examples. The table below shows three verified decks — two in imperial dimensions and one in metric — using common board sizes and gap widths. Each example assumes the boards run in single lengths across the deck, which is the simplest and strongest layout.

A 16 x 12 ft deck built with 12 ft boards gives a clear picture of the math. The boards are nominal 6-inch lumber, but a nominal 6-inch deck board is actually 5.5 inches wide. Add a 0.25-inch gap and the row pitch becomes 5.75 inches. Divide the 12-foot deck depth by that pitch and you get 26 boards, which works out to 312 linear feet of decking. The second example shrinks the gap to 0.125 inch on a 20 x 10 ft deck with 10 ft boards. That tighter spacing still needs 21 boards and 420 linear feet of material.

The metric example follows the same logic. A 4 x 3 m deck using 3 m boards that are 140 mm wide with a 6 mm gap also requires 26 boards. The total material needed is 78 linear metres. The row pitch here is 146 mm — the actual board width plus the gap — and that is what this calculator uses for every deck, regardless of the unit system.

Two practical notes apply to all three examples. First, gaps of 1/8 to 1/4 inch drain water and allow for expansion. Freshly treated, wet boards are often laid tight because they shrink as they dry, so the gap you plan on paper may differ from what you set on site. Second, boards should span the deck in single lengths where possible. Every butt joint needs support and doubles the fasteners at that point, so single-length runs save both labor and hardware.

Deck sizeBoard lengthBoard widthGapBoards neededTotal material
16 x 12 ft12 ft5.5 in0.25 in26312 linear ft
20 x 10 ft10 ft5.5 in0.125 in21420 linear ft
4 x 3 m3 m140 mm6 mm2678 linear m

How to use this deck board calculator

To use this deck board calculator, you enter four basic measurements. First, input the deck length, which is the dimension that runs across the boards' run. Second, enter the deck width, which is the distance the boards must cover from one side to the other. Third, provide the board length and the actual width of your decking. Finally, enter the gap you plan to leave between boards. The calculator then returns the number of boards you need and the linear measure of lumber to order.

Be sure to use the actual width of the board, not the nominal size. A nominal 6-inch deck board is actually 5.5 inches wide. The row pitch is the actual width plus the gap, which is what this calculator uses. For the gap, a range of 1/8 to 1/4 inch is standard because it drains water and allows for expansion. However, freshly treated wet boards are often laid tight because they shrink as they dry. If your boards are wet from treatment, you may choose a smaller gap or none at all.

Boards should span the deck in single lengths where possible. Every butt joint needs support underneath, and a joint doubles the fasteners at that point. Fewer joints mean a stronger deck and a cleaner look, so the calculator favors full-length boards when your dimensions allow it.

To see how the math works, consider a 16 x 12 ft deck built with 12 ft boards that have an actual width of 5.5 inches and a 0.25 in gap. This deck board calculator returns 26 boards and 312 linear feet of decking. A 20 x 10 ft deck using 10 ft boards with a 0.125 in gap needs 21 boards, or 420 linear feet. In metric units, a 4 x 3 m deck with 3 m boards that are 140 mm wide with a 6 mm gap requires 26 boards and 78 linear metres of lumber.

Always confirm the actual dimensions of your boards before ordering. Nominal sizes differ from actual sizes, and the row pitch depends on the true width plus your chosen gap.

Choosing the gap

The gap between deck boards is a small number with outsized consequences. A gap that is too tight traps water, leaves debris, and gives no room for the boards to expand in heat and humidity. A gap that is too wide catches heels, lets seeds and leaf litter drop through, and can feel unstable underfoot. Most builders settle on a middle range: gaps of 1/8 to 1/4 inch drain water and allow for expansion without becoming a nuisance. A deck board calculator uses this gap, along with the actual board width, to figure out how many boards you need.

Board width and gap work together to set the row pitch — the distance from the center of one board to the center of the next. A nominal 6-inch deck board is actually 5.5 inches wide; the row pitch is the actual width plus the gap, which is what this calculator uses. That pitch drives the total board count. For example, a 16 x 12 ft deck with 12 ft boards (5.5 in actual width, 0.25 in gap) needs 26 boards — 312 linear feet of decking. Narrow the gap and you add boards; widen it and you subtract them, though only by small amounts on most decks.

Material condition at installation matters as much as the gap size itself. Freshly treated (wet) boards are often laid tight because they shrink as they dry, so a gap opens up on its own over the first weeks of weather. Dry lumber and composite boards, by contrast, are already at their stable size and should be gapped to the manufacturer's specification from the start. Composites in particular can expand along their length, so following the stated gap keeps the boards from buckling against each other or the house framing.

Board length and layout also influence the gap decision. Boards should span the deck in single lengths where possible — every butt joint needs support and doubles the fasteners at that point, which adds cost and creates a weak spot for water entry. On a 20 x 10 ft deck with 10 ft boards and a 0.125 in gap, the layout needs 21 boards — 420 linear feet. A tighter gap on that same deck would push the count slightly higher, while a wider gap would bring it down. A 4 x 3 m deck with 3 m boards (140 mm wide, 6 mm gap) needs 26 boards — 78 linear metres — showing how metric gaps translate into the same logic: pick the gap for drainage and movement, then let the math follow.

Wet treated lumber shrinks as it dries, so those boards go down tight. Dry lumber and composites get gapped to spec from day one.

Board direction and length strategy

A deck board calculator helps you plan the most efficient layout, and board direction is the first decision. Running boards along the longer dimension of the deck reduces the number of butt joints you need. On a 16 x 12 ft deck, 12 ft boards laid across the 16 ft length would force a joint in every row. Laid along the 12 ft dimension instead, each board spans the full width in a single piece. The same deck with 12 ft boards (5.5 in actual width, 0.25 in gap) needs 26 boards totaling 312 linear feet of decking. A 20 x 10 ft deck with 10 ft boards and a 0.125 in gap needs 21 boards totaling 420 linear feet — but only if the boards run along that 10 ft dimension so each one spans end to end.

Boards should span the deck in single lengths where possible. Every butt joint needs support underneath, and it doubles the fasteners at that point. A joint that lands between joists will sag or pop loose over time, so the framing has to be built around it. Single-length spans avoid that problem entirely, which is why matching board length to the deck's shorter dimension is usually the better strategy.

When joints are unavoidable — on a deck too long for any single board — stagger them rather than clustering them in one spot. A diagonal layout is the main exception to the single-length rule. Diagonal boards look striking, but they generate more waste because each board must be cut at an angle and the offcuts are often too short to reuse. Plan for extra material if you choose this pattern.

A nominal 6-inch deck board is actually 5.5 inches wide, and the row pitch is the actual width plus the gap — which is what this calculator uses. Gaps of 1/8 to 1/4 inch drain water and allow for expansion. Freshly treated (wet) boards are often laid tight because they shrink as they dry, so the gap you plan on paper may differ from what you set on site. In metric terms, a 4 x 3 m deck with 3 m boards (140 mm wide, 6 mm gap) needs 26 boards totaling 78 linear metres.

Ordering: a couple of spares, same batch

A deck board calculator gives you the minimum number of boards your project requires, but that number is not the number you should order. Every pack of decking contains at least a few warped, split, or otherwise unusable boards. If you order exactly what the math says, you will come up short when you cull the bad stock. Adding a couple of spares up front saves a second trip to the lumber yard and keeps your build on schedule.

When you sort through your delivery, take the time to select the straightest pieces for the main field of the deck. Look down the edge of each board and set aside anything with a noticeable crown, bow, or twist. Boards should span the deck in single lengths where possible, because every butt joint needs support and doubles the fasteners at that point. A crooked board forced into a joint only makes the problem worse, so save your best stock for those long runs and use the shorter or slightly off pieces for cutting filler boards near the house or stairs.

Keep at least one full spare board from the same batch for future repairs. Decking color and surface texture can vary between production runs, and a board that matches perfectly today may be impossible to find two years from now. Store it flat, off the ground, and out of direct sun so it stays straight and ready if you ever need to replace a damaged board. This is a small investment that pays off the first time a dropped tool or a grill mishap gouges a board beyond repair.

The same logic applies regardless of deck size. A 16 x 12 ft deck with 12 ft boards (5.5 in actual width, 0.25 in gap) needs 26 boards, but ordering 28 gives you two spares plus a buffer for culling. A 20 x 10 ft deck with 10 ft boards and a 0.125 in gap needs 21 boards, so ordering 23 covers the same bases. Even a 4 x 3 m deck with 3 m boards (140 mm wide, 6 mm gap) needs 26 boards, and the same two-board buffer applies.

FAQs

How many deck boards do I need for a 16 x 12 deck?

Using 12 ft boards with an actual width of 5.5 in and a 1/4 in gap, you need 26 boards. That totals 312 linear feet of decking. The calculator factors in the board length, actual width, and gap spacing to give you an accurate count for the deck dimensions you enter.

Why is a 6-inch deck board only 5.5 inches wide?

Nominal lumber sizes are named before planing and drying, so a nominal 2x6 deck board finishes at 5.5 inches wide. Coverage math must use the actual width, not the nominal size, because the installed board only covers its finished dimension plus the gap between boards.

What gap should I leave between deck boards?

Leave 1/8 to 1/4 inch between deck boards for drainage and expansion. Freshly treated boards that are still wet are often laid tight, as they shrink to a gap as they dry. The calculator lets you enter your specific gap so the board count reflects your planned spacing.

How do I calculate linear feet of decking?

Multiply the number of boards by the board length. For example, 21 boards of 10 ft equals 420 linear feet. This is the figure lumber yards price by, so the calculator reports linear feet alongside the board count to help you estimate your material cost accurately.

Should deck boards run lengthwise or widthwise?

Run boards whichever direction gives single-length spans with the fewest butt joints. The calculator's board length should match the direction the boards run, so enter the board length that spans the full distance across your deck without requiring a joint mid-run.

How many extra boards should I buy?

Buy a couple beyond the count to cover warped or split boards and future repairs. The calculator gives the true coverage count to add them to, so you know exactly how many boards the deck requires before adding your spare stock for waste and replacements.

Sources

Related calculators

Fence Post Calculator
Posts, sections, rails and concrete bags for a fence run — counting corner and gate posts properly, not just dividing the length.
Board Foot Calculator
Board feet from thickness, width and length — per board and for the whole stack — with the lumber cost at your yard's price per board foot.
Flooring Calculator
How many planks and boxes of laminate, vinyl or hardwood a room needs — plank coverage, a waste allowance for cuts, and box counts rounded the way stores sell them.
Concrete Calculator
Concrete volume for a slab in cubic yards and m³, plus exactly how many 60 lb and 80 lb pre-mix bags — with and without 10% waste.