Fence Calculator
Enter the total fence length, your post spacing, and panel width to find how many posts and panels to buy.
How fence posts and panels are calculated
The number of posts is the fence length divided by the post spacing, rounded up, plus one extra post for the starting end — a straight run of fence always needs one more post than the number of gaps between posts.
The number of panels is the fence length divided by a single panel's width, rounded up to the next whole panel, since a partial panel still means you need the full panel.
Frequently asked questions
Why do I need one more post than the number of sections?
Each section of fence sits between two posts, so a run with 10 sections needs 11 posts — one extra for the starting end that's shared with nothing before it.
Does this account for corners or gates?
No — this calculator assumes a single straight run. Add extra posts for each corner (corner posts are typically counted once, shared between the two adjoining runs) and account for gate openings separately.
What's a typical post spacing?
This varies by fence type and material — wood privacy fences commonly use 2-2.5 m spacing, while post-and-rail or chain-link fences may use wider spacing, depending on the panel or rail lengths available.