Fence Calculator
Estimate how many posts, rails, and pickets you need for a fence based on its total length and post spacing.
How this is calculated
The fence run is divided into equal sections based on your post spacing, rounded up to the nearest whole section, which means the built fence may run slightly longer than the exact input length. Posts equal the number of sections plus one (for both end posts). Rails are the number of sections multiplied by rails per section. We add your selected waste percentage to the rail count to cover cutting waste and damaged pieces; pickets are not estimated since spacing and width vary widely by style.
Example calculation
Related calculators
Frequently asked questions
Wood fence posts are typically spaced 6–8 ft apart. Vinyl and chain-link fences often use manufacturer-specified spacing, commonly 8 ft, based on panel or rail length.