How the deck calculator works
Rows of boards = deck width (in) ÷ (board width + gap), rounded up
Linear feet = rows × deck length
Boards = linear feet × (1 + waste) ÷ board length, rounded up
Joists = deck length (in) ÷ spacing + 1
Screws = rows × joists × 2
Worked example
A 16 by 12 foot deck with 5.5 inch boards and 1/8 inch gaps needs 26 rows (144 ÷ 5.625). That is 416 linear feet, or 29 boards of 16 feet with 10% extra. Joists 16 inches apart along 16 feet: 13 joists, 12 feet long. Screws: 26 × 13 × 2 = 676.
What this does not cover
Beams, posts, footings, the ledger board, railings and stairs carry the deck's load and are set by your local building code and span tables. Most areas require a permit for a deck. Use the stairs calculator for steps and the concrete calculator for footings.
Board choices
| Board | Actual width | Notes |
|---|---|---|
| 5/4x6 pressure-treated | 5.5 in | Most common, lowest cost |
| 2x6 pressure-treated | 5.5 in | Stiffer, heavier |
| Composite | About 5.5 in | Follow the maker's gap and joist spacing |
Tips
- Choose board length so joints land on joists and are staggered from row to row.
- Use screws rated for treated lumber or the composite brand you use.
Sources
The board gap, fastener and permit notes above are summarized from these pages. Deck codes vary by city and state, so confirm requirements with your building department before you build.
- Town of New Denmark, WI: residential deck construction guide (about 1/8 inch between boards, two screws or threaded nails per joist, corrosion-resistant fasteners for treated wood)
- STRUCTURE magazine: Residential Wood Deck Design by the American Wood Council (scope of the DCA 6 prescriptive deck guide)
- Journal of Light Construction: highlights from the American Wood Council's DCA 6 guide
- Trex: How to space deck boards, for composite side and end gaps
- TimberTech: composite installation guide (CONCEALoc clips), for gap limits by temperature
Common questions
How many deck boards do I need for a 12x16 deck?
With 5.5 inch boards and 1/8 inch gaps, 12 feet of width needs 26 rows. Running 16 foot boards along the 16 foot side, that is 26 boards, or 29 with 10% extra.
How far apart should deck joists be?
16 inches on center is standard for wood decking laid straight. Diagonal decking and many composite boards need 12 inches. Always check the board maker's instructions.
How many screws do I need for a deck?
Two screws per board at every joist. A 16 by 12 deck with 13 joists and 26 rows needs about 676 screws.
What gap should I leave between deck boards?
Wet pressure-treated boards shrink, so they are often laid tight. Composite boards need a set gap: Trex recommends 3/16 inch side to side, and TimberTech allows 1/8 to 3/16 inch. Follow the product's guide.
Do composite deck boards need a gap at the ends?
Yes, because composite boards expand and shrink with temperature. Trex says to leave 1/8 inch end to end when installing above 40°F and 3/16 inch below 40°F, and more where a board meets the house. TimberTech gives its own temperature table, so follow the brand you buy.
How many hidden fasteners do I need for a deck?
Hidden clips go at every joist a board crosses, so plan one clip per board per joist, not two screws. Trex says to install a clip at every joist location. Use the board count and joist count from the calculator, and buy the clips and starter pieces the maker lists for your boards.