Skip to content
EveryFix

How many deck boards do I need?

Guide⏱ 8 min readUpdated 2026-10-28

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.

What dimensions to enter: framing, overhang, and fascia

The calculator needs the size of the decked surface, and that is not always the size of the frame. Boards usually overhang the outer joist or rim by an inch or so, and some builders wrap the edges with a fascia board that sits against the rim and covers the board ends. Measure from where the first board starts to where the last one ends, after deciding on both details.

The effect is usually small. Say the frame is 11 ft 10 in wide, and the boards overhang the open edge by 1 inch, so the surface is 11 ft 11 in, or 143 inches. Then 143 / 5.625 = 25.4 rows, which still rounds to 26, and the board count for a 16 ft run stays at 39. That would change only if the division landed near a whole number, so test it when your width is close to a boundary.

If a fascia board wraps the edge, it is not part of the field of decking and should be counted separately. The same is true for stair treads, a border or a breaker board, which are best added after the main field. Keeping those items as separate lines makes mistakes easier to spot.

Choosing a board length: the 16 by 12 deck compared

The same deck, 26 rows of 16 ft, gives different board counts depending on the length you buy, as the calculator shows with 10 percent waste. Eight-foot boards need 58, ten-foot need 46, twelve-foot need 39, sixteen-foot need 29, and twenty-foot need 23. Multiply by length and the purchase is 464 linear feet in eights, 460 in tens, 468 in twelves, and 464 in sixteens. On paper they all look alike.

The calculator's linear arithmetic assumes every offcut finds a use, and that fails at the extremes. A twenty-foot board cut to a 16 ft run leaves a 4 ft piece, and 26 rows need 26 boards, not 23, unless you find 4 ft jobs for the offcuts. That is 520 linear feet in practice. Eight-foot boards need a butt joint in every row, 26 joints in total, each needing a joist to land on.

Sixteen-foot boards are the clean fit here, with no joints, and 26 boards plus waste gives the 29 shown. The general rule is to select the length that makes the run a whole number of boards or leaves an offcut you can use, such as 4 ft pieces for a stair or border. Longer boards are also harder to carry, straighten and store, and they often cost more per foot, so check the local price list.

Joist spacing and diagonal layouts

Boards span between joists, so the board thickness and the layout set the allowed spacing. In the International Residential Code, 5/4 wood decking is generally limited to joists 16 inches on center when laid square to the joists, and 12 inches when laid diagonally. Composite and PVC boards have their own limits, often closer, and the manufacturer's instructions control.

For the 16 ft deck whose joists run across the 12 ft width, 16 inch spacing needs 192 / 16 + 1 = 13 joists. A diagonal layout at 12 inch spacing needs 192 / 12 + 1 = 17, so four more joists and more framing hardware.

Diagonal boards also waste more because every end is cut at an angle. The area is the same, so the surface needs about 192 / 0.46875 = 409.6 linear feet, but with 15 percent waste the calculator suggests 40 boards, and at 20 percent it shows 42. Use the higher figure on a deck with several corners or stairs. The extra labor and material are the price of the look.

Counting screws and hidden clips

Fasteners follow the crossings, where a board passes over a joist. On the 16 ft deck, each of the 26 rows crosses 13 joists, so there are 26 x 13 = 338 crossings. Face-screwing takes two screws per crossing, 676 in total, or 744 with 10 percent extra for dropped, stripped or snapped screws. A hidden clip system uses one clip per crossing, so 338 clips, plus the screws that secure each clip, and the starting and ending boards are face-screwed.

Clip systems have their own gap, which is set by the clip's design. Enter that gap into the calculator when it differs from 1/8 inch, and check the row count again, since a narrower gap can push you from 26 to 27 rows, as the no-gap case did. Follow the screw type the board maker specifies, since the correct coating and head differ between wood, treated lumber and composite.

Stairs and other small additions

Stair treads are best counted separately. Typical practice for a deck stair is two boards per tread, which gives 5.5 + 0.125 + 5.5 = 11.125 inches of depth. The International Residential Code asks for a minimum tread depth of 10 inches and a maximum riser height of 7-3/4 inches, so the two-board tread works. Confirm local rules, since some jurisdictions differ.

For a stair 4 ft wide with four treads, you need eight pieces of 4 ft, which is 32 linear feet. In the calculator, enter a length of 4 ft and a width of 44.5 inches (4 x 11.125, or 3.708 ft), and you get 8 rows, 32 linear feet and 3 boards of 12 ft. The by-hand count agrees: a 12 ft board yields three 4 ft pieces, and 8 / 3 = 2.67 rounds to 3, leaving one spare piece. With 8 ft boards, each yields two pieces, so you need 4 boards.

Risers, if you close the stair, are extra pieces of decking or trim. Each is as wide as the stair, so a 4 ft stair with four closed risers adds at least four more 4 ft pieces to the order.

A second method to cross-check the count

Count rows first and then boards, as the guide does, and verify with an area method. A 12 ft board covers 12 ft x 5.625 in, which is 12 x 5.625 / 12 = 5.625 sq ft with its gap. The 192 sq ft deck then needs 192 / 5.625 = 34.13 boards, or 37.5 with 10 percent waste, so 38.

The calculator gives 39. The difference is the rounding on rows: 25.6 rows becomes 26 full rows, so the narrow last row is counted as a full row of boards, which you do have to buy even if you rip the last one down. Neither number is wrong. Where the area method lands within a board or two of the row method, your inputs are probably consistent. If they differ by many boards, look for a typo in a length or width, or a swapped dimension.

Bring a spare board or two from the same lot. Composite and wood both vary in color between production runs, and a replacement bought years later rarely matches. Let wood and composite acclimate on site before installing, and follow the manufacturer's end-gap guidance, which for composite depends on the temperature during installation because the material expands and contracts with heat.

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.

What length of deck board wastes the least?+

The one that divides evenly into your run, or leaves offcuts you can use. For a 16 ft run, sixteen-foot boards avoid butt joints and need only the waste allowance. A twenty-foot board leaves a 4 ft piece per row, so the calculator's total understates what you must buy unless you use those offcuts for stairs or borders.

How far apart should deck joists be?+

Under the International Residential Code, 5/4 wood decking is generally limited to joists 16 inches on center when laid square, and 12 inches when laid diagonally. Composite and PVC products have their own limits, often tighter. The manufacturer's instructions govern, and your local building department may add rules.

How many screws do I need for a deck?+

Count the crossings, which is rows times joists, and use two face screws per crossing, or one clip per crossing for a hidden system. A 16 by 12 ft deck has 26 rows over 13 joists, or 338 crossings, so 676 screws before any allowance. Buy about 10 percent extra, and use the screw type the board manufacturer specifies.

Does a diagonal deck layout need more boards?+

Yes. The area is unchanged, but each board end is cut at an angle and the offcuts are less reusable, so a diagonal layout generally needs a waste allowance of 15 to 20 percent rather than 10. The joists also need to be closer, about 12 inches on center for 5/4 wood decking, which adds framing.

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