How much a fence costs depends mainly on its length and material: most installed fences run roughly $15 to $60 per linear foot, so a typical 150-foot fence costs about $2,250 to $9,000. Wood and chain-link sit at the lower end, while vinyl, aluminum, and composite cost more. Labor usually makes up around half of a professionally installed fence, so the length of your fence line, not just the style, is the biggest driver of the final bill.
How much does a fence cost per linear foot?
Fencing is priced by the linear foot, which makes it easy to compare materials before you measure anything precisely. The ranges below are typical installed costs (materials plus labor) for a standard residential height; check a cost-tracking source like Angi or HomeGuide for current local pricing.
| Material | Typical installed cost / linear foot | Notes |
|---|---|---|
| Chain-link | $10–$25 | Cheapest, low privacy, very durable |
| Wood (pressure-treated) | $15–$40 | Popular, needs staining and upkeep |
| Vinyl | $20–$40 | Low maintenance, mid-range price |
| Aluminum | $25–$45 | Decorative, rust-free, low upkeep |
| Composite | $25–$60 | Premium look, highest upfront cost |
To turn a per-foot rate into a budget, multiply it by your total fence length. A 200-foot wood fence at $25 per foot is about $5,000; the same run in composite at $45 per foot is closer to $9,000.
What factors affect the cost of a fence?
Two fences of the same material can differ by thousands of dollars. The variables that move the number most are:
- Length: the single biggest factor, since more linear feet means more posts, panels, and labor.
- Height: a 6-foot privacy fence uses far more material than a 4-foot picket fence.
- Material and grade: cedar costs more than pine; powder-coated aluminum more than raw.
- Terrain: sloped, rocky, or root-filled ground slows installation and raises labor.
- Gates: each gate adds hardware and a heavier post pair.
- Old fence removal and disposal: often a separate line item.
- Permits: many municipalities require one for a new fence.
Is it cheaper to install a fence yourself?
Doing it yourself removes the labor charge, which is roughly half of a professional install, so DIY can cut the total cost significantly. The trade-off is time and the cost of tools, post-hole digging, and concrete for setting posts. Posts are typically set in concrete footings, and you can size that concrete in cubic yards so you buy the right amount of bagged mix.
DIY makes the most sense for straight runs on flat ground with simple materials like wood or chain-link. Steep slopes, heavy gates, and premium materials are where a professional crew earns their fee.
How do you estimate the cost of your fence?
You can get a solid budget in five steps before you ever call a contractor:
- Measure the fence line in linear feet around your property.
- Choose a material and note its per-foot range from the table above.
- Count your gates and add $150–$600 each.
- Multiply length × per-foot cost for the fence body, then add the gates.
- Add 10% contingency for slope, removal, or permit costs.
For the materials side, run your fence line through the fence calculator to get the exact number of posts, panels, and rails you need, and that post-and-panel count is what suppliers quote against, so it sharpens both your DIY material list and any contractor estimate. Planning a deck on the same project? The deck calculator sizes boards and joists the same way.
How much does a fence cost by length?
Because fencing is priced per linear foot, total cost scales almost directly with how much ground you enclose. The table shows rough installed costs for common yard sizes:
| Fence length | Wood (installed) | Vinyl (installed) |
|---|---|---|
| 100 ft | $1,500 to $4,000 | $2,000 to $4,000 |
| 150 ft | $2,250 to $6,000 | $3,000 to $6,000 |
| 200 ft | $3,000 to $8,000 | $4,000 to $8,000 |
| 300 ft | $4,500 to $12,000 | $6,000 to $12,000 |
To size your own line, walk the perimeter you want to enclose and add the segments. A typical quarter-acre suburban back yard needs roughly 150 to 200 feet of fence, which is why most residential quotes land in the low thousands. Use the fence calculator to turn that length into the exact posts and panels before you price it.
How can you reduce fence costs?
Several choices cut the bill without cutting quality:
- Use a cheaper material for hidden runs. Put chain-link along a back boundary and save the decorative material for the street-facing side.
- Keep the line straight and the ground level. Slopes, corners, and curves all add labor.
- Handle demolition yourself. Removing the old fence before the crew arrives saves a line item.
- Install it yourself on simple runs. Labor is roughly half the cost, so DIY on a flat, straight wood or chain-link fence is the single biggest saving.
- Get three quotes. Fencing labor rates vary widely by contractor and season, and prices are often lower in late autumn and winter.
How long does a fence last?
Lifespan affects the true cost more than the sticker price, because a cheaper fence you replace twice can cost more over time:
- Chain-link: 15 to 20 years, very low maintenance.
- Pressure-treated wood: 15 to 20 years, but only with regular staining and the odd board replaced.
- Vinyl: 20 to 30 years with almost no upkeep.
- Aluminum: 30 or more years, rust-free.
- Composite: 25 to 30 years, premium and low maintenance.
Divide the installed cost by the expected lifespan to compare options on a yearly basis. By that measure, vinyl and aluminum often beat wood despite costing more upfront, because they avoid both replacement and the ongoing cost of stain and repairs.
Do you need a permit to build a fence?
Most areas require a permit for a new fence, and the rules cover height, setback from the property line, and which side faces out. Front-yard fences are usually capped lower than back-yard fences, and corner lots often have extra sightline rules. If you are in an HOA, check its guidelines too, since they can dictate material and colour. Budget a small permit fee and a few days for approval, and confirm your exact property line before you dig, because a fence built over the boundary can mean tearing it down. A quick call to your local building department before you order materials avoids the most expensive mistake in fencing.
Which fence material gives the best value?
Best value depends on how long you plan to stay and how much upkeep you will tolerate. Pressure-treated wood wins on upfront cost but needs staining every few years. Vinyl and aluminum cost more at install but recover that over a decade of near-zero maintenance, making them the better long-run value for most homeowners. Chain-link remains unbeaten when the goal is simply to enclose a space at the lowest price.
Bottom line: size your fence line first, pick the material that matches how long you'll keep it, and use the calculator to turn linear feet into an exact materials list before you compare quotes.