Calculate post count, material list, and cost for wood, vinyl, chain link, or composite fencing.
Fence Details
Wood Privacy
6ft
6ft dog-ear pickets, classic privacy fence. 15-20 years lifespan, medium maintenance.
Estimates only. Not professional advice.
Wood Privacy fence
97.00
linear ft of fence to build, gate openings already taken out, standing on 16 posts at 8.0 ft centres.
Concrete is priced at this page's flat allowance of 2 bags a post. The schedule further down works out what the hole you actually dig will take.
Last updated August 5, 2026 by our expert review team.
Three runs, priced
Every figure below comes off the same rates and the same post rule the calculator above uses, so a price change moves these too. Gate openings come out of the fenceable length first, then each gate puts two dedicated posts back in.
One straight run of pressure-treated wood privacy fence with a single walk gate, flat suburban lot.
Galvanized chain link down a side yard with one double drive gate, wide enough to get a trailer through.
White vinyl panels around the full back garden with two walk gates, HOA colour approved.
Your run
Below grade
The part of a fence you can see is the part people estimate. The part that decides whether it is still upright in five years is underground. A picket fence is a row of levers standing in wind, and every one of them is held by a plug of concrete you have to buy, mix and carry. Change the post spacing and you change how many of these you dig.
One bay, drawn true in both directions, so the proportion is the real one. Almost everyone imagines the hole deeper and narrower than this, which is why the bag count surprises them.
The 24 in depth, 10 in bore and 4 in of gravel are assumptions you can change in the calculator's options panel. They are not a code figure. Frost depth is set by your local building department and this page cannot look it up, so ask before you dig.
24 in
yours8.0 ft
0.77 ft³
2.0
33
36 in
9.0 ft
1.23 ft³
3.3
53
48 in
10.0 ft
1.69 ft³
4.5
73
Same 10 in bore and same 4 in of gravel in all three rows, so the only thing moving is depth. Going from the shallow row to the deep one roughly doubles the concrete without adding a single post.
Order of work
A fence takeoff has a real sequence, because each line depends on the one above it. Get the gates out of the run before you count posts and everything downstream lands right.
Set the string line
Stakes at both ends, mason line pulled tight. Every post goes to that line, and the line is what tells you the real run length rather than the one on the survey.
Count the posts
Bays first, then add the closing post, then two dedicated posts for every gate. Gate openings come off the fenceable length before anything else is counted.
Order the concrete
This is the line most estimates miss. It scales with post count, not with fence length, so tightening the spacing raises it twice over.
Rails or panels
Wood runs three rails a bay. Vinyl and composite arrive as panels sized to the post spacing, so the spacing is fixed for you.
Pickets or fabric
Wood pickets divide the run by board width plus gap. Chain link comes off a roll and is cut to the run.
Gates and hardware
Hinges, latch, and an anti-sag kit on anything wider than a walk gate. Budget them per gate, not by the length of the run.
Fasteners last
Roughly twenty screws a bay for wood. Cheap, and the thing that sends you back to the store on a Sunday.

