Cette page existe en français.

Voir en français

Esta página está disponible en español.

Ver en español

Deck calculator

Type your deck as one or more rectangles to get one shopping list: deck boards, joists, rim boards, beam boards and screws or hidden fasteners, with the board layout and every step of the working shown.

Calculator

Units

Your deck, in rectangles

One row for each rectangle. Length is the way the deck boards run; width is the way the joists run.

ft
ft

Deck boards

in

The real width: a 5/4 × 6 or 2 × 6 board is 5½ in.

in

Follow the board maker. Trex asks for at least ¼ in (6 mm).

ft

As sold: 12, 16 or 20 ft are common.

Frame

in

Centre to centre. 16 in (40 cm) is usual; 12 in for diagonal boards.

ft

Joists, rim boards and beams. A longer joist is joined over a beam.

ft

From your local code or the lumber’s span table. This page does not choose it.

Beams are often two boards side by side.

Fasteners

Printed on the box.

%

Added to boards and fasteners, for cuts, bad boards and dropped screws.

Prices (optional)

$
$
$
$

Good to know

General information about these numbers, not personal advice.

  • Don’t

    Don’t guess the joist span: type the one your local code or the lumber’s span table gives, because this page counts the beam boards but does not choose their size.

  • Do

    Do add the hardware to your list: joist hangers, ledger bolts, post bases, blocking, stairs and railings are bought apart from the boards and fasteners counted here.

  • Do

    Do work out the post footings with the concrete calculator: each post sits on its own footing, and the deck’s area here is also what a stain or sealer has to cover.

Was this calculator helpful?

Only yes or no (and the reason you pick) is sent, never your numbers. No account, no cookie. How we count answers

How the deck calculator works

You describe the deck as rectangles. For each one, the length is the way the deck boards run and the width is the way the joists run under them. Each rectangle is worked out on its own, then the totals are added.

Rows of boards = (width + gap) ÷ (board width + gap), rounded up

Joists = length ÷ joist spacing, rounded up, + 1

Beam rows = width ÷ largest joist span, rounded up (+ 1 for a freestanding deck)

Screws = 2 × (rows × joists + butt joints) · Hidden fasteners = 1 × the same

The board layout. Each row of boards is as long as the deck. When a row is longer than a board, it takes several boards joined end to end over a joist: a 20 ft row from 12 ft boards takes 2 boards and one butt joint. When a row is shorter than a board, one board is cut into several rows: a 16 ft board gives two rows of an 8 ft deck. The working under the result says which one applies to each area.

The frame. Joists are never further apart than the spacing you type, with one at each end. Each long side is closed by a rim board, or by the ledger on the house side. A joist longer than the framing lumber is joined over a beam, so it takes two pieces. Beams run under the joists, along the length; each beam row is made of 1, 2 or 3 boards side by side.

The extra for waste is added to the boards and the fasteners, then rounded up. Joists, rim boards and beams are counted as whole pieces with no extra.

Worked example

A 16 × 12 ft deck attached to the house: boards 5½ in wide with ¼ in gaps, 16 ft long; joists 16 in apart; framing lumber 12 ft; joists may span 12 ft; beams of 2 boards; deck screws, 350 a box; 10% extra.

  1. Rows: (144 + 0.25) ÷ (5.5 + 0.25) = 25.1 → 26 rows.
  2. Layout: each row is 16 ft and the boards are 16 ft → one board a row, 26 boards; with 10% extra 28.6 → 29 boards.
  3. Joists: 192 ÷ 16 = 12, + 1 = 13 joists, each 12 ft. Rim boards: 2 × (16 ÷ 12 → 2) = 4 pieces.
  4. Beams: 12 ÷ 12 = 1 span → 1 beam row (the ledger carries the house end), 2 boards × 2 pieces = 4 beam boards.
  5. Screws: 26 × 13 = 338 crossings × 2 = 676; with 10% extra 743.6 → 744 screws, 3 boxes.

