Know what your fence will actually cost
— before you call a contractor.
Our free fence cost calculator gives you an itemized installed-cost estimate for every major material — wood, vinyl, chain link, aluminum, composite, and more. We publish the dataset and formula behind every number, so you can walk into your first bid already knowing what's fair.
- No lead-gen, no sales calls
- Itemized, not a single average
- Runs entirely in your browser
Step 1 of 1 — no email required
Estimate your fence cost
Answer a few questions about your project. The estimate updates instantly, and every dollar in the breakdown links back to the assumption that produced it.
Estimated installed cost
Live$3,475
$1,950 – $5,000 for 150 ft · a wide range — site conditions matter a lot here
- Materials 50% $1,733
- Labor 41% $1,417
- Gates 9% $325
Cost breakdown
- Wood (Pine), materials + labor (150 ft) $1,800–$4,500
- 1 × Walk gate (3–4 ft) $150–$500
Why this number?
Wood (Pine), materials + labor (150 ft). Wood (Pine) installs for a national average of $12–$30 per linear foot at 6 ft height on flat ground. 55% of that figure is materials; the rest is labor.
1 × Walk gate (3–4 ft). Gates cost more per foot than straight fence line because each one needs a separate frame, hinges, and a latch that has to be built to swing freely.
This is a research-based estimate, not a quote. Get at least two written, itemized bids from licensed local contractors before signing anything. We don't sell your information or route you to lead-gen buyers.
2026 national pricing
Fence cost by material, per linear foot
Fully installed pricing — materials, standard hardware, and labor — for a 6 ft fence on flat ground. Your project will land somewhere in each range depending on style, height, and site conditions, which is exactly what the calculator above adjusts for.
| Material | Low / ft | High / ft | Avg / ft | Lifespan | Maintenance |
|---|---|---|---|---|---|
| Pressure-Treated Pine | $12 | $30 | $20 | 15–20 yrs | High |
| Cedar | $20 | $45 | $30 | 20–30 yrs | Medium |
| Vinyl (PVC) | $25 | $55 | $38 | 25–30 yrs | Low |
| Chain Link | $10 | $35 | $20 | 15–20 yrs | Low |
| Aluminum | $25 | $50 | $35 | 25–40 yrs | Low |
| Wrought Iron / Steel Ornamental | $35 | $85 | $55 | 30–50 yrs | Medium |
| Composite | $30 | $60 | $42 | 25–30 yrs | Low |
| Split Rail | $8 | $20 | $14 | 15–20 yrs | Low |
Not sure which material fits your project?
Browse by what you're actually trying to do
Wood Fence cost
Pressure-treated pine vs. cedar — the two real wood options
See pricing →Privacy Fence cost
For blocking sightlines, not just marking a boundary
See pricing →Metal Fence cost
Chain link, aluminum, and wrought iron — three very different price points
See pricing →Backyard Fence cost
What a full backyard perimeter costs, not just the per-foot rate
See pricing →What actually moves the price
8 factors that determine your fence cost
01
Material
Accounts for 45–65% of total cost. Moving from chain link to wrought iron can triple your per-foot price for the same run.
02
Length
Priced per linear foot of fence line — not lot square footage. Irregular lots often need 10–20% more footage than a simple perimeter estimate.
03
Height
Each additional foot needs taller posts and more panel material. Moving from 6 ft to 8 ft typically adds 25–35% and can trigger a permit.
04
Gates
A walk gate needs its own frame and hardware; a drive gate needs hardware rated for a vehicle. Both cost more per foot than straight fence line.
05
Terrain
Sloped or rocky ground requires stepped/racked panels or extra excavation effort, adding 15–30% in labor time.
06
Old fence removal
Demolition and haul-away is billed separately from new installation, typically $3–$8 per linear foot.
07
Regional labor rates
The same fence can cost 20%+ more on the West Coast than in the Midwest purely from local labor and permitting costs.
08
Permits & HOA rules
Height limits, required materials, and permit fees ($50–$500) vary by municipality and can add cost or restrict material choice entirely.
Before you enter a number
How to measure your fence line correctly
The single most common estimating mistake isn't picking the wrong material — it's entering the wrong length. Fencing is priced by the linear foot of fence line, not your property's square footage, and most people overestimate or underestimate it by guessing from memory.
Walk the actual path the fence will follow, including any jogs around trees, sheds, or utility boxes — a smartphone map's distance tool or a measuring wheel both work well for this. Subtract any stretch already bordered by a house wall, an existing fence you're keeping, or a neighbor's fence you're not duplicating. Then measure gate openings separately; they're priced as their own line item, not as regular fence length.
Choosing a material by budget
Material is the biggest lever on price — it can move the per-foot rate 5–6x on its own. If cost is the main constraint, split rail and chain link both install under $35/ft. For a solid privacy fence on a budget, pressure-treated pine is the least expensive option that fully blocks sightlines. If you'd rather spend less over the fence's lifetime than upfront, vinyl and composite cost more today but need no staining, sealing, or board replacement — most of that premium gets clawed back over 10–15 years in maintenance you never pay for.
Still not sure which material fits your project?
If you know you want a traditional wood look, our wood fence cost guide compares pressure-treated pine against cedar so you can weigh upfront cost against longevity. If privacy is the priority instead, start with our privacy fence cost guide, which compares the four materials rated highest for blocking sightlines. If you're choosing between metal options for security or a pool enclosure, the metal fence comparison breaks down why chain link, aluminum, and wrought iron sit at such different price points. And if you're just trying to figure out what a full yard will cost before committing to anything, the backyard fence cost guide walks through that using a typical lot size as a reference point.
Every number behind these guides — and the calculator above — is documented on our methodology page, including exactly where we think our estimates are most likely to be wrong.
Straight answers
Fence cost calculator — frequently asked questions
What is the average cost per linear foot to install a fence?
Nationally, installed fencing runs about $10 to $60 per linear foot depending almost entirely on material choice. Chain link and split rail sit at the low end around $10–$20/ft, mid-range wood and vinyl run $20–$45/ft, and premium materials like aluminum, composite, and wrought iron run $30–$85/ft. Height, terrain, gates, and your region shift any of these numbers up or down.
How do I measure my yard for a fence quote?
Fencing is priced by linear foot of fence line, not by the square footage of your lot. Walk the exact path the fence will follow — including any jogs around structures — and measure it, rather than calculating a simple rectangle from your property's width and depth. Irregular lots typically need 10–20% more linear footage than a basic perimeter estimate would suggest.
How much can I save installing a fence myself?
Labor typically makes up 30–45% of an installed fence price, so a full DIY install can save a meaningful amount — but material-only costs for panel systems like vinyl or composite are harder to reduce since the products themselves are priced similarly whether a contractor or homeowner buys them. The most common partial-DIY savings are removing the old fence yourself (saving roughly $3–$8 per linear foot) and doing your own painting or staining.
Do I need a permit to install a fence?
It depends on your municipality and fence height. Fences at or below 6 feet often don't require a permit in many areas, while fences at 8 feet — common for security or noise reduction — trigger a permit requirement in most U.S. counties. Permit fees generally run $50–$500. Always confirm with your local building department before digging, and call 811 first to have utility lines marked.
What is the cheapest fencing material?
Split rail and chain link are the least expensive options, typically $8–$35 per linear foot installed. Split rail is cheapest per foot but offers no privacy or reliable pet containment; chain link costs slightly more but adds basic security and durability. If you need privacy on a tight budget, pressure-treated pine is usually the lowest-cost solid option.
Is vinyl fencing worth the extra cost over wood?
Vinyl typically costs 25–40% more than wood upfront but needs no staining, sealing, or board replacement, while a wood privacy fence usually needs $500–$1,500 of maintenance per decade. Over a 15–20 year ownership horizon, vinyl's total cost of ownership often comes out even with or below cedar, even though the sticker price today is higher.
How much does adding a gate cost?
A standard walk gate (3–4 ft wide) typically adds $150–$500 installed, while a wider drive or double gate built for vehicle access runs $600–$1,600. Gates cost more per foot of opening than straight fence line because each one needs its own frame, hinge hardware, and a latch engineered to swing freely and stay secure.
Does a sloped yard cost more to fence?
Yes. Sloped ground requires either a stepped fence line (panels installed in level sections with small drops between them) or a racked fence line (panels angled to follow the grade), and both approaches take longer to install than a flat run. Expect roughly 15–30% more in labor cost for a sloped yard versus flat ground.
How long does a fence typically last?
Lifespan varies widely by material: pressure-treated pine and chain link generally last 15–20 years, cedar and aluminum last 20–40 years, and vinyl, composite, and steel ornamental fencing can last 25–50 years with basic upkeep. Climate, soil moisture, and maintenance frequency all shift these ranges in either direction.
Can I split the cost of a fence with my neighbor?
Many neighbors informally split the cost of a shared boundary fence, though there is no legal obligation to do so in most jurisdictions unless local ordinance or an HOA agreement says otherwise. If you're considering it, put the split, the material choice, and who owns future maintenance in writing before work starts.