How much does a fence cost? For a typical backyard fence — about 150 linear feet of 6-foot wood fencing, professionally installed — expect roughly $2,500 to $4,500. The real number depends mostly on the material: chain link is the cheapest, wood sits in the middle, and vinyl and metal cost more. Before you get quotes, run your fence length through our fence estimator — it works out posts, sections, rails and concrete bags, so you know exactly what a contractor should be pricing.
The Short Answer
Most homeowners pay between $15 and $50 per linear foot installed, depending on the material and where they live. A 150-foot wood fence lands around $2,500 to $4,500, the same length in vinyl runs about $3,500 to $6,000, and chain link about $1,500 to $3,000. So how much does a fence cost in total? Multiply the per-foot price by your fence length, then add gates, permits and any old-fence removal. Labor often makes up close to half of the installed price, which is why a DIY job with the same materials can cost roughly half as much — if you have the tools and the weekend to spare.
How Much Does a Fence Cost Per Linear Foot?
Per-foot pricing is the easiest way to compare materials, because every fence is priced by the linear foot. These are typical installed ranges for a standard 6-foot fence, materials plus labor:
| Material | Typical installed cost per linear foot |
|---|---|
| Pressure-treated pine | $15–$25 |
| Cedar | $25–$35 |
| Vinyl (PVC) | $25–$45 |
| Chain link | $10–$20 |
| Aluminum (ornamental) | $25–$50 |
| Composite | $30–$50 |
| Wrought iron | $30–$75 |
Prices vary by region, fence height and style. A 4-foot fence costs less per foot than an 8-foot privacy fence, and decorative styles with caps, lattice tops or mixed materials cost more than a plain run of panels. The cheapest quote is not always the cheapest fence — ask what is included: posts, concrete, gates, haul-away and cleanup.
What Drives the Total Cost?
- Length and height. The fence line is the biggest cost driver. Every extra foot adds material and labor, and every extra foot of height adds more of both.
- Material and style. A plain pressure-treated pine fence and a custom cedar fence with a lattice top are priced very differently, even at the same length.
- Terrain and access. A flat, clear yard is quick work. Slopes, rocks, tree roots and narrow side access all slow the crew down and add cost.
- Gates. Each gate adds roughly $150 to $500 or more, depending on its size and material. A wide double gate for a driveway costs more than a walk gate.
- Old fence removal. Taking down and hauling away an old fence usually adds a few dollars per linear foot.
- Permits and property survey. Most towns require a permit for a new fence, and fees are usually a few hundred dollars at most. If the property line is unclear, a survey costs extra — but building on a neighbor’s land costs far more.
- Labor. Professional installation is the single biggest cost after materials. A DIY job saves it, but it costs you a weekend and the tools.
How to Estimate Your Fence Cost
- Measure the fence line in feet. Walk it with a tape or a measuring wheel, and subtract driveways and gaps where no fence goes.
- Count the corners. Each corner needs a post, and corners slow the job down.
- Count the gates and their widths. A gate is a separate cost on top of the per-foot price.
- Pick a material and multiply. Take your length, multiply it by the per-foot price in the table above, and add your gates.
- Check the materials. Run the same numbers through our fence estimator — it gives you the post count, sections, rails and concrete bags. For post depth and concrete per hole, use our fence post depth calculator.
How much does a fence cost for a 150-foot yard? Take the table price, multiply by 150, and add your gates — a wood fence comes out around $2,500 to $4,500, which matches the range at the top of this guide.
DIY vs Hiring a Pro
Building the fence yourself saves the labor cost — roughly half the installed price. But you need a post-hole digger or auger, a level, a string line and concrete mixing gear, and a 150-foot fence is a full weekend for two people. Mistakes cost more than the savings: posts set too shallow or out of plumb lean within a year or two.
A professional crew finishes a typical yard in one to three days, handles the permit, and usually warranties the work. Get three written quotes and compare what each one includes — posts, concrete, gates, haul-away and cleanup — not just the bottom-line price.
Ways to Keep the Cost Down
How much does a fence cost when you strip it to the basics? A straight run of pressure-treated pine, no gates, flat ground — that is the cheapest fence you can build, and everything else adds to it. From that baseline, these choices keep the price down:
- Choose pressure-treated pine instead of cedar or vinyl for the lowest upfront price.
- Keep the run straight. Fewer corners means fewer posts and less labor.
- Share a boundary fence with a neighbor. Agree the split in writing before anyone digs.
- Ask about off-season pricing. Crews are less busy in late fall and winter, and some contractors price better then.
- Do the prep yourself. Clear the fence line, remove the old fence and mark the line before the crew arrives.
Common Mistakes
- Not checking the property line. A fence in the wrong place can mean moving it at your own expense.
- Skipping the permit. A fence built without one can have to come down.
- Forgetting gates in the budget. A gate is not included in the per-foot price.
- Buying the cheapest material without thinking about upkeep. Wood needs staining or sealing every few years; vinyl needs almost none.
- Under-ordering posts and concrete. Short posts and shallow holes are why fences lean.
Bottom Line
So, how much does a fence cost? For most backyards, budget $15 to $50 per linear foot installed, or roughly $2,500 to $4,500 for a typical 150-foot wood fence. Measure your fence line, pick your material, and get the exact post and material counts from our fence estimator before you call a contractor — it takes two minutes and stops you paying for a guess.
Frequently Asked Questions
How much does a fence cost for 100 feet?
At $15 to $50 per linear foot installed, a 100-foot fence costs roughly $1,500 to $5,000 depending on the material. A 100-foot wood fence typically lands around $2,000 to $3,000 installed.
Is it cheaper to build a fence yourself?
Usually, yes — about half the installed price, because you save the labor. But you need the tools and a full weekend, and fixing leaning posts costs more than hiring a pro in the first place.
How much does a wood fence cost compared to vinyl?
Wood costs less upfront — about $15 to $35 per linear foot installed, against $25 to $45 for vinyl. Vinyl costs more at the start but needs almost no maintenance, while wood needs staining or sealing every few years.
Do I need a permit to build a fence?
In most towns, yes. Rules cover height limits, how close the fence can sit to the property line, and corner visibility. Check with your local building department before you dig — a fence built without a permit can have to come down.
How long does a fence last?
A well-built wood fence lasts about 15 to 20 years with regular care, vinyl 20 to 30 years or more, chain link 20 years or more, and metal fences longer still. Posts set in concrete below the frost line last longest.
Written by the Yard & Bag Editorial Team. Our content is researched and checked against supplier guidance and standard building practice.
