Fence calculator
A fence is three separate orders — posts, boards and concrete. This works out all three from the run and the spacing.
The fence line
Boards
Posts and footings
Below the frost line in cold climates, and one third of the post's above-ground height as a floor.
Posts first, because everything else is measured from them
A fence is a row of bays. Divide the total run by the post spacing, round up, and that is the number of bays; add one for the post at the far end. So 120 ft at 8 ft spacing is 15 bays and 16 posts. The last bay is usually short, and that is fine — cutting the final bay is standard practice.
Spacing is not arbitrary. Eight feet is standard because rails and most panels come in 8 ft lengths, so there is no waste. Six feet is for windy sites and heavy privacy panels, where an 8 ft bay of solid board acts like a sail. Ten feet only works for light ranch rail. Whichever you choose, keep it consistent: a fence with one 6 ft bay among 8 ft bays looks wrong from twenty yards away.
Pickets per bay, not per foot
Pickets are fitted inside each bay, between the posts, not run continuously past them. With 8 ft posts at 8 ft centres the clear space between posts is about 92 inches once you allow for the post thickness, so 5.5 inch boards with a 1/4 inch gap give 16 pickets per bay and a little to trim.
Butted boards with no gap use the fewest pickets but cup and warp as they take on water, and a fully sealed fence traps moisture against the rails. A quarter inch gap is the usual compromise: it reads as solid from a few feet away and lets the fence dry. Note that adding a gap costs pickets — a 1/2 inch gap on 5.5 inch boards takes you from 16 pickets a bay to 15, and the fence starts to look sparse.
Rails, and why the third one matters
Two rails — one near the top, one near the bottom — are enough up to about 5 ft. At 6 ft with 5.5 inch boards the panels are heavy enough to sag between posts over a season, and a third rail through the middle is what stops it. Three rails also give you something to fix the middle of each picket to, which is what keeps boards flat as they dry.
Rails are bought in 8 ft lengths and cut to the bay, so calculate the linear feet and divide by 8. For 15 bays with 2 rails that is 240 linear feet, or 30 boards. Buy a couple extra; the boards at the ends of a run always need trimming.
Concrete: more than people expect
A 10 inch hole 30 inches deep is 0.42 cubic feet, and a 50 lb bag of fast-setting concrete yields about 0.375 cubic feet — so a bit more than one bag per post, and in practice you want two to bring the concrete slightly above grade so water runs off. Sixteen posts is 32 bags, which is 1,600 lb of concrete you have to carry.
Set posts on 4 to 6 inches of gravel at the bottom of the hole for drainage, crown the concrete so it slopes away from the post, and brace every post until the concrete has gone off. A fence that is out of plumb at the setting stage stays out of plumb for its whole life.
Common questions
How many posts for a 100 ft fence?
At 8 ft spacing, 13 posts — 12 bays plus one. At 6 ft spacing, 18 posts. Always round the bay count up, not down.
How many pickets do I need per foot of fence?
About two 5.5 inch pickets per foot with a 1/4 inch gap, or three 3.5 inch pickets per foot. That works out at roughly 16 to 17 pickets per 8 ft bay.
How many bags of concrete per fence post?
One to two 50 lb bags for a 10 inch hole 30 inches deep. Two bags lets you crown the top above grade so water runs off the post.
How deep should fence posts be set?
One third of the above-ground height as a minimum, and below the local frost line. A 6 ft fence wants at least 2 ft in the ground, 3 ft in a cold climate.