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
Estimated Installed Cost
$6,400
Range: $5,440 – $7,360
Based on Midwest pricing
Cost Breakdown
DIY Alternative
Save $3,000 (47%) by installing the fence yourself
DIY estimate: $3,400
Material Comparison
| Option | Est. Cost | vs. Cheapest |
|---|---|---|
Chain Link (4 ft) | $2,800 | Lowest |
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
| Material | Per linear foot | 150 ft fence | Lifespan |
|---|---|---|---|
| Wood Privacy (Pine) | $30 | $3,825 – $5,175 | 15-20 years |
| Cedar | $40 | $5,100 – $6,900 | 20-30 years |
| Vinyl / PVC | $38 | $4,845 – $6,555 | 30-50 years |
| Chain Link (4 ft) | $14 | $1,785 – $2,415 | 25-30 years |
| Chain Link (6 ft) | $20 | $2,550 – $3,450 | 25-30 years |
| Aluminum Ornamental | $40 | $5,100 – $6,900 | 30-50 years |
| Composite | $45 | $5,738 – $7,762 | 25-30 years |
| Wrought Iron | $55 | $7,013 – $9,488 | 50-100 years |
Installed prices including posts, concrete and labor. Gates are extra.
Wood Privacy (Pine) fence cost by yard size
| Yard | Fence length | Installed cost |
|---|---|---|
| Small Yard | 100 ft | $2,890 – $3,910 |
| Average Backyard | 150 ft | $4,165 – $5,635 |
| Standard Backyard | 200 ft | $5,440 – $7,360 |
| Large Backyard | 250 ft | $6,715 – $9,085 |
| Full Perimeter | 300 ft | $7,990 – $10,810 |
| Large Lot | 400 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).
| City | Typical cost | Cost index |
|---|---|---|
| New York, NY | $6,376 – $8,626 | 1.17 |
| Los Angeles, CA | $6,077 – $8,221 | 1.12 |
| Chicago, IL | $6,392 – $8,648 | 1.18 |
| Houston, TX | $5,146 – $6,962 | 0.95 |
| Phoenix, AZ | $5,136 – $6,948 | 0.94 |
| Philadelphia, PA | $5,608 – $7,588 | 1.03 |
| Dallas, TX | $5,184 – $7,014 | 0.95 |
| Miami, FL | $5,277 – $7,139 | 0.97 |
| Atlanta, GA | $5,206 – $7,044 | 0.96 |
| Seattle, WA | $6,392 – $8,648 | 1.18 |
| Denver, CO | $5,592 – $7,566 | 1.03 |
| Boston, MA | $6,088 – $8,236 | 1.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
Alabama
Alaska
Arkansas
California
Delaware
District of Columbia
Florida
Hawaii
Kentucky
Louisiana
Maine
Maryland
Massachusetts
Minnesota
Montana
Nebraska
New Hampshire
New Jersey
North Dakota
Oklahoma
Rhode Island
South Carolina
South Dakota
Texas
Wyoming
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?
What is the cheapest fence to install?
Is vinyl fencing cheaper than wood?
How much does it cost to replace an old fence?
Do I need a permit to build a fence?
How long does a fence last?
Can I install a fence myself to save money?
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>