Deck Calculator

Work out how many decking boards and screws you need for your deck surface, plus the linear feet and an estimate of the cost — waste included.

How to measure an area — length times width Length Width
Measure the area — length × width.

How to calculate decking

Decking is estimated from the deck's surface area and the size of each board:

Boards = deck area × (1 + waste %) ÷ (board coverage)

Board coverage accounts for the small gap left between boards for drainage and expansion: (board width + gap) ÷ 12 × board length. We add your waste allowance and round up. This covers the visible deck surface — framing is a separate calculation.

Typical board sizes

Nominal sizeActual width
5/4 × 6 (most common)5.5 in
2 × 65.5 in
2 × 43.5 in

Don't forget

  • Framing is separate. Joists, beams, posts, and footings depend on your span and local code.
  • Screws add up. Budget about 3.5 per square foot (two per joist crossing at 16-inch spacing).
  • Diagonal layouts waste more. Add 15%+ for diagonal boards or a picture-frame border.

Decking materials compared

The board you choose drives both the cost and how much upkeep the deck needs:

MaterialRelative costLifespanUpkeep
Pressure-treated pine$ (lowest)15–20 yrsSeal/stain every 1–3 yrs
Cedar / redwood$$15–25 yrsSeal every 2–3 yrs
Composite (e.g. Trex)$$$25–30+ yrsWash only
PVC$$$30+ yrsWash only
Tropical hardwood (ipe)$$$$40+ yrsOil to keep color

Pick a board length that fits

Decking comes in even lengths (8, 12, 16, 20 ft). Choosing a length that divides into your deck run reduces cuts, waste, and the number of end-to-end seams (butt joints). Where boards do meet, stagger the joints over a joist and plan the run direction before you buy.

Fasteners: screws or hidden clips

Budget about 3.5 screws per square foot for face-screwed boards (two per board at each joist, joists 16 in on-center). Grooved composite and PVC boards usually use hidden fasteners that clip into the side groove for a screw-free surface — those are sold by the square foot, so match them to your deck area.

How much does decking cost?

Boards run roughly $10–$60 each — pressure-treated at the low end, composite and PVC in the middle, hardwood at the top. Remember this calculator covers the boards and screws only; for a full project budget (framing, footings, railing, and labor) see our guide on how much it costs to build a deck.

Beyond the boards: structure and railing

The decking is just the surface — a safe deck stands on a structure this calculator doesn't size:

  • Ledger & flashing. Where a deck attaches to the house, the ledger must be lag-bolted and flashed correctly — a failed ledger is the most common cause of deck collapse.
  • Joists, beams, posts, footings. Sized to your span and load by code, with footings below the frost line.
  • Railing. Required once the deck is more than ~30 inches above grade — usually 36 in tall in homes, with balusters less than 4 in apart.
  • Stairs. Plan stringers, treads, and a graspable handrail — our stair calculator sizes the steps.

Frequently asked questions

How many boards for a 12x12 deck?
About 43 boards of 5.5 in × 8 ft decking, including a 10% waste allowance and a 1/8 in gap between boards.
How many screws will I need?
Roughly 3.5 per square foot — about two per board at each joist with joists 16 inches apart. Grooved boards use hidden clips instead, sold by the sq ft.
Does this include joists and framing?
No — it covers the decking boards and screws. Joists, beams, posts, and footings are sized separately to your span and local code.
How much waste should I add?
10% for straight boards, 15%+ for diagonal layouts or a picture-frame border, which create more offcuts.
Composite or pressure-treated decking?
Pressure-treated costs the least up front but needs regular sealing; composite costs more but only needs washing and lasts 25+ years. Over the deck's life the total cost often evens out.
What's the standard gap between deck boards?
About 1/8 inch for most boards, which allows drainage and expansion. Pressure-treated boards that are still wet can be butted tighter since they'll shrink as they dry.
Which way should deck boards run?
Perpendicular to the joists. Running them diagonally is possible but uses ~15% more material and needs closer joist spacing.
Do I need a permit to build a deck?
Almost always, yes — most areas require a permit and inspection for an attached or raised deck, covering footings, ledger attachment, and railing. Check local code before you start.
How far apart should deck joists be?
Commonly 16 inches on center, or 12 inches for diagonal decking and many composite boards (check the board maker's span table). Closer joists make a stiffer, longer-lasting deck.

How we calculate this

  • Board coverage includes the small gap between deck boards
  • A waste allowance is added (more for diagonal or picture-frame layouts)
  • Screws are estimated per board; framing is calculated separately

Sources: Standard decking practice. Last reviewed: June 2026. See our methodology for how we build every estimate.