Project calculator
Fence Calculator: Panels, Posts, Pickets & Concrete per Hole
A fence estimate fails in predictable places: one post short, concrete guessed by the bag, pickets counted without the gate. This calculator builds the full shopping list for both ways people actually build fences — pre-built panels and picket-by-picket — and sizes the concrete from your actual hole diameter and depth, not a rule of thumb. Enter your run, gates, and local prices; the verdict gives you materials per foot so quotes are easy to compare.
Fence calculator
Your results
Enter your fence length to build the shopping list.
How to use this calculator
Measure the full fence run first — corners, slopes, and all — and enter gates separately with their width. Choose panels if you are buying pre-built sections (the panel width sets your post spacing), or picket style if you are building in place (you set post spacing, picket width, and gap). Set hole diameter and depth for your soil and frost line: 10 inches wide and 24 inches deep suits a 4×4 post in mild climates, but frost country needs 36 inches or more. Prices default to typical big-box figures; swap in your store's numbers for a true per-foot cost.
On slopes, measure along the ground, not the map distance — a stepped fence on a grade is longer than its footprint. And confirm the property line before the first hole: a fence two feet over the line is a fence you may have to move.
Concrete per post hole
Each hole is a cylinder minus the post itself (a 4×4 is really 3½ × 3½ inches). An 80 lb bag yields about 0.60 cubic feet of placed concrete.
| Hole (diameter × depth) | Concrete per hole | 80 lb bags |
|---|---|---|
| 8 in × 24 in | 0.53 ft³ | 1 |
| 10 in × 24 in | 0.92 ft³ | 1.5 → buy 2 |
| 12 in × 24 in | 1.40 ft³ | 2.3 → buy 3 |
| 10 in × 36 in | 1.38 ft³ | 2.3 → buy 3 |
| 12 in × 36 in | 2.10 ft³ | 3.5 → buy 4 |
The calculator totals concrete across all posts before rounding to bags, which is how you should buy: mixing hole by hole wastes the half-bag remainder every time. Gravel at the bottom of the hole (a few inches, tamped) improves drainage under the post — size it with the gravel calculator if you are ordering bulk.
Worked examples
Panels: 100 ft, no gates
The defaults above: 100 ft ÷ 8 ft panels = 12.5, so 13 sections and 14 posts. Fourteen 10×24 inch holes need 14 × 0.92 = 12.89 ft³ of concrete — 22 bags at 0.60 ft³ each. Materials: 13 panels ($715) + 14 posts ($168) + 26 brackets ($78) + 22 bags ($143) = $1,104, about $11 per foot. The thirteenth panel covers 104 ft of line, so the last section is cut to fit — normal, and the offcut makes a good gate infill.
Pickets: 60 ft with one 4 ft gate
The gate shortens the fence line to 56 ft. At 8 ft spacing that is 7 sections and 9 posts (8 line posts plus a gate latch post), with 21 rails at three per section for a 6 ft fence. Pickets at 5½ inches with a ½ inch gap pitch every 6 inches: 56 × 12 ÷ 6 = 112, plus 5% waste = 118 pickets and about 708 screws (4 one-pound boxes). Concrete: 9 holes × 0.92 = 8.29 ft³, or 14 bags. Total materials: $783 including the gate kit.
The formula, explained
Fence line = total length − gates × gate width. Panel style: sections = ceil(line ÷ panel width); picket style: sections = ceil(line ÷ post spacing). Either way, posts = sections + 1 + gates. Pickets = ceil(line × 12 ÷ (picket width + gap)), then waste. Rails = sections × rails per section (2 for 4 ft fences, 3 for 6–8 ft). Concrete per hole = π × (diameter ÷ 2)² × depth − 3.5 × 3.5 × depth (cubic inches ÷ 1728), totaled across posts and divided by the 0.60 ft³ bag yield.
Reading your results — and their limits
This calculator assumes a straight run on level ground. Corners add no posts in its math beyond the section count — in the field, a corner post serves two runs, so multi-run yards should be calculated run by run and shared corner posts counted once. Sloped fences stepped panel by panel can need longer posts on the downhill side. Post depth is the biggest local variable: the 24 inch default is a mild-climate minimum, and building codes in frost regions commonly require 36–48 inches — your hole depth input drives the concrete count, so set it honestly. Finally, permits and setback rules vary by town, HOA rules may cap height and style, and utility locates (811 in the US) are free and legally required before digging in most states. The shopping list is exact; the permission to dig is on you.
Frequently asked questions
How many fence posts do I need for 100 feet of fence?
With 8 ft panels, 100 ft needs 13 sections and 14 posts — one at each end of every section, with corner and end posts counted once. Add a gate and the math shifts: a 4 ft gate shortens the fence line to 96 ft (12 sections) but adds its own latch post, so you still buy 14 posts. The calculator handles gates, 6 ft panels, and picket spacing for you.
How much concrete goes in each fence post hole?
A standard 10 inch diameter hole dug 24 inches deep holds about 0.92 cubic feet of concrete after the post displaces its share — roughly one and a half 80 lb bags, so plan on 2 bags per post if you mix hole by hole, or 22 bags total for 14 posts if you batch. Bigger or deeper holes (frost country) take more; the table on this page covers common sizes.
How far apart should fence posts be?
Six to eight feet is standard. Pre-built panels dictate their own spacing (6 or 8 ft), while picket fences built in place usually run 8 ft sections with three rails for a 6 ft fence. Closer spacing (6 ft) stiffens the fence in high-wind areas and on slopes, at the cost of more posts, more concrete, and more digging.
How deep should fence posts be set?
The common rule is one-third of the post below ground — a 6 ft fence on 8 ft posts buried 24 inches — and always below your local frost line, which can mean 36–48 inches in cold climates. Posts heaved by frost are the number one cause of leaning fences. Check your local code and call 811 before you dig.
How many pickets do I need?
Divide the fence line in inches by the picket pitch (picket width plus gap). A 5½ inch picket with a ½ inch gap pitches at 6 inches, so a 56 ft fence line needs 112 pickets before waste. Add 5% for warped boards and miscuts — 118 in that example. The calculator does this from your picket width and gap.
What does a fence cost per foot in materials?
The worked example on this page — 100 ft of 8 ft panels — prices out at $1,104 in materials, about $11 per foot, before gates and hardware upgrades. Picket fences built board by board usually land in a similar range at retail lumber prices; vinyl and metal panels run higher. Labor, if you hire it out, typically doubles the material bill.
Want the full planner?
The calculator counts boards and bags. The Fence & Gate Planner lays out the whole job: run-by-run post maps, gate swing clearances, slope stepping, and a dig-day sequence so holes, concrete, and panels arrive in the right order.
- Run-by-run post & section maps
- Gate placement & swing worksheets
- Slope stepping calculator pages
- Permit, 811 & materials checklist
Get the Fence & Gate Planner on Etsy
Digital download · Print at home or use in Google Sheets/Excel · The free calculator above stays free either way.