Fence Calculator

Calculate how many fence posts you need based on total fence length and post spacing.

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.

Frequently Asked Questions

What post spacing should I use?

Most residential wood fences use 6–8 foot spacing. Vinyl and some metal fence systems may allow up to 10 feet. Always check the manufacturer's recommendation, since spacing affects panel strength.

Does this include corner or gate posts?

This calculator gives a straight-run post count. Add one additional post for every corner in an L-shaped or multi-sided fence, and budget separately for gate posts, which are often a heavier-duty post.

Related Calculators