A free fence calculator that counts posts, rails, pickets and concrete, with post holes sized by QUIKRETE's guide.
Your numbers
Your result
Embed this tool on your site
Paste the code into any page: WordPress, Webflow, Squarespace, Ghost or plain HTML. It's free with the credit under it, which links back to navid.me.
This free fence calculator counts the posts, rails, pickets and bags of concrete a fence takes, from its length and post spacing.
It sizes each post hole the way QUIKRETE's own guide does, so the concrete count matches the hole you'll dig.
I built it because the posts and the concrete are where fence materials come up short, and both depend on the hole.
Here's how it works, what QUIKRETE says about post holes, and a worked example.
Key takeaways
What is a fence calculator?
A fence calculator turns a fence's length into the posts, rails and pickets it takes.
This one also counts the concrete and gravel for the post holes.
What QUIKRETE says about post holes
QUIKRETE's Setting Posts guide makes the hole 3 times the post's width, and a third of the post's length deep, plus 6 inches for a gravel base.
The concrete goes in up to 3 to 4 inches below the top. For a post that holds up a structure, like a deck, the guide takes the hole at least 6 inches below the frost line.
The Fast-Setting Concrete Mix data sheet gives about 0.375 cubic feet a 50 lb bag.
A worked example
Here's the example the calculator loads: 100 feet with posts 8 feet apart, 2 extra posts, 2 rails a section, and 8-foot 4×4 posts.
100 ÷ 8 = 12.5, so 13 sections and 14 posts, plus 2 = 16 posts and 26 rails. Each hole is 10.5 inches across and 38 inches deep, and takes about 3.3 bags, so 54 bags in all.
With 5.5-inch pickets and half-inch gaps, the fence takes 200 pickets.
Mistakes to avoid
These are the slips that come up most.
- Forgetting the post at the end of the run
- Counting a gate opening as fence
- Digging a hole too narrow for the concrete around the post
Who is the fence calculator for?
It's for anyone building or replacing a fence, and these tools help around it.
- Concrete calculator – for a slab or footing
- Gravel calculator – for a path along the fence
- Square footage calculator – for the yard inside it
Count the posts and the bags first, and the fence goes up in one trip.
Plan your money with your AI
Take your numbers further in
Fence Calculator FAQs
Questions about the fence calculator? Here's what to know.
A fence calculator counts the posts, rails, pickets and concrete a fence takes.
Divide the length by the post spacing, round up, add 1, then add corners and gates.
A third of its length, plus 6 inches for gravel, by QUIKRETE's guide.
3 times the post's width, by QUIKRETE's guide.
For an 8-foot 4×4, about 3.3 bags of 50 lb Fast-Setting Concrete Mix.
200, with 5.5-inch pickets and half-inch gaps.
Yes, switch to meters and the post and picket sizes go to centimeters.
Yes, it's free with no sign-up.
It runs in your browser, and your numbers stay on your device.
I did.
I'm Navid Moazzez, and I made the fence calculator as one of my free tools on navid.me.
More about me.
Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.
Related calculators
More free tools
Related MCP servers & CLIs
Free AI newsletterThe most actionable AI newsletter for founders
Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.
No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.
P.S. Sign up now to get free access to my ultimate AI tools guide for creators.







