Installing a fence typically costs $15–$40 per linear foot, or about $2,000–$8,000 for an average yard. Material and height are the biggest drivers.
What affects the price
Material
Chain-link is cheapest; wood is mid; vinyl and aluminum cost more.
Height
A 6-ft privacy fence uses more material than a 4-ft fence.
Terrain
Slopes, rocky soil, and tree roots slow post-setting.
Gates
Each gate adds $150–$500 in materials and hardware.
Cost breakdown
National-average planning ranges — your local pricing varies by region, scope, and access.
DIY or hire a pro?
DIY is possible, but digging and setting posts plumb and level across a run is heavy, exacting work — most people hire it out.
Estimating this job?
Use the free count your materials, then turn it into a priced quote your customer can approve with the free estimate generator.
FAQ
How much does a 6-foot privacy fence cost?
A wood 6-ft privacy fence runs about $25–$40 per linear foot installed; vinyl is higher.
Is wood or vinyl fencing cheaper?
Wood is cheaper to install; vinyl costs more up front but needs little maintenance and lasts longer.
How much is chain-link fencing?
Chain-link is the budget option, typically $10–$20 per linear foot installed.