Home›Fence Cost Calculator
Fence Cost Calculator
What does a fence cost? Enter the length, pick the height and material, add gates, and get the installed cost with a materials-and-labour split. US 2026 prices.
Calculate your fence cost
Your results
How the fence cost formula works
Total = Length × $/lin ft (material) × height factor × terrain factor + gates
Fences are priced by the linear foot, installed. At 6 ft high, wood picket runs about $25 per linear foot, wood privacy about $35, vinyl about $40, chain-link about $20, aluminum about $45 and composite about $50. The height factor is ×0.8 for a 4 ft fence, ×0.9 for 5 ft, ×1.0 for 6 ft and ×1.3 for 8 ft — a taller fence needs longer posts, deeper holes and more material.
Terrain matters: sloped ground adds about 15% because the fence must step or rack, and rocky ground adds about 25% because post holes are harder to dig. Gates are priced separately — about $350 for a walk gate and $650 for a drive gate, including hardware. Posts are spaced 8 ft apart, so a 100 ft fence needs 14 posts and 13 panels.
Worked example
Worked example: 100 ft wood privacy fence, 6 ft, 1 walk gate
A 100 ft fence, 6 ft high, wood privacy, flat ground, 1 walk gate:
- Fence cost: 100 × $35 × 1.0 × 1.0 = $3,500
- Materials (50%): $1,750
- Labour (50%): $1,750
- Walk gate: $350
- Total: $3,850 — $38.50 per linear foot
- Posts: 14 (one every 8 ft, plus the last one), panels: 13
Cross-check: CalcTheCost puts the average fence at about $4,500, and HomeAdvisor prices a 100 ft wood privacy fence at roughly $2,500-$5,000 — this estimate sits in the middle. A second example: a 150 ft chain-link fence, 4 ft high, flat, no gates costs $2,400 ($16.00 per linear foot).
Prices are US 2026. Check your local rules first — many towns require a permit for a fence over 6 ft, and some HOAs restrict height and material.
How much does a fence cost? (US, 2026)
Typical 2026 US prices for this job. "Installed" rates include labour; get 2-3 written quotes before you commit, because local prices vary.
| Item | Typical cost (US, 2026) |
|---|---|
| Wood picket, 6 ft (installed) | $25 per lin ft |
| Wood privacy, 6 ft (installed) | $35 per lin ft |
| Vinyl, 6 ft (installed) | $40 per lin ft |
| Chain-link, 6 ft (installed) | $20 per lin ft |
| Aluminum, 6 ft (installed) | $45 per lin ft |
| Composite, 6 ft (installed) | $50 per lin ft |
| Walk gate | ~$350 each |
| Drive gate | ~$650 each |
| Sloped ground / rocky ground | +15% / +25% |
| US 2026 prices, checked November 2026. Sources: CalcTheCost fence calculator (avg $4,500), Toolchive fence calculator, HomeAdvisor fence cost guide. | |
Waste allowance
Fence materials need about 5% extra for cuts and a spare board or two — a 100 ft fence needs about 105 ft of panels. This calculator's $/lin ft rates already include that allowance, which is why they are given as installed prices. The real waste on a fence job is the concrete: each post needs about 1-1.5 bags of concrete mix, and on rocky ground you will use more because the holes are wider than planned. Buy one extra bag per 10 posts.
Frequently asked questions
How much does a wood privacy fence cost?
About $35 per linear foot installed at 6 ft high — a 100 ft fence costs about $3,850 including one walk gate. A 4 ft fence is cheaper (about $28 per linear foot) and an 8 ft fence is more (about $45.50 per linear foot). Wood needs staining every 2-3 years, which adds about $1,000-$1,500 over the fence's life.
Is vinyl fence cheaper than wood?
Vinyl costs more up front — about $40 per linear foot against $35 for wood privacy — but it needs no staining or painting and lasts 25-30 years against 15-20 for wood. Over 20 years the vinyl fence is usually cheaper because you never pay for staining.
How much does a chain-link fence cost?
About $20 per linear foot installed at 6 ft high, or about $16 at 4 ft high. A 150 ft chain-link fence, 4 ft high, costs about $2,400. Chain-link is the cheapest fence material and the fastest to install, but it gives no privacy.
How many posts do I need for a fence?
One post every 8 ft, plus one at the end: posts = ceil(length ÷ 8) + 1. A 100 ft fence needs 14 posts and 13 panels. Each post needs about 1-1.5 bags of concrete mix, so a 100 ft fence takes about 14-21 bags.
Do I need a permit for a fence?
It depends on your town. Many places allow a fence up to 6 ft without a permit, but some require one for any fence, and almost all require one over 6 ft. HOAs often have their own rules on height, material and colour. Check both before you buy materials — a fence that breaks the rules can be ordered taken down.