Calcupine

All calculators / Yard, garden and outdoor calculators / Deck calculator

Deck calculator

Enter your deck size and board details. Get the number of deck boards, joists at your spacing, and screws.

Units

Your project

Need help measuring? Try your phone’s AR measure app, then type the numbers in.

Deck size

Length (along the boards)
Width (across the boards)

Boards

Framing

Deck calculator by Calcupine

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

BoardActual widthNotes
5/4x6 pressure-treated5.5 inMost common, lowest cost
2x6 pressure-treated5.5 inStiffer, heavier
CompositeAbout 5.5 inFollow the maker's gap and joist spacing

Tips

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.

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.

Guide by Noah Scott · Updated October 29, 2026 · Formulas tested against worked examples · How we calculate · Report a mistake

Add this calculator to your site

Free for blogs and contractors. Copy the code into any page that accepts HTML.