HomeMeasure Pro

October 15, 2026 · 7 min read

Fence Cost Calculator: What a New Fence Really Costs in 2026

By Mudassir Khan·October 15, 2026·Updated November 11, 2026

Planning a fence? See real per foot costs for wood, vinyl, chain link, and aluminum, plus what drives the price up and how to save without cutting corners.

A new fence is one of those projects where the price range is enormous, and most of the difference comes down to choices you make before the first post hole is dug. Here's what fences actually cost, what drives the price, and where the smart savings are.

The short answer

Installed fence prices range from 10 to 20 dollars per linear foot for 4 foot chain link to 50 to 90 dollars per linear foot for composite, with pressure treated wood at 20 to 40 dollars and cedar at 30 to 55 dollars. A 100 foot fence costs about 1,000 to 2,000 dollars in chain link, 2,000 to 4,000 dollars in pressure treated wood, and 3,000 to 5,500 dollars in cedar. Doing it yourself cuts roughly 40 to 50 percent off, since you pay for materials only.

A new wooden privacy fence in a suburban backyard in warm afternoon light

The quick answer: cost per linear foot (installed)

Material Per linear foot 100 ft fence (approx.)
Chain link (4 ft) $10 to $20 $1,000 to $2,000
Pressure treated wood $20 to $40 $2,000 to $4,000
Cedar wood $30 to $55 $3,000 to $5,500
Aluminum / steel $40 to $80 $4,000 to $8,000
Vinyl (PVC) $45 to $70 $4,500 to $7,000
Composite $50 to $90 $5,000 to $9,000

These are installed prices for a standard 6 ft privacy style fence (4 ft for chain link), including materials and labor. DIY cuts roughly 40 to 50% off, you pay for materials only. HomeGuide puts wood and vinyl fences at $20 to $60 per linear foot installed in its fence installation cost guide, which lines up with the table above.

Cost by fence length

The per foot rate stays the same, but the total moves fast as the run gets longer. These totals use the installed ranges from the table above, with no gates, no permit, and no removal added.

  • 50 foot run: chain link $500 to $1,000, pressure treated wood $1,000 to $2,000, cedar $1,500 to $2,750.
  • 150 foot run: chain link $1,500 to $3,000, pressure treated wood $3,000 to $6,000, cedar $4,500 to $8,250.
  • 200 foot run: chain link $2,000 to $4,000, pressure treated wood $4,000 to $8,000, cedar $6,000 to $11,000.

Short runs cost more per foot in practice, because the crew still has to load tools, set up, and haul materials for a half day job, and a gate on a short run adds a bigger share of the total. Long runs are where the per foot rate is most honest, and where a small difference in the rate, say $5 per foot, turns into $1,000 on a 200 foot fence.

What drives the price up (or down)

1. Material choice is the biggest lever. Chain link vs. composite on the same 100 ft run: $1,500 vs. $7,000+. Pick the material that fits the job, chain link for a dog run, cedar or vinyl for curb appeal. (Going with chain link? Our chain link fence cost guide breaks its pricing down by height, wire gauge, coating, and gates. Building in wood? Our wood fence calculator guide counts the posts, pickets, rails, and concrete for a wood run, with a full 150 foot materials example.)

2. Height matters. Going from 4 ft to 6 ft adds roughly 25 to 35% to material costs, taller pickets, longer posts, deeper holes. Check local codes first: many areas cap residential fences at 6 ft (4 ft in front yards).

3. Gates are expensive. A single walk gate adds $150 to $400 installed. A double drive gate: $400 to $1,000+. Each gate needs heavier posts, hinges, and hardware, budget for them separately.

4. Terrain and access. Flat, clear ground: standard pricing. Slopes, rocky soil, tree roots, or a yard the delivery truck can't reach, add 10 to 30%. Stepped or racked panels on slopes cost more in both materials and labor.

5. Old fence removal. Tearing out an existing fence runs $3 to $8 per linear foot. Some contractors include it; always ask.

6. Permits. Many municipalities require a fence permit: typically $50 to $200. Some HOAs require approval too, check before you buy materials.

DIY vs. contractor: honest math

100 ft cedar privacy fence, 6 ft tall:

DIY materials:

  • Pickets (~240): $1,200 to $1,800
  • Posts (14 × 4×4): $200 to $350
  • Rails (26 × 2×4): $150 to $250
  • Concrete (14 bags): $70 to $100
  • Hardware, screws, stain: $200 to $400
  • Tool rental (auger): $75 to $150
  • Total: ~$1,900 to $3,050 + 2 to 3 weekends

Contractor installed: $3,000 to $5,500, done in 2 to 4 days.

The breakeven is real: if your time is limited or the ground is rocky, a contractor's auger and crew earn their money fast. Straightforward flat yards are the best DIY candidates.

A second worked example: a 150 foot cedar fence with two gates

