Fence Calculator

Our free fence calculator works out how many panels and posts a fence needs. Enter the total fence length and the width of one panel, and it gives you the panel count, the post count and the length the panels will actually cover.

These figures are estimates only for educational purposes. No personal data is collected or saved.

How to use this fence calculator

Measure the full run of fencing in metres, following the ground, and enter the width of one panel — 1.8 m is a common panel width. Click Calculate Fence to see how many panels and posts you need. If your fence turns corners, add one post for each corner. Use the Metric / Imperial buttons above the calculator to switch units — in Imperial mode, enter the length and panel width in feet, and the lengths in the result are given in feet.

Frequently asked questions

How many fence panels do I need?

Divide the fence length by the panel width and round up. A 30 m fence using 1.8 m panels needs 17 panels.

How many fence posts do I need?

One more than the number of panels, because there is a post at each end. For 17 panels, you need 18 posts.

What if the fence length is not an exact number of panels?

The last panel is cut to fit, or the fence runs slightly longer than planned. This calculator shows the covered length so you can see the difference.

What other calculators can I use?

Try our lumber calculator for fencing boards, the concrete slab calculator for post footings, or the gravel calculator for the base. You can also return to the calculators hub to see them all.

Worked example: a 30 m fence, 1.8 m panels

Use the calculator’s default values: a 30 m fence and 1.8 m panels. Dividing 30 by 1.8 gives 16.67, so you need 17 panels. The posts are 17 + 1 = 18, and the panels cover 17 x 1.8 = 30.6 m, so the last panel is cut back by 0.6 m, or the fence ends 0.6 m past the planned line.

How the fence count is calculated

The calculator uses the formula Panels = fence length / panel width, rounded up to a whole panel, and Posts = panels + 1. Rounding up matters, because a part panel still has to be bought as a whole one, and the covered length is panels x panel width.

Remember that this is an estimate. Gates, corners, slopes and the exact panel size all change the real amount. For a long fence, ask your supplier to check the figures before you order.

View all calculators →

Scroll to Top