This calculator works out how many deck boards you need to buy for a rectangular deck. You enter the deck length and width, the board length and width, and the gap you plan to leave between boards, and it returns the number of boards required, plus a recommended total including waste. It handles both feet and inches, and lets you account for the fact that boards rarely span the full deck length in one piece.
Formula
The calculator uses two main calculations: how many rows of boards you need across the width, and how many boards you need in each row along the length.
Rows across the width:
Rows = ⌈ (Deck Width in inches) / (Board Width in inches + Gap in inches) ⌉
Boards per row along the length:
Boards per Row = ⌈ (Deck Length in inches) / (Board Length in inches) ⌉
Total boards before waste:
Total = Rows × Boards per Row
With waste allowance:
Final Total = ⌈ Total × (1 + Waste % / 100) ⌉
Where ⌈ ⌉ means round up to the next whole number, because you can’t buy a fraction of a board.
Worked Example
Using the default values: deck length 20 ft, deck width 12 ft, board length 12 ft, board width 5.5 in, gap 0.125 in, waste 10%.
Step 1: Convert deck width to inches.
12 ft × 12 = 144 in
Step 2: Calculate rows across width.
144 / (5.5 + 0.125) = 144 / 5.625 = 25.6 → round up to 26 rows
Step 3: Convert deck length to inches.
20 ft × 12 = 240 in
Step 4: Calculate boards per row.
240 / (12 × 12) = 240 / 144 = 1.667 → round up to 2 boards per row
Step 5: Total before waste.
26 × 2 = 52 boards
Step 6: Add 10% waste.
52 × 1.10 = 57.2 → round up to 58 boards
The calculator shows 58 boards, 26 rows, 2 boards per row, and a deck area of 240 ft².
When to Use This Calculator
Use this calculator when you are planning a new deck, replacing deck boards, or estimating materials for a quote. It works for any rectangular deck surface, including ground-level platforms and elevated decks, as long as the boards are laid in straight parallel rows. If you are installing boards diagonally (at 45 degrees), you will need more boards – typically about 15–20% more than straight-laid. This calculator does not handle diagonal layouts, but you can adjust the waste percentage to account for extra cutting.
The result tells you the minimum number of boards to buy. It assumes you can use offcuts to fill partial spaces at the ends of rows, which is standard practice. The waste allowance covers cutting errors, warped boards, and the fact that you often need a few extra for future repairs.
Common Mistakes
- Mixing units: The deck length and width are in feet, but the board width and gap are in inches. If you enter feet where inches are expected, you will get wildly wrong numbers. Always double-check the unit labels.
- Forgetting the gap: Deck boards are rarely installed with zero gap. Even if you plan to butt them tightly, most composite boards expand, so a small gap is recommended. If you forget the gap, you will overestimate the number of boards.
- Not rounding up: You cannot buy 1.5 boards. Always round up to the next whole number. The calculator does this automatically, but if you calculate manually, remember to round up.
- Ignoring waste: A 10% waste is typical for straight layouts, but if your deck has many angles, notches, or you are using a pattern, increase the waste to 15–20%.
- Assuming boards span the full length: If your deck is longer than your board length, you will need multiple boards per row. The calculator handles this, but many people forget to account for it.
Tips
- Measure your deck in multiple places – decks are not always perfectly rectangular. Use the longest measurement for length and width to be safe.
- Buy all your boards at once from the same batch to minimize color variation, especially for wood decks.
- If you are using composite decking, check the manufacturer’s recommended gap – it can be larger than 1/8 inch for some products.
- Consider the direction of the boards: if you lay them perpendicular to the house, the length of the deck is the length of the rows. Make sure you know which dimension is your “length� and which is “width� before entering numbers.
- For a more accurate estimate, sketch your deck and plan where the boards will start and end. This helps you see where offcuts can be reused.
- If you are using boards with a grooved edge for hidden fasteners, the actual coverage width may be slightly less than the nominal width – check the product spec.
Troubleshooting
Result seems too high or too low: First, check your inputs. Did you enter the deck width in feet but the board width in inches? Did you include the gap? Did you set the waste percentage correctly? If the numbers look right, try changing the board length – if you use longer boards, you will need fewer per row, but they may be more expensive.
Calculator shows “Cannot compute�: This happens if the board width plus gap is zero or negative, or if the deck dimensions are zero. Make sure all inputs are positive numbers. The calculator has minimums built in, but if you see this error, reset the values to the defaults.
Rows are not whole numbers: The calculator rounds up rows, but if you get a number like 25.6, that means your last row will be narrower than the others. That’s normal – you can rip the last board to fit, or adjust the gap slightly to make it even.
You have a non-rectangular deck: This calculator only works for rectangles. For L-shaped or irregular decks, break the deck into rectangles, calculate each separately, and add the totals. Include extra waste for the cuts.
Boards are not all the same length: If you have some 12-ft and some 16-ft boards, calculate using the average length, or better, plan the layout and count manually. The calculator assumes one consistent board length.
Frequently Asked Questions
Q: How much waste should I add for a deck?
A: For a straight rectangular deck, 10% is typical. For diagonal layouts or decks with many cuts, use 15–20%. It’s always better to have a few extra boards than to run out mid-project.
Q: What is the standard gap between deck boards?
A: For wood, 1/8 inch (0.125 in) is common. For composite, manufacturers often recommend 1/4 inch (0.25 in) to allow for expansion. Check the product guide for your specific board.
Q: Can I use this calculator for composite decking?
A: Yes, as long as you enter the actual board width and the recommended gap. Composite boards often have a wider nominal width (e.g., 5.5 in actual vs 6 in nominal), so measure the actual board.
Q: What if my deck is not a perfect rectangle?
A: Break it into rectangular sections, calculate each with the calculator, and add the totals. Add a bit more waste for the extra cuts.
Q: Should I buy extra boards for future repairs?
A: It’s a good idea to keep 1–2 boards in storage, especially for wood decks, because matching color later can be hard. The waste allowance usually covers this, but you can increase it if you want spares.
Q: How do I calculate boards for a diagonal deck?
A: Diagonal layouts require about 15–20% more boards. You can use this calculator with a higher waste percentage (e.g., 20–25%) to get a rough estimate, but the exact number depends on the angle and the deck dimensions.
Related
Formula used
in dl | Deck length | ft | 20 | 1 | 1000 in dw | Deck width | ft | 12 | 1 | 1000 in bl | Board length | ft | 12 | 1 | 20 in bw | Board width | in | 5.5 | 1 | 12 in gap | Gap between boards | in | 0.125 | 0 | 1 in waste | Waste allowance | % | 10 | 0 | 50 out boards | Boards needed | boards | ceil(round((dw * 12) / (bw + gap), 6) * ceil(round((dl * 12) / (bl * 12), 6)) * (1 + waste / 100)) | 0 out rows | Rows of boards | rows | ceil(round((dw * 12) / (bw + gap), 6)) | 0 out per_row | Boards per row | boards | ceil(round((dl * 12) / (bl * 12), 6)) | 0 out area | Deck area | ft² | dl * dw | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More in this bed
- Calculate Lumber Requirements for a Fence14
- How to Calculate Deck Paint Needed300.0 sq ft
- Wood Fence to Vinyl: Conversion Guide
- How to Turn a Wood Fence Panel into a Gate
- Mass Retirement Board Calculator: How It Works18,000 $
- Wood Defender Stain Calculator: How Much Do You Need?10.00 gal