Fence material calculator

Posts, rails and pickets for the whole run, gates included.

Style
Units

Sets how many rails each section needs.

8 ft is the usual maximum.

Zero for a solid privacy fence.

5.5 in is a nominal 1x6.

Each gate adds two posts.

Material estimate

Enter the run to see posts, rails and pickets.

How a fence is counted

A fence is three counts that come from different arithmetic, which is why estimating one in your head so often produces a short order.

sections = ceil(length ÷ post spacing) posts = sections + 1 (+2 per gate) rails = sections × rails per section pickets = ceil(length in inches ÷ (picket width + gap))

The end post

Thirteen sections need fourteen posts. Every section starts at a post, and the run has to be closed at the far end, so the count is always one more than the number of gaps. It is a small error and it stops the job dead at the last bay.

The gap decides the picket count

Pickets occupy their own width plus the space beside them. On a hundred foot solid fence that is 219 pickets butted tight; open the gap to two inches and it drops to 160. Divide by the picket width alone and you buy pickets you cannot use — the same mistake the deck board calculator exists to prevent on decking.

Common mistakes

  • Forgetting the end post. Sections plus one, always.
  • Two rails on a six foot fence. It will bow. Three above four feet.
  • Ignoring the picket gap. Worth dozens of pickets on a long run.
  • Costing shadowbox as solid. It takes about twice the pickets.
  • Setting spacing before buying rails. The stock length decides the spacing, not the other way round.

What holds the fence up

Every post needs concrete, and the volume is the hole minus the post rather than the hole itself — the post hole calculator does that subtraction and gives bag counts per hole and for the whole run. If the ground stays wet along the line, a French drain beside it will keep the post bases out of standing water.

Materials for a 6 ft fence at 8 ft post spacing

Materials for a 6 ft fence at 8 ft post spacing
RunSectionsPostsRailsPickets (solid)Pickets (2 in gap)
50 ft782111080
100 ft131439219160
150 ft192057328240
200 ft252675437320
300 ft3839114655480

Computed by this page's own calculator. Pickets are 5.5 in — a nominal 1x6. The last two columns show what the gap is worth across a whole run.

Common questions

How many posts do I need for a 100 foot fence?

Fourteen, at the usual 8 foot spacing. A hundred feet divides into thirteen sections, and thirteen sections need fourteen posts — one at the start of each, plus one to close the far end. That last post is the classic off-by-one in fencing, and it is the one people are missing when they get to the end of a run a post short.

How far apart should fence posts be?

Six to eight feet, with eight the practical maximum for most rail and panel systems. The spacing is not really a preference — it is set by the stock you are buying, because rails come in fixed lengths and pre-made panels come in fixed widths. Pick the spacing your material wants, then let the post count fall out of it.

How many pickets do I need per foot?

It depends on the gap as much as the picket. Butted tight, a 5.5 inch picket gives 2.18 per foot; at a 2 inch gap that drops to 1.6. The arithmetic that matters is the run in inches divided by the picket width plus the gap — dividing by the picket width alone over-orders, in exactly the same way it does on a deck.

What is a shadowbox fence and why does it cost more?

Shadowbox alternates pickets on either side of the rails so the fence looks finished from both sides and the wind passes through. It takes roughly twice the pickets of a solid fence of the same length, which is the trade for having no bad side and no sail effect in a gale.

How many rails does a fence need?

Two up to four feet, three up to six, and four above that. The rails carry the pickets, and a six foot fence with two rails will bow visibly within a couple of seasons. This calculator applies that scale automatically from the height you enter.

How much concrete goes around each post?

That depends on your hole size and depth, and on frost line where you are. The post hole calculator on this site works it out with the post volume subtracted from the hole, which matters more than people expect — a 4x4 in a 10 inch hole displaces about a fifth of it.