21 panels, 22 posts
6 ft (1.83 m) panels with 100 mm posts
Panels and postsPanelsPostsCut off the last panel
6 ft (1.83 m) panels, 100 mm posts21220.63 m
6 ft (1.83 m) panels, 75 mm posts21220.08 m
5 ft (1.52 m) panels, 100 mm posts25260.6 m

Example sizes: use your own in the calculator below.

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.

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.

21 panels
for the fence

Posts22 posts
Total length40 m
Last panel to cut down0.63 m over

Frequently asked questions

How many fence panels for 40 metres?

21 panels of 6 ft (1.83 m) with 100 mm posts: (40 − 0.1) ÷ 1.93 = 20.67, rounded up. The last panel is cut down by 0.63 m.

How many posts for a 40 m fence?

22: one more than the panels on a straight run.

How many feet is 40 metres?

131.2 ft.

Other fence lengths
Related calculators