How much will your project cost? Get Estimates Now

How Much Does It Cost To Build A Fence?

Typical Range: $1,648 - $4,029

Find out how much your project will cost.

Are you a Home Improvement or Service Pro?

Connect with Homeowners

Fence Installation Costs

According to HomeAdvisor member reported data, the cost to install a fence averages $2,800, with typical cost between $1,648 and $4,029 For the most common materials, you’ll spend anywhere from $13 to $50 per linear foot, including professional installation. Labor and materials each make up 50% of the total budget.

If you purchase your own materials, expect labor to run $30 to $80 per hour with the average 150 to 200 linear foot fence taking 20 to 35 hours to complete.

This guide will walk you through materials, sizing, who to hire and all associated costs. Materials include aluminum, chain link, vinyl, wood, wrought iron and more. While this project isn’t complicated, it’s labor intensive and requires experience to get a professional look.

Fence Cost Calculator

Let's calculate cost data for you. Where are you located?

Please enter a valid ZIP Code
National Average $2,800
Typical Range $1,648 - $4,029
Low End - High End $400 - $8,000

Want the most accurate estimates for your project?

Request Quotes

We are still gathering data for this location.

Want the most accurate estimates for your project?

Request Quotes
Cost data is based on actual project costs as reported by 24,112 HomeAdvisor members in .

Average Cost to Install a Fence

Average Cost$2,800
Typical Range$1,648 and $4,029

Privacy Fence Cost

The average 150-foot privacy fence costs $2,750 with a typical range of $1,500 to $8,250. In total, it’ll run you $10 to $55 total per linear foot. You’ll spend $750 to $6,000 on materials and $750 to $2,250 on labor.

Privacy Fence Installation Costs Per Foot
TypeMaterialLaborTotal Per Linear Foot

Vinyl Vs. Wood Privacy Fence Materials Cost Calculator

