Skip to content
MasterMath

Fence Calculator

How many posts a fence takes, how far apart they actually end up, and how much concrete the footings need.

Currency and number format for

Posts needed

—

Posts needed—
Bays between posts—
Actual spacing—
Length of each post—
Concrete for the footings—
Bags of ready-mix concrete—
Area of mesh or panel—

How this was worked out

    The formula

    posts = length ÷ spacing + 1, unless the perimeter closes on itself

    Where it comes from

    The "plus one" is the thing to remember: over twenty metres with posts every two and a half there are eight bays but nine posts, because one goes at each end. The exception is a perimeter that closes on itself, where the last post is the first one and the posts equal the bays exactly. The other useful figure is the actual spacing: if the length is not a multiple of the spacing, it is better to share the remainder across every bay than to leave one short bay at the end, which shows.

    How to work it out by hand

    1. Divide the length by the spacing and round up: those are the bays
    2. Add one if the fence does not close on itself
    3. Share the length across the bays for the actual spacing
    4. Work out the concrete in one hole and multiply by the posts

    What is worth knowing

    Footing depth is usually set at a third of the height above ground, and never less than 50 cm on a fence 1.8 m high: what pushes a fence over is not weight but wind, levering on the post. The hole is dug wider at the bottom than at the mouth, like an upturned cup, so the block of concrete cannot pull straight out. And on sloping ground the fence is stepped in level bays rather than following the slope: it is the only way to keep the panels square.

    Frequently asked questions

    How many posts do I need for a fence?

    The length divided by the spacing, plus one. Twenty metres with posts every 2.5 m takes nine posts, not eight.

    How far apart should fence posts be?

    Between 2 and 3 metres for mesh or light panels. The taller or more solid the fence, the closer they need to be.

    How deep should a fence post go?

    About a third of the height above ground, and at least 50 cm on a 1.8 m fence. It is the wind that pushes it over, not the weight.

    How much concrete per post?

    With a hole 30 cm across and 50 cm deep, around 35 litres, which is three bags of ready-mix.

    What if the ground slopes?

    The fence is stepped in level bays rather than following the slope. It is the only way to keep the panels square.