Skip to content

Decking Calculator

Plan a new deck in seconds. Enter the deck's size, board width and length, and joist spacing to get the number of deck boards, joists, rim boards and screws or hidden clips, plus a joist span check and an estimated cost. Works for timber and composite decking in feet (USA) or metres (UK). Free, instant, no signup.

Updated October 2026 · Formula and worked example below

Advertisement

Your project

This is a materials estimate for a simple rectangular deck. Joist spans, footings, ledger fixings, guards and stairs are structural and are governed by your local building code, the board manufacturer's instructions and, in the UK, Building Regulations where they apply. Raised and attached decks usually need a permit or approval, so have the design checked before you build.

Deck length is the board direction; width is the joist direction out from the house Length = board direction Width = joists

—

Enter values to calculate

Advertisement

How to Use the Decking Calculator

  1. Choose your units. USA mode uses feet and inches; UK mode uses metres and millimetres.
  2. Enter the deck length and width. Length is the side the boards run along. Width is the direction the joists run (usually out from the house).
  3. Choose the board: timber or composite, its actual width (for example 5½ inches or 144mm), its length, and the gap between boards.
  4. Set the joist spacing. 16 inches (400mm) is typical for timber; composite boards often need 12–16 inches (300–400mm), and diagonal boards need tighter spacing.
  5. Choose the joist size and timber species (USA) to check whether the joists can span the deck width.
  6. Choose screws or hidden fasteners, and add prices (optional) to see the cost.

How to Calculate Deck Boards

The calculator works out boards by rows rather than by area, which gives more accurate results:

  1. Rows of boards = deck width ÷ (board width + gap), rounded up.
  2. Linear feet (or metres) of board = rows × deck length.
  3. Boards to buy = linear length × (1 + waste) ÷ board length, rounded up.

A simple area-based estimate (deck area ÷ board coverage) often comes out short because it ignores the end cuts and offcuts you can't reuse.

Waste allowance: add about 10% for straight boards and 15% for diagonal or herringbone patterns. Choosing a board length that divides neatly into your deck length (for example, 16 ft boards on a 16 ft deck) cuts waste further.

Worked example (USA): 12 × 16 ft deck

A deck 16 ft long (boards run this way) and 12 ft wide, using 5½-inch boards with a 3/16-inch gap, 16 ft boards, and joists at 16 inches on center:

  • Rows: 144 inches ÷ 5.6875 = 25.3, rounded up to 26 rows
  • Linear footage: 26 × 16 = 416 ft
  • Boards: 416 × 1.10 ÷ 16 = 29 boards (16 ft long)
  • Joists: 16 ft × 12 ÷ 16 + 1 = 13 joists, each 12 ft long
  • Screws: 26 rows × 13 joists = 338 crossings × 2 screws = 676 screws (about 2 boxes of 350)

Worked example (UK): 4.8 × 3.6 m deck

A deck 4.8 m long and 3.6 m wide, using 144mm boards with a 5mm gap, 4.8 m boards, and joists at 400mm centres:

  • Rows: 3,600 ÷ 149 = 24.2, rounded up to 25 rows
  • Linear metres: 25 × 4.8 = 120 m
  • Boards: 120 × 1.10 ÷ 4.8 = 28 boards
  • Joists: 4,800 ÷ 400 + 1 = 13 joists, each 3.6 m long
  • Screws: 25 × 13 × 2 = 650 screws

Joist Spacing for Timber and Composite Decking

BoardUSA joist spacingUK joist centres
Timber, 5/4 (1 in) or 28mm boards16 in400mm
Timber, 2×6 or 32mm+ boards16–24 in400–450mm
Most composite and PVC boards (straight)16 in (some 12 in)300–400mm, per manufacturer
Any boards laid at 45° diagonal12 in300mm or less
Commercial or heavy-use decks12 in300mm

Composite boards are more flexible than timber, so manufacturers set their own maximum spacing. Most major US brands, including Trex, TimberTech and Fiberon, call for 16 inches on center for straight runs and 12 inches for a 45° diagonal. Some UK composite manufacturers ask for 300mm centres. Exceeding the manufacturer's spacing usually voids the warranty and makes the deck feel bouncy.

Deck Joist Span: Will My Joists Reach?

Joists must span from the ledger (or beam) on one side to the beam on the other without sagging. In the USA, the International Residential Code (IRC) sets maximum spans for deck joists. The values below are from IRC 2021 Table R507.6, for No. 2 grade pressure-treated lumber, a 40 psf live load and a 10 psf dead load:

JoistSouthern pine 12" / 16" / 24" o.c.Douglas fir-larch, hem-fir, SPF 12" / 16" / 24" o.c.Redwood, western cedar 12" / 16" / 24" o.c.
2×69'11" / 9'0" / 7'7"9'6" / 8'8" / 7'2"8'10" / 8'0" / 7'0"
2×813'1" / 11'10" / 9'8"12'6" / 11'1" / 9'1"11'8" / 10'7" / 8'8"
2×1016'2" / 14'0" / 11'5"15'8" / 13'7" / 11'1"14'11" / 13'0" / 10'7"
2×1218'0" / 16'6" / 13'6"18'0" / 15'9" / 12'10"17'5" / 15'1" / 12'4"

