Estimates based on 2026 US national averages including materials and labor. Actual costs vary by region, terrain, and contractor. Always get 2–3 quotes.
How much does a fence cost?
Fence costs vary widely by material, height, and region. The total includes materials (boards, posts, rails, hardware) and labor (post-setting, assembly, cleanup). On average, homeowners pay between $15 and $60 per linear foot installed, with wood and chain link on the lower end and vinyl or aluminum on the higher end.
Cost by fence material (2026 US averages)
| Material | Cost per linear ft | Lifespan | Maintenance |
|---|---|---|---|
| 🪵 Wood (pine) | $17–$45 | 15–20 yrs | Stain every 2–3 yrs |
| 🤍 Vinyl / PVC | $25–$55 | 20–30 yrs | Low — hose off |
| ⛓️ Chain Link | $12–$28 | 20–30 yrs | Very low |
| 🔘 Aluminum | $25–$45 | 20–30 yrs | Very low |
| 🪨 Split Rail | $10–$22 | 10–20 yrs | Low |
| 🔩 Wrought Iron | $24–$55 | 50+ yrs | Paint every 5 yrs |
How many posts and rails do you need?
Fence posts are typically spaced 6–8 feet apart. A 150-foot fence needs roughly 20–25 posts. Each section has 2–3 rails depending on height. This calculator factors post spacing into the material estimate automatically.
When to get a permit
Most municipalities require a permit for fences over 6 feet tall, fences in front yards, or fences near property lines. Permits typically cost $50–$200. Always check local zoning rules and mark your property lines before digging post holes.
Methodology & sources
How this calculator works: it divides the fence run by the post spacing (commonly 6–8 ft) to get post and section counts, then estimates panels/pickets and rails per section. Corner and end posts are included. Sources: post-spacing and rail conventions follow standard residential fencing practice; costs are planning estimates, not quotes. Estimates are for planning only. Last reviewed: by the Toolchive Team.