How the fence materials are counted
A wood or panel fence is a row of sections between posts. Each straight side is divided by the post spacing and rounded up, because a shorter last section still needs its own post:
sections = ⌈side length ÷ post spacing⌉, posts = sections + 1
When the sides are connected end-to-end, the corner posts are shared, so the total is the sum of the sections plus one. A closed loop (a fully enclosed yard) needs one post per section. Each gate opening is removed from the fenced length and adds one post, because the gate needs a post on both sides.
Rails run horizontally between posts — two for fences up to about 4 ft (1.2 m), three for 5–6 ft privacy fences, and four for very tall fences or heavy boards. Pickets are counted over the fenced length:
pickets = ⌈fenced length ÷ (picket width + gap)⌉
Set the gap to zero for a board-to-board privacy fence. Common picket widths are 3½ and 5½ in (89 and 140 mm); many metric fence boards are 90–100 mm.
Concrete for the posts
Each post sits in a round hole filled with concrete. The concrete volume is the hole cylinder minus the part of the post inside it:
concrete = π × (hole diameter ÷ 2)² × depth − post area × depth
Rules of thumb: the hole diameter is about three times the post width (10–12 in for a 4×4), and the depth is at least one-third of the above-ground height, and below the frost line in cold climates. Many builders put 4–6 in of gravel in the bottom for drainage; reduce the depth you enter by that amount.
Bagged concrete is sold by weight. The calculator uses the yields printed on typical US bags — about 0.375, 0.45 and 0.60 ft³ for 50, 60 and 80 lb bags — and scales the 80 lb yield for 20 and 25 kg bags (about 9.4 and 11.7 liters).
Worked example
A 100 ft fence, 6 ft tall, with one 4 ft gate, posts every 8 ft, 3 rails per section and 5½ in pickets spaced ½ in apart. Posts are 4×4 set in 10 in holes, 24 in deep.
- Fenced length: 100 − 4 = 96 ft.
- Sections: 96 ÷ 8 = 12; posts: 12 + 1 + 1 gate post = 14 posts, each at least 8 ft long.
- Rails: 12 × 3 = 36 rails.
- Pickets: 96 × 12 ÷ 6 = 192 pickets.
- Concrete per hole: (π × 5² − 3.5²) × 24 = 1,591 in³ = 0.92 ft³; for 14 holes 12.9 ft³, i.e. 22 bags of 80 lb.
In metric, a 30 m fence at 2.4 m spacing with a 1.2 m gate has 12 sections and 14 posts; with 90 mm boards and 10 mm gaps it needs 288 boards.
Planning tips
- Confirm the property line and any setback, permit or height limits before you dig; corner lots and pool fences often have special rules.
- Locate buried utilities before digging post holes (in the US, call 811).
- Measure each side separately if the fence turns corners — corner and end posts take the most load, so some builders upsize them to 6×6.
- Adjust the spacing so the sections come out equal rather than leaving one short section at the end.
- Buy 5–10% extra pickets for splits and defects, and remember gate hardware, post caps and fasteners.
Frequently asked questions
How many posts do I need for a 100 ft fence?
At 8 ft spacing a straight 100 ft fence has ⌈100 ÷ 8⌉ = 13 sections and 14 posts. At 6 ft spacing it needs 17 sections and 18 posts. Add one post per gate.
How many bags of concrete per fence post?
For a 4×4 in a 10 in × 24 in hole, about 0.92 ft³ — roughly 1½ bags of 80 lb or 2½ bags of 50 lb. A 12 in × 36 in hole for a 6×6 takes about 1.7 ft³, roughly 3 bags of 80 lb.
Should fence posts be 6 or 8 feet apart?
8 ft is standard for wood privacy fences because rails come in 8 ft lengths. Use 6 ft for tall fences in windy areas, heavy boards or vinyl panels designed for 6 ft sections.
How long should the posts be?
Fence height plus hole depth: a 6 ft fence with posts set 2 ft deep needs 8 ft posts. Buy the next standard length up if the ground slopes.
Last reviewed: