Fence cost per linear foot, by material
| Material | Installed, per ft | DIY materials, per ft |
|---|---|---|
| Chain link | $9–$30 | $4–$15 |
| Wood (pine, cedar) | $20–$50 | $10–$30 |
| Vinyl | $30–$60 | $25–$45 |
| Aluminum | $25–$75 | $15–$50 |
| Composite | $20–$85 | $30–$60 |
| Wrought iron | $50–$85 | $35–$60 |
| Barbed wire | $3–$6 | under $1 |
The installed column includes posts, concrete, rails, panels or pickets and labor. Within each range, a 4 ft picket or split-rail style sits near the bottom and a 6 ft solid privacy fence near the top, because it uses about twice the boards and needs deeper, sturdier posts. Angi puts a typical privacy fence at around $35 per foot. Replacing an existing fence costs more than a new one, roughly $30–$80 a foot, once removal and disposal are added.
What a whole fence costs by length
| Length | Typical installed cost | Where you'd see it |
|---|---|---|
| 100 ft | $2,000–$6,000 | One side of a yard, or a small dog run |
| 150 ft | $3,000–$9,000 | Back and sides of a small lot |
| 200 ft | $4,000–$12,000 | A typical suburban backyard |
These are for wood or vinyl. Chain link for the same lengths runs about a third to half as much. To measure your own line, walk it with a tape or measuring wheel, or measure on an online map and add the sides. If the fence closes off a corner of the yard, the square footage calculator also tells you how much ground you're enclosing.
Worked example: 150 ft wood privacy fence with a gate
A 6 ft cedar privacy fence along the back and two sides of a yard, 150 ft in all, with one walk gate. Installed at $20–$50 a foot, that's $3,000–$7,500, and a typical quote lands in the middle, around $5,000. Built yourself, materials at $10–$30 a foot come to $1,500–$4,500. Our fence calculator shows the shopping list: with posts every 8 ft that's 20 posts, and the fence post concrete calculator puts the concrete at about 30 bags of 80 lb for 4 × 4 posts. Torn between cedar and cheaper pressure-treated pine? Cedar vs pressure-treated fence compares the cost per year of each.
Extras that end up on the quote
- Gates: Angi lists most walk gates at up to about $150, and a double drive-through gate at around $600 extra. Automatic openers and custom sizes cost far more.
- Removing the old fence: about $3–$5 a foot per Angi, and up to $10–$20 a foot with haul-away from some contractors. Ask whether it's included.
- Permit: about $40–$500 depending on the town. Many places require one for fences over a certain height, and HOAs often have their own rules on style and color.
- Site prep: clearing brush and small trees from the line, or grading a slope, can add hundreds of dollars. Fences on hills are built in stepped or racked sections, which takes longer.
- Rocky or hard ground: if post holes need a power auger or rock bar, labor goes up.
How to pay less
- Know your line first. If you're not sure where the property line is, a survey before building is cheaper than moving a fence later. Call 811 before anyone digs post holes.
- Mix materials. Use a privacy style only where you need privacy, and cheaper picket or chain link along the rest.
- Share a boundary fence. Neighbors often split the cost of a shared fence; agree in writing who owns and maintains it.
- Get three quotes with the same spec: height, material, post spacing, post depth, gate count, and whether removal and permits are included. Then compare them per foot.
- Do part of the work. Tearing out the old fence or staining the new one yourself are the easiest jobs to keep.
Planning more yard work alongside the fence? See the retaining wall cost and paver patio cost guides, or every price we track on the cost guides hub.
Staining a wood fence to make it last? A board fence has two faces, so its stain area is length × height × 2; the deck stain calculator works out the gallons for a fence or deck railing the same way.
Sources: per-foot installed and DIY prices, totals by length, replacement cost, removal and permits from HomeGuide's fence installation cost guide (2026); national average, typical range, privacy fence per foot, gates, removal and permits from Angi's fence installation cost guide (2026 data).
Frequently asked questions
How much does a fence cost per foot?
About $9–$30 per linear foot installed for chain link, $20–$50 for wood, $30–$60 for vinyl and $25–$75 for aluminum. Taller privacy styles sit at the top of each range.
How much does a 100 ft fence cost?
Roughly $2,000–$6,000 installed for wood or vinyl, and about a third to half of that for chain link.
Is it cheaper to build a fence yourself?
Usually about half the price. Wood materials run $10–$30 a foot against $20–$50 installed, but you need a post-hole auger, a level line and a few weekends.
What is the cheapest fence to install?
Chain link, at about $9–$30 a foot installed. For privacy on a budget, a pine board fence is usually the cheapest solid option.
Do I need a permit to build a fence?
Often yes, especially for fences over 4–6 ft or in front yards. Permits typically cost $40–$500. Check with your town and HOA before ordering materials.
Reviewed by the Backyard Numbers team. Last updated 2026-12-01. Figures are typical averages; confirm with your local supplier. How we source our numbers.