Home & Build
Fence Calculator
Posts, rails and pickets for a fence, gates counted in.
A fence is counted in posts, rails and pickets, and the yard sells them as separate things. Put in the length you are fencing, and this works out how many posts you need at your spacing, how many rails they carry, and how many pickets fill the gaps between them.
Your measurements
Loading calculator…
What your project looks like
How this is worked out
Posts = fence length ÷ post spacing, rounded up, plus one for the start, plus two for each gate. Rails = posts × the number of rails the fence height needs. Pickets = the fence length in inches ÷ the width of one picket plus its gap, rounded up.
Good to know
- Set posts in concrete and keep the spacing even — a post every eight feet is normal for a 6 ft fence.
- Each gate counts as a gap with a post either side, which is why every gate adds two posts.
- Buy a few spare pickets. The last one in a run nearly always needs cutting to fit.
What this assumes
- A straight run with no corners. Each corner needs one more post than this gives you.
- Three rails for a 6 ft fence, two rails for 4 ft and 5 ft.
- Pickets are 5.5 inches wide with a quarter-inch gap, which is a common dog-ear picket.
Common questions
How far apart should fence posts be?
Eight feet is the usual spacing for a 6 ft fence. Go closer, six feet, for a tall fence in windy ground.
How many pickets per foot of fence?
About two. A 5.5 inch picket plus a quarter-inch gap is 5.75 inches of fence, so twelve inches takes a little over two.
Estimate only. Figures come from the numbers you enter and the standard rates shown on the page. Check anything that matters against the official figure before you rely on it.