What leans, and why
Five of the six below are settled before the first post goes in the ground, and none of them is cheap to fix once the concrete has gone off.
Not calling 811 before digging
Hitting a buried line can cost $5,000 to $25,000. The 811 call is free, legally required, and takes 2 to 3 business days.
Setting posts without gravel drainage
Concrete alone traps water around the post base, accelerating rot. Add 4 to 6 inches of crushed gravel at the bottom of every hole first.
Building on or over the property line
A forced teardown costs the entire fence plus legal fees. Spend $300 to $500 on a survey, or locate your property pins with a metal detector.
Using undersized gate posts
4x4 posts are too weak for gates. Use 6x6 posts for all gate jambs in 12-inch holes with 3 to 4 bags of concrete each.
Ignoring the setback requirement
Most municipalities require 2 to 6 inches of setback from the property line. Check your zoning code before buying materials.
Skipping the string line for alignment
Drive stakes at both ends, stretch a mason line, and set every post to that line. Takes 10 minutes and prevents a wavy fence.
Five systems
Every rate here is the one the calculator charges, low being material only and high being material plus install. Post spacing matters as much as the rate, because it sets how many holes you dig.
| Fence type | Height | Rate / LF | Posts | Lifespan | Upkeep |
|---|---|---|---|---|---|
| Wood Privacyyour pick | 6 ft | $12–32 | 8 ft | 15-20 years | Medium |
| Wood Board-on-Board | 6 ft | $18–43 | 8 ft | 15-20 years | Medium |
| Chain Link | 4 ft | $7–22 | 10 ft | 20-30 years | Low |
| Vinyl Privacy | 6 ft | $22–44 | 8 ft | 25-30 years | Low |
| Composite | 6 ft | $30–55 | 8 ft | 25-50 years | Very Low |
Chain link runs its posts 10 ft apart against 8 ft for wood, so the same run needs fewer holes and less concrete before the rate is even considered.
Numbers worth keeping
At the trade counter
Eight answers in the order they tend to come up, starting with the one that decides whether you build it yourself.
Chain link: $15 to $22/LF. Wood privacy: $20 to $35/LF. Vinyl: $30 to $45/LF. Composite: $45 to $55/LF. DIY cuts labor costs by 40 to 60%.
Bury one-third of the total post length. A 6-foot fence with 8-foot posts means 24 inches in the ground. Cold climates may require 36 to 48 inches, because the footing has to sit below the local frost line.
PT costs 30 to 40% less but warps as it dries. Cedar stays straighter and is naturally rot-resistant, but costs $18 to $25/LF vs $12 to $18 for PT.
Most areas require permits for fences over 4 feet in front yards or 6 feet in backyards. Get a property survey before building to avoid teardown orders.
Pressure-treated: 15 to 20 years. Cedar: 20 to 25 years with sealing every 2 to 3 years. Vinyl and composite: 25 to 50 years.
Two 50 lb bags per 4x4 post in a 10-inch hole at 24 inches deep. Gate and corner posts (6x6) need 3 to 4 bags each. Our concrete bags calculator gives precise estimates.
8 feet on center is standard. Reduce to 6 feet in high-wind areas or for fences taller than 6 feet.
Install a diagonal steel anti-sag kit ($12 to $15) from top hinge corner to bottom latch corner. Required for any gate wider than 4 feet.
On site
None of these is a sequence, so none of them is numbered. Each one is a decision made on the day that shows up years later.
Use 6-foot post spacing instead of 8-foot in high-wind areas. The shorter span dramatically reduces lever force and prevents leaning.
Budget 2 bags of fast-setting concrete (50 lb each) per 4x4 post. For 6x6 gate or corner posts, plan 3 to 4 bags per hole. Use our concrete bags calculator for exact quantities.
Place gates at the highest point of your fence run. Gates sag over time, and starting uphill gives extra clearance before dragging.
Call 811 at least 3 business days before digging. It is free and required by law. Fence height and setback come from your local zoning ordinance, not the building code, so ask the planning counter rather than looking for a national rule.
Layer 4 to 6 inches of crushed gravel at the bottom of every post hole before concrete. This prevents water from pooling around the post base.
Pre-stain or seal all six faces of every picket before installation, not after. This single step can add 5 to 7 years to a cedar fence's life.
For vertical board siding, use our board and batten calculator to estimate boards and battens for walls.
Takeoff math
It starts from the measured run or the yard perimeter you tick together, takes the gate openings out of the fenceable length, then puts two dedicated posts back for each gate. Everything after that follows from post spacing and the fence system you picked.
Picket counts use your own board width and gap, so a wider board or a wider gap cuts the count straight away. Panel systems ignore both, because the panel arrives already built.
Not in the number
Treat the output as an ordering estimate. Confirm height limits, setbacks and post depth with your local code, and call 811 before a shovel goes in.
Disclaimer
These estimates are for planning purposes only. Actual costs vary by location, material availability, and project complexity. Always get at least 3 local quotes. This calculator does not replace professional advice.
Sources