Fence Calculator
Work out how many fence panels, posts and gravel boards you need for a straight run of garden fence. If your fence turns corners, work out each straight side separately and add them up.
Want a full plan for the job? Try the Fence Planner. It asks a few questions and builds your shopping list, steps and supplier questions.
Your estimate
Fence panels
9 panels
- Posts
- 10 posts
- Gravel boards
- 9 boards
- Last panel
- cut to about 0.36 mThe run doesn’t divide exactly into whole panels.
Based on
- One straight run of 15 m
- Posts 1.83 m apart (centre to centre)
- A post at each end
Estimate only. Actual amounts vary with the product, ground conditions and how it’s laid.
How the calculation works
The run length is divided by the distance between posts and rounded up, which gives the number of panels (bays).
You need one more post than panels, because there is a post at each end.
If the length doesn’t divide exactly, the calculator tells you roughly how much the last panel needs cutting down.
Panels = ⌈length ÷ post spacing⌉
Posts = panels + 1
Gravel boards = panels
Post mix bags = posts × bags per post (rounded up)Assumptions
- One straight run. A corner post is shared by two runs, so if you add up separate runs, subtract one post for each corner.
- Post spacing is measured centre to centre and depends on your panels and posts. 1.83 m is a common panel width, but check yours.
- Gates aren’t included. Subtract the gate opening from the length and add gate posts separately.
- Post-fix bag counts depend on the product and hole size, so we only calculate them if you enter bags per post.
Example: a 15 m fence with posts 1.83 m apart
- 15 ÷ 1.83 = 8.2, rounded up = 9 panels.
- Posts = 9 + 1 = 10.
- Gravel boards = 9.
- The last panel needs cutting to about 0.36 m.
Useful tips
- Check where your boundary is before you start. If the fence is shared, talk to your neighbour first.
- Run a string line between the end posts to keep the fence straight.
- Concrete posts with slotted panels and gravel boards are long-lasting and common in UK gardens. Timber posts need good preservative treatment.
Frequently asked questions
How many posts do I need for 6 fence panels?
Seven: one more than the number of panels in a straight run.
How do I handle corners?
Work out each straight side separately and add the panels together. For posts, add them up and subtract one for each corner, because the corner post is shared.
Do I need planning permission for a fence?
Rules on boundary heights and planning can apply. We don’t give advice on planning or building regulations. Check with your local authority before building.