Fence Calculator
A fence costs $10 to $90 per ft installed depending on material and height. Most homeowners pay $20 to $50 per ft: chain link runs $10 to $40 per ft per ft, wood $18 to $40 per ft, aluminum $30 to $55 per ft, and wrought iron $35 to $85 per ft. A typical 150 ft wood privacy fence runs $3,000 to $6,000 installed. Pick a material, height, and length below to get posts, gates, and total.

Your fence
Add-ons & price assumptions
Defaults & assumptions
Defaults: a 150 ft wood (pine) fence at 6 ft, no gates, no removal. Picking a material and height prefills the installed $/ft and the per-gate $ to that material’s average. Ergeon’s real installed prices for chain link run above the budget guides (often $30 to $70 per foot — their install includes concrete-set posts and tension hardware), so if your quote lands high, that’s normal for a quality pro job.
Enter your fence length above to see results.
Fence cost by material
A residential fence is priced per linear foot, all-in — that’s the way every installer quotes. Chain link is the cheapest at $10 to $40 per ft installed (galvanized is the budget option; vinyl-coated adds about $2 per foot). Wood fence runs $18 to $40 per ft for pressure-treated pine, more for cedar; aluminum $30 to $55 per ft sits between wood and wrought iron. Wrought iron / steel is the most expensive at $35 to $85 per ft, often custom-fabricated and powder-coated. Height adds roughly 30 to 50 percent moving from 4 ft to 6 ft, and a tall 8 ft privacy fence is a meaningful premium beyond that. Gates add $175 to $500 each installed depending on material; a single walk-through gate is usually about half the price of a double drive gate. Removing an old fence before the new install runs about $5 per foot.
| Material | Height | Installed |
|---|---|---|
| Chain link | 4 to 8 ft | $14 to $40 per ft |
| Chain link | 4 to 8 ft | $16 to $42 per ft |
| Wood | 4 to 8 ft | $16 to $34 per ft |
| Cedar | 4 to 8 ft | $22 to $45 per ft |
| Vinyl privacy | 4 to 8 ft | $30 to $65 per ft |
| Aluminum | 4 to 8 ft | $32 to $58 per ft |
| Wrought iron / steel | 4 to 8 ft | $35 to $90 per ft |
How the calculator works
Total = length × installed $/ft + (gate count × gate $) + removal $/ft if checked. Posts = ceil(length ÷ spacing) + 1, where spacing depends on material (wood/cedar/vinyl at 8 ft, chain link at 10 ft, aluminum / iron at 6 ft). The installed $/ft rate is all-in (posts, rails, pickets/mesh, hardware, labor). The DIY line is intentionally omitted here because labor share swings 25% (chain link) to 50% (wood) by material — a single materials fraction would lie. Edit the installed rate to match a local quote, or zero it for a DIY materials-only calc if you plan to do the labor yourself. Price ranges reflect published US averages from national cost guides (Angi, HomeGuide, Ergeon, 2026).
Fence cost FAQ
How much does a fence cost per foot?
Fence cost per foot installed ranges from $10 to $90 per ft depending on material: chain link $10 to $40 per ft, wood (pine or cedar) $18 to $40 per ft, vinyl $30 to $65 per ft, aluminum $30 to $55 per ft, wrought iron $35 to $85 per ft. Most homeowners pay $20 to $50 per ft for a typical 6 ft residential fence.
How much does a wood fence cost?
A wood fence (pine or pressure-treated) costs $18 to $40 per ft installed at 6 ft height, or $2,700 to $6,000 for a typical 150 ft run. Cedar runs slightly more at $22 to $45 per ft. The cost includes posts, rails, pickets, and labor; a 6 ft privacy fence is the most common configuration.
How much does a chain link fence cost?
A chain link fence costs $10 to $40 per ft installed for galvanized, or $16 to $42 per ft with vinyl coating. A 150 ft residential chain link fence runs $1,500 to $6,000 installed. Chain link is the cheapest fence material but offers little privacy; adding privacy slats or fabric runs $3 to $8 per foot extra.
How many posts do I need for a fence?
Posts are spaced 6 to 10 feet apart depending on material: wood, cedar, and vinyl typically use 8 ft spacing, chain link 10 ft, and aluminum or wrought iron 6 ft. The count is always one more than the number of gaps: a 100 ft wood fence at 8 ft spacing needs 14 posts. End, corner, and gate posts are heavier-duty than line posts and cost a bit more each.
Install










