Home, DIY & energy · UK 2026/27

Fence calculator

Planning a new garden fence? Enter the length of the run and your panel size to see how many panels, posts, gravel boards and bags of postcrete to order, and what it all costs.

mDoing an L-shape? Work out each straight run on its own.
mStandard 6ft panels are 1.83m.
mm
bagsTwo 20kg bags is typical for a 100mm post. Check the bag.
Prices (optional)
£
£
£
£
Fence panels
–
Posts–
Post length–
Gravel boards–
Postcrete–
Total cost–
ItemQuantityCost
Quick answer

How many fence panels and posts do I need for 20 metres? With 1.83m (6ft) panels and 100mm posts, a 20m run takes 11 panels and 12 posts. The last panel needs cutting down to about 50cm.

How the fence calculator works

A panel fence is a simple repeating pattern: post, panel, post, panel, and so on, finishing with a post at the far end. So a run of panels always needs one more post than it has panels. The calculator fits as many full panels as it can into your length and tells you how much to cut off the last one.

panels = (fence length − post width) ÷ (panel width + post width), rounded up
posts = panels + 1
gravel boards = one per panel
postcrete = posts × bags per post
post length = panel height + gravel board + 600mm in the ground, rounded up to a standard length

Posts usually come in 1.8m, 2.1m, 2.4m, 2.7m and 3m lengths, so the calculator picks the shortest one that leaves around 600mm below ground.

Worked example: a 20m fence

A 20m run of 6ft (1.83m) panels with 100mm posts and gravel boards:

  • Each panel plus a post takes up 1.93m, and there's one extra post at the end
  • (20 − 0.1) ÷ 1.93 = 10.3, rounded up to 11 panels
  • Posts: 11 + 1 = 12 posts
  • Ten full panels and 12 posts cover 19.5m, so the last panel is cut down to about 0.5m
  • Gravel boards: 11, one under each panel
  • Postcrete at two bags a post: 24 bags
  • Post length: 1.8m panel + 0.15m gravel board + 0.6m in the ground = 2.55m, so buy 2.7m posts

If a short cut panel looks odd, you can often spread the difference by moving the start point, or use a narrower panel at one end.

How deep should fence posts go?

The usual rule of thumb is to bury about a quarter of the post, which works out at roughly 600mm for a 6ft fence. On exposed sites, or where the ground is soft, go a little deeper. Without gravel boards, a 6ft panel normally sits on a 2.4m post. Add gravel boards and the panel sits 150mm higher, so you'll want 2.7m posts to keep the same depth in the ground.

Timber or concrete posts?

Pressure-treated timber posts are cheaper and easier to cut, but even good ones can rot at ground level after 10 to 15 years. Slotted concrete posts cost more and weigh a lot more, but they won't rot, and panels slide straight into the slots, which makes swapping a storm-damaged panel much quicker. Concrete gravel boards pair well with them and keep the bottom of the panel off the wet soil.

Do you need planning permission for a fence?

In England, a fence, wall or gate usually counts as permitted development as long as it's no more than 2m high, or no more than 1m high where it's next to a road used by vehicles (or the footpath beside it). Different rules can apply to listed buildings, conservation areas and some new-build estates with covenants, so check before you build if any of those apply. Wales, Scotland and Northern Ireland have similar but separate rules.

Tips before you order

  • Check who owns the boundary. Your title plan or deeds may show it, and it's worth a chat with the neighbours either way.
  • Check for buried pipes and cables before digging post holes, especially near the house or the road.
  • Order one spare panel if your fence is long. It saves a trip if one arrives damaged.
  • Treat cut ends of timber posts and panels with a wood preserver.

Setting posts in ordinary concrete instead of postcrete? The concrete calculator works out the bags for your post holes. Laying gravel along the fence line? Try the gravel calculator.

Frequently asked questions

How many fence panels and posts do I need for 20 metres?

With 1.83m (6ft) panels and 100mm posts, a 20m run takes 11 panels and 12 posts. The last panel needs cutting down to about 50cm.

How many posts do I need for a fence?

One more than the number of panels in each straight run. Where two runs meet at a corner they can share a post, so take one off for each shared corner.

How long should fence posts be for a 6ft fence?

A 2.4m (8ft) post gives about 600mm in the ground for a 1.8m panel. If you add 150mm gravel boards, use 2.7m posts instead.

How many bags of postcrete per fence post?

About two 20kg bags is typical for a standard 100mm post in a hole around 600mm deep. Bigger holes or posts need more, so check the bag.

How high can a garden fence be without planning permission?

In England, up to 2m in most places, or 1m next to a road used by vehicles or the footpath beside it. Listed buildings, conservation areas and some estates have extra restrictions.

Last reviewed November 2026. This calculator gives an estimate for guidance only.

Website built by: www.NocturnalMedia.co.uk