Fence post calculator
Posts, gravel, and concrete sized to your run. Frost-line aware set your hole depth to local code and it does the rest.
Quick answer
How many fence posts and concrete bags do I need?
Intro
When to use this calculator
Fence post math has three parts: how many posts you need, how big each hole should be, and how much concrete to mix per hole. This calculator handles all three.
Enter your fence length, post spacing, post diameter, and frost depth. The calculator returns total posts, gravel for the bottom of each hole, and concrete bags needed per post, plus a total for the whole project.
The calculator uses 8-foot post spacing as the default. That's the standard for most residential wood and vinyl fences. If you're using 6-foot spacing for higher-wind areas, change it.
How to use it
How to use this calculator
- Enter total fence length in feet (perimeter for an enclosed yard, single distance for a straight run).
- Pick your post spacing. 8 feet is standard, 6 feet for high-wind or heavy gates.
- Enter post diameter (4×4 = 4 inches, 6×6 = 6 inches, round = whatever the post is).
- Enter your local frost depth from your county building department, or use our state guide.
- The calculator returns post count, gravel per hole, and total concrete bags.
| Post size | 60 lb bags / post | 80 lb bags / post |
|---|---|---|
| 4×4 | 1.5 | 1.0 |
| 6×6 | 1.3 | 0.9 |
| Round metal (3″ OD) | 1.7 | 1.2 |
Reading the output
Understanding your result
The big number is total posts. Below it: total concrete bags, bags per post, gravel weight for the bases, and adjusted volume with waste factor.
What the bag count assumes: the calculator subtracts the post's own volume from the hole, then adds 10% waste. If you're pouring on a slope or in soft soil where the hole walls slough in, bump the waste to 15 to 20%.
When to round up vs round down: always round up. Buy one extra bag beyond what the calculator says. Mid-pour shortages are the worst kind of shortage because fast-setting concrete starts curing in the hole within 20 minutes.
When to bump the depth: always go below frost line, even if the one-third rule says shallower. A post above frost line will heave out of the ground in the first winter, no matter how much concrete you used.
Common mistakes (and how to avoid them)
✗ Calculating fence length without subtracting gates.
Fix: A 100-foot fence with two 4-foot gates only has 92 feet of fence panels. Posts at gates need to be sized differently.
✗ Using a 24-inch hole depth in a 36-inch frost zone.
Fix: The post will heave in the first winter. Always go below frost depth, even if the rule of thirds says shallower is fine.
✗ Forgetting the gravel base.
Fix: A 6-inch gravel layer at the bottom of the hole counts as part of the depth, dig 6 inches deeper than the frost line.
✗ Skipping the corner posts upgrade.
Fix: Corner posts and gate posts carry more lateral force. Use 6×6 instead of 4×4 at corners and gates.
✗ Pouring concrete with the post not plumb.
Fix: Once concrete sets, you can't adjust. Brace every post with two 1×4 stakes before pouring.
Frequently asked questions
How deep should a fence post hole be?
How wide should the hole be?
Can I set fence posts without concrete?
How many bags of concrete per post?
Should I use fast-setting concrete for fence posts?
Related guides
Where to buy your materials
We've linked to common products at Home Depot and Lowe's below. These are affiliate links, meaning we earn a small commission if you buy through them, at no cost to you. We've used these specific products on projects ourselves. If your local independent yard has a better price, take it.
Where to buy
×144x4 pressure-treated pine, 8 ft.
Ground-contact rated lumber lasts 15–20 yrs in the soil. Skip non-ground-contact stock.
Affiliate links, same price for you, helps keep the calculators free.
Where to buy
×43Quikrete fast-setting concrete, 50 lb bags.
Sets in ~40 minutes, pour dry into the hole, add water on top. No mixing tub needed.
Affiliate links, same price for you, helps keep the calculators free.
Want a printable version?
We'll email a one-page PDF summary of this page's math plus a calling script for local supply yards. Everything we know is right here on the page, the PDF just makes it portable.
One email with your file. Unsubscribe in one click. No newsletter.
