// DECK & FENCE DESIGNER

Deck and Fence
Material Planner

Switch between a deck or fence layout, see it drawn, and get boards, joists, posts, panels and material cost from your own dimensions and prices.

  • Deck and fence modes
  • Visual layout
  • Material cost
20 ft deck length12 ft

Conceptual layout only. Joist/post sizing, footings, spans, loads, permits and local code compliance require professional verification.

Deck material estimator

area240
rows26
linear Feet520
boards48
board Cost864
joist Lines16
joist Linear Feet192

Deck defaults: 5.5-inch board, ⅛-inch gap, 12-ft board length, 10% waste. Fence defaults: 8-ft panels and $25 per post. Costs exclude labor and other components.

// HOW IT WORKS

How the numbers work.

  1. Deck rowsRows = deck width ÷ (board width + gap). A 5.5 in board with a 1/8 in gap covers 5.625 in per row.
  2. Deck boardsLinear feet = rows × deck length, then ÷ board length, plus waste, rounded up.
  3. JoistsJoist lines = deck length ÷ joist spacing + 1. The default is 16 in on center.
  4. FenceSpans = fence length ÷ post spacing, rounded up. Posts = spans + 1, and one panel per span.

// WORKED EXAMPLE

A 16 × 12 ft deck.

5.5 in boards, 1/8 in gaps, 12 ft boards at $18, 10% waste.

  • Rows: 12 ft × 12 ÷ 5.625 in = 26 rows
  • Linear feet: 26 × 16 = 416 ft
  • Boards: 416 ÷ 12 × 1.10 → 39 boards = $702
  • Joists at 16 in: 13 lines, 156 linear ft
EXAMPLEL 16 ft (board run)W 12 fteach row = 5.5 in board + 0.125 in gap
Example inputs · not to scale

// TIPS

Before you build.

Check permits first

Most areas need a permit for decks above a certain height or attached to the house, and many limit fence height.

Find the property line

Fences usually belong just inside your line. Check your survey and any HOA rules.

Go below the frost line

Posts and footings in cold climates must sit below the local frost depth, or they can heave.

Call before you dig

In the US, call 811 a few days before digging post holes to have buried utilities marked.

Questions

What gap should deck boards have?

It depends on the material. Many wood boards use about 1/8 in, while composite makers specify their own gaps. Follow the product instructions.

Can I use 24 in joist spacing?

Some boards allow it on straight runs, but many composites and diagonal layouts need 12–16 in. Check the board maker's span rating.

Does it size beams and footings?

No. Structural members depend on loads, spans and local code. Get those from plans, your building department or an engineer.

Safety:Raised decks carry people and must be built to code. Have structural details checked by your building department or a qualified professional.

Keep planning