Wood Vinyl/Composite
Concrete for Post Bases
  • $0.10-$0.50 per pound
    • $0.10-$0.50 per pound
    • Cedar: $2 to $8
    • Redwood: $10 to $14
    • Treated Pine: $2 to $3
    • Only panels
    Top/Bottom Rails
    • Wood: $10 each
    • Metal/Wood: $40-$50
    • $20-$150
    Panels 6ft x 8ft
    • $40-$150
    • $100-$500
    • $3-$5
    • $25-$150
    Post Caps
    • $5-$30
    • $5-$50
    Gate (walk through)
    • $150-$250
    • $200-$400
    Wood and vinyl are affordable and long-lasting options. Both materials come in numerous styles, each useful in different climates and areas. Consult a landscaping designer near you for the best style and material for your area. Weigh these pros and cons of vinyl vs. wood before starting your project.

    the total cost of a new fence is $10 to $55 per linear foot

    Wood Privacy Fence Cost

    • Wood privacy fences cost $1,000 to $4,500 for 150 linear feet.
    • For a high-end wood look, try a metal and wood combination at 4 to 5 times the price. The posts and rails made of aluminum or wrought iron and wood pickets for privacy.
    • Most employ some form of wood as the primary material.

    NOTE: Prices at the retail level fluctuate a little with the market price of raw lumber. Use these figures as a guideline but check with your local lumber yard or a professional for current pricing.

    Vinyl and Composite Privacy Fence

    • Vinyl fencing costs $3,000 to $6,000 for 150 linear feet.
    • Easier to install than wood but comes at a higher material price.
    • High-end varieties include decorative elements, colors and textures to mimic a wood look.

    Aluminum Privacy Fencing

    Privacy Fence Installation Labor Costs & Considerations

    Labor rates will vary by the type of materials you choose, site prep and your location. Most contractors include both labor and materials in one project price.

    • Professional labor: $30 to $70 per hour, or about $35 on average.
    • Average Time: 23 hours.
    • Removing old fencing: $3 to $5 per linear foot.
    • Professional installation ensures a clean and warrantied finish.
    • Contractors take care of all measurements, purchasing, delivery and installation.

    6 Foot vs. 8 Foot Privacy Fences

    Add 25% to 35% to your budget to increase from 6 to 8 feet high. Check with your local code enforcement agency or HOA about restrictions on height and acceptable materials.

    For a 100-foot long length of wood:

    • 6-foot: $1,300-$5,000
    • 8-foot: $1,625-$6,750
    Ask for a Quote From a Local Fence Contractor

    Fencing Cost Calculator

    Though the average fence costs $2,700, you can spend anywhere from $1,000 up to $10,000 or more depending on size and what type and style you choose. Materials alone run $7 to $30 per linear foot. For a standard 150-foot length that comes to $1,000 to $4,500.

    Here is a breakdown of expected costs for each major material as well as the pros and cons of each one.

    Fence TypeFence Cost
    per linear foot
    Labor Cost
    per linear foot
    Chain Link$7$10
    Wrought Iron$30+$10
    Get Estimates from Contractors for Yor Fence Project

    Chain Link Fences

    Chain Link Fence

    Chain link fences cost $1,100 to $2,800 on average. These basic, affordable structures have a long lifespan with minimal maintenance.

    • While functional, it isn’t aesthetically pleasing.
    • One of the easiest materials to install for a DIYer.
    • Metallic-coated is the most popular because it's the most economical.
    • Color-coated is simply colored material combined with metallic to make it slightly more attractive.

    Wood Fences

    Wood Fence

    Wood fences cost anywhere from $1,500 to $4,000. The type of wood chosen directly influences the price of the project.

    • Basic plank, such as pine, costs as little as $1.50, but cedar can be as much as $8.
    • Redwood: $17.50 per piece. If you want the best-looking materials, this is your best bet. It costs over double the finest cedar, though.
    • Cedar: $7 to $15 per linear foot to DIY install a six-foot fence, or roughly double that if a pro handles the job.

    A mix of privacy, aesthetics and affordability is the most common reason for installing this type.


    • Blend well in neighborhoods predominantly wood.
    • Color updates with paint and stains.
    • Backyard pool protection from sight, wind and for safety.
    • Differentiate different spaces like between a garage and guest house.


    • Require more of a financial investment.
    • Less durable than metal or vinyl.
    • More expensive than chain link but half the price of vinyl.

    Vinyl Fences

    White Vinyl Fence

    Vinyl fencing costs $2,000 to $5,000. This zero-maintenance type has a large up-front price tag of $20 to $40 per linear foot.


    • Maintenance free.
    • Multiple color options.
    • Easy to clean.


    • Expensive initial price.
    • Not suitable for extreme climates.

    Aluminum Fence Cost

    Aluminum Fence

    Aluminum or steel fencing costs $2,000 to $5,000 on average. Depending on the type and size, you’ll spend anywhere from $17 to $90 per linear foot total.


    • Requires little maintenance.
    • Corrosion and rust resistant.
    • Modern aesthetic.
    • Long lifespan.


    • Expensive installation.
    • Powder coating costs.

    You can hire a professional to powdercoat the metal to add to its weatherized protection.

    Steel Fence Prices

    Steel Fence

    Steel fencing costs $10 to $350 per 8-foot section. Most homeowners use steel to simulate wrought iron for a fraction of the price.


    • Excellent aesthetics for less than wrought iron.
    • Easy to install for most DIYers.
    • Low maintenance.


    • Can scratch and rust.
    • More expensive than wood.

    Wrought Iron Fences

    Wrought Iron Fence

    Wrought iron fencing costs $2,500 on average or $30 to $100+ per linear foot. Custom work can run $300 or more per linear foot. Considered the ultimate in classic aesthetics, it has significant drawbacks:


    • Highest aesthetic quality.
    • Boosts curb appeal with a stylized look.


    • Prone to rust.
    • Dents easily.
    • Expensive to install and maintain.

    Wire Fencing

    Wire Fence

    Welded wire costs $1 to $3 per linear foot. It’s sold in rolls and makes excellent protection for small animal areas, gardens and around trees. It keeps out rabbits, stray dogs, and other garden and property pests, while the family dog stays in.

    Available in many different styles, gauges, lengths and heights.

    • Light duty, inexpensive, do-it-yourself for shrubs and small gardens to keep rodents out.
    • Medium gauge types work well for pet enclosures.
    • High-quality, heavy-gauge wire for security.

    Ranch Fencing

    Ranch or Farm Style Fence

    Farm fencing costs $1,500 to $2,500 on average. Farms and ranches have wide ranging needs for horses, cattle and other livestock that require specialized materials and installations.

    Get Quotes from Pros for Fences by Type

    Average Cost of Building a New Fence

    You'll want a solid estimate for your project before you begin the build. There are five major considerations:

    1. Parts: $5 to $25 per linear foot: You can either acquire some of them yourself or rely on the fence contractor to get them and be charged later. While they will charge a markup fee, they receive discounts that could make the entire process affordable for you.
      • Chain-link are especially affordable.
      • Vinyl is more expensive than wood or chain-link.
      • Specialty materials such as aluminum and wrought iron are the priciest.
    1. Labor: $30 to $70 per hour. Project pricing and per linear foot charges include both labor and materials.
    2. Building permits cost $400 to $800. You will have to contact your local municipality to see if a permit is required.
    3. Lawn regrading costs $900 to $3,000. Expect higher fees if the land is sloped because it makes installation more difficult and time consuming.
    4. Call the Dig Line for Utilities. Always call 811 before digging to avoid striking any buried pipes or wires. Not calling could lead to costly utility repairs on the part of the homeowner.

    Height – Backyard Fence vs. Fencing Around a House

    Always check with your local code enforcement office for height requirements for front and back yards. There are no nationally set requirements.

    • 3 feet high is common for most front yards.
    • 6 feet high for most back yards.
    • Consider matching style, height and material with neighbors to maintain property values.
    • Check with your homeowner association for specific requirements.
    • Check with a neighbor about splitting costs where it runs along a shared property line.

    Costs to Fence in Your Yard by Size

    You’ll spend anywhere from $1,300 to $10,000 for the most common types depending on yard size. Standard yard sizes used to run about 200 linear feet for about 1/4 acre.

    • Plot sizes are shrinking. In urban areas or new developments, expect something smaller, or about 150 linear feet for 1/5 acre.
    • Buildings, shared property lines and natural obstacles may increase or decrease actual fence length.
    Common Plot SizesFence Length (Feet)Price
    1/6 acre (7,000 sq ft)100$1,300-$5,000
    1/5 acre (8,700 sq ft.)150$1,950-$7,500
    1/4 acre (10,800 sq. ft.)200$2,600-$10,000

    Even if you don't hire an installer, you should still evaluate your project for per linear foot or per square foot pricing.

    • It's critical that you properly measure the size of the property. Any miscalculation will have tremendous financial ramifications. You also may wind up short on materials, forcing another trip to the store. 
    • Hire a land surveyor to measure your land for $300 to $700. If you measure improperly, you may unintentionally schedule a build on a portion of land you don't own. This can lead to legal issues if there is a dispute about property rights.

    Average Cost to Install Fence Posts

    For just the post and concrete, you’ll spend $5 to $150 per post depending on the materials you choose. You’ll also need to consider code requirements for depth, setting and spacing.

    • Depth: code varies by location but usually requires the depth to exceed the frost line to avoid upheavals. This can increase both the length of the post and amount of concrete needed.
    • Setting: Code dictates if a corner post or all posts require concrete setting.
    • Spacing: Post spacing is usually 4, 6 or 8 feet apart.
    Get a Call from Local Fence Builders

    Fence Replacement Cost Estimator

    Replacement shares all the same costs as installing a new one for an average of $1,500 to $4,000. However, you’ll have to pay for removal of the old one which runs $3 to $5 per linear foot or $450 to $750 for a 150-foot length.

    DIY Fence Cost vs. Contractor Prices

    DIY Pro
    Cost (linear foot)$3-$40$13-$50
    Time30-50 hours20-30 hours

    This can make a great DIY project if you have 30 to 50+ hours free. It helps to have little experience tracking down building codes, permits and using basic tools like a shovel, post hole digger, hammer, drill and circular saw. Layout, design and measurements are key to a professional looking installation.

    • If you don’t already own the equipment and tools needed, professional installation might run the same or less.
    • Professionals warranty their work. Any DIY mistakes increase your budget.

    Getting Free Fence Installation Quotes

    Almost all landscapers and fencing contractors give free quotes for all their work. Make sure to ask a few questions before choosing an installer.

    • Get at least 3-5 quotes.
    • Research reviews and references. Inspect previous work if possible.
    • Ask about warranties.
    • Ask about licenses or trade associations.

    Research contractors and find fence installation costs near you today.

    Hire Fencing Installation Pros Near You


    What is the Cheapest Fence to Install?

    Chain link fences are the cheapest residential types at $1,000 to $3,000 overall. It ties with wood for material affordability at $5-$15 per linear foot for materials. Vinyl has the cheapest labor rate to install at $4 to $10 per linear foot.

    How Much Does it Cost to Fence In a 1/4 Acre Yard?

    Depending on type, 1/4 acre of fencing would run $4,000 to $15,500 assuming only three sides installed with the fourth side bordered by the home.

    How Long Does it Take to Put Up a Fence?

    A professional takes between 20 to 35 hours to put up a fence. It takes a DIYer up to double that time.

    How Much Does It Cost to Put Up a Gate?

    Gates run anywhere from $150 to $600 or more for drive-through varieties. Expect to pay an additional $100 to $250 for labor.

    How Much Does a Cedar Fence Cost?

    A 150-foot cedar fence costs anywhere from $3,000 to $8,000. It weathers well and takes less maintenance than other woods.

    How Do I Calculate How Much Fencing I Need?

    To find how much fencing you need either contact a professional or follow these steps:

    1. Determine code restrictions like height, post spacing, etc.
    2. Find your property lines, utility lines and where you’d like the fence located.
    3. Measure the distance where the fence will be.
    4. Divide that measure by the post spacing then add two. This is how many posts you’ll need.
    5. Multiply that by two or three for rails.
    6. For wood – divide the total length by the width of your pickets. For vinyl – simply add up the number of panels you’ll need.
    Consult with a Pro For Your Fence Project
    Was this page helpful?

    Was this page helpful?

    How could this page be more helpful?

    Find Fence Contractors Near You

    How do we get this data?

    1. Homeowners visit to find a top-rated pro to complete their home improvement project or repair.

    2. Once their projects are completed, the members log in to their accounts and complete a short cost survey.

    3. After compiling and organizing the data, we report it back to you.