Skip to content
EveryFix

How many deck boards do I need?

Guide⏱ 8 min readUpdated 2026-10-18

Short answer

Divide the deck width in inches by the board width plus the gap and round up to get the number of rows. Multiply the rows by the deck length for linear feet, divide by the board length, add a waste allowance, and round up. A 16 ft by 12 ft deck with 12 ft boards that are 5.5 inches wide, a 1/8 inch gap, and 10 percent waste has 26 rows, 416 linear feet, and needs 39 boards.

Open the free Deck Board Calculator

Deck boards needed

Rows = ceiling(deck width in / (board width + gap)); boards = ceiling(rows x deck length / board length x (1 + waste / 100))

  • •deck width is the dimension across the boards, in inches, found by multiplying feet by 12
  • •board width and gap are in inches (centimeters in metric mode)
  • •deck length is the direction the boards run, in feet
  • •board length is the length of one board, in feet
  • •waste is the allowance for cuts and defects, as a percentage, 10 percent by default

Count rows first, then boards

Decking is a repeating pattern: one board, one gap, one board, one gap, all the way across the deck. So the first job is to count how many rows of boards fit across the width. That row count is purely geometric. The second job is to turn rows into boards, which depends on how long the boards are and how much you expect to waste.

The Deck Board Calculator follows exactly this order. It assumes boards run along the deck's length, so the width is the direction you count rows across. If your boards will run the other way, swap the length and width you enter.

The formulas

Rows = deck width in inches / (board width + gap), rounded up. Linear feet = rows x deck length in feet. Boards = linear feet / board length x (1 + waste percentage / 100), rounded up.

Rounding the rows up is deliberate. If the answer is 25.6 rows, you need a 26th row, even if that last board gets ripped narrower to fit. Rounding the final board count up is also deliberate, because you can only buy whole boards. The waste allowance defaults to 10 percent, adjustable from 0 to 30.

Worked example: a 16 by 12 foot deck

Take a deck 16 ft long and 12 ft wide, which is 192 sq ft. The boards are 12 ft long and 5.5 inches wide (the usual actual width of a nominal 6-inch board), with a 1/8 inch (0.125) gap. The width is 12 x 12 = 144 inches. Each row uses 5.5 + 0.125 = 5.625 inches, so 144 / 5.625 = 25.6, which rounds up to 26 rows.

Linear feet are 26 x 16 = 416. Dividing by the 12 ft board length gives 416 / 12 = 34.67 boards. Adding 10 percent waste gives 34.67 x 1.10 = 38.13, which rounds up to 39 boards.

Notice what the 26th row really is. Twenty-five full boards with their gaps take 25 x 5.5 + 25 x 0.125 = 140.625 inches, which leaves 144 - 140.625 = 3.375 inches for the last board. A 3-3/8 inch strip along an edge looks odd, so many builders adjust the gap slightly or rip the first and last boards evenly. That is a design choice the calculator cannot make for you, but it does tell you how many boards you will need either way.

  • Rows: 144 / 5.625 = 25.6, rounded up to 26
  • Linear feet: 26 x 16 = 416 ft
  • Boards before waste: 416 / 12 = 34.67
  • With 10 percent waste: 34.67 x 1.10 = 38.13, rounded up to 39 boards
  • Last row: 144 - 140.625 = 3.375 in of board width

Why the gap changes the row count

The gap is small, but it adds up across a wide deck. On the 144 inch width, the row count changes with the gap like this: no gap gives 144 / 5.5 = 26.18, so 27 rows; a 1/16 inch gap gives 25.89, so 26; 1/8 inch gives 25.6, so 26; 3/16 inch gives 25.32, so 26; and 1/4 inch gives 25.04, so still 26.

The single case that stands out is no gap at all, which pushes the deck to 27 rows and 40 boards instead of 39. Rows are a step function: the gap matters only when it pushes the division across a whole number. This is why the exact width of your boards matters as much as the gap. With narrower 3.5 inch boards, the same 16 by 12 deck has 144 / 3.625 = 39.72, so 40 rows and 59 boards.

Board length, butt joints, and stagger

The tool converts total linear feet into boards by dividing by board length. That quietly assumes that the leftover pieces you cut get used somewhere else. It works well when the deck length is an even multiple of the board length, or when you buy boards as long as the deck. In the example, buying 16 ft boards gives 416 / 16 = 26 boards before waste and 29 with 10 percent, with no butt joints at all. Twelve-foot boards need joints, because a 16 ft run is one 12 ft board plus a 4 ft piece.

Butt joints should land over a joist, and joints in neighboring rows should be offset so they do not line up. With 12 ft boards on this deck, one board can supply three 4 ft end pieces: 12 / 4 = 3. So 26 rows need 26 full boards plus 26 / 3 = 8.67, so 9 boards for the end pieces, which totals 35 boards. That matches the tool's 34.67 before waste, rounded up to 35.

That is the best case. If offcuts cannot be reused because the joints would not land on joists, each row might need its own end piece, and the worst case is two boards per row, or 26 x 2 = 52 boards. The calculator's 39 (with waste) sits between those extremes. If your joist layout limits how offcuts can be reused, plan on more, or choose a board length that fits the deck length.

Gaps for drainage and wood movement

Gaps let water drain, let debris fall through, and give the boards room to move. The calculator defaults to 1/8 inch (0.3 cm in metric mode). The right gap depends on the material and conditions: for composite and plastic decking, follow the manufacturer's installation instructions, which specify the spacing for that product.

For wood, moisture is the issue. The USDA Forest Products Laboratory notes that wood is dimensionally stable above the fiber saturation point (about 28 percent moisture content) and shrinks as moisture is removed below it, and that air-dry wood sits at 12 to 15 percent. Wood moves most across its width and very little along its length: about 0.1 to 0.3 percent along the grain from green to oven-dry, which on a 12 ft (144 inch) board works out to roughly 0.14 to 0.43 inches over that full swing. So a board installed wet narrows as it dries and the gaps open up, while a board installed dry swells when it absorbs moisture and the gaps tighten. Match your gap to the lumber's moisture state and the product's instructions, not just a rule of thumb.

Whatever gap you choose, put that value into the calculator. As the previous section showed, a large change in gap can change the row count.

Choosing a waste factor

The 10 percent default covers end trims, defective boards, and cutting mistakes on a simple, straight layout. On the 416 linear feet from the example, the total boards at different waste levels are: 0 percent, 34.67 so 35 boards; 5 percent, 36.4 so 37; 10 percent, 38.13 so 39; and 15 percent, 39.87 so 40.

Diagonal layouts, picture-frame borders, curves, and many cuts around posts or stairs waste more, so use a higher figure for those. The waste factor only affects the boards-per-row conversion; it never changes the number of rows. And keep one or two spare boards after the job, because decking changes color with weathering and a future replacement may not match.

Metric example and common mistakes

Metric mode takes meters for the deck and board length, and centimeters for the board width and gap. A deck 4.9 m long and 3.7 m wide with 3.6 m boards that are 14 cm wide and a 0.3 cm gap: the width is 370 cm, each row is 14.3 cm, and 370 / 14.3 = 25.87, so 26 rows. That is 26 x 4.9 = about 127.4 m of decking, and 127.4 / 3.6 x 1.10 = 38.93, so 39 boards.

  • Entering nominal board width (6 inches) instead of actual width (5.5 inches).
  • Forgetting that boards running the other direction need length and width swapped.
  • Assuming leftover pieces are always reusable when joints must land on joists.
  • Ignoring the narrow last row when the division is just above a whole number.
  • Estimating the gap from a rule of thumb and not from your lumber or decking product's instructions.
  • Treating the board count as the whole job; framing, fasteners, and trim are separate.
Please note: This calculator provides estimates only and is not professional construction or engineering advice. Material needs vary by project, local building codes, and site conditions — consult a licensed contractor or engineer before starting your project.

Frequently Asked Questions

How do I calculate the number of deck boards?+

Divide the deck width in inches by the board width plus the gap and round up for the number of rows. Multiply by the deck length for linear feet, divide by the board length, add your waste allowance, and round up. A 16 ft by 12 ft deck with 12 ft boards, 5.5 inch width, 1/8 inch gap, and 10 percent waste needs 39 boards.

How much gap should I leave between deck boards?+

It depends on the material. For composite and plastic decking, use the gap in the manufacturer's installation instructions. For wood, the right gap also depends on how dry the lumber is when installed, because boards shrink as they dry and swell as they take on moisture. Many builders use about 1/8 inch as a starting point, which is the calculator's default.

How much waste should I allow for decking?+

The calculator defaults to 10 percent, a reasonable figure for a straight layout with few cuts. Diagonal patterns, picture-frame borders, and many obstructions waste more, so use a higher figure. The tool accepts 0 to 30 percent.

Do deck boards have to be staggered?+

When a single board does not span the deck, butt joints should be offset between neighboring rows and land over a joist. The calculator does not model that layout; it pools the total linear feet. For a deck longer than your boards, expect to use more than the pooled figure if offcuts cannot be reused.

Why is my deck 26 rows when 25.6 is not a whole number?+

You cannot lay 0.6 of a row, so the tool rounds up to 26. The last board is then ripped narrower to fit. In the 16 by 12 example the last board is about 3.375 inches wide, so many builders adjust the gap slightly or rip the first and last rows evenly.

What if my deck is not a rectangle?+

Split it into rectangles, run the calculator on each section with the board direction that section will use, and add the totals. Expect extra waste where boards are mitered or cut around corners. The result is an estimate, so confirm quantities with your supplier.

Skip the math

Enter your numbers and the Deck Board Calculator does the work for you — free, and it runs entirely in your browser.

Open the free Deck Board Calculator