How to use the fence calculator
- Enter the total length of fence in feet, adding up every side.
- Enter the post spacing. Wood fences commonly use 6–8 ft between posts.
- Enter the number of corners and gates. Each one needs an extra post.
- Enter rails per section, the picket width and any gap between pickets (0 for a privacy fence).
- Enter the post hole size to estimate concrete.
The formulas
Sections = fence length ÷ post spacing, rounded up
Posts = sections + 1 + corners + gates
Rails = sections × rails per section
Pickets = (fence length − gate widths) × 12 ÷ (picket width + gap), rounded up
Concrete per post = hole volume − post volume. For a round hole with a 4×4 post (3.5 × 3.5 in. actual): (π × (diameter ÷ 2)² − 3.5 × 3.5) × depth, in cubic inches, ÷ 1,728 for cubic feet. Bags = cubic feet ÷ 0.60 for 80 lb bags.
The post count is a slightly generous estimate: adding one post per corner covers runs whose length doesn’t divide evenly into sections.
Worked example
100 ft of 6 ft privacy fence with posts every 8 ft, 2 corners, one 4 ft gate, 3 rails per section and 5.5 in. pickets with no gap:
- Sections: 100 ÷ 8 = 12.5, so 13
- Posts: 13 + 1 + 2 + 1 = 17
- Rails: 13 × 3 = 39
- Pickets: (100 − 4) × 12 ÷ 5.5 = 209.5, so 210
- Concrete: a 10 in. hole, 24 in. deep, holds 1,885 cu in; minus the post (294 cu in) leaves 1,591 cu in = 0.92 cu ft, or about 1.5 bags per post: 27 bags of 80 lb
Tips
- Call 811 before you dig. In the US, 811 is the free call-before-you-dig number to have buried utility lines marked.
- Check property lines and rules. Many towns and HOAs limit fence height and require permits or a setback.
- Post depth: a common rule is about one-third of the post’s length in the ground, and below the frost line in cold climates. Your local code takes priority.
- Order a few spare pickets for splits and knots, and to replace damaged boards later.
Frequently asked questions
How many fence posts do I need?
Divide the fence length by the post spacing and round up to get sections; you need one more post than sections, plus one per corner and gate. 100 ft with posts every 8 ft, two corners and a gate needs about 17 posts.
How much concrete do I need per fence post?
For a 10 in. hole, 24 in. deep, with a 4×4 post, about 0.92 cu ft, roughly 1.5 bags of 80 lb concrete. Plan on 2 bags per post.
How deep should fence posts be?
A common rule is about one-third of the post's length in the ground, and below the frost line in cold climates. Local code and the fence height take priority.
How much fencing do I need for an acre?
A square acre is about 208.7 ft on each side, so its perimeter is about 835 ft. Real lots are rarely square, so measure your actual boundary.
How many pickets do I need for 100 feet?
With 5.5 in. pickets and no gap, about 219 pickets for a full 100 ft run (1,200 in. ÷ 5.5 in.), or 210 if a 4 ft gate takes up part of it. With a 2 in. gap, about 160.