Deck Calculator

Plan a deck: get the number of deck boards, joists and screws for a rectangular deck from its size, board width, spacing and joist layout, plus the material cost.

Answer

192 sq ft deck

29 boards (16 ft)

Rows of boards26
Linear feet of decking416 ft
Joists (12 ft long)13
Deck screws (2 per joist)676

Boards run parallel to the house; joists run out from it. Composite boards often need 12 in joist spacing; check the maker’s instructions.

From above

16 ft12 ft
Joists every

Drag the corner or click a size to resize, tap a joist spacing, and press Lay the boards. 26 rows of boards over 13 joists (dashed). A lighter last row has to be ripped narrower to fit.

Why this answer

  1. Rows. Each board plus its gap covers 5.625 in: 144 in ÷ 5.625 = 25.6 → 26 rows.
  2. Linear feet. 26 rows × 16 ft = 416 ft.
  3. Boards. 416 × 1.1 ÷ 16 ft = 28.6 → 29.
  4. Joists. 192 in ÷ 16 in = 12, rounded up, plus one for the end = 13.

Why it works

How many boards does a deck need?

Step 1 of 3

A 6 inch board isn't 6 inches

A 12 ft (144 in) wide deck, covered with “6 in” boards and ⅛ in gaps. How many rows?

Pick the row count and check.

Put it to use

Deck planning tips

  • Choose a deck length that’s a multiple of your board length (or plan butt joints over doubled joists) to cut waste.
  • Beams, posts, footings, ledger flashing and railings are separate: decks attached to a house usually need a permit and an inspection.
  • For the concrete footings, see the Concrete Calculator; for steps down to the yard, the Stair Calculator.

How it works

The deck calculator assumes boards run parallel to the house. The number of rows is the deck's width divided by each board's actual width plus the gap, rounded up. Rows × deck length gives the linear feet of decking, which converts to boards of your chosen length with a waste allowance.

Joists run perpendicular to the boards. Their count is the deck length divided by the joist spacing, rounded up, plus one for the end. Screws are two per board at every joist.

Nominal lumber sizes are smaller in reality: a "6 in" deck board is 5½ in wide.

Rows = ⌈width (in) ÷ (board width + gap)⌉Linear ft = rows × lengthBoards = ⌈linear ft × (1 + waste) ÷ board length⌉Joists = ⌈length (in) ÷ spacing⌉ + 1Screws = rows × joists × 2

Worked example: 16 × 12 ft deck, 5½ in boards, ⅛ in gaps, 16 in joists

  1. Rows: 144 ÷ 5.625 = 25.6 → 26 rows.
  2. Linear feet: 26 × 16 = 416 ft.
  3. 16 ft boards with 10% waste: 457.6 ÷ 16 → 29 boards.
  4. Joists: 192 ÷ 16 + 1 = 13; screws: 26 × 13 × 2 = 676.

Common mistakes

  • Using nominal width (6 in) instead of actual (5½ in).
  • Forgetting the gap between boards.
  • Counting joist spaces instead of joists.
  • Using 16 in spacing with decking that requires 12 in.

Frequently asked questions

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

26 rows of 5½ in boards; with 12 ft boards that's 26 boards, about 29 with 10% waste.

How far apart should deck joists be?

16 in on center is standard for wood decking; many composite boards and diagonal layouts need 12 in.

What gap should I leave between deck boards?

About ⅛ in for dry lumber and composite; pressure-treated lumber that's still wet can go tight, since it shrinks as it dries.

How many screws do I need for a deck?

Two per board at each joist, about 350 per 100 sq ft with 16 in spacing.

How much does it cost to build a deck?

Materials alone run roughly $15–$35 per sq ft depending on wood or composite; framing, footings and railings add to it.