Everyday

Deck calculator: boards, joists and screws

A deck calculator works out how many decking boards you need for a deck of any size, from the board width, the gap between boards and the board length you buy. It adds 10% for cuts and waste, counts the joists at your joist spacing and estimates the deck screws, two per board at every joist. It works in feet and inches or in metres and millimetres.

ft
ft
in
in
$

Runs in your browser. Nothing you type is sent to us.

Deck boards

29

16 ft boards, including 10% waste

Deck area
192 ft²
Rows of boards
26
Linear length of decking
416 ft
Joists
13 joists, each 12 ft long
Deck screws (2 per joist crossing)
676

Boards run along the length you enter and joists run across it. Check joist size and span against your local code or the span tables in the American Wood Council’s DCA 6 guide.

Key facts

  • Rows of boards = deck width ÷ (board width + gap); linear feet = rows × deck length.
  • A 16 × 12 ft deck with 5.5 in boards and 3/16 in gaps needs 26 rows, 416 linear ft and 29 boards of 16 ft with 10% waste.
  • Joists = deck length ÷ spacing + 1: 13 joists at 16 in on center for that deck.
  • Screws ≈ 2 per board per joist: about 676 for the example.
  • Wood 2 × 6 decking spans up to 24 in between joists; 5/4 boards and most composites need 16 in or less.

Decking formulas

Rows = deck width ÷ (board width + gap)
Linear length = rows × deck length × 1.10
Boards = linear length ÷ board length
Joists = deck length ÷ joist spacing + 1

A nominal 2 × 6 or 5/4 × 6 board is 5.5 in wide in reality. Common gaps are 1/8 to 1/4 in for wood (3 to 6 mm) and whatever the composite maker specifies; wet pressure-treated wood shrinks, so it is often laid tight.

How to use the deck calculator

  1. Choose units and enter the deck length (along the boards) and width.
  2. Enter the actual board width and the gap.
  3. Choose the board length you will buy and the joist spacing.
  4. Optionally add the price per board, then read boards, rows, linear length, joists and screws.

Worked examples

A 16 × 12 ft deck

5.5 in boards with 3/16 in gaps fit 26 rows across 12 ft. That is 26 × 16 = 416 linear ft, or 29 boards of 16 ft with 10% waste. Joists at 16 in on center: 13, each 12 ft long. Screws: 26 rows × 13 joists × 2 = 676.

A 20 × 14 ft deck with 20 ft boards

30 rows, 600 linear ft, 33 boards of 20 ft; 16 joists of 14 ft and about 960 screws.

Joist spacing and span

DeckingMaximum joist spacing (perpendicular)
5/4 wood boards16 in
2 × 4 or 2 × 6 wood24 in
Composite or PVCUsually 12 or 16 in (check the maker)

Diagonal decking needs closer joists, often 12 in. Joist size and span depend on species and load: in the American Wood Council’s DCA 6 guide, a southern pine 2 × 8 at 16 in on center spans 10 ft 6 in. Ledgers, beams, posts and footings also follow code; most decks more than 30 in off the ground need a permit and guards.

Plan steps down to the yard with the stair calculator, set footings with the concrete calculator, and compare a ground-level patio in the paver calculator. Privacy screens and railings follow the same post logic as the fence calculator.

Decks, lumber and the codes behind them

Wooden decks spread across American backyards after the Second World War, helped by pressure-treated southern yellow pine. Chromated copper arsenate (CCA) treatment was phased out of residential lumber in 2004 in an agreement between the US Environmental Protection Agency and manufacturers, and replaced by copper-based treatments that corrode fasteners faster, which is why hot-dipped galvanized or stainless screws are required. Composite lumber, a blend of wood fibre and plastic pioneered by Trex in 1996, and PVC boards now take a large share of the market because they do not need staining.

The American Wood Council’s DCA 6 guide turns the International Residential Code’s deck rules into tables for joist and beam spans, ledger attachment and footings. Deck collapses are rare but serious, and most involve a poorly attached ledger, so codes require through-bolts or structural screws rather than nails. Plan the steps with the stair calculator, footings with the concrete calculator, a privacy screen with the fence calculator, and a ground-level alternative with the paver calculator.

How this calculator works

  • Rows = width ÷ (board width + gap), rounded up; linear length = rows × deck length.
  • Boards = linear length × 1.10 ÷ board length, rounded up; joists = floor(length ÷ spacing) + 1.
  • Screws = rows × joists × 2.

Frequently asked questions

How many deck boards do I need?

Divide the deck width by board width plus gap to get rows, multiply by the deck length, add 10% and divide by the board length.

How many joists do I need for a deck?

Divide the deck length by the joist spacing and add one.

What is the standard joist spacing for a deck?

16 in on center is most common; 12 in for composites and diagonal decking.

How many screws per deck board?

Two at every joist, so about 2 × rows × joists in total.

How wide is a 2 × 6 deck board?

5.5 in actual. A 5/4 × 6 board is also 5.5 in wide but about 1 in thick.

How big a gap between deck boards?

About 1/8 to 1/4 in for dry wood and composites; wet treated lumber is often laid tight.

Should I buy long or short boards?

Boards that span the full deck length avoid butt joints and waste; otherwise stagger joints over joists.

Do I need a permit to build a deck?

In most US jurisdictions, yes, especially for attached decks or decks over 30 in high.

Sources

  1. American Wood Council: Residential wood deck design and DCA 6
  2. Village of Albion: DCA 6 joist span table
  3. City of Fairfax: Decking requirements and maximum joist spacing

Updated November 25, 2026. Formulas checked against published sources and worked examples.

Cite this page: CalcRoster. "Deck calculator: boards, joists and screws." calcroster.com/deck-calculator/. Updated November 25, 2026.

Results are estimates for general information. They are not financial, medical or legal advice. Check important decisions with a qualified professional.