Account

What new tool do you want?

Home & DIY

Deck Calculator (Boards, Joists & Screws)

Estimate decking boards, joists, screws and stain for a rectangular deck — with board width, gap and joist spacing options.

How to use

  1. 1Enter the deck length (along the boards) and width.
  2. 2Choose the board width, gap and joist spacing.

How it's calculated

Rows of boards = width × 12 ÷ (board width + gap). Joists = ⌈length × 12 ÷ spacing⌉ + 1 (running across the boards). Screws ≈ 2 per board per joist. Stain ≈ area ÷ 200 ft² per gallon per coat.

Frequently asked questions

What joist spacing do I need?

16 in on centre is standard for wood decking; composite boards and diagonal layouts often require 12 in. Check the board manufacturer.

What gap should deck boards have?

About 1/8–1/4 in so water drains. Wet pressure-treated boards can be butted tight since they shrink as they dry.

Does this cover structural design?

No — beam and footing sizes depend on spans and local code. Consult your building department or a contractor.

Why board count depends on two separate roundings

This calculator figures out how many rows of boards span the deck's width, and separately how many boards fit end-to-end along its length, then multiplies the two — each dimension rounds up independently with Math.ceil before they're combined, since a partial row or a partial board length both still require a full board. That's why changing the deck width by even an inch can round a row count up by one, and that one extra row gets multiplied across the whole length, sometimes adding more boards than the dimension change would intuitively suggest.

Worked example: Deck Calculator

A 16×12 ft deck with 5.5 in boards and a 3/16 in gap needs ⌈(12×12)÷5.6875⌉ = 26 rows of boards to span the 12 ft width, and since the 16 ft board length exactly matches the 16 ft deck length, that's 1 board per row end-to-end — 26 boards total. Joists run perpendicular to the boards at 16 in on-center spacing along the 16 ft length: ⌈(16×12)÷16⌉ + 1 = 13 joists. Screws are estimated at 2 per board per joist crossing — 26 boards × 13 joists × 2 = 676 screws — and at 192 ft² of deck area with one coat of stain at 200 ft² per gallon, that's just under a full gallon.

Why joist spacing isn't a free choice

16 in on-center is the standard for solid wood decking, but composite boards and diagonal board layouts often require tighter 12 in spacing because composite material flexes more between supports than wood does — using wood-rated spacing under composite boards can lead to visible sagging between joists over time. This is one of the few fields in the calculator where the manufacturer's spec, not a general rule of thumb, should decide the value you enter.

What this estimate explicitly leaves out

This tool sizes the visible decking, joists and fasteners for a given footprint — it doesn't size the structural beams, footings or ledger connection that actually hold the deck up, since those depend on load spans and local building code requirements the calculator has no way to know. That structural layer needs sign-off from a building department or contractor regardless of how precisely the board count comes out.

Related tools

More: Home & DIY