How to use the fence cost calculator
- Pick the fence type and height. The price per foot fills in from 2026 cost guides — change it to your quote.
- Add each side of the fence with its length and any walk or double gates. Tick “sides meet at corners” so corner posts are shared, or “closed loop” if the fence goes all the way round.
- Check the post spacing and gate prices, then add removal of an old fence, a slope surcharge or a permit if you need them.
- Read the total, the price per foot, the range, the DIY cost and the materials list. Copy it, print the list for the store or share a link.
Fence cost per linear foot by material
Installed prices from This Old House (June 2026) and HomeGuide (2026), with the calculator’s default at the midpoint of each range. Straight runs with no gates, at each style’s usual height:
| Fence | Height | Per foot | 100 ft | 150 ft | 200 ft | DIY materials, 150 ft |
|---|---|---|---|---|---|---|
| Chain link (cyclone) | 4 ft | $13–$27 | $2,000 | $3,000 | $4,000 | $1,500 |
| Wood privacy | 6 ft | $25–$50 | $3,750 | $5,625 | $7,500 | $2,813 |
| Wood picket | 4 ft | $15–$35 | $2,500 | $3,750 | $5,000 | $1,875 |
| Vinyl (PVC) privacy | 6 ft | $40–$60 | $5,000 | $7,500 | $10,000 | $3,750 |
| Vinyl (PVC) picket | 4 ft | $15–$40 | $2,750 | $4,125 | $5,500 | $2,063 |
| Aluminium / ornamental | 4 ft | $25–$75 | $5,000 | $7,500 | $10,000 | $3,750 |
Height, style and access change the price within each range. Use the range in the calculator’s results as a sanity check on quotes: a quote far above the high figure usually includes something extra — removal, a steep slope, rock, a long carry or premium materials.
Chain link (cyclone) fence cost
Chain link is the cheapest fence to install: about $13–$27 per foot, depending on height and the gauge of the wire, with vinyl-coated fabric costing more than plain galvanised. A 100 ft run of 4 ft chain link comes to about $2,000 at $20/ft. The same 160 ft backyard layout as below costs $3,383 in chain link, and needs 19 posts (6 terminal posts at ends, corners and the gate), 4 rolls of 50 ft of fabric and 15 lengths of top rail.
Wood privacy and picket fence cost
A 6 ft wood privacy fence runs about $25–$50 per foot installed; a 4 ft picket fence $15–$35. Cedar and board-on-board styles sit at the top of the range, pressure-treated pine at the bottom. For 150 ft that is about $5,625 for privacy and $3,750 for picket at the midpoints. Plan to stain or seal it — the fence stain calculator works out the gallons.
Vinyl (PVC) fence cost
Vinyl picket fencing costs about $15–$40 per foot installed and a 6 ft vinyl privacy fence $40–$60. Panels usually come 6 or 8 ft wide, so the calculator counts panels from the post spacing: the example backyard needs 21 panels and costs $8,250 in vinyl privacy. Vinyl costs more than wood up front but never needs staining. Aluminium and ornamental metal fences run about $25–$75 per foot.
Gates, corners and posts — what they add
Posts: each straight run needs one post per section plus one. Corners share a post, so connecting the three sides saves 2. Each gate splits a run and adds a post.
Gates: a gate replaces its width of fence and adds its own price. Angi’s 2026 data puts chain link walk gates at $110–$415 and double gates at $185–$775; HomeGuide lists wood and vinyl garden gates at $300–$600 and manual driveway gates at $300–$1,200.
Example: the backyard in wood privacy is 156 ft of fence × $37.5/ft = $5,850 plus a $450 gate = $6,300, or $39.38 per foot of fence line. It needs 23 posts, 63 rails, 341 pickets and 40 bags of concrete.
How much concrete per fence post?
Quikrete’s rule of thumb is a hole three times the width of the post and about a third of the height above ground deep; the calculator uses at least 24 inches, and you should go below the frost line where the ground freezes.
Concrete per post = (π × r² − post area) × depth
Bags = posts × concrete per post ÷ bag yieldFor a 4×4 post (3.5 in) in a 10.5 in × 24 in hole: about 1.03 ft³, which is 1.7 bags of 80 lb mix (0.60 ft³ each) — buy 2 per post. Chain link line posts are thinner and need about 0.8 bags each. For other hole sizes use the concrete calculator’s post-hole mode.
Cost to replace a fence
Replacing a fence is the new fence plus taking the old one out. Angi’s 2026 data puts removal and haul-away at about $3–$5 per linear foot; the calculator defaults to $4. For the 160 ft backyard that adds $640, bringing the wood privacy fence to $6,940. Old posts set in concrete take longer to pull, and some contractors charge a disposal fee on top.
How to measure your fence line
- Find your property corners first (a survey or plat shows them). Many people set a new fence a few inches inside the line.
- Measure each straight side separately, corner to corner, with a long tape or measuring wheel, and round up to the next foot.
- Mark where gates go and how wide: about 4 ft for a walk gate, 10–12 ft for a drive gate.
- Add the sides up with the linear foot calculator if you have many short runs.
DIY vs professional installation
This Old House puts professional installation at about half the cost of a fence, and the calculator uses a 50% materials share by default. On a 150 ft wood privacy fence that means about $2,813 in materials against $5,625 installed. DIY makes sense on flat, open ground with soft soil; hire a pro for slopes, rock, long runs, or vinyl and aluminium systems that need precise post placement.
Permits, HOA rules, 811 and property lines
- Many towns limit fence height (often lower in front yards) and require a permit — check before you order.
- HOAs often control style, colour and which side faces out.
- Call 811 a few days before you dig so buried gas, power and water lines are marked — it is free.
- Talk to neighbours about the line and the good side; a shared fence can split the cost.
Frequently asked questions
How much does a fence cost per linear foot?
Installed, about $13–$27 per foot for chain link, $15–$35 for wood and $25–$50 for a wood privacy fence, $15–$40 for vinyl and $40–$60 for vinyl privacy (This Old House, 2026), and $25–$75 for aluminium (HomeGuide, 2026). Gates, corners, removal and slopes add to that.
How much does a 150-foot fence cost?
At the midpoint prices, about $3,000 for 4 ft chain link, $5,625 for a 6 ft wood privacy fence and $7,500 for 6 ft vinyl privacy — before gates, removal or a permit. The calculator adds those and shows a low–high range for each material.
How much does a chain link (cyclone) fence cost?
Chain link — also called cyclone fence — runs about $13–$27 per foot installed, depending on height and wire gauge. A 100 ft run of 4 ft chain link is about $2,000 at $20/ft; a walk gate adds roughly $110–$415.
How much does a privacy fence cost?
A 6 ft wood privacy fence costs about $25–$50 per foot and vinyl privacy about $40–$60 (This Old House, 2026). For 150 ft that is about $5,625 in wood or $7,500 in vinyl at the midpoints. Taller fences cost more per foot.
How much does it cost to install a vinyl fence?
Vinyl (PVC) picket fencing runs about $15–$40 per foot installed and vinyl privacy $40–$60. Roughly half of that is labour, so a 100 ft vinyl privacy fence at $5,000 installed is about $2,500 in materials if you install it yourself.
How much does it cost to replace a fence?
Add removal to the new fence. Angi’s 2026 data puts tearing out and hauling away an old fence at about $3–$5 per linear foot. For a 160 ft backyard in wood privacy that is $640 on top of $6,300, or $6,940 in total.
How many fence posts do I need?
Divide each straight run by the post spacing, round up, and add one post. A 100 ft run with posts every 8 ft needs 14 posts. Corners share a post, and each gate adds a post because it splits the run. The calculator counts all of this, including the extra terminal posts chain link needs.
How much concrete do I need per fence post?
A common rule (Quikrete) is a hole three times the post’s width and about a third of the fence height deep. A 4×4 post in a 10.5 in × 24 in hole takes about 1.03 cubic feet of concrete — 1.7 bags of 80 lb mix, so buy 2 per post. A chain link line post needs about 0.8 bags.
Which is cheapest: chain link, wood or vinyl?
Chain link is the cheapest to install, then wood picket, vinyl picket and wood privacy, with vinyl privacy and aluminium at the top. At the midpoints, 100 ft costs about $2,000 in chain link, $3,750 in wood privacy and $5,000 in vinyl privacy. Vinyl costs more up front but needs no staining.
How much does a fence gate cost?
Angi’s 2026 data puts a chain link walk gate at about $110–$415 and a double gate at $185–$775. HomeGuide lists wood or vinyl garden gates at $300–$600 and manual driveway gates at $300–$1,200. Automatic gates cost much more.
Can I install a fence myself to save money?
Yes — labour is about half the cost of a professional install (This Old House). A 150 ft wood privacy fence at $5,625 installed is about $2,813 in materials. It is heavy work: digging 20 post holes and setting them plumb in 35 bags of concrete.
Do I need a permit to build a fence?
Often, yes — many cities and counties require a permit or set height limits and setbacks, and HOAs may need to approve the style. Check your property line, and call 811 a few days before you dig so buried utility lines are marked for free.
How This Calculator Works: Formula, Defaults & Sources
Formula
- For each side: fence length = side length − gate widths; gates split the side into pieces
- Sections per piece = piece length ÷ post spacing, rounded up; posts = sections + 1 per piece; connected sides share a corner post (a closed loop shares one more)
- Materials: pickets = fence length × 12 ÷ (picket width + gap), rails = sections × rails per section (wood); panels = sections (vinyl, aluminium); fabric = fence length, top rail = fence length ÷ 10.5 ft (chain link)
- Concrete per post = (π × hole radius² − post area) × depth; bags = posts × concrete ÷ bag yield (80 lb = 0.60 ft³), rounded up
- Cost = fence length × price per ft × (1 + slope %) + gates + removal × total length + permit; DIY = materials share × (fence + gates) + permit
- Range = fence length × the published low / high price per ft + gates, removal and permit
Default values (you can change them)
- Price per foot (installed): midpoints: chain link $20 ($13–$27), wood privacy $37.50 ($25–$50), wood picket $25 ($15–$35), vinyl privacy $50 ($40–$60), vinyl picket $27.50 ($15–$40) — This Old House, Jun 2026; aluminium $50 ($25–$75) — HomeGuide 2026
- Materials share: 50% — This Old House: professional installation is about half the cost
- Gates (installed): chain link walk $262.50 ($110–$415), double $480 ($185–$775) — Angi 2026; wood / vinyl / metal walk $450 ($300–$600), drive $750 ($300–$1,200) — HomeGuide 2026
- Removal: $4 per linear foot ($3–$5, Angi 2026)
- Post spacing: chain link 10 ft, wood and vinyl 8 ft, aluminium 6 ft (typical; editable)
- Post holes: diameter 3 × post width; depth ⅓ of the fence height, at least 24 in (QUIKRETE guidance); 80 lb bag $6.65
Sources
- This Old House — A Comprehensive Guide to Fencing Options (updated Jun 8, 2026) — installed cost per linear foot by material; privacy fence ranges; labour about half
- HomeGuide — How Much Does Fence Installation Cost? (2026) — aluminium and privacy fence ranges; garden and driveway gate prices
- Angi — How Much Does Fence Installation Cost? (2026 data) — removing an existing fence $3–$5 per linear foot
- Angi — How Much Does a Black Chain-Link Fence Cost? (2026 data) — single and double walk-through chain link gates
- QUIKRETE — How to Set a Fence Post — hole about 3 × the post width and ⅓ of the height above ground deep
- QUIKRETE Concrete Mix (No. 1101) product data sheet — bag yields: 40 lb = 0.30 ft³, 60 lb = 0.45 ft³, 80 lb = 0.60 ft³
- 811 — Call Before You Dig — free utility-line marking before any digging
Results are planning estimates, not engineering advice. Confirm quantities with your supplier and follow your plans and local building code. Last updated: November 15, 2026. Spotted a wrong number? Email us or use the contact page.
Related calculators
Disclaimer: results are planning estimates based on 2026 US cost guides; local prices, materials, ground conditions and rules vary. Confirm property lines and permits, call 811 before digging, and get written quotes. See our disclaimer.