In our 12 × 16 ft example, the joists span 12 ft at 16 inches on center. Southern pine 2×8 reaches only 11'10", so it fails; 2×10 reaches 14'0" and passes. The calculator does this check for you and suggests the smallest joist that works.

Joists can cantilever past the beam by up to one-quarter of the adjacent span under the IRC, subject to the table limits. Your local code may differ, and many jurisdictions use the AWC's *DCA 6* deck guide, so always confirm with your building department.

UK: there's no single span table in the Building Regulations for garden decks. The Timber Decking and Cladding Association (TDCA) publishes guidance, and timber merchants provide span tables for their joists. As a conservative planning guide for C16 or C24 treated joists at 400mm centres on a domestic deck: 47×100mm up to about 1.8 m, 47×150mm up to about 2.4 m, and 47×175mm up to about 2.9 m. Add a support beam or posts in the middle for longer spans, and check with your supplier.

Screws, Hidden Fasteners and Gaps

  • Face screws: 2 per board at every joist. That's roughly 320 screws per 100 sq ft of deck with 5½-inch boards at 16-inch spacing, or about 35 per m² at 400mm centres.
  • Hidden clip fasteners: about 1 clip per board per joist. Composite manufacturers sell them in boxes for a set area, so check the coverage on the box.
  • Side gaps between boards: about 3/16 inch (5mm) is typical for both timber and composite, but follow the board manufacturer.
  • End gaps for composite: 1/16–1/8 inch or more, depending on temperature at installation, because composite expands lengthwise.
  • Wet pressure-treated timber shrinks as it dries, so it's often laid with small or no gaps.

Deck Costs

USA

  • Materials only: pressure-treated wood about $3–$8 per sq ft, composite $5–$20 per sq ft, PVC $5–$13 per sq ft.
  • Professionally built: about $30–$60 per sq ft, with labor around $15–$35 per sq ft.
  • Typical project: many decks cost $9,000–$20,000; the national average is about $14,000.

UK

  • Pressure-treated softwood decking, installed: about £40–£57 per m².
  • Redwood or cedar, installed: about £67–£87 per m².
  • Hardwood, installed: about £87–£105 per m², rising to £125+ for teak.
  • Supply-only softwood: about £10–£20 per m². A typical 30 m² garden deck costs around £1,200–£2,600 depending on materials.

Footings, stairs, railings, lighting and removing an old deck add to these costs. The Lumber Calculator helps price framing timber, and the Concrete Calculator works out post footings.

Permits and Planning Rules

USA: under the IRC, a deck is generally exempt from a permit only if it's 200 sq ft or less, no more than 30 inches above grade, not attached to the house, and doesn't serve the required exit door. Most attached decks need a permit. Decks more than 30 inches above the ground need guards (railings), normally at least 36 inches high. Local codes vary, so check before you build.

UK (England): decking counts as permitted development if it's no higher than 30cm above the ground, and together with extensions and outbuildings covers no more than 50% of the garden. Higher decks, decks at listed buildings, and decks at flats or maisonettes need planning permission. Guarding is generally needed where there's a significant drop, commonly taken as over 600mm.

Tips for a Better Deck

  • Leave at least 150mm (6 inches) of clearance under ground-level decks for airflow, and lay a weed membrane.
  • Use ground-contact rated timber (UC4 in the UK) for posts and any framing near the soil.
  • Seal cut ends of treated timber with an end-grain preservative.
  • Use joist tape on top of timber joists under composite boards to slow rot.
  • Slope the deck slightly (about 1:100) away from the house so water drains.
  • Pick board lengths that match the deck to avoid joints, or plan joints over a doubled joist.

Frequently Asked Questions

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

With 5½-inch boards, a 3/16-inch gap and 16 ft boards running the long way, you need 26 rows and about 29 boards including 10% waste.

How do I calculate linear feet of decking?

Divide the deck width in inches by the board width plus gap to get the number of rows, then multiply by the deck length in feet.

What size joists do I need for a 12 ft deck span?

At 16 inches on center, use 2×10 joists in southern pine, Douglas fir or hem-fir. 2×8 joists only span about 11–12 ft at 16 inches.

How far apart should deck joists be?

16 inches (400mm) is standard. Use 12 inches (300mm) for diagonal boards and for composite boards whose manufacturer requires it.

How many screws do I need per square foot of decking?

About 3.2 screws per square foot with 5½-inch boards and face screws at 16-inch joist spacing, or about 35 per m² at 400mm centres.

What gap should I leave between deck boards?

About 3/16 inch (5mm) for most timber and composite boards. Follow the manufacturer's instructions for composite end gaps.

Do I need planning permission for decking in the UK?

Not usually, if it's no more than 30cm above ground and, with other buildings, covers no more than half the garden.

How much does a 12×16 deck cost?

At $30–$60 per square foot professionally built, a 192 sq ft deck costs about $5,800–$11,500, before stairs and railings.

Get quotes from local deck builders

A deck builder can confirm spans, footings and permits for your site. Compare at least three quotes.