How Does This Calculator Work?
The calculator divides your total fence length by the spacing between posts, rounds up to the nearest whole post (since you can't buy a fraction of a post), then adds one extra post for the starting end of the run.
Planning a new fence starts with knowing how many posts to buy. This calculator takes your total fence run and your chosen post spacing, and returns the number of posts required — including the extra end post every fence needs.
Example Calculation
Backyard Fence Example
A 120 ft backyard fence with posts spaced 8 ft apart.
120 ÷ 8 = 15, rounded up, plus 1 end post = 16 posts needed.
Tips
Standard post spacing is typically 6–8 feet for wood fences and up to 10 feet for some vinyl or metal fence systems — check your fence manufacturer's spec sheet before buying materials.