How the fence calculator works
The fenced length is your total run minus gate openings. The calculator divides it by the post spacing and rounds up to get the number of sections; posts are sections + 1, plus one extra post for each gate so every gate has a post on both sides. Rails are sections × rails per section, and pickets are the fenced length in inches divided by picket width plus gap.
Example: 100 ft of fence with one 4 ft gate leaves 96 ft of fencing. At 8 ft spacing that is 12 sections, 14 posts including the gate post, 36 rails with 3 rails per section, and 210 pickets at 5.5 inches with no gap.
Concrete for fence posts
Hole volume is π × (diameter ÷ 2)² × depth, minus the space the post takes up. A common guideline is a hole about three times the post width (10–12 inches for a 4×4) and one third to one half of the above-ground height deep. Fast-setting mix in 50 lb bags is popular because you can pour it dry into the hole and add water.
Rails per section
Two rails are enough for fences up to about 4 ft high. Use three rails for 6 ft privacy fences, and four for 8 ft fences or areas with strong wind. Rails are usually 2×4 boards matching your post spacing, so 8 ft spacing pairs well with 8 ft rails.
Before you dig
Call 811 (in the US) a few days before digging so buried utility lines are marked. Check property lines, HOA rules, and any permit requirements for fence height.
FAQ
How many fence posts do I need?
Divide the fence length by the post spacing and add one for the end post. A 100 ft straight fence with posts every 8 ft needs 100 ÷ 8 = 12.5, rounded up to 13 sections, so 14 posts. Each corner or gate adds posts.
How far apart should fence posts be?
6–8 ft is standard for wood fences. 8 ft is the most common for privacy fences built with 8 ft rails; use closer spacing in windy areas or for heavy materials.
How many pickets do I need for a privacy fence?
Divide the fence length in inches by the picket width plus any gap. With 5.5 in wide pickets (nominal 1×6) and no gap, 100 ft of fence needs about 219 pickets.
How much concrete per fence post?
It depends on the hole size. A 10 in wide, 30 in deep hole for a 4×4 post holds about 1.15 cu ft of concrete once the post is in, roughly 3–4 bags of 50 lb fast-setting mix. The calculator works this out for your hole size.
How deep should fence posts be?
A common rule is one third to one half of the above-ground height, and below the frost line in cold climates. For a 6 ft fence that is usually 2–3 ft deep. Check local code.