Home projects
Fence Calculator
The result includes both end posts and rounds up so spacing never exceeds your target.Enter your measurements
Fence length divided by maximum spacing, rounded up, plus the final post.
How this estimate works
Fence length divided by maximum spacing, rounded up, plus the final post.
Measure twice and use the same unit throughout. Product coverage, material density, installation patterns, and local requirements can change the quantity you need.
Quick answer
Divide each straight fence run by the maximum planned post spacing, round up the number of spaces, and add the final post. Add dedicated posts for gates, corners, ends, and every direction change.
Worked example
A straight 100 ft run with a maximum 8 ft spacing needs 13 spaces, so it needs 14 posts before adding any extra gate or corner posts.
Assumptions
- The entered length is one continuous straight run.
- Spacing is a maximum center-to-center planning distance.
- Gate, corner, brace, and terminal assemblies are not included.
Why does the calculator round spacing up?
Rounding the number of spaces up keeps the actual spacing at or below your chosen maximum. Dividing 100 feet into 13 spaces, for example, produces spacing of about 7.69 feet rather than exceeding 8 feet.
Which posts must be counted separately?
Count both sides of each gate and add posts at corners, ends, slope breaks, and changes in fence direction. Some systems also require braces or line-post assemblies that a simple length calculation cannot identify.
What should be checked before digging?
Confirm property boundaries, easements, utility locations, wind exposure, frost depth, permit rules, and the fence manufacturer's post requirements. The quantity result does not determine post size or embedment depth.
Last reviewed September 22, 2026. Source: USDA NRCS Fence conservation practice standard. Product instructions take priority over a general estimate.