Fence Cost Per Linear Foot
Fence installation typically costs $22–$60 per linear foot installed, depending on material, for a standard 6-foot fence at national-average prices in 2026. The middle of that range — a cedar privacy fence — runs $33–$45 per linear foot, or roughly $5,900–$8,100 for a typical 180-linear-foot backyard. Those ranges include labor, posts set in concrete, disposal of an old fence, permits, sales tax, and a 10% contingency.
This guide explains how per-foot pricing works, what it includes, and how to turn it into a total for your yard. It is written for a homeowner comparing quotes for a new fence around a house lot. For a number based on your own fence length and material, use the fence cost calculator or the fence materials calculator.
Cost at a glance
The material you pick sets most of the per-foot price. Chain link and treated pine sit at the low end, cedar in the middle, and ornamental aluminum or premium vinyl at the high end. Height matters too: these figures assume a 6-foot fence, the usual height for a backyard privacy fence. A shorter 4-foot fence costs less per foot; an 8-foot fence costs more and may face stricter local height rules.
| Material and style | Cost per linear foot | Typical 180-linear-foot project |
|---|---|---|
| Chain link or treated pine | $22–$30 | $4,000–$5,400 |
| Western red cedar privacy | $33–$45 | $5,900–$8,100 |
| Ornamental aluminum or premium vinyl | $44–$60 | $7,900–$11,000 |
A cedar privacy fence in this table means 6-foot cedar pickets, three horizontal rails, and posts set in concrete. The premium tier covers powder-coated ornamental aluminum or lifetime white vinyl, sometimes with solar cap lights. Chain link costs less because the material is light and the crew can cover ground quickly, while treated pine is the cheapest solid privacy option but needs more upkeep than cedar.
Prices are national averages. Labor rates in high-cost metros can push them 10–40% higher, and a rural job with easy access can come in lower. See how we calculate costs for what is included in these ranges.
How to measure your fence length
A linear foot of fence is simply one foot along the fence line, measured on the ground — not the square footage of the yard. To measure, walk the line you want fenced and add up each straight run. For a rectangular backyard, add the lengths of the three sides you plan to fence (the house usually closes the fourth side). If the yard is irregular, measure each straight section separately and add them together.
Do not subtract gates from the total. A gate opening still needs posts, hardware, and bracing, and most contractors price gates as extras on top of the per-foot run anyway. Likewise, do not subtract small gaps around trees: the crew still has to work around them, and the fence line usually jogs around an obstacle rather than stopping.
Two common measuring mistakes inflate or shrink the quote. First, measuring the property line from a plat map or tax record instead of the ground: those documents show the lot, not where the fence will actually run, and a fence set a foot or two inside the line is shorter than the lot boundary. Second, forgetting slopes. A fence on a slope is measured along the slope or stepped in panels, so the run length is slightly longer than the flat map distance. The fence materials calculator can help turn your measured length into a materials list once you have the total.
If you are unsure where your property line is, get it marked before you measure for a final quote. A fence built even a few inches onto a neighbor's land can have to be moved, and a boundary survey typically costs $400–$800 — far less than rebuilding a run of fence.
Why the per-foot price changes with size
Small jobs cost more per foot than large ones, even with the same material. That is because several costs do not shrink with length: the crew still has to load up, drive out, call in utility locates, set up tools, and haul away debris. On a short run, those fixed costs are spread over fewer feet, so each foot carries more of them.
| Project size | Length | Typical total cost |
|---|---|---|
| One side of a yard | 80 linear feet | $2,900–$4,000 |
| Typical backyard | 180 linear feet | $5,900–$8,100 |
| Large lot | 300 linear feet | $9,500–$13,000 |
The totals above use the mid-range cedar level as the reference, so a chain-link fence of the same length would cost less and a vinyl fence would cost more. The pattern is what matters: doubling the length does not quite double the price, because the fixed setup cost is paid once, but it comes close — materials and post holes scale almost directly with length.
This is also why a very short fence can surprise you. A 30-foot side run might be quoted at $50 or more per foot for cedar, not because the material is different but because the crew's day rate and travel are spread over only 30 feet. If you have two short runs, ask whether combining them into one visit lowers the per-foot price.
What drives the cost up or down
Material is the biggest lever, but five other factors move the per-foot price enough to change which quote looks fair.
Posts and footings. A 6-foot privacy fence needs three horizontal rails and posts set deep enough to resist wind — with 60–80 pounds of concrete per post hole as a reasonable minimum. Steel posts cost more than wood posts but last longer and resist leaning. Shallow posts or too little concrete are a common way a cheap quote cuts corners, and the fence pays for it by leaning within a few years.
Gates. Gates are almost never included in the per-foot rate. A pedestrian gate adds hardware, a frame, and an anti-sag brace; a driveway gate costs more again, especially a double gate wide enough for a vehicle. Get each gate priced as its own line item, and check that the quote includes latches and hinges rated for the gate's weight.
Slope and ground. Flat, clear ground is the cheapest to fence. Slopes force stepped or racked panels, which take longer to install. Rocky soil slows post-hole digging, and thick roots along the line can add $300–$900 for clearing. Wet or low ground may need longer posts or drainage attention so the bottom rail does not sit in standing water.
Tear-out of the old fence. Removing an old fence and hauling it away is included in the benchmark ranges, but confirm it in your quote. A concrete-footed old fence takes longer to pull than a fence with rotted posts that lift out by hand, and disposal fees vary by area.
Access. If the crew cannot get a truck or auger to the back of the lot, every post hole and panel has to be carried in by hand. Narrow side yards, locked gates, and steep driveways all add labor time that shows up in the per-foot rate.
What's included — and what quotes leave out
A complete fence quote should spell out the pickets and rails, posts and concrete footings, gates, and tear-out and disposal of the old fence. It should also state the post depth, the concrete per hole, the number of rails, the gate hardware and anti-sag bracing, and that the contractor will call 811 for utility locating before digging. That last item is not optional: digging without locates risks cutting a buried line, and the call is free in most areas.
Items that quotes commonly leave out, and what they typically add:
- Property boundary survey: $400–$800, if the line is not already marked.
- Clearing brush and tree roots along the fence line: $300–$900.
- Gates: priced per gate, on top of the per-foot run price.
- Staining or sealing a wood fence: often a separate job a few weeks after installation, once the wood has dried.
- Permit fees: a permit is usually needed for a new fence, and the fee varies by city. Ask whether the quote includes it or you pay the city directly.
- HOA approval: no direct fee in most cases, but an HOA may require a specific style, height, or color. Get approval in writing before the crew starts.
Before you sign, paste the quote into the Quote Checker to see what is missing. A quote that lists post depth, rail count, gate hardware, and tear-out is easier to compare honestly than a quote that gives only a single per-foot number.
Worked example: a 180-foot cedar fence
Take a typical backyard: three sides totaling 180 linear feet, flat ground, one pedestrian gate, and an old fence to remove. At the cedar rate of $33–$45 per linear foot, the fence run itself is about $5,940–$8,100. That lines up with the benchmark total of $5,900–$8,100 for a 180-foot project, which already includes tear-out, disposal, permits, tax, and contingency.
Add the items that sit outside the per-foot rate. A pedestrian gate might add several hundred dollars depending on hardware. If the property line needs a survey, add $400–$800. If roots or brush need clearing, add $300–$900. A realistic all-in budget for this yard is therefore roughly $6,500–$9,500, with the top end applying when the survey and clearing are both needed.
Now change one variable and the total moves predictably. Switch the same 180 feet to treated pine at $22–$30 per foot and the run drops to roughly $4,000–$5,400. Switch to premium vinyl at $44–$60 per foot and it rises to roughly $7,900–$11,000. That is the value of per-foot pricing: once you know your length, you can test materials against your budget without waiting for another quote.
For a fuller picture of total project costs, including gates and options, see how much fence installation costs.
Permits, neighbors, and timeline
A permit is usually needed for a new fence, though the rules vary by city: some cities require a permit only above a certain height, others for any new fence. Check with your local building department before work starts, and confirm whether the contractor pulls the permit or you do. Never skip a permit to save the fee — a fence built without a required permit can draw a stop-work order or a removal order.
Talk to neighbors before the crew arrives, especially for a shared boundary. A fence on the property line often needs the neighbor's agreement, and a fence set just inside your line avoids that question but gives up a strip of yard. Put any shared-cost agreement in writing, including who maintains the fence later.
Most residential fences take 1–3 days to install once materials are on site, with larger lots or difficult ground stretching to a week. The timeline that usually slips is not the build but the lead-up: utility locates, permit approval, HOA approval, and material delivery can add one to three weeks before the first post hole is dug. Ask the contractor for a start window in writing, and confirm who is responsible for each of those steps.
A per-foot quote is only useful when you know what is in it. Measure your run, confirm the material and post spec, get gates and extras priced separately, and compare quotes on the same scope. The fence cost calculator gives you a total for your own length and material to check any quote against before you sign.