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
- 1Enter the deck length (along the boards) and width.
- 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
- Drywall & Wallpaper Calculator
Estimate drywall sheets and screws for a room's walls and ceiling — or rolls of wallpaper — allowing for doors, windows and waste.
- Moving Box & Storage Unit Calculator
Estimate how many moving boxes you need by home size and packing style, and the storage unit size that fits your belongings.
- Paint Calculator
Estimate how much paint you need for a room's walls (and ceiling) in gallons or litres, allowing for doors, windows and the number of coats.
- Tile & Grout Calculator
Calculate how many tiles you need for a floor or wall — including grout joints and waste — plus an estimate of grout bags.
- Roofing Calculator (Squares & Shingles)
Calculate roof area from the house footprint and roof pitch, then the roofing squares, shingle bundles, underlayment rolls and cost.
- Solar Panel Size & Payback Calculator
Estimate how many solar panels and what system size (kW) you need to cover your electricity use, the yearly savings and the payback period.