Landscaping
Fence Post Calculator
Estimate posts for one straight fence run from maximum planned post spacing.
How it works
Divide the length of one straight run by the maximum spacing specified for your fence system. Round up for the number of spans and add one post for the opposite end.
Formula: Posts = ceil(run ÷ maximum spacing) + 1
Worked example
A 40 ft straight run with maximum 8 ft spacing requires 6 posts.
Using the fence post calculator
Enter the length of one straight run and the maximum planned spacing from your fence specifications. The tool rounds the number of spans up and counts both end posts. If you calculate several connected runs, check whether corners share a post so they are not counted twice.
Common questions about fence post
What if the run does not divide evenly by the spacing?
The span count rounds up so the average spacing does not exceed the entered maximum. Adjust the exact layout as needed.
Does this determine post-hole size or depth?
No. It estimates the post count only. Use suitable project specifications for foundations and structural requirements.
Before you order
Confirm measurements, material specifications and supplier requirements. These tools are not engineering or structural design advice.