At $30 a deck board, $18 a joist or rim board, $22 a beam board and $45 a box of screws: 29 × $30 + 17 × $18 + 4 × $22 + 3 × $45 = $870 + $306 + $88 + $135 = $1,399.

Add an 8 × 6 ft side area and the totals become 37 boards (its 13 rows of 8 ft come from 7 boards), 20 joists and 944 screws.

The same in metric: a 4.8 × 3.6 m deck with 14 cm boards, 6 mm gaps and 4.8 m boards, joists 40 cm apart: 25 rows, 28 boards with 10% extra, 13 joists and 715 screws (3 boxes of 250).

Your code decides the structure

This page counts materials. It does not choose the size of the joists and beams, how far they may span, how deep the footings go, or how the ledger is bolted to the house: your local building code decides those, and in the US many places follow the American Wood Council’s DCA 6 guide. Type the joist span your code or span table allows, and check whether you need a permit before you buy.

Different countries, different sizes

US lumber is sold by its nominal size: a 2 × 6 or 5/4 × 6 deck board is really 5½ in wide, so type the real width. Choose “Metres” to type metres for lengths and centimetres for boards, gaps and joist spacing; in metric, boards are often 12 to 14.5 cm wide, sold in 2.4 to 4.8 m lengths, with joists about 40 cm apart. Composite boards often need closer joists than wood: follow the board maker’s spacing and gap.

Tips before you buy

  • Pick a board length that fits: rows that match the board length, or half of it, leave the fewest offcuts and no butt joints.
  • Stagger the butt joints from row to row, and put a second joist or a nailer under each one so both board ends can be fastened.
  • Add the hardware: joist hangers, ledger bolts, post bases, blocking, stairs and railings are bought apart.
  • Need posts in concrete? The concrete calculator works out the footings, and the square footage calculator the area for a stain.

Frequently asked questions

How many deck boards do I need?

First count the rows across the width: rows = (width + gap) ÷ (board width + gap), rounded up. A 12 ft (144 in) wide deck with 5½ in boards and ¼ in gaps takes (144 + 0.25) ÷ 5.75 = 25.1, so 26 rows. Each row runs the length of the deck: with 16 ft boards on a 16 ft deck that is one board a row, 26 boards, or 29 with 10% extra. On an 8 ft long deck, one 16 ft board gives two rows, so you need half as many.

How many joists does a deck need?

Divide the length the boards run by the joist spacing, round up, and add one for the joist at the end. A 16 ft deck with joists 16 in apart: 192 ÷ 16 = 12 spaces, so 13 joists. At 12 in apart it is 17. Each joist runs across the width of the deck.

How many deck screws do I need?

Trex asks for two screws per board at each joist. Count the places where a board crosses a joist (rows × joists), add one more for each butt joint, and double it. A 16 × 12 ft deck with 26 rows and 13 joists has 338 crossings, so 676 screws, or 744 with 10% extra: three boxes of 350.

How many hidden fasteners (clips) do I need?

Hidden fasteners go at every joist along each board, so count one for each crossing and each butt joint. The same 16 × 12 ft deck needs 338 clips, or 372 with 10% extra: five boxes of 90. Check the box: some clip systems also need starter clips for the first board.

How many beams does a deck need?

It depends on how far the joists may span, which your local code or the lumber’s span table decides. Type that span: a 12 ft wide deck with joists that may span 12 ft needs one beam if the house carries the other end on a ledger, and two if the deck is freestanding. This page counts the beam boards; it does not choose their size.

What about an L-shaped deck?

Split it into rectangles and add each one as an area: a 16 × 12 ft main deck and an 8 × 6 ft side area. Each rectangle is counted with its own frame, the totals are added, and the extra for waste is added once at the end.

Sources

Calculations are exact for the measurements you enter. Your local building code decides the size and span of joists and beams, posts, footings, ledgers and railings, and many places need a permit for a deck. This is a material count, not structural advice. Read the full disclaimer and how we check our formulas.