About the fence material calculator
Fence materials follow simple geometry once you know the post spacing. This calculator counts posts and sections, multiplies out rails and pickets, and works out the concrete for each post hole minus the space the post takes up.
It’s built for one straight run. Add corner, end, and gate posts separately, since those often use larger posts or extra hardware.
How to use this calculator
- Enter the fence length and post spacing.
- Enter rails per section (often two or three).
- For picket fences, enter picket width and gap.
- For concrete, enter hole diameter, depth, post width, and the bag yield from the label.
Worked examples
- 8 ft spacing → 13 sections, 14 posts
- 3 rails per section → 39 rails
- 5.5 in pickets, 0.5 in gap → 100 ft ÷ 0.5 ft = 200
14 posts, 39 rails, 200 pickets.
Measurement guidance
Call before you dig
In the US, call 811 a few days before digging so underground utilities can be marked. Other countries have similar services.
Property lines
Confirm your property line and any HOA or local fence rules before setting posts.
Frequently asked questions
How far apart should fence posts be?
Many wood fences use posts 6–8 ft apart, but your panel size, rail length, and local wind conditions decide the right spacing.
How deep should fence posts be set?
It depends on fence height, soil, and frost depth. Local building codes or your fence supplier can confirm the requirement.
How many bags of concrete per fence post?
Enter your hole size and bag yield — the calculator subtracts the post’s volume from the hole to estimate it precisely.