Fence Calculator

Work out how many posts, panels and bags of postcrete a fence run needs, with post depth sized to the fence height.

m
m
A standard UK panel is 1.83 m (6 ft).
m
mm
Panels needed 13
panels = run ÷ panel width · posts = panels + 1 · post depth ≈ height ÷ 3
Posts needed 15
panels = run ÷ panel width · posts = panels + 1 · post depth ≈ height ÷ 3
Recommended post depth in the ground 600 mm
panels = run ÷ panel width · posts = panels + 1 · post depth ≈ height ÷ 3
Post length to buy 2.4 m
Bags of postcrete 30
Gravel boards 13
Concrete volume per hole 48 L

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Fence Calculator does

This fence calculator will work out how many posts, panels and bags of postcrete a fence run needs, with post depth sized to the fence height. Fill in all 6 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for ordering materials for a new fence run. The companion to this one is our drywall calculator.

How to use it

  1. Measure the total fence run and enter it.
  2. Enter the panel width and the fence height.
  3. Enter how many gates are in the run.
  4. Read the panel, post and postcrete counts, and the post length to order.

How it works

The rule of thumb for post depth is a third of the above-ground height, with 600 mm as a practical minimum. A 1.8 metre fence therefore wants 600 mm in the ground and a 2.4 metre post. This is the single thing most DIY fences get wrong: a shallow post in a long panel run is a lever, and the first winter gale finds it.

Posts outnumber panels by one, because each panel needs a post at both ends and adjacent panels share. Add one more post per gate, since a gate needs its own hanging and latch posts rather than borrowing the fence's.

Gravel boards at the bottom keep the panel out of ground contact, which is what rots panels first. They are cheaper to replace than panels and worth fitting even where the ground looks dry.

Posts set in concrete rot at the ground line where water collects. Either set them in a well-drained gravel base, or concrete them with the top of the concrete shaped to shed water away from the post. Concrete that forms a bowl around the post does the opposite.

When to use it

  • Ordering materials for a new fence run.
  • Costing a fence replacement.
  • Checking a contractor's material list.
  • Working out post lengths before buying timber.

Common mistakes to avoid

  • Setting posts too shallow, which is the main cause of fence failure in wind.
  • Forgetting the extra post at the end of the run.
  • Omitting gravel boards, so the panel sits in wet soil and rots.

Frequently asked questions

How deep should fence posts be?

About a third of the above-ground height, with 600 mm as a minimum. A 1.8 m fence needs 600 mm in the ground, so a 2.4 m post.

How many posts do I need for a fence?

One more than the number of panels, plus an extra post for each gate. Ten panels and one gate need twelve posts.

How many bags of postcrete per post?

Two bags for a standard 100 mm post in a 300 mm hole at 600 mm deep. A taller fence or a gate post wants three.

Related tools

See all home & diy →