Deck Flooring Calculator

Estimate the decking boards for a deck by board width, gap and stock length, plus the linear feet and the number of deck screws.

A 5/4×6 or 2×6 deck board is 5½ in. A 2×4 is 3½ in.

Result

Rows of boards—
Linear feet of boards—ft
Boards to buy (with waste)—boards
Deck screws (2 per joist)—screws

Decking boards are bought by length, not by area, and the number you need depends on three things: how many rows of boards fit across the deck, how long each row is, and how the board length fits that run. This calculator works those out from the deck dimensions, the board width and the gap, and also counts the deck screws.

How to use the deck flooring calculator

  1. Enter the deck length — the direction the boards run — and the deck width across the boards.
  2. Enter the actual board width and the gap between boards.
  3. Choose the stock length you will buy and the layout pattern, which sets the waste allowance.
  4. Enter the joist spacing for the screw count.

Deck flooring formula

Deck length Width Rows = ⌈ width ÷ (board width + gap) ⌉ Boards = ⌈ rows × length ÷ board length × (1 + waste) ⌉ dashed = joists calcmaple.com
Boards run across the joists in rows with a small gap; rows come from the deck width, and boards from each row's length.
Rows = ⌈ deck width ÷ (board width + gap) ⌉
Boards = ⌈ rows × (deck length ÷ board length) × (1 + waste) ⌉
Screws = rows × (joists crossed) × 2 × (1 + waste)

Each row adds one board width plus one gap to the width of the floor. Dividing the run by the board length tells you how many boards make up a row. If the board is longer than the run, the offcut counts as waste, which is why picking a board length that suits the deck saves money.

Worked example: a 12 × 16 ft deck with 5½ in boards

  1. Rows across 16 ft: 192 in ÷ (5.5 + 0.125) = 34.1, rounded up to 35 rows.
  2. Row length 12 ft; boards 16 ft long: each board covers 12/16 of a row, so 35 × 0.75 = 26.25 boards.
  3. With 10% waste: 29 boards (16 ft), or 420 linear feet before waste.
  4. Joists at 16 in cross the 12 ft run 10 times: 35 × 10 × 2 × 1.1 = 770 screws.

If you buy 12 ft boards instead, there is no offcut at all: 35 boards plus 10% waste for defects.

Boards for common decks (5½ in boards, 1/8 in gap, 16 ft stock, 10% waste)

DeckArea (sq ft)RowsLinear ftBoardsScrews
8 × 10 ft802217613339
10 × 12 ft1202626018458
12 × 12 ft1442631222572
12 × 16 ft1923542029770
16 × 20 ft32043688481230
20 × 24 ft480521040721831

Choosing the layout

  • Straight boards are the simplest and cheapest; 5% waste is enough.
  • Diagonal boards look dynamic and add 10–15% waste because of the angle cuts, and joists may need extra blocking.
  • Picture frame border adds a perimeter of boards around the field, which increases the board count and requires mitered corners.
  • Board ends should be staggered and meet over a joist.

Deck screws and fasteners

Use corrosion-resistant screws rated for your decking: stainless or coated for treated lumber and cedar, and the manufacturer’s own screws or hidden clips for composite. Pre-drill near the ends to prevent splitting. Hidden fastener systems use clips between boards and a different count: usually one clip per joist crossing, plus end screws.

Plan the framing with the Deck Calculator, the safety railing with the Baluster Calculator and the finish with the Deck Stain Calculator. To convert board length to area, try the Linear Feet to Square Feet Calculator; other floor types are estimated with the Flooring Calculator.

Frequently asked questions

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

With 5½ inch boards, a 1/8 inch gap and the boards running along the 12 ft side, the deck needs 35 rows. Using 16 ft boards (the 12 ft run is cut from each) and 10% waste, that is 29 boards.

How wide should the gap between deck boards be?

Wood boards are often laid with a gap of about 1/8 to 3/16 inch when dry, and pressure-treated boards that are wet may be butted tightly so they shrink to a gap. Composite boards have gap requirements in the manufacturer’s instructions.

How many screws do I need for decking?

Two screws per board at each joist crossing. For 16 inch joists that is about 3 screws per linear foot of board across, or roughly 350 screws per 100 sq ft of deck with 5½ inch boards. The calculator counts exactly.

How do I reduce waste?

Choose a board length that fits the deck length, or two boards that add to it. A 12 ft deck uses 12 ft boards with no offcut. Longer boards that need cutting create offcuts, which can be used at the edges.

Do boards need to end over a joist?

Yes. Butt joints have to land on a joist, with the two board ends each resting on part of it (usually a double joist or a blocking). Staggering the joints looks better and is stronger.

Related calculators

Last updated October 25, 2026. Found a problem with this calculator? Tell us.