ThisCalculator

Construction

Deck Flooring Calculator: How Much Material Do You Need?

Updated · Standard formula, shown below

Number of boards 22 boards
Total deck area
120.00 sq ft
Result
Add 10% waste
132.00 sq ft
Result
Deck length
12 ft
You entered

Deck Flooring Calculator: How Much Material Do You Need?

This deck flooring calculator works out how many deck boards you need for a rectangular deck, including the total board area and the number of boards required based on the board width and the gap you leave between boards. You enter the deck length and width, the board width, the gap between boards, and the board length (or you can use a standard 12-foot board), and it returns the number of boards and the total area of decking. It also accounts for the spacing gap, which many people forget, so you don’t under-order.

Formula

The calculator uses two simple steps:

  • Boards across the width: Divide the deck width (in inches) by the board width plus the gap (both in inches). Round up to the nearest whole board because you can’t buy a fraction of a board.
  • Rows along the length: Divide the deck length by the board length. Round up as well.

Then multiply the two rounded numbers to get the total number of boards. In symbols:

Number of boards = ⌈(W × 12) / (BW + G)⌉ × ⌈L / BL⌉

Where:

  • W = deck width (ft)
  • BW = board width (in)
  • G = gap between boards (in)
  • L = deck length (ft)
  • BL = board length (ft)

The total deck area is simply length × width. The “add 10% waste� output gives you a practical ordering number that accounts for cuts, mistakes, and defects.

Worked Example

Using the default values from the calculator: deck length 12 ft, deck width 10 ft, board width 5.5 in, gap 0.125 in, board length 12 ft.

  1. Convert deck width to inches: 10 ft × 12 = 120 in.
  2. Add board width and gap: 5.5 + 0.125 = 5.625 in.
  3. Boards across: 120 / 5.625 = 21.33 → round up to 22 boards.
  4. Rows along length: 12 ft / 12 ft = 1 → 1 row.
  5. Total boards: 22 × 1 = 22 boards.

The calculator shows 22 boards, total deck area 120 sq ft, and with 10% waste, 132 sq ft. That matches the hand calculation.

When to Use This Calculator

Use this tool when you are planning a new deck or replacing the flooring on an existing one. It works for any rectangular deck, whether it’s attached to a house or freestanding. It’s also useful for estimating material costs: once you know the number of boards, multiply by the price per board at your local lumberyard. For non-rectangular decks (L-shaped, curved, or multi-level), treat each rectangular section separately and add the results.

This calculator is meant for straight-laid deck boards (boards running parallel to one side). If you plan to install boards diagonally (45°) or in a herringbone pattern, you’ll need more material—typically 15–20% extra—because of the extra cuts and waste.

How to Choose Your Board Width and Gap

Deck boards come in standard widths, typically 4, 5.5, or 6 inches (actual dimensions). The most common is 5.5 inches (a 2×6 board). The gap between boards is critical for drainage and air circulation. Most building codes recommend a gap of 1/8 inch (0.125 in) for composite decking and 1/4 inch (0.25 in) for wood. If you use a wider gap, you’ll need fewer boards, but the deck may feel less solid and small items could fall through.

Board length matters too. Standard deck boards come in 8, 10, 12, 16, or 20 feet. If your deck is longer than the board length, you’ll need to stagger the joints, which adds waste. The calculator assumes you can use full boards with no offcuts, but in reality you’ll lose some material to cutting. That’s why the 10% waste output is useful.

Common Mistakes and How to Avoid Them

  • Mixing units: Deck length and width are in feet, but board width and gap are in inches. The calculator handles the conversion, but if you do it by hand, always convert everything to the same unit first.
  • Forgetting the gap: Many people simply divide deck width by board width, ignoring the gap. That gives a lower board count than you actually need. For a 10-ft wide deck with 5.5-in boards, the gap adds about 2% more boards—small but enough to cause a shortage.
  • Not rounding up: You can’t buy a third of a board. Always round up to the next whole number.
  • Ignoring waste: Cuts at the ends, damaged boards, and mistakes can easily eat up 5–10% of your material. The 10% waste figure is a safe rule of thumb.

Limits of the Formula

This calculator gives a theoretical minimum number of boards for a perfect rectangular deck. It doesn’t account for:

  • Staggered joints (if your deck is longer than the board length, you’ll need to cut some boards, creating offcuts that may not be usable).
  • Diagonal or patterned layouts (require more material).
  • Rim joists, fascia boards, or skirting (these are separate materials).
  • Fasteners, hidden clips, or adhesive (not included in board count).

For a real-world order, always add 10–15% extra to the calculated number, especially if you’re using wood, which can have knots or warping. Composite decking is more uniform, but you still need waste for cuts.

Comparison: Wood vs. Composite Decking

Your choice of material affects the calculator’s inputs. Wood deck boards (pressure-treated pine, cedar, redwood) typically come in 5.5-in width and require a 1/4-in gap for expansion. Composite boards (made of wood fibers and plastic) are often 5.5 or 6 in wide and need a 1/8-in gap. Composite is more expensive per board but lasts longer and requires less maintenance. Wood is cheaper upfront but needs staining or sealing every few years. The calculator works the same for both—just adjust the board width and gap to match the product you’re using.

Safety and Building Codes

Before you order materials, check your local building codes. Many jurisdictions require a permit for decks over a certain height (often 30 inches above grade). Codes also specify joist spacing (usually 16 or 24 inches on center) and the maximum span for deck boards. The gap between boards is sometimes regulated to prevent moisture buildup and rot. Always follow your local codes—they exist for safety, not just for show.

When working on the deck, wear safety glasses, gloves, and a dust mask when cutting wood. Use a circular saw with a sharp blade, and be careful with power tools. If you’re not comfortable with the structural aspects (footings, joists, railings), hire a professional. This calculator only helps with the flooring material—not the structure beneath it.

Frequently Asked Questions

How much extra decking should I buy?

Add 10% to the calculated number of boards to cover cuts, mistakes, and defective boards. For diagonal installations, add 15–20%. It’s better to have a few extra boards than to run out mid-project and have to wait for a delivery.

What if my deck is not a perfect rectangle?

Break it into rectangular sections, calculate each separately, and add the results. For L-shaped decks, treat each “arm� as its own rectangle. For curved or angled decks, you’ll need to draw a plan and measure carefully—this calculator won’t handle those accurately.

Does the gap between boards really matter?

Yes. A gap of 1/8 inch is standard for composite, 1/4 inch for wood. The gap allows water to drain and air to circulate, preventing rot and warping. If you set boards too tight, they can buckle when they expand in humid weather.

Can I use this calculator for a second-story deck?

Yes, the flooring calculation is the same regardless of height. However, for a second-story deck, safety is critical: you must follow local codes for railings, joist spacing, and footings. The calculator only estimates deck boards, not the structural supports.

What is the most common deck board size?

The most common is a 5.5-inch wide board, which is the actual width of a 2×6. Many composite boards are also 5.5 inches. Some 6-inch wide boards are available, but they are less common. Always measure the actual board width, not the nominal size (a 2×6 is actually 1.5 in thick and 5.5 in wide).

Related

Formula used
in l | Deck length | ft | 12 | 0
in w | Deck width | ft | 10 | 0
in bw | Board width | in | 5.5 | 0
in gap | Gap between boards | in | 0.125 | 0
in bl | Board length | ft | 12 | 0
out boards | Number of boards | boards | ceil((w * 12) / (bw + gap)) * ceil(l / bl) | 0
out area | Total deck area | sq ft | l * w | 2
out waste | Add 10% waste | sq ft | (l * w) * 1.1 | 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.