Fence Cost Calculator (2026)

Estimate the cost to install a fence. Pick your length, height, material (wood, vinyl, aluminum, chain link, wrought iron), gate count, and state, and we'll compute a planning range. 2026 data; not a contractor bid.

Cedar privacy fence with stained vertical pickets and freshly set wood posts in dug holes along a string line

Enter your fence project

Includes labor, equipment, contractor markup, and permits.

Common projects

Fence dimensions

3-4 ft front yard typical; 6 ft privacy back yard standard; 8+ ft commercial / tall.

Material & site

Uses the first 3 digits as a planning zone (not exact local pricing). Overrides state average when matched.

Gates

Automatic gates include motor opener, photo eyes, wiring.

Site work

Your fence estimate

Estimated installed range
Calculating…
Materials
$0
Labor
$0
Per linear ft
$0

Cost breakdown

ItemQuantityEstimated range
Planning estimate, not a bid. 2026 ranges informed by published cost guides (HomeGuide, Angi, Inch Calculator). Get 2-3 local quotes for accurate pricing.
What's not included: survey costs ($300-$700), removing tree roots, hauling spoil dirt, painting/staining (annual sealing for wood), and HOA-required design approvals.

Bid check

Got a fence contractor quote? Compare it to the planning range.

Quote per lf
$0
Range check
Scope risk
Add a quote amount to compare it against the current estimate.

Methodology & sources

What this is: a planning-range fence calculator informed by 2026 cost guides (HomeGuide, Angi, Inch Calculator, FenceAdvisors).

Material pricing is per-linear-foot installed by material type. Tall fences (over 8 ft) get a 15% material premium.

Posts auto-computed at 8 ft on-center spacing plus 4 corner/end posts. Each post includes concrete (1-2 50-lb bags + gravel) and dig+set labor.

Labor is modeled from per-unit installed rates with a crew-rate sanity check ($55-$95/crew-hr loaded billing rate), informed by BLS OEWS 47-2061 (Construction Laborers) and 47-2031 (Carpenters), then loaded with payroll burden, crew composition, equipment overhead, and contractor profit.

Per-rate sources stored in CSV with each row's source_url, source_date, region, basis.

Last updated: May 2026. Full methodology →

How much does it cost to install a fence in 2026?

Most residential fences run $12 to $60 per linear foot installed in 2026, with the national average around $20-$45. Material is the biggest swing: chain-link at $10-$25/lf is the cheap end, wrought iron at $30-$80/lf the high end.

ProjectLengthMaterialInstalled cost
Backyard chain-link150 lfGalvanized chain-link$1,500 – $3,750
Backyard PT wood150 lfPressure-treated pine$2,250 – $4,500
Cedar privacy200 lfCedar$4,000 – $8,400
Vinyl privacy300 lfVinyl$9,000 – $18,000
Aluminum decorative150 lfAluminum$3,750 – $8,250
Wrought-iron estate400 lfWrought iron$12,000 – $32,000

What drives fence cost

  • Material — chain-link $10-$25/lf vs wrought iron $30-$80/lf is a 3-8x range.
  • Height — 6 ft is the residential standard; 8+ ft tall fences add 15% to material cost.
  • Posts — one post every 8 ft + 4 corner/end posts. Concrete and labor add $40-$90 per post.
  • Gates — walk-through $200-$600 each, double-drive $300-$1,200, automatic $1,900-$6,000+.
  • Site conditions — sloped terrain adds $3-$10/lf; brush clearing $2-$6/lf; old-fence removal $3-$8/lf.
  • Region — California and New York labor 30-35% above national average.

Choosing the right fence material

Pressure-treated wood pine

$15-$30/lf installed. Cheapest wood option. Lasts 15-20 years with annual sealing/staining. Boards may warp or split over time. Standard 6 ft dog-ear privacy panels are widely available.

Cedar

$20-$42/lf installed. Naturally rot-resistant and insect-repellent. Ages to silver-gray; stain to keep warm tone. 20-30 year lifespan. Common in board-on-board, shadowbox, and split-rail styles.

Vinyl / PVC

$30-$60/lf installed. Zero maintenance — no painting, sealing, or staining ever. 25-30+ year lifespan. White is most common; tan and gray available. Brittle in extreme cold; can crack.

Aluminum

$25-$55/lf installed. Powder-coated aluminum tubes; ornamental look. Mostly decorative (not great privacy). Long lifespan, no maintenance.

Chain-link

$10-$25/lf installed. Cheapest residential option. Galvanized steel mesh on metal posts. 4-6 ft heights typical. Vinyl-coated black or green available. Functional, not pretty.

Wrought iron

$30-$80/lf installed. Heavy steel ornamental fencing; security plus aesthetic. 50+ year lifespan with rust touch-ups. Common around pools and estates.

Composite

$30-$55/lf installed. Mix of recycled wood and plastic. Looks like wood but doesn't rot. 20-30 year lifespan.

Frequently asked questions

How much does it cost to install a fence in 2026?

Most residential fences run $12-$60 per linear foot installed. Chain-link is cheapest at $10-$25/lf, wood privacy $15-$42/lf, vinyl $30-$60/lf, aluminum $25-$55/lf, wrought-iron $30-$80/lf.

Do I need a permit to build a fence?

Most municipalities require fence permits. Permit fees range from $25 to $150. Front-yard fences are typically limited to 3-4 ft, side and back yards 6-8 ft. Always check with your local building department before digging post holes.

What's the cheapest fence material?

Chain-link at $10-$25 per linear foot installed is the cheapest residential option. Pressure-treated wood pickets at $15-$30/lf are next. Vinyl, aluminum, and composite all run $25-$60/lf.

How long does a fence last?

Pressure-treated wood: 15-20 years. Cedar: 20-30. Vinyl: 25-30+. Aluminum: 30-50. Chain-link: 20-30. Wrought iron: 50+ with maintenance.

How deep should fence posts be set?

2.5 ft deep for 6 ft fences in stable soil; 3 ft for 8 ft+ fences or in frost-line regions (must extend below frost depth). Set in concrete with a 4-6 in gravel base for drainage.

Can I put a fence on my property line?

Most jurisdictions require fences to be set back 4-12 inches from the property line. A fresh boundary survey ($300-$700) is wise if you're not sure where your line is. Disputes with neighbors over fence placement are common and expensive.

How much does a gate add to the cost?

Walk-through (pedestrian) gate: $200-$600. Double drive gate (vehicles): $300-$1,200. Automatic gate with opener: $1,900-$6,000+. Material matches your fence.

Should I DIY a fence?

For chain-link or simple PT wood under 100 lf on flat ground — yes, DIY can save 40-50% on labor. For longer runs, slopes, or harder materials (vinyl, aluminum, wrought iron), the labor savings often aren't worth the time and tool rental.

Why does the calculator show a price range?

Fence prices vary 30-60% by region, season, and contractor. Material brand selection alone can move a quote 20%. A range gives an honest planning estimate.

Common mistakes & questions

  • Skip 811 (Call Before You Dig) — 2-3 business days lead time required.
  • Skip property survey — fence on the wrong side of a property line is the #1 neighbor dispute trigger.
  • Skip post depth — frost-line + 6 in is the rule; shallow posts heave annually.
  • Wrong wood — untreated cedar/pine rots; ground-contact PT or cedar/composite for posts.
  • Ask your contractor: post depth, gravel/concrete footing, post material grade, gate hardware spec.

When this estimate is wrong

  • Hard access (rural, second-floor, no parking nearby) adds 10-25%.
  • Trip charge minimums — most contractors have a $200-$500 minimum, even for small jobs.
  • Local code (energy, hurricane, seismic, historic) can require upgrades beyond IRC default.
  • Disposal fees — landfill costs vary by state; tear-off jobs hit hard in CA/NY.
  • Seasonality — winter/early spring quotes are 10-20% lower than peak summer.
  • Supplier minimums — small material orders often add 10-15% over bulk pricing.
  • Permit timeline — permits add days to weeks; failed inspections add cost.