How to use the fence cost calculator
- Choose the fence material and enter the total length of the fence line.
- Add gates and, if you have quotes, the price per gate and per foot for removing an old fence.
- Enter a contractor's price per foot to see your own total, or use the national range to set a budget.
Fence cost per linear foot
| Material | Low | Typical | High | 150 ft fence |
|---|---|---|---|---|
| Wood privacy | $15 | $28 | $45 | $2,250 – $6,750 |
| Vinyl | $20 | $35 | $60 | $3,000 – $9,000 |
| Chain link | $10 | $18 | $30 | $1,500 – $4,500 |
| Aluminum | $25 | $40 | $65 | $3,750 – $9,750 |
Fence cost formula
cost = fence length (ft) × installed price per ft + gates + removal
Worked example
150 ft of 6 ft wood privacy fence around a backyard:
- Typical cost: 150 × $28 = $4,200
- Likely range: 150 × $15 to 150 × $45 = $2,250–$6,750
- Add your gate quotes. To check the material list (posts, rails, pickets and concrete), use the fence calculator.
Fence cost by length
| Length | Wood privacy | Vinyl | Chain link | Aluminum |
|---|---|---|---|---|
| 50 ft | $1,400 | $1,750 | $900 | $2,000 |
| 100 ft | $2,800 | $3,500 | $1,800 | $4,000 |
| 150 ft | $4,200 | $5,250 | $2,700 | $6,000 |
| 200 ft | $5,600 | $7,000 | $3,600 | $8,000 |
| 250 ft | $7,000 | $8,750 | $4,500 | $10,000 |
| 300 ft | $8,400 | $10,500 | $5,400 | $12,000 |
What changes the price of a fence
- Height. Prices above assume about 6 ft. A 4 ft fence uses shorter posts and fewer boards and usually costs noticeably less per foot.
- Terrain and soil. Slopes need stepped or racked panels, and rocky or root-filled ground slows post digging.
- Gates and hardware. Each gate needs heavier posts, hinges and a latch; double drive gates cost far more than walk gates.
- Permits and surveys. Many towns require a fence permit, and HOAs often limit height, style and color.
Where these prices come from
The ranges are national averages compiled from 2026 cost guides, includingNerdWallet,HomeGuide andRemodelAI. Published figures vary widely by region and fence height, so get several written quotes before you commit.