🪵 Fence Calculator

Enter your fence length and choose a material to get an instant cost estimate — materials and labor combined, based on 2026 US averages.

Fence dimensions
linear ft
× ~$200–400 ea
Fence material

Estimates based on 2026 US national averages including materials and labor. Actual costs vary by region, terrain, and contractor. Always get 2–3 quotes.

☕ Support this free tool

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)

MaterialCost per linear ftLifespanMaintenance
🪵 Wood (pine)$17–$4515–20 yrsStain every 2–3 yrs
🤍 Vinyl / PVC$25–$5520–30 yrsLow — hose off
⛓️ Chain Link$12–$2820–30 yrsVery low
🔘 Aluminum$25–$4520–30 yrsVery low
🪨 Split Rail$10–$2210–20 yrsLow
🔩 Wrought Iron$24–$5550+ yrsPaint 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.