Fence calculator
Enter each straight run of your fence, the post spacing and the height to get the posts, rails, pickets or panels, and the concrete and gravel for the post holes.
Material list
100 ft of 6 ft picket fence, posts every 8 ft, 10% waste
- 14 posts, 8 ft
- 39 rails, 8 ft
- 241 pickets, 6 ft tall
- 24 × 80 lb bags of concrete mix
- Fence length
- 100 ft in 13 sections
- Post length
- 8 ft (height + hole depth)
- Concrete per post
- 0.92 cu ft (1.53 bags)
- Bag yield used
- 0.6 cu ft per bag
- Rails per section
- 3
How it works
Enter each straight run as a separate length; runs join at corners, and you can close the loop for a full enclosure. Set the post spacing (8 ft by default), the above-ground height, and whether the fence uses pickets or panels.
Sections are each run divided by the post spacing, rounded up. Posts are one more than the sections for an open fence, or the same number for a closed one. Post length is the height plus the hole depth (24 inches by default), matched to the shortest stock length that fits.
For a picket fence, rails per section are 2, or 3 for fences over 5 ft tall, unless you choose a number. Pickets fixed across the posts are counted along each whole run; pickets fitted between the posts are counted bay by bay from the clear width between posts. Either way they get a 10% waste allowance, rounded up to whole pickets. For panels, the count is one panel per section. Posts, rails and panels are counted exactly, with no waste added.
Concrete per post is the round hole minus the volume of the post itself, times the fill depth (hole depth minus any gravel at the bottom). The total gets the 10% waste allowance and is rounded up to whole bags of the size you pick (80 lb or 25 kg by default). Metric units are supported.
The formula
- Sections per run = run length ÷ post spacing, rounded up
- Posts = sections + 1 for an open line; = sections for a closed loop
- Concrete per post = (π × (hole diameter ÷ 2)² − post width²) × (hole depth − gravel depth)
- Bags = concrete per post × posts × (1 + waste %) ÷ bag yield, rounded up
- Pickets across the posts: per run = (run + gap) ÷ (picket width + gap), rounded up; between the posts: per bay = (bay − post width + gap) ÷ (picket width + gap), rounded up; plus waste
Worked examples
100 ft of 6 ft picket fence, posts every 8 ft with 10% waste: 13 sections, 1.53 bags of concrete per post. Buy:
- 14 posts, 8 ft
- 39 rails, 8 ft
- 241 pickets, 6 ft tall
- 24 × 80 lb bags of concrete mix
40 + 25 + 40 ft of 4 ft picket fence, posts every 8 ft with 10% waste: 14 sections, 1.53 bags of concrete per post. Buy:
- 15 posts, 6 ft
- 28 rails, 8 ft
- 255 pickets, 4 ft tall
- 26 × 80 lb bags of concrete mix
50 + 30 + 50 + 30 ft of 6 ft panel fence, posts every 8 ft with 10% waste: 22 sections, 1.53 bags of concrete per post. Buy:
- 22 posts, 10 ft
- 22 fence panels, 8 ft wide
- 38 × 80 lb bags of concrete mix
- 6 cu ft of gravel for the hole bottoms
Tips
- Check the hole diameter against your post; a common rule is a hole about three times the post width.
- Bury about a third of the above-ground height, and go below the frost line where the ground freezes.
- Measure each run along the ground where the fence will stand.
- Check local building codes and property lines before you build, and call a utility locator before you dig.
Questions
How many posts do I need for 100 ft of fence at 8 ft spacing?
13 sections and 14 posts for an open run. A closed loop has one post per section instead: a 25 ft square (four runs of 25 ft) has 16 sections and 16 posts.
How many bags of concrete per fence post?
With the default 10 inch hole, 24 inches deep and a 3.5 inch post, each hole takes about 0.92 cubic feet net, or 1.01 cubic feet with waste. That is about 1.7 eighty-pound bags per post (0.60 cubic feet each), so 24 bags for all 14 posts of a 100 ft open fence.
How many pickets do I need for 100 ft of fence with 5.5 inch pickets and no gap?
219 before waste and 241 with the 10% allowance.
How deep should a fence post be?
The default is 24 inches. A common rule is to bury about a third of the above-ground height and to go below the frost line where the ground freezes; the calculator warns if the hole is shallower than a third of the height. Check local codes before you dig.
Can I calculate a panel fence instead of pickets?
Yes. Choose the panels style and the calculator gives one panel per section, plus posts and concrete. Rails are not counted for panel fences.
The full method, every constant and its source are published with the calculator code. Found a result that looks wrong? Email yardlist@lobbykit.net with the share link.