Take a 150 foot cedar privacy fence, 6 feet tall, with one walk gate and one double drive gate, contractor installed, on flat ground with no old fence to remove.

  • Fence: 150 feet times $30 to $55 is $4,500 to $8,250.
  • Walk gate: $150 to $400 installed.
  • Double drive gate: $400 to $1,000 installed.
  • Permit: $50 to $200.
  • Total: $5,100 to $9,850.

Add old fence removal and the total moves again. Removal runs $3 to $8 per linear foot, so 150 feet of old fence adds $450 to $1,200. Add a slope or rocky soil and the 10 to 30 percent terrain factor applies on top, which is $450 to $2,475 on the fence lines alone. This is why two quotes for the same length can sit thousands of dollars apart, one prices the fence only, the other prices the whole job.

Lifetime cost: the cheap fence vs the vinyl fence

The sticker price is not the whole story, and a cheap fence can cost more than an expensive one once you count fifteen years of upkeep.

Take a 100 foot pressure treated wood fence at $2,000 to $4,000 installed. It needs restaining every 2 to 3 years at $200 to $400 a time. Over 15 years that is 5 to 7 restains, which is $1,000 to $2,800 in upkeep alone, so the lifetime total is $3,000 to $6,800 before any board is replaced.

Take the same 100 feet in cedar at $3,000 to $5,500 installed. Cedar needs stain or seal every 3 to 5 years, which is 3 to 5 treatments over 15 years at $200 to $400 a time, or $600 to $2,000 in upkeep. The lifetime total is $3,600 to $7,500, and the fence itself lasts 15 to 20 years.

Take the same 100 feet in vinyl at $4,500 to $7,000 installed. Vinyl needs washing only, with near zero maintenance, and lasts 20 to 30 years. The lifetime total over 20 years is still $4,500 to $7,000, with no staining bill at all.

So the wood fence that looked $2,500 cheaper on day one can cost the same as vinyl by year fifteen, while the vinyl fence is still standing with years of life left. Run the long math before deciding on cheap, and count the weekends too, since staining a fence every two years is a chore that never ends.

5 ways to save without building a bad fence

  1. Do the demo yourself. Even if you hire the build, tearing out the old fence yourself saves $300 to $800 on a typical yard.
  2. Keep the design simple. Every jog, angle, and gate adds cost. A straight run is the cheapest fence per foot.
  3. Buy materials yourself (if hiring labor only). Contractors mark up materials 10 to 20%.
  4. Share with neighbors. A shared boundary fence split two ways is the oldest trick in the book, many neighbors are happy to split it.
  5. Stain later, not never. Pressure treated pine is cheap upfront but needs stain within a year. Budget $200 to $400 for stain or the "cheap" fence rots early. See our fence stain guide to work out the gallons before you buy.

What about maintenance costs?

The sticker price isn't the whole story:

  • Pressure treated wood: restain every 2 to 3 years (~$200 to $400 each time for 100 ft)
  • Cedar: stain/seal every 3 to 5 years, lasts 15 to 20 years total
  • Vinyl: wash occasionally, lasts 20 to 30 years, near zero maintenance
  • Chain link: minimal maintenance, lasts 15 to 20 years
  • Aluminum: powder coat lasts decades, rinse occasionally

A $2,500 wood fence + 15 years of staining can cost more over its life than a $5,000 vinyl fence. Run the long math before deciding on "cheap."

Mistakes to avoid before you buy

  • Comparing quotes with different heights. A 4 foot fence and a 6 foot fence are different jobs, and the taller fence adds roughly 25 to 35 percent in material, so a cheap quote for a short fence is not a bargain.
  • Forgetting the gates. A walk gate adds $150 to $400 and a double drive gate adds $400 to $1,000 or more, and a yard with two gates can carry $1,000 of gate cost before a single foot of fence is priced.
  • Forgetting the permit. Many towns require a permit at $50 to $200, and some homeowner associations require approval too. Buying materials first and asking later can mean moving a finished fence.
  • Pricing the fence and skipping the stain. Pressure treated pine is cheap upfront but needs stain within a year, and the $200 to $400 stain bill is part of the real price, not an optional extra.
  • Choosing the material by price alone. Chain link is the cheapest fence per foot, but it does nothing for privacy or curb appeal, so a chain link fence on a front yard can cost you more in home value than it saves in materials.

Quick estimate formula

Total ≈ (linear feet × per foot rate) + (gates × gate cost) + permit + removal

Example, 120 ft cedar privacy, one walk gate, DIY: (120 × $28) + $250 + $100 = ~$3,710

Same fence, contractor installed: (120 × $45) + $350 + $100 = ~$5,850

Want your exact numbers? Our free fence calculator builds the full material list, pickets, posts, rails, and concrete, from just your fence length. Once you have your own number, our fence price shopping guide shows how to compare contractor quotes line by line, so you can tell a complete quote from one with missing lines.

Skip the math next time

Our free Fence Calculator does all of this instantly. pickets, posts, and rails.

Try the Fence Calculator →