1. Home
  2. Garden & Landscaping
  3. Fence Calculator
Garden & Landscaping

Fence Calculator

Work out how many fence panels, posts, gravel boards and bags of Postcrete you need for a new garden fence, with the right post length for your panel height.

Page last reviewed 4 November 2026 by Valerii Zugravu, 10 years in UK construction · How I check

Fence calculator

m
qty
Count each straight side (e.g. 3 for a U-shaped garden).
Front view of a fence: two 1.83m panels between three posts, gravel boards at the bottom, posts set about 600mm into the ground in Postcrete 1.83mwide 1.8mhigh 2.4m post ~600mm deep ↑ gravel board
Front view. Each bay is one 1.83m (6ft) panel plus a post; posts are longer than the panels so they reach about 600mm into the ground.
Prices & pack sizes (optional)
£
£
£
Results update as you type.

Fence building tips

  • Check boundaries and talk to your neighbours first. In England, fences over 2m high (1m next to a highway) need planning permission.
  • Run a string line along the fence and dig holes about 300mm wide and 600mm deep.
  • Fit gravel boards so panels sit clear of the soil. Rotten panel bottoms are the main reason fences fail.
  • Set the first post, fix the panel, then set the next post. Don't concrete all the posts in first.

Timber or concrete posts?

  • Timber posts (100 × 100mm, pressure treated) are cheaper, lighter and easy to cut. Panels are fixed with clips. Expect them to last 10–15 years with good drainage at the base.
  • Concrete slotted posts cost more and are heavy, but they don't rot. Panels slide into the slots, so a storm-damaged panel can be swapped without disturbing the posts. Use concrete gravel boards with them.
  • In exposed, windy gardens, closeboard or slatted fences resist wind better than solid lap panels, which act like a sail.

Sloping gardens

Panels can't follow a slope; they're stepped. Each panel sits level, and the posts get taller down the hill. On a steep slope you'll need longer posts at the low end, and a triangle of gravel board or brickwork to fill the gap underneath. Work out the drop over the run before ordering, so you know how many longer posts to buy.

What this calculator assumes

  • Bays: each bay is one 1.83m panel plus the width of a post (100mm, or 75mm for slim posts), and part-bays round up to a full panel.
  • Runs: every separate straight run starts and ends with its own post, and its last bay is usually a cut panel. So each extra run adds one panel and one post.
  • Post length: the panel height, plus 150mm if you include gravel boards, plus about 600mm in the ground, rounded up to the next stock length. Without boards that's 1.5m posts for 0.9m panels, 1.8m for 1.2m, 2.1m for 1.5m and 2.4m for 1.8m; with boards each goes up one size (2.7m for 1.8m panels).
  • Fixings: 2 × 20kg bags of Postcrete per post (change it to 1 or 3), one gravel board per panel if you tick it, and 4 panel clips per panel on timber posts.
  • Costs: concrete posts are costed at 1.6 times the post price you enter. The post price filled in is for a 2.4m timber post, so enter your own for other lengths. The "Where to buy" box lists anything it has no merchant price for, such as timber gravel boards. Gates, removing the old fence and stepping panels on a slope aren't included.

Common fencing mistakes

  • Shallow posts. Less than about 600mm in the ground for a 6ft fence is the most common reason fences blow over.
  • Panels touching the soil. Timber in contact with damp ground rots quickly. Gravel boards are cheap protection.
  • Not agreeing the boundary. Check your title plan and talk to the neighbours before you start. Our fence guide explains who usually owns which fence and what to do after storm damage.

To plan the whole job, including a skip for the old fence and a gravel border, use the new fence planner. For posts set in mixed concrete rather than Postcrete, the concrete calculator has a post-hole option.

Read the guideHow to Put Up a Fence & Fix Storm DamageRead the guideDIY Jobs by MonthPlan the whole projectNew fence planner

How it works

Standard UK fence panels are 1.83m (6ft) wide. With a post between each panel, every bay is about 1.93m. The calculator divides each straight run into bays, adds one post per panel plus an end post for each run, and picks the right post length for your panel height:

Panels = ⌈length ÷ (1.83 + post width)⌉ + (runs − 1) Posts = panels + runs Post length = panel height + gravel board + ~600mm in the ground

Post length guide

Panel heightPost length, no gravel boardPost length, with 150mm gravel board
0.9m (3ft)1.5m1.8m
1.2m (4ft)1.8m2.1m
1.5m (5ft)2.1m2.4m
1.8m (6ft)2.4m2.7m

Both columns leave about 600mm of post in the ground. A 2.4m post with a 6ft panel and a gravel board leaves only about 450mm, which is too shallow for most gardens.

Worked example

A straight 20m run of 1.8m (6ft) panels with 100mm timber posts: each bay is 1.83m + 0.1m = 1.93m, and 20 ÷ 1.93 = 10.4, so 11 panels. One run needs one more post than panels: 12 posts. With gravel boards that's 11 boards, and the posts need to be 2.7m long (2.4m without boards), and at two 20kg bags per post, 24 bags of Postcrete. Timber panels also need four clips each, 44 in total.

If the same 20m goes round three sides of a garden (5m, 10m and 5m), each side has its own end posts and usually a cut panel, so it comes to about 13 panels and 15 posts. Set "Separate straight runs" to 3 to see this.

Frequently asked questions

How many fence panels do I need?

Divide the fence length by the width of one panel plus one post (1.83m + 0.1m = 1.93m) and round up. A 20m fence needs 11 panels. Each separate straight run may need an extra cut panel at the end.

How many posts do I need for a fence?

One more post than panels for a single straight run, so 11 panels need 12 posts. Every corner or separate run adds roughly one more post.

How long should fence posts be?

About a quarter of the post should be in the ground, with at least 600mm below ground. For a 1.8m (6ft) panel on its own, use 2.4m posts. Add a 150mm gravel board and you need 2.7m posts to keep 600mm in the ground. For 1.2m panels, use 1.8m posts (2.1m with gravel boards).

How many bags of Postcrete per post?

Typically 2 × 20kg bags per standard 75–100mm timber post in a 300mm-wide hole, and 2–3 bags for concrete posts or tall, exposed fences.

Timber or concrete posts?

Concrete posts and gravel boards last much longer (often 25+ years) and panels slide into them, so they're easy to replace. Pressure-treated timber posts are cheaper and easier to cut, but usually last 10–15 years.

Why does a fence in several straight runs need more panels?

Each straight run starts and ends with its own post, and its last bay rarely comes out at exactly a whole panel, so it usually needs a panel cut down. Splitting the same total length into more runs therefore adds roughly one panel and one post per extra run. Enter the number of straight sides as 'Separate straight runs'.

Related calculators

Quick answerHow much Postcrete per fence post?
Quick answer

How Much Postcrete Do I Need per Fence Post?

For 1.8m (6ft) fence panels on 100 × 100mm timber posts set about 600mm into the ground.

Allow 2 × 20kg bags of Postcrete per post for a 6ft fence. A 10m fence has 6 panels and 7 posts, so it needs 14 bags.

Put these numbers in the calculator
  • 2 bagsof 20kg Postcrete per 6ft post
  • 600mmof a 2.4m post in the ground
  • +1post more than panels per run
  • ~10 minfor Postcrete to set

Postcrete by fence length

1.8m (6ft) panels 1.83m wide, 100mm timber posts, one straight run, 2 bags per post.

Fence lengthPanelsPostsPostcrete (20kg)
6 m4510 bags
10 m6714 bags
15 m8918 bags
20 m111224 bags
30 m161734 bags

The sum

Panels = fence length ÷ 1.93m (panel + post), rounded up Posts = panels + 1 per straight run Postcrete = posts × 2 bags

The fence calculator handles corners, other panel heights and concrete posts. The fence guide shows how to set the posts so they survive the next storm.

Is one bag of Postcrete enough for a fence post?

One 20kg bag can do for short posts in firm ground, such as a 3ft or 4ft fence. For 6ft fences, which catch a lot of wind, use two bags per post, and three in soft or sandy soil.

How deep should a fence post hole be?

About a quarter of the post's length in the ground: roughly 600mm for a 2.4m post holding a 1.8m panel, in a hole about 300mm wide.

How many posts for a fence?

One more post than panels in each straight run. A run of 6 panels needs 7 posts; a fence that turns a corner needs one extra for each extra run.