Fence calculator
How many fence panels and posts you need, for a straight fence or up to four sides.
Use your panels' width and posts' width. 6 ft is 1.83 m and 5 ft is 1.52 m. Sides meet at corner posts, which are shared.
How to work it out
A straight run of fence with n panels is n panel widths plus n + 1 posts, because there's a post at each end and one between each pair of panels. So the number of panels is (fence length − one post width) ÷ (panel width + post width), rounded up; if it doesn't divide exactly, the last panel is cut down. Where two sides meet at a corner, they share the corner post.
Panels + posts for a straight fence
| Fence | 6 ft (1.83 m) panels, 100 mm posts | 6 ft (1.83 m) panels, 75 mm posts | 5 ft (1.52 m) panels, 100 mm posts |
|---|---|---|---|
| 3 m | 2 + 3 | 2 + 3 | 2 + 3 |
| 5 m | 3 + 4 | 3 + 4 | 4 + 5 |
| 6 m | 4 + 5 | 4 + 5 | 4 + 5 |
| 8 m | 5 + 6 | 5 + 6 | 5 + 6 |
| 10 m | 6 + 7 | 6 + 7 | 7 + 8 |
| 12 m | 7 + 8 | 7 + 8 | 8 + 9 |
| 15 m | 8 + 9 | 8 + 9 | 10 + 11 |
| 18 m | 10 + 11 | 10 + 11 | 12 + 13 |
| 20 m | 11 + 12 | 11 + 12 | 13 + 14 |
| 25 m | 13 + 14 | 14 + 15 | 16 + 17 |
| 30 m | 16 + 17 | 16 + 17 | 19 + 20 |
| 40 m | 21 + 22 | 21 + 22 | 25 + 26 |
| 50 m | 26 + 27 | 27 + 28 | 31 + 32 |
Example panel and post sizes; use your own in the calculator.
Frequently asked questions
How many fence panels do I need?
Take one post's width off the length, divide by the panel width plus the post width, and round up. 20 m of 6 ft (1.83 m) panels with 100 mm posts is (20 − 0.1) ÷ 1.93 = 10.3, so 11 panels.
How many fence posts do I need?
One more than the number of panels on a straight run. Each extra side that turns a corner shares the corner post, and a fence that goes all the way round ends back on the first post.
How wide is a 6ft fence panel in metres?
6 ft is 1.8288 m, so about 1.83 m. Check your panels' actual width, as it can differ a little.
What if the fence isn't an exact number of panels?
The last panel is cut down to fit. The calculator shows how much is over.