Fence Posts Calculator
Fence post count.
Formula
Posts = ⌈Length / Spacing⌉ + 1 + Corners
Example
100 ft × 8 ft spacing + 4 corners → 17 posts.
Embed this calculator on your site
Add this free calculator to your own website with one line of code. The embedded version is responsive, ad-free, and includes a small attribution link back to CalcNest AI.
<iframe src="https://calcnestai.com/embed/fence-posts-calculator.html" width="100%" height="700" frameborder="0" style="border: 1px solid #e5e5e5; border-radius: 12px; max-width: 720px;" loading="lazy" title="Fence Posts Calculator — Free Tool by CalcNest AI"></iframe>
Understanding the Fence Posts Calculator
A fence post calculator divides run length by spacing, adds one for the final post, and adds corners. It also estimates concrete, and that figure is where most people underorder, because a post hole takes more concrete than its size suggests.
How it actually works
Enter fence length, post spacing, and number of corners. The calculator divides length by spacing, rounds up, adds one for the closing post, and adds the corner count. One hundred feet at 8-foot spacing with 4 corners gives 18 posts, 36 bags of concrete, and 18 holes at 24 to 36 inches deep.
| Fence type | Typical spacing |
|---|---|
| Wood privacy panel | 6-8 ft |
| Chain link | 8-10 ft |
| Vinyl panel | Panel width, often 6-8 ft |
| Wire or agricultural | 8-16 ft |
The deeper context most people miss
Panel fencing constrains spacing absolutely rather than approximately, since panels come in fixed widths and posts must land at panel joints. Choosing an arbitrary spacing and then buying panels produces a fence that does not fit, so with panel systems the spacing is decided by the product before any calculation.
Why depth matters more than anything else
The single most common fence failure is posts leaning or lifting, and it is almost always a depth or drainage problem rather than a materials problem. The general rule is that a third of the post length should be below ground, so a 6-foot fence needs a post around 9 feet long set 3 feet deep. Frost depth is the harder constraint in cold climates: where ground freezes, water in the soil expands and can lift a post through frost heave, and the fix is setting the post base below the local frost line, which varies from a few inches in mild regions to 4 feet or more in cold ones and is published by local building authorities. A post set above frost depth will lift over successive winters regardless of how much concrete surrounds it. Drainage is the related issue, since a concrete collar that holds water against the post accelerates rot in wood. The recommended approach is several inches of gravel at the base of the hole for drainage, concrete around the post but not sealing the base, and the concrete crowned above ground level so water sheds away rather than pooling. Some builders prefer setting posts in compacted gravel alone without concrete, which drains well and allows adjustment, and it performs adequately for many fence types while being easier to remove later.
A worked example: how much concrete a hole actually takes
The calculation estimates two bags per post, and whether that is right depends on hole size. A hole 10 inches in diameter and 30 inches deep has a volume of roughly 1.4 cubic feet, and subtracting the post itself leaves around 1.2 cubic feet to fill. An 80-pound bag of concrete mix yields roughly 0.6 cubic feet, so that hole takes two bags, and the estimate holds. Now widen the hole to 12 inches, which is common guidance of three times the post width for a 4-inch post, and depth to 36 inches for a taller fence: volume rises to about 2.8 cubic feet, less the post, giving roughly 2.5 cubic feet or four bags. The estimate has halved in accuracy. This is why ordering by calculated volume rather than a per-post rule matters for anything beyond a light fence, and why people routinely run short. Corner and gate posts deserve particular attention, since they carry lateral load that line posts do not: corners resist the tension of the fence pulling in two directions, and gate posts carry the swinging weight and repeated shock of a gate being used. Both are typically set deeper and in more concrete than line posts, and undersizing them is the second most common cause of fence failure after inadequate depth generally.
Deciding on layout before digging
Several things should happen before the first hole. Locating underground utilities is the most important and in many jurisdictions is a legal requirement, with free services available that mark buried gas, electricity, water, and telecoms lines, and striking a service is both dangerous and expensive. Confirming the property boundary matters, since fences built over a line create disputes that are costly to resolve and sometimes require the fence to be moved, and a survey is worth the cost where the boundary is uncertain. Checking local rules is worthwhile since many areas regulate fence height, particularly at the front of a property and near junctions where sightlines matter, and some require permits or have rules about which side faces outward. Homeowner association rules add another layer in some areas. Discussing with neighbours before building is practical as well as courteous, since shared boundary fences sometimes involve shared cost and always involve shared consequences. On layout itself, setting out with a string line between corner posts before digging any intermediate holes keeps the run straight, and measuring the actual run rather than assuming a round number matters since spacing may need slight adjustment to land posts evenly rather than leaving an awkward short bay at one end.
Post materials and what determines lifespan
Wood posts are cheapest and rot at ground level, which is where moisture and oxygen coexist and decay organisms thrive. Pressure-treated timber rated for ground contact is essential rather than optional for buried posts, and the treatment rating matters since above-ground rated timber will fail in a few years underground. Even treated posts eventually fail at the soil line, and lifespan varies enormously with soil moisture, drainage, and climate, commonly cited somewhere between 10 and 20 years for treated softwood in reasonable conditions. Naturally durable species including cedar and redwood resist decay better in the heartwood, though sapwood does not. Metal posts, whether galvanised steel for chain link or powder-coated for panel systems, avoid rot entirely and can outlast the fence they carry, with corrosion at the ground line being the eventual failure mode. Concrete posts, common in the UK, last essentially indefinitely and are heavy, brittle under impact, and unforgiving of alignment errors. Composite posts exist for some systems. Post anchors and spikes driven into the ground avoid digging entirely and are considerably weaker, suiting only light fencing in stable soil. Metal post supports set in concrete, which hold a wooden post above ground level, extend wood post life substantially by removing the ground contact that causes failure, at the cost of a visible bracket.
Variations: gates, slopes, and fence systems
Gates require heavier posts on both sides, since one carries the hinge load and shock of use while the other takes the latch strike, and both are typically larger section and set deeper and in more concrete than line posts. Wide gates or double gates increase the load substantially. Sloping ground requires a choice between stepping the fence, where panels stay level and step down in increments leaving triangular gaps at the base, and racking, where the fence follows the slope and panels are built or adjusted to parallelogram shape, which some panel systems accommodate and others do not. Post length must increase on slopes for the downhill posts. Corner and end posts carry tension in wire fencing and are typically braced with an H-brace assembly, which is essential in agricultural fencing and frequently omitted by people building their first wire fence. Chain link uses terminal posts of larger diameter at ends, corners, and gates with lighter line posts between, and the tension band and brace assembly are integral to the system. Deer fencing, pool fencing, and boundary fencing near roads all have specific regulatory requirements in many jurisdictions worth checking before design.
Setting fence posts properly
Set posts about a third of their length below ground, and below the local frost line in cold climates, since frost heave lifts inadequately deep posts regardless of how much concrete surrounds them. Calculate concrete by hole volume rather than a per-post rule, since a 12-inch by 36-inch hole takes around four bags against two for a 10-inch by 30-inch one. Put several inches of gravel at the base for drainage and crown the concrete above ground so water sheds away, since standing water at the collar accelerates rot. Use timber rated specifically for ground contact, since above-ground rated treatment fails underground within a few years. Set corner and gate posts deeper and in more concrete, since they carry lateral loads that line posts do not. Have utilities located before digging, which is a legal requirement in many places and free. Confirm the boundary before building, since a misplaced fence is expensive to resolve. And check local height rules and permit requirements, which vary and frequently restrict front boundary fences.
What people get wrong
- Setting posts above the local frost line in cold climates, which allows frost heave to lift them over successive winters regardless of concrete volume.
- Estimating concrete at a fixed number of bags per post, when hole volume varies by a factor of two between common sizes and underordering is routine.
- Using above-ground rated treated timber for buried posts, which fails within a few years compared with ground-contact rated material.
- Sealing the post base in concrete without gravel drainage, which holds water against the wood and accelerates rot at the soil line where posts actually fail.
Where the math comes from
Posts = ceiling(Fence Length / Post Spacing) + 1 + Corners, where the added one accounts for the closing post at the end of the run. Concrete is estimated at 2 bags per post, which suits a hole around 10 inches in diameter and 30 inches deep; larger holes require proportionally more, and calculating by hole volume is more reliable.
Questions and answers
How much waste should I add?
Drywall: 5-10%. Tile: 10-15%. Hardwood flooring: 7-10%. Paint: covered by the calculator. Carpentry/lumber: 10-15% accounting for cuts.
Should I round up the panels/units?
Always round up to the next whole unit. Stores do not sell partial panels.
What about labor cost?
This calculator handles materials. Labor is typically 1-2x materials cost depending on the trade and location. Get multiple quotes for any significant project.
How accurate are coverage rates?
Manufacturer specs are theoretical maximums under ideal conditions. Real coverage is often 80-90% of spec. Use that for planning.
Can I save by buying online?
Sometimes - but factor shipping, return logistics for damaged material, and the value of being able to grab one extra piece locally mid-job. Often local big-box stores work out cheaper for everything but specialty items.
How deep should fence posts be?
Roughly a third of the post length below ground, so a 6-foot fence needs a post about 9 feet long set 3 feet deep. In cold climates the base must sit below the local frost line, which varies from a few inches to 4 feet or more and is published by local building authorities.
How much concrete does each post need?
It depends on hole size. A 10-inch by 30-inch hole takes about two 80-pound bags, while a 12-inch by 36-inch hole takes around four. Calculating by hole volume rather than using a fixed per-post figure avoids the underordering that routinely happens.
What spacing should I use?
Six to eight feet for wood privacy fencing, eight to ten for chain link, and eight to sixteen for wire. Panel systems constrain it absolutely, since posts must land at panel joints, so the panel width decides the spacing before any calculation.
Why do fence posts rot at ground level?
Because that's where moisture and oxygen coexist, which decay organisms need. Timber rated specifically for ground contact is essential, since above-ground rated treatment fails underground within a few years. Gravel drainage at the base and crowning the concrete so water sheds away both extend life.
Should corner and gate posts be different?
Yes. Corners resist fence tension pulling in two directions and gate posts carry the swinging weight and repeated shock of use, so both are typically larger section, set deeper, and in more concrete. Undersizing them is a common cause of fence failure.
Do I need to call before digging?
In many jurisdictions it's a legal requirement, and the utility location service is free. Striking a buried gas, electricity, water, or telecoms line is dangerous and expensive, and it's the single most important thing to do before any hole is dug.
Can I set posts without concrete?
Compacted gravel alone works adequately for many fence types, drains well, and allows later adjustment or removal. It's a recognised alternative rather than a shortcut, though gates, corners, and tall privacy fencing generally benefit from concrete given the loads involved.
Related calculators
Framing Lumber · Drywall · Paint · Concrete Mix · Home Insulation R-Value