Fence Cost Calculator
Estimate a fence project by material, height, state, gates, and removal. See the material, labor, permit, and per-foot numbers separately — then compare them with local bids.
How this fence cost estimate works
The calculator starts with a national material and labor rate for the fence type you choose, then adjusts for height, your state, gates, removal, and permits. The result is a planning range — not a contractor bid.
Materials + labor + gates + old-fence removal + permit allowance = estimated total. Labor drops to $0 when you switch to DIY.
Material rates are per linear foot at a 6 ft height. A 4 ft fence uses roughly 80% of the material, while an 8 ft fence uses about 35% more. State indexes range from 0.90 in lower-cost markets to 1.45 in Hawaii.
Average fence cost by material
| Fence type | Installed cost per linear ft | 150 ft project | Best for |
|---|---|---|---|
| Wood privacy | $18–$28 | $2,700–$4,200 | Classic look, privacy, easy repairs |
| Vinyl | $24–$35 | $3,600–$5,250 | Low maintenance, clean appearance |
| Chain link | $10–$18 | $1,500–$2,700 | Budget, pets, security |
| Aluminum | $28–$40 | $4,200–$6,000 | Pool barriers, upscale look |
| Wrought iron | $30–$50 | $4,500–$7,500 | Security, curb appeal |
| Composite | $30–$45 | $4,500–$6,750 | Low maintenance, long lifespan |
National planning ranges for a 6 ft fence with one gate. Local quotes can be 20–40% higher or lower.
What changes the price most
- Height: An 8 ft privacy fence can cost 30–40% more than 6 ft because of longer posts, more material, and deeper footings.
- Gates: A single walk gate adds $250–$700; double drive gates can add $800–$2,000 or more.
- Old fence removal: Expect $3–$6 per linear foot, including haul-away and disposal fees.
- Terrain and access: Slopes, rocky soil, tight side yards, and long carries increase labor.
- Permits and HOA: Fees vary widely; some jurisdictions charge by linear foot, others a flat fee.
- Season: Spring and summer are busiest, so scheduling and pricing are less flexible.
DIY vs. professional installation
| DIY | Professional | |
|---|---|---|
| Typical 150 ft wood fence | $1,200–$2,500 in materials | $3,000–$5,000 installed |
| Time | 3–5 weekends | 1–3 days |
| Tools | Auger, level, saw, concrete, helper | Included |
| Warranty | None unless you provide it | 1–5 years typical |
| Best for | Flat, straight runs and experienced DIYers | Slopes, permits, complex gates, tight timelines |
Digging and setting posts is the part most DIYers underestimate. A 150 ft fence needs roughly 20 posts, each with a 10–12 inch hole about 30 inches deep. In rocky or clay soil, that alone can take a full weekend.
How to get a more accurate quote
- Measure the actual fence line, including corners and gate openings.
- Confirm the height limit and setback rules with your city or HOA.
- Ask contractors for a line-item bid: materials, labor, gates, removal, permits.
- Check whether the quote includes post concrete, caps, stain, and cleanup.
- Ask about the warranty and who handles the permit inspection.
- Get three bids and compare the scope, not just the total.
Need material quantities instead of a cost range? Use thefence material calculator to get pickets, rails, posts, and concrete bags. For post layout, seefence post spacing.
Frequently asked questions
How much does a 150-foot fence cost?
A 150-foot wood privacy fence typically costs $2,700 to $4,200 installed, depending on height, gates, and local labor. Vinyl runs about $3,600 to $5,250, while chain link is closer to $1,500 to $2,700. Use the calculator above with your state and gate count for a tighter estimate.
Is wood or vinyl fencing cheaper?
Wood is usually cheaper upfront: about $18 to $28 per linear foot installed versus $24 to $35 for vinyl. Vinyl costs more initially but needs less maintenance, so the 10-year cost can be closer than the first quote suggests.
How much does fence installation cost per foot?
Professional installation typically adds $6 to $15 per linear foot on top of materials. Labor is higher for slopes, rocky soil, tall privacy fences, and decorative gates. The calculator shows the labor portion separately so you can compare it with local bids.
Do I need a permit to build a fence?
Many cities and counties require a fence permit, especially for fences over 6 feet, corner lots, or pool barriers. HOA approval may also be required. Rules vary by location, so check with your local building department before ordering materials.
How long does it take to install a fence?
A professional crew usually finishes a 150-foot privacy fence in one to three days, weather permitting. A DIY install often takes three to five weekends because of digging, setting posts, and waiting for concrete to cure.
Does this fence cost calculator include gates and old fence removal?
Yes. Add the number of gates and toggle old fence removal to include both in the estimate. Permit and inspection costs are included as a flat allowance; your local fee may be higher or lower.