Estimate only: check quantities with your supplier before you buy.
How it works
The boards run along the deck's length, and the rows stack up across its width.
Rows = deck width (ft) × 12 ÷ (board width + gap), rounded up.
Boards per row = deck length ÷ board length, rounded up.
Boards = rows × boards per row, plus the extra you choose, rounded up.
Use the actual board width, not the nominal size: a "6 inch" deck board is 5½ inches wide. For composite decking, use the width and gap from the manufacturer's install guide.
Worked example
A 16 × 12 ft deck with boards running the 16 ft way, 5½ in boards, 3/16 in gaps, 16 ft boards:
- Rows: 144 ÷ (5.5 + 0.1875) = 25.3, so 26 rows
- Boards per row: 16 ÷ 16 = 1
- Boards: 26 × 1 = 26, plus 5% = 27.3, so 28 boards
Choosing board lengths
When the deck is longer than your boards, the ends have to meet over a joist, so plan the joints before you buy. Lengths that divide the deck neatly waste less: a 20 ft deck is two 10 ft boards per row with no offcut, while 12 ft boards would leave 4 ft of scrap on every row.
What's not included
This counts surface boards only. Framing, joist size and spacing, footings, ledger attachment, railings and stairs are structural and safety items set by your local building code: get them checked by your building department or a qualified professional.
Assumptions and sources
Every number the calculator assumes is listed here, with where it comes from. Where a value varies from product to product, you can change it in the calculator.
| Assumption | Value used | Source and notes |
|---|---|---|
| Board width | 5½ in (nominal 6 in) | NIST PS 20-25, American Softwood Lumber Standard (Table 3). Composite boards vary: check the product. |
| Gap between boards | 3/16 in | Trex: How to space deck boards. Trex's width-to-width gap for its composite boards. Wood and other brands differ: follow your product's guide. |
| Extra boards | 5% | No published source. No official figure found; this is our default. Change it to suit your job. |
Frequently asked questions
How many deck boards do I need for a 12 × 12 deck?
With 5½ in boards and 3/16 in gaps: 144 ÷ 5.6875 = 25.3, so 26 rows of 12 ft boards, or 28 boards with 5% extra.
What size gap should deck boards have?
Follow the decking manufacturer. Trex recommends 3/16 inch between the long sides of its composite boards, and 1/8 to 3/16 inch end to end depending on the temperature when you install.
How wide is a 5/4 × 6 deck board really?
About 5½ inches wide. Nominal lumber sizes are larger than the real ones: a nominal 6 inch board is 5½ inches wide when dry, per the American Softwood Lumber Standard.
Does it calculate joists?
No. Joist size, spacing and span are structural and depend on your lumber, loads and local code. Ask your building department or a deck professional.