Fence Calculator
Work out a whole fence — the posts and post-hole concrete from the run length and spacing, plus, for a wood/picket fence, the rails and pickets (boards) too. Switch between a wood/picket fence and a panel/rail fence. Works in feet (metres). Everything runs on your device.
Guide: How Many Fence Posts, Rails and Pickets Do I Need?Your fence run
Rails & pickets
Post holes
Mixing on site instead of premix?
Feed 0.99 yd³ into the concrete calculator for cement, sand and stone.
Add these quantities to a quote
Sends 4 line items to the quote builder — just add your prices.
Gates and corners want more
Gate and corner posts carry the real loads — give them deeper holes and more concrete than the run, and add their posts on top of this count if the gate interrupts the spacing. Picket and rail counts assume a straight, even run; stepped or angled ground needs a little extra.
Questions & answers
Everything you need to understand the fence calculator.
How many fence posts do I need?
Posts = run length ÷ spacing, rounded up, plus one to close the run — a 100 ft fence (30 m) at 8 ft spacing (2.4 m) needs 14 posts. A wood fence runs 6–8 ft (1.8–2.4 m) between posts; panel fences set the spacing for you (the panel width), and wire or rail fences run 6–8 ft, closer in wind-exposed spots.
How many pickets (boards) do I need?
Divide the run length by one picket’s width plus the gap, then add waste. Solid privacy fences have no gap: a 100 ft (30 m) run in 5½ in (140 mm) pickets set tight needs about 218 pickets, so order around 240 with 10% waste. For a spaced picket fence, add the gap between boards — the calculator handles both and shows the pickets per section.
How many rails does a fence need?
Two rails (horizontal stringers) for a fence up to about 4 ft, three for a 6 ft privacy fence, one near the top, one near the bottom and one in the middle to stop the pickets bowing. Each rail spans one bay between posts, so total rails = bays × rails per section — the calculator counts them and their total length for you.
How deep should fence posts go?
A third of the post height, with 24 in (600 mm) a common minimum — a 6 ft fence (1.8 m) wants posts of 8 ft (2.4 m) set 24 in (600 mm) deep. Go deeper in soft ground and for gates, whose posts carry swinging loads and deserve the biggest holes and the most concrete of the run.
How much concrete does each post need?
A 10 in (250 mm) diameter hole 24 in (600 mm) deep holds about 1 ft³ (0.03 m³) around the post — roughly two 80 lb (40 kg) premix bags. Multiply by the post count for the order; the calculator does it and totals the bags. Slope the top of each collar away from the post so water sheds.
Should posts be set in concrete or rammed earth?
Concrete for gates, corners and anything structural or in soft ground; well-rammed earth or gravel works for intermediate posts in firm ground and drains better around timber. Treated timber posts last longer with gravel at the base of the hole either way — standing water is what rots them.
How do I keep the run straight and even?
Set the two end (and any corner) posts first, string a line between them at the top and bottom, and space the intermediate posts to the line. Check each post plumb in two directions while the concrete is wet — it is a two-minute fix then and a crowbar job next week.
More landscaping tools
Retaining Wall Calculator
Blocks, caps and base gravel for a block wall.
OpenPlant Spacing Calculator
How many plants fill a bed at a given spacing.
OpenIrrigation Flow Calculator
Sprinkler demand vs your supply — and the zones needed.
OpenLandscaping Quote Builder
Price materials and labor into a professional PDF quote.
OpenExequtechOS
Do the whole job in one place
A calculation is just the start. ExequtechOS takes it from estimate to quote, job card, invoice and paid — for your whole team.
Get started with ExequtechOS- Turn these numbers into a client-ready quote
- Job cards, invoicing & inventory in one place
- Works offline in the field, syncs when you’re back