Fence Cost Calculator

A fence costs $14–$55 per linear foot installed in 2026, depending on the material. A 200 ft, 6 ft tall wood privacy fence with one walk gate runs $5,440 – $7,360 at national-average prices. Set your own size, materials and location below for an itemized estimate. No signup, no phone number.

Updated November 2026 · By the YardCost team · How we price projects

200 ft
50 ft600 ft
Walk Gate (3-4 ft)$400 each
1
Drive Gate (10-12 ft)$1,200 each
0

Estimated Installed Cost

$6,400

Range: $5,440 – $7,360

Based on Midwest pricing

$32/lf · 200 linear feet

Cost Breakdown

Fence$6,000 (94%)
Gates$400 (6%)

DIY Alternative

Save $3,000 (47%) by installing the fence yourself

DIY estimate: $3,400

Material Comparison

OptionEst. Costvs. Cheapest
Chain Link (4 ft)
$2,800Lowest
Chain Link (6 ft)
$4,000+$1,200 (+43%)
Wood Privacy (Pine)SelectedPopular
$6,000+$3,200 (+114%)
Vinyl / PVC
$7,600+$4,800 (+171%)
Cedar
$8,000+$5,200 (+186%)
Aluminum Ornamental
$8,000+$5,200 (+186%)
Composite
$9,000+$6,200 (+221%)
Wrought Iron
$11,000+$8,200 (+293%)

How much does a fence cost in 2026?

Expect $14–$55 per linear foot installed, or $5,440 – $7,360 for a 200 ft, 6 ft tall wood privacy fence with one walk gate. The tables below use national-average prices and the same math as the calculator. For prices in your area, pick your city further down.

Fence cost per linear foot by material

MaterialPer linear foot150 ft fenceLifespan
Wood Privacy (Pine)$30$3,825 – $5,17515-20 years
Cedar$40$5,100 – $6,90020-30 years
Vinyl / PVC$38$4,845 – $6,55530-50 years
Chain Link (4 ft)$14$1,785 – $2,41525-30 years
Chain Link (6 ft)$20$2,550 – $3,45025-30 years
Aluminum Ornamental$40$5,100 – $6,90030-50 years
Composite$45$5,738 – $7,76225-30 years
Wrought Iron$55$7,013 – $9,48850-100 years

Installed prices including posts, concrete and labor. Gates are extra.

Wood Privacy (Pine) fence cost by yard size

YardFence lengthInstalled cost
Small Yard100 ft$2,890 – $3,910
Average Backyard150 ft$4,165 – $5,635
Standard Backyard200 ft$5,440 – $7,360
Large Backyard250 ft$6,715 – $9,085
Full Perimeter300 ft$7,990 – $10,810
Large Lot400 ft$10,540 – $14,260

6 ft tall, includes one walk gate.

What pushes a fence quote up or down

Expect to pay more for

  • Rocky or root-filled soil that slows post digging
  • Sloped yards that need stepped or racked panels
  • Tearing out and hauling away an old fence
  • Heights over 6 ft, which need heavier posts and often a permit
  • Extra gates, especially double drive gates

Expect to pay less with

  • A flat, clear fence line with easy equipment access
  • Splitting the cost of a boundary fence with a neighbor
  • Booking in late fall or winter, when installers are less busy
  • Choosing chain link or pressure-treated pine over cedar, vinyl or composite

Fence cost by city

The same project costs very different amounts depending on local wages and material prices. Across the 155 cities we track, El Paso, TX is the least expensive ($4,575 – $6,189 for a 200 ft, 6 ft tall wood privacy fence with one walk gate) and San Jose, CA the most expensive ($6,686 – $9,046).

CityTypical costCost index
New York, NY$6,376 – $8,6261.17
Los Angeles, CA$6,077 – $8,2211.12
Chicago, IL$6,392 – $8,6481.18
Houston, TX$5,146 – $6,9620.95
Phoenix, AZ$5,136 – $6,9480.94
Philadelphia, PA$5,608 – $7,5881.03
Dallas, TX$5,184 – $7,0140.95
Miami, FL$5,277 – $7,1390.97
Atlanta, GA$5,206 – $7,0440.96
Seattle, WA$6,392 – $8,6481.18
Denver, CO$5,592 – $7,5661.03
Boston, MA$6,088 – $8,2361.12

Cost of a 200 ft, 6 ft tall wood privacy fence with one walk gate. Cost index: 1.00 is the US average.

Fence costs in all 155 cities

District of Columbia

New Hampshire

North Dakota

Rhode Island

South Dakota

How we calculate fence costs

Our fence calculator uses our 2026 installed-price estimates for professional installation and current material prices for DIY projects. The base cost is calculated per linear foot based on your selected material and fence height.

Gate costs are added as flat fees — a standard walk gate runs about $400 and a double drive gate about $1,200 installed. Add-ons like old fence removal ($5/lf), staining ($5/lf for wood), and permits ($150) adjust the total.

DIY estimates include materials only (roughly 50% of professional cost). Professional estimates include all labor, materials, concrete for posts, and cleanup. Regional multipliers adjust for local labor rates.

City prices use a local cost index built from Bureau of Labor Statistics construction wages and Bureau of Economic Analysis price data. The full method and its limits are on our methodology page.

Frequently Asked Questions

How much does it cost to fence a backyard in 2026?
The average cost to fence a backyard ranges from $3,000 to $10,000 for 150-200 linear feet. Wood privacy fencing costs $30/lf installed, vinyl runs $38/lf, and chain link is the cheapest at $14-$20/lf. Total cost depends on material, length, height, gates, and your region.
What is the cheapest fence to install?
Chain link is the cheapest fence at $14/lf (4 ft) or $20/lf (6 ft) installed. For privacy fencing, pressure-treated wood is the most affordable at about $30/lf installed. Vinyl costs more upfront ($38/lf) but requires zero maintenance, often making it cheaper over 20+ years.
Is vinyl fencing cheaper than wood?
Vinyl costs 15-25% more upfront than wood ($38/lf vs $30/lf). However, wood requires staining every 2-3 years ($5/lf each time) and has a shorter lifespan. Over 20 years, vinyl typically costs less when you factor in maintenance. Break-even is usually around year 7-10.
How much does it cost to replace an old fence?
Add $3-$7 per linear foot for removing the old fence on top of new fence installation costs. For a typical 200-foot wood privacy fence replacement, expect $7,000-$12,000 total including removal, disposal, and new fence installation.
Do I need a permit to build a fence?
Most cities require permits for fences over 4 feet tall, typically costing $25-$500. Many HOAs have additional approval requirements for height, material, and color. Always check local building codes and property lines before starting — building on your neighbor's property can be costly to fix.
How long does a fence last?
Fence lifespan varies dramatically by material: chain link lasts 25-30 years, wood privacy 15-20 years, cedar 20-30 years, vinyl 30-50 years, aluminum 30-50 years, composite 25-30 years, and wrought iron 50-100+ years. Proper installation and maintenance extend life significantly.
Can I install a fence myself to save money?
DIY fence installation can save 40-50% of the total cost. Wood and chain link are the easiest to DIY. However, you'll need to rent tools ($200-$500), dig post holes, set posts in concrete, and ensure level alignment. A 200-foot fence typically takes 40-60 hours of work. Most DIY failures are from posts not being set deep or straight enough.

Add this fence calculator to your site

Contractors, bloggers and local sites can embed the calculator for free. Copy the code below into any page. Please keep the credit line.

Show embed code
<iframe src="https://yardcost.com/embed/fence-cost-calculator" title="Fence cost calculator" width="100%" height="900" style="border:1px solid #e5e7eb;border-radius:8px" loading="lazy"></iframe>
<p style="font-size:13px">Fence cost calculator by <a href="https://yardcost.com">YardCost</a></p>

Related calculators