Fence cost calculator

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.

2026 U.S. averages50-state labor indexNo sign-up

Project details

Adjust the numbers to match your yard and fence style.

ft
Most privacy fences are 6 ft tall.
Adjusts labor and material costs.
Installation
DIY removes the labor line but keeps materials, gates, and permits.

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.

The formula

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 typeInstalled cost per linear ft150 ft projectBest for
Wood privacy$18–$28$2,700–$4,200Classic look, privacy, easy repairs
Vinyl$24–$35$3,600–$5,250Low maintenance, clean appearance
Chain link$10–$18$1,500–$2,700Budget, pets, security
Aluminum$28–$40$4,200–$6,000Pool barriers, upscale look
Wrought iron$30–$50$4,500–$7,500Security, curb appeal
Composite$30–$45$4,500–$6,750Low 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

DIYProfessional
Typical 150 ft wood fence$1,200–$2,500 in materials$3,000–$5,000 installed
Time3–5 weekends1–3 days
ToolsAuger, level, saw, concrete, helperIncluded
WarrantyNone unless you provide it1–5 years typical
Best forFlat, straight runs and experienced DIYersSlopes, 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

  1. Measure the actual fence line, including corners and gate openings.
  2. Confirm the height limit and setback rules with your city or HOA.
  3. Ask contractors for a line-item bid: materials, labor, gates, removal, permits.
  4. Check whether the quote includes post concrete, caps, stain, and cleanup.
  5. Ask about the warranty and who handles the permit inspection.
  6. 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.