Skip to content
MeasureToBuy

Decking Calculator

Enter the deck size, board width and gap, and the board length you'll buy. The calculator counts deck boards, joists and screws or hidden clips for boards laid parallel to the house.

Measurements

Deck boards run this way, parallel to the house.

Joists run this way.

5½ in for 5/4×6 and 2×6 boards, 3½ in for ×4 boards. Composite is usually 5½ in.

3/16 in (5 mm) is common; follow the manufacturer for composite.

Board length you'll buy

Butt joints must land on a joist; stagger them between rows.

Waste allowance

End trims, split boards and stagger offcuts.

Advanced optionscoverage, sizes, custom values
Joist spacing

Wood and most composite, straight boards

Fasteners

2 per board at every joist

A 5 lb box of 2½ in deck screws holds about 350–400.

Your estimate

You need 29 deck boards 16 ft long.

26 rows × 1 board per row = 26 boards, plus 10% waste.

Deck area16 ft × 12 ft
192 sq ft
Rows of boards5.69 in per row incl. gap
26 rows
Boards per row16 ft boards
1 board
Boards needed
26 boards
Waste allowance
10%
16 ft deck boards to buy
29 boards
Linear length purchased416 ft installed
464 ft

Framing and fasteners

Joists16 in o.c., each 12 ft
13 joists
Joist length total
156 ft
Deck screws2 boxes of 350
676 screws
  • Sanity check: the 350 screws per 100 sq ft rule of thumb gives about 672 screws for this deck.
  • Joists, beams, posts, footings and the ledger connection must follow your local building code — check before you build. Footing concrete is in the Concrete Footing Calculator.
Deck · plan
HOUSE16 ft12 ftBOARDS 5.5 in + 0.1875 in GAP · JOISTS DASHED
Boards run parallel to the house; rows = 12 ft ÷ (board + gap). Joists (dashed) run out from the house.

Next step

Footings and posts

Work out concrete for the footings that carry the beams. Footing size and depth depend on your soil, frost depth and local code.

Concrete footing calculator

Also useful

Steps down to the yard

Lay out risers, treads and stringers from the deck height.

Stair calculator

How to measure

  1. Deck length is the side along the house; deck width is how far the deck sticks out. Measure to the outside of the rim joists.
  2. Board face width is the visible width: 5½ in for 5/4×6 and 2×6 boards and most composite, 3½ in for ×4 boards.
  3. Choose a gap — 3/16 in is common for dry wood and composite. Wet pressure-treated boards are often laid tight because they shrink.
  4. Pick the board length you'll buy. Boards that match the deck length avoid butt joints; otherwise joints must land on a joist.

How the decking calculation works

Rows            = ceil(deck width ÷ (board width + gap))
Boards per row  = ceil(deck length ÷ board length)
Boards to buy   = rows × boards per row × (1 + waste), rounded up
Joists          = ceil(deck length ÷ joist spacing) + 1
Screws          = rows × joists × 2

Each row of boards takes up one board width plus one gap. Dividing the deck width by that and rounding up gives the rows; the last row is ripped to fit.

Rows longer than one board need two or more boards with a butt joint over a joist. Stagger joints between rows so they don't line up.

Joists run out from the house at 16 in on center (12 in for composite laid diagonally), with one at each end. Every board is fastened with two screws at each joist it crosses, or one hidden clip per crossing.

Worked example

A 16 × 12 ft deck with 5½ in boards, 3/16 in gaps, 16 ft boards, joists at 16 in and 10% waste.

  1. Rows: 144 in ÷ (5.5 + 0.1875) = 25.3 → 26 rows
  2. Boards: 26 rows × 1 board = 26 × 1.1 = 28.6 → 29 boards
  3. Joists: 192 in ÷ 16 = 12 → 13 joists, each 12 ft
  4. Screws: 26 × 13 × 2 = 676 → 2 boxes of 350

Buy 29 deck boards 16 ft long and 2 boxes of deck screws. The rule of thumb — 350 screws per 100 sq ft — gives 672, which agrees.

How much extra to allow

Deck waste is mostly end trim, a few split or bowed boards, and offcuts from staggering joints.

SituationAllow
Boards match the deck length5%
Typical straight layout10%
Picture frame, diagonal, curved edges15%

Reading your result

The headline is the number of boards at the length you chose. Try a different board length to see if fewer joints or less waste is cheaper.

Joist count and length are for planning the frame. Joist size depends on span — use a span table.

If you choose hidden clips, buy the screws that come with them and check the manufacturer's joist spacing.

Assumptions

  • Boards run parallel to the house over joists perpendicular to it. Diagonal and picture-frame layouts need more waste (15%) and closer joists.
  • Screws: two per board per joist, ignoring the extra pair at each butt joint.
  • Fascia, stair treads, railings, beams, posts and footings are not included.

Unit conversions use exact definitions (1 in = 25.4 mm, 1 US gal = 3.785 L). See the calculation methodology for rounding rules.

When to call a professional

  • Ledger attachment, beam and joist sizing, post bases and footing depth are all regulated, and ledger failures cause most deck collapses. Codes vary — check with your local building department and pull a permit.
  • Decks more than about 30 in above grade typically need guards and an inspected design.

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 → 26 rows of 12 ft boards. Add 10% for 29 boards.

How many screws per deck board?

Two at every joist. A 16 ft board over joists at 16 in crosses 13 joists, so 26 screws.

What spacing for deck joists?

16 in on center for most wood and composite boards laid straight; 12 in for composite on a diagonal or thinner boards. Check the decking manufacturer's requirement.

Should deck boards have a gap?

Yes, for drainage and debris — about 3/16 in for dry wood and composite. Wet pressure-treated boards can go tight and will open up as they dry.

More lumber & carpentry calculators

All lumber & carpentry