Fence Calculator
Calculate posts, rails and pickets from fence length and post spacing.
Popular searches: fence calculator · fence calculator online · fence calculator estimator · fence calculator cost
How to use this calculator
Enter total fence length and post spacing, then adjust rails and pickets for your style.
The formula
Sections = ceil(length ÷ spacing). Posts = sections + 1. Pickets = ceil(length × pickets per foot).
Worked example
100 ft with 8 ft spacing: 13 sections, 14 posts, 26 rails and about 150 pickets.
Frequently asked questions
How far apart should posts be?
Common spacing is 6–8 ft, depending on fence type and local code.
How deep should posts go?
A common rule is one-third of the above-ground height plus 6 in, below the frost line.
This tool provides estimates for planning and budgeting only. Confirm quantities with your supplier and have code-sensitive work reviewed by a qualified professional.