Home

Fence Cost Calculator

Estimate the total cost of a new fence including posts, panels, gates, materials, and labor. Compare wood, vinyl, chain-link, and aluminum options.

Quick Answer

A 150 linear foot, 6-foot tall wood fence costs $2,800-$6,100 installed (materials + labor + 1 gate). Chain-link is cheapest at $1,575-$4,300, while vinyl runs $3,900-$9,200 and aluminum $4,700-$11,100. Posts are spaced every 6-10 feet depending on material, and each gate adds $75-$600.

ft

Tip: A typical residential backyard is 100-200 linear feet.

4 ft: decorative/front yard. 6 ft: standard privacy. 8 ft: maximum privacy, may require permits.

Standard walk gate: 3-4 ft wide. Double/drive gate: 10-16 ft wide (costs 2-3x more).

Fence Estimate

Estimated Total Cost
$2,800 - $6,350
Wood (Cedar/Pine) · 6 ft tall · 150 linear ft · 1 gate
Posts Needed
21
Panels Needed
19
Material Cost
$1,500-$3,750
Labor Cost
$1,200-$2,250
Gate Cost: 1 gate x $100-$350 each = $100-$350

Material Comparison (per linear ft, 6 ft height, installed)

Wood (Cedar/Pine)$18-$40/ft
Vinyl (PVC)$25-$58/ft
Chain-Link$10-$27/ft
Aluminum$30-$70/ft

About This Tool

A fence is one of the largest outdoor home improvement investments, and costs can vary wildly depending on material, height, terrain, and local labor rates. Homeowners frequently underestimate fence costs because they focus on material prices alone and forget about posts, concrete for post holes, gates, hardware, and labor. This calculator gives you a complete picture by factoring in all of these elements so you can budget accurately before getting contractor quotes.

How Fence Costs Break Down

Fence costs have three main components: materials (posts, panels, rails, hardware), labor (digging post holes, setting posts in concrete, attaching panels, installing gates), and gates (which are surprisingly expensive because they require heavy-duty hardware, hinges, latches, and precise installation). Materials typically account for 40-50% of the total cost, labor 40-50%, and gates 5-15% depending on number and style. The calculator provides ranges for each component so you can see where your money goes.

Choosing the Right Material

Wood (cedar or pressure-treated pine) is the most popular choice, offering a natural look at a moderate price. Cedar naturally resists rot and insects but costs more than pine. Pressure-treated pine is the budget option but needs staining or sealing every 2-3 years. Vinyl costs more upfront but requires virtually no maintenance and lasts 20-30 years. It will not rot, warp, or need painting. Chain-link is the most affordable option and ideal for keeping pets contained, but offers no privacy unless you add slats or fabric. Aluminum provides an elegant, ornamental look and is rust-proof but offers no privacy and is the most expensive option.

Post Spacing and Installation

Fence posts are the structural backbone. They are typically spaced 6-8 feet apart for wood and vinyl, 8-10 feet for chain-link, and 6 feet for aluminum. Posts must be set in concrete to a depth of at least one-third the above-ground height (so a 6-foot fence needs posts buried at least 2 feet deep). Corner posts, end posts, and gate posts need extra concrete and bracing. Rocky soil, tree roots, and underground utilities can significantly increase installation time and cost.

Permits and Property Lines

Most municipalities require a fence permit, especially for fences over 4 feet tall. Permit costs range from $25 to $500 depending on location. Before building, you should get a property survey to confirm your property lines. Building even slightly on a neighbor's property can result in a forced removal at your expense. Many areas also have regulations about maximum height, setback from sidewalks, and which side of the fence must face outward (the "good neighbor" rule typically requires the finished side to face your neighbor).

Maintenance and Lifespan

Maintenance costs should factor into your total cost of ownership. Wood fences need staining or sealing every 2-3 years ($1-3/ft), adding $300-$900 per treatment for a 150 ft fence. Over a 20-year lifespan, maintenance can equal the original installation cost. Vinyl and aluminum require only occasional cleaning with soap and water. Chain-link may need new tension wire or post caps every few years but is otherwise low maintenance. When budgeting, consider the 10-year and 20-year total cost, not just the upfront price.

Frequently Asked Questions

How much does a 200-foot fence cost?
A 200 linear foot, 6-foot tall fence costs approximately: wood $3,600-$8,000, chain-link $2,000-$5,400, vinyl $5,000-$11,600, and aluminum $6,000-$14,000 installed. These ranges include materials, labor, and one standard gate. Actual costs vary by region; urban areas and the coasts tend to be 20-40% higher than the Midwest or rural areas.
Is it cheaper to build a fence yourself?
DIY fence building can save 40-50% (the labor portion). However, it requires digging post holes (ideally with a rented auger), mixing and pouring concrete, ensuring level and plumb posts, and precisely spacing panels. A 150 ft fence takes an experienced DIYer 2-3 full weekends. If posts are not set properly, the fence will lean or sag within a few years, costing more to fix than professional installation.
How long does a fence last?
Chain-link: 15-20 years. Pressure-treated wood: 15-20 years with maintenance. Cedar: 15-25 years. Vinyl: 20-30 years. Aluminum: 20-30+ years. The biggest factor in fence longevity is proper post installation. Posts that are not set deep enough in concrete or are in contact with soil will rot or shift, causing the entire fence to fail prematurely.
Do I need a permit to build a fence?
In most areas, yes. Fences over 4 feet typically require a building permit. Some HOAs have additional restrictions on height, material, color, and style. Check with your local building department before starting. Unpermitted fences can result in fines, forced removal, and complications when selling your home.
How far apart should fence posts be?
Standard spacing is 6-8 feet for wood and vinyl fences, 8-10 feet for chain-link, and 6 feet for aluminum. Closer spacing provides more structural strength, especially in high-wind areas. Corner posts, end posts, and gate posts should always use larger diameter posts and more concrete for added strength.
What is the cheapest fence material?
Chain-link is the cheapest at $10-$27 per linear foot installed. For privacy fences, pressure-treated pine is the most affordable at $18-$40 per linear foot installed. If you only need a short decorative fence for a front yard, a 4-foot chain-link fence can cost as little as $8-$18 per foot installed.

Was this tool helpful?