HomeCostGuide

Outdoor calculator

Fence Cost Calculator

Estimate the national average cost to install a new fence based on length, material, height, and gate count.

Project details

Estimated range

$3,550 - $8,850

estimated fence cost using national average pricing.

Enter a ZIP code to adjust this estimate for broad regional cost differences.

How we calculate this

  • A valid 5-digit ZIP code applies a broad regional cost multiplier to the national average estimate.
  • The estimate starts with a national average installed price per linear foot.
  • Material and height choices adjust the range because they affect labor, posts, panels, and hardware.
  • Each gate adds a placeholder allowance of $250 to $600.

Recommended Fence Project Tools

Rotates weekly

Affiliate links may earn HomeCostGuide a commission.

Fence cost guide

What affects fence cost?

Fence cost is mostly driven by total length, material, height, terrain, post spacing, and gate hardware. Straight runs on level ground usually cost less than curved layouts, sloped yards, or projects that require removing an old fence.

Wood vs vinyl vs chain link

Wood is common and flexible, vinyl has higher upfront material cost but lower maintenance, and chain link is often the lowest-cost option. Aluminum and decorative metal fences usually sit at the higher end of the installed price range.

Budgeting tip

Plan a contingency for permits, old fence removal, utility marking, and difficult digging conditions. These items can move a real quote above a simple national average estimate.

Frequently asked questions

How much does a fence cost per foot?

Many residential fence projects fall between about $22 and $55 per linear foot installed, depending on material, height, and site conditions.

Is vinyl fencing more expensive than wood?

Vinyl typically costs more upfront than basic wood fencing, but it can require less maintenance over time.

Does this calculator include permits?

No. Permit fees vary by location, so this estimate focuses on national average material and installation costs.

Related calculators