Fence Cost Calculator (2026)

Estimate the cost to install a fence. Pick your length, height, material (wood, vinyl, aluminum, chain link, wrought iron), gate count, and state, and we'll compute a planning range. 2026 data; not a contractor bid.

Cedar privacy fence with stained vertical pickets and freshly set wood posts in dug holes along a string line

Enter your fence project

Includes materials, labor, an equipment allowance and contractor markup; the breakdown below lists each line.

Common projects

Fence dimensions

3-4 ft front yard typical; 6 ft privacy back yard standard; 8+ ft commercial / tall.

Material & site

Uses the first 3 digits as a planning zone (not exact local pricing). Overrides state average when matched.

Gates

Automatic gates include motor opener, photo eyes, wiring.

Site work

Your fence estimate

Estimated installed range
Calculating…
—
Materials
$0
Labor
$0
Per linear ft
$0

Cost breakdown

Fence cost breakdown: quantity and estimated range for each line item
ItemQuantityEstimated range
Planning estimate, not a bid. 2026 rates on this page cite HomeGuide (14 rows), FenceAdvisors (2), BLS wage data (1), DC Fence (1) and Mighty Mule (1). Compare written bids on an identical scope for accurate local pricing.
What's not included: survey costs (HomeGuide lists $300-$900 for a boundary survey on up to half an acre), removing tree roots, hauling spoil dirt, painting/staining (periodic sealing for wood), and HOA-required design approvals.

Bid check

Got a fence contractor quote? Compare it to the planning range.

Not sure and Whole estimate compare with the whole estimate. Materials + equipment uses those lines alone, without labor lines or markup; items priced as installed work are left out and the result names them.
Quote per lf
—
Range check
—
Scope risk
—
Add a quote amount to compare it against the current estimate.

Methodology & sources

What this is: a planning-range fence calculator. Its rates cite HomeGuide, FenceAdvisors, BLS wage data, DC Fence and Mighty Mule. The note under the estimate counts the rows from each source.

Material pricing is per linear foot, materials only, by material type, scaled by height: against a 6 ft fence, 4 ft costs about 0.72x and 8 ft about 1.43x (chain link is quoted at 4 ft).

Posts are counted at 8 ft on center plus 4 corner and end posts. Each post is priced for its concrete; digging and setting the posts is part of the crew labor.

Labor is crew-hours times a loaded crew rate ($55-$95 per crew-hour): 13-16 crew-hours per 100 ft for wood, vinyl and other privacy or picket fences and 6-10 for chain link, from HomeGuide’s installation times and scaled by height. The crew rate cites BLS OEWS 47-2061 (Construction Laborers) and 47-2031 (Carpenters) wages; the loading for payroll burden, crew size, equipment and profit is a planning assumption.

Per-rate sources stored in CSV with each row's source_url, source_date, region, basis.

Last updated: November 2026. Full methodology →

Helpful materials & tools for this project

Fencing is mostly posts, panels, and hardware — the pieces behind your estimate:

  • Fence panels or pickets — Wood, vinyl, or aluminum — the largest material line.
  • Post concrete mix — Fast-setting mix for setting posts plumb.
  • Post caps & gate hardware — Hinges, latches, and caps that finish the run.
  • Post level & string line — Keeps posts plumb and the run straight.

Suggested materials to help you plan — not an endorsement, and never a contractor referral.

Cost simulator

Monte Carlo simulation

See the full range of likely costs — with the odds

For a typical 150 lf aluminum decorative, the installed planning band runs $4,755 to $9,425 nationally before regional adjustment.

Worked example: 150 lf aluminum decorative

To show exactly how the band is built, here's the calculator's own engine run on the 150 lf aluminum decorative scenario at national average pricing — the same line items the calculator produces for this project, laid out as a bill of quantities.

Line-item bill of quantities for the 150 lf aluminum decorative worked example, with category and installed range per item
Line itemCategoryInstalled range
Aluminum fence (materials) (4.5 ft)Materials$2,067 – $3,858
Post-hole concrete (22 posts)Materials$194 – $330
Walk-through gate (1)Materials$150 – $400
Crew install labor (posts, rails, panels)Labor$985 – $2,094
Equipment & tool allowanceEquipment$235 – $400
Fence building permitPermits$25 – $150
Mobilization / minimum chargeLabor$200 – $200
Contractor overhead & profitMarkup 26–30%$899 – $1,993
Installed total$4,755 – $9,425

National average, planning ranges not a bid. Change the size, material, or ZIP in the calculator above to reprice this exact breakdown for your project.

What this project costs in different metros

Regional labor and material markets move the installed price. These bands come from the same engine as the calculator above, run at each metro's planning multipliers — enter your ZIP in the calculator for a figure tuned to your area. National reference: $4,750–$9,450.

Fence typical installed cost by metro area, compared with the national reference
MetroTypical installed rangevs. national
San Francisco, CA$5,600–$11,250+19%
New York, NY$5,650–$11,350+20%
Boston, MA$5,200–$10,400+10%
Chicago, IL$5,300–$10,650+12%
Atlanta, GA$5,350–$10,650+13%
Houston, TX$5,000–$9,950+6%
Miami, FL$4,700–$9,300-1%
Phoenix, AZ$4,900–$9,700+3%

Planning ranges, not contractor quotes. Multipliers are rounded regional planning indices (see methodology), not a reproduction of any proprietary cost table.

Fence cost by material

A 150-foot run with one walk gate, changing the fence material. Each material is priced at the height it is usually installed at: chain link at 4 feet, decorative aluminum and wrought iron at 5 feet, wood, vinyl and composite privacy fences at 6 feet. Material is the biggest single lever on a fence price.

Fence cost by material: installed cost range for each option, produced by this calculator's own engine
Fence materialInstalled rangeRelative
Chain-link (cheapest)150 lf · 4 ft tall · 1 gate · $15.30–$36.68 per foot $2,296 – $5,502
Wood - pressure-treated pine150 lf · 6 ft tall · 1 gate · $27.71–$51.87 per foot $4,156 – $7,781
Wood - cedar150 lf · 6 ft tall · 1 gate · $33.97–$63.50 per foot $5,095 – $9,525
Vinyl / PVC150 lf · 6 ft tall · 1 gate · $46.50–$73.82 per foot $6,976 – $11,073
Aluminum (decorative)150 lf · 5 ft tall · 1 gate · $33.96–$67.37 per foot $5,093 – $10,106
Composite150 lf · 6 ft tall · 1 gate · $52.68–$95.67 per foot $7,902 – $14,351
Wood - redwood (premium)150 lf · 6 ft tall · 1 gate · $39.77–$73.50 per foot $5,965 – $11,025
Wrought iron (security)150 lf · 5 ft tall · 1 gate · $58.95–$95.67 per foot $8,843 – $14,351

Planning ranges at national average pricing, not contractor quotes. Enter your ZIP in the calculator above for a figure tuned to your area — these rows use the same engine and the same assumptions.

Fence cost by length

A 6-foot pressure-treated wood fence with one walk gate, at five run lengths. Gates, the permit and mobilization do not grow with the run, so the cost per foot falls as the fence gets longer.

Fence cost by length: installed cost range for each size, produced by this calculator's own engine
Fence lengthInstalled rangeRelative
50 feetwood privacy · 6 ft · 1 gate · $38.11–$69.86 per foot $1,906 – $3,493
100 feetwood privacy · 6 ft · 1 gate · $30.10–$56.38 per foot $3,010 – $5,638
150 feetwood privacy · 6 ft · 1 gate · $27.71–$51.87 per foot $4,156 – $7,781
200 feetwood privacy · 6 ft · 1 gate · $26.48–$49.56 per foot $5,296 – $9,912
300 feetwood privacy · 6 ft · 1 gate · $25.26–$47.26 per foot $7,577 – $14,178

Planning ranges at national average pricing, not contractor quotes. Enter your ZIP in the calculator above for a figure tuned to your area — these rows use the same engine and the same assumptions.

Fence cost by height

A 150-foot pressure-treated wood fence with one walk gate at four heights: 4 feet for a front yard, 6 feet for backyard privacy, 8 feet where the code allows it. Height raises both the material and the labor per foot; gates, posts and the permit are priced the same at every height here.

Fence cost by height: installed cost range for each size, produced by this calculator's own engine
Fence heightInstalled rangeRelative
4 ft tallwood · 150 lf · 1 gate · $21.66–$40.53 per foot $3,250 – $6,079
5 ft tallwood · 150 lf · 1 gate · $24.69–$46.21 per foot $3,704 – $6,931
6 ft tallwood · 150 lf · 1 gate · $27.71–$51.87 per foot $4,156 – $7,781
8 ft tallwood · 150 lf · 1 gate · $36.94–$69.20 per foot $5,540 – $10,380

Planning ranges at national average pricing, not contractor quotes. Enter your ZIP in the calculator above for a figure tuned to your area — these rows use the same engine and the same assumptions.

What moves this price the most

Vary one input across its full range while holding everything else at the typical scenario, and this is how far each choice can move the installed estimate — measured by running the calculator's own engine. The widest bars are where your decisions matter most; the figures show the cheapest-to-priciest span each input creates on its own.

  • Total length (linear feet)$1,750–$77,000
  • Automatic gates (with opener)$7,100–$21,400
  • Height (ft)$5,550–$17,900
  • Fence material$4,150–$10,750
  • Double drive gates (8-12 ft)$7,100–$11,100
  • Walk-through gates (4 ft)$6,800–$9,550

A tornado view: each row varies a single input; a real project moves several at once, so totals aren't additive.

How much does it cost to install a fence in 2026?

Priced by this calculator on a 150-foot run with one walk-through gate, residential fences run from about $15 per linear foot installed (4 ft chain-link) up to about $96 (5 ft wrought iron or 6 ft composite) in 2026, and a typical 6 ft pressure-treated privacy fence costs $28-$52 per foot. Per linear foot, material is the biggest swing: 4 ft chain-link at $15-$37/lf is the cheap end, 5 ft wrought iron at $59-$96/lf the high end. How much fence you run still moves the total more than the material does — see what drives project costs. Those per-foot figures already include the posts and their concrete, the one gate, crew labor, equipment, the permit, the trip charge and contractor markup for that 150-foot run, so do not add those again. The table below prices separate jobs from the calculator’s presets, each at its own listed length and material.

ProjectLengthJob priced (permit included)Installed cost
Backyard chain-link200 lfGalvanized chain-link, 4 ft; 1 walk gate$2,800 – $6,900
Backyard PT wood150 lfPressure-treated pine, 6 ft; 1 walk gate$4,200 – $7,800
Cedar privacy200 lfCedar, 6 ft; walk gate and double drive gate; old fence removed; brush clearing$8,600 – $16,200
Vinyl privacy300 lfVinyl, 6 ft; 2 walk gates$13,300 – $21,100
Aluminum decorative150 lfAluminum, 4.5 ft; 1 walk gate$4,800 – $9,400
Wrought-iron estate400 lfWrought iron, 5 ft; walk gate and automatic gate; brush clearing$27,000 – $44,000

What drives fence cost

  • Material — 4 ft chain-link $15-$37/lf vs 5 ft wrought iron $59-$96/lf installed, on a 150-ft run with one gate.
  • Height — 6 ft is the residential privacy standard. On the default job (150 ft of pressure-treated wood with one walk gate), a 4 ft fence comes out about 22% less than a 6 ft one, and an 8 ft fence about 33% more than a 6 ft one, because height moves both the material and the install labor.
  • Posts and labor — one post every 8 ft + 4 corner/end posts, $9-$15 of concrete each. Setting them is part of the install labor: about 13-16 crew-hours per 100 ft for wood, vinyl or composite, 6-10 for chain-link.
  • Gates — walk-through $150-$400 each, double-drive $400-$1,200, automatic $3,500-$6,000+ installed.
  • Site conditions — sloped terrain adds $6-$10/lf; brush clearing $4-$6/lf; old-fence removal $5-$8/lf, each before markup.
  • Region — California and New York labor 30-35% above national average.

Choosing the right fence material

Each price below is a complete modeled example, not a raw material rate: a national installed 150-foot run with one walk-through gate, easy site prep, the permit included and no old fence to remove, at the height shown, divided by the length.

Pressure-treated wood pine

$28-$52/lf installed at 6 ft. Cheapest wood option. Lasts 15-20 years with regular sealing or staining (typically every 1-3 years, depending on sun, weather and product). Boards may warp or split over time. Standard 6 ft dog-ear privacy panels are widely available.

Cedar

$34-$64/lf installed at 6 ft. Naturally rot-resistant and insect-repellent. Ages to silver-gray; stain to keep warm tone. 20-30 year lifespan. Common in board-on-board, shadowbox, and split-rail styles.

Vinyl / PVC

$47-$74/lf installed at 6 ft. Zero maintenance — no painting, sealing, or staining ever. 25-30+ year lifespan. White is most common; tan and gray available. Brittle in extreme cold; can crack.

Aluminum

$34-$67/lf installed at 5 ft. Powder-coated aluminum tubes; ornamental look. Mostly decorative (not great privacy). Long lifespan, no maintenance.

Chain-link

$15-$37/lf installed at 4 ft. Cheapest residential option. Galvanized steel mesh on metal posts. 4-6 ft heights typical. Vinyl-coated black or green available. Functional, not pretty.

Wrought iron

$59-$96/lf installed at 5 ft. Heavy steel ornamental fencing; security plus aesthetic. 50+ year lifespan with rust touch-ups. Common around pools and estates.

Composite

$53-$96/lf installed at 6 ft. Mix of recycled wood and plastic. Looks like wood but doesn't rot. 20-30 year lifespan.

Frequently asked questions

How much does it cost to install a fence in 2026?

Priced by this calculator on a 150-foot run with one walk-through gate, most residential fences run from about $15 per linear foot installed (4 ft chain-link) up to about $96 (5 ft wrought iron or 6 ft composite). Chain-link (4 ft) is cheapest at $15-$37/lf. Pressure-treated wood privacy (6 ft) runs $28-$52/lf, cedar $34-$64/lf, vinyl $47-$74/lf, aluminum (5 ft) $34-$67/lf and wrought iron (5 ft) $59-$96/lf.

Do I need a permit to build a fence?

Most municipalities require fence permits. Permit fees range from $25 to $150. Front-yard fences are typically limited to 3-4 ft, side and back yards 6-8 ft. Always check with your local building department before digging post holes.

What's the cheapest fence material?

Chain-link at $15-$37 per linear foot installed (4 ft, on a 150-ft run with one gate) is the cheapest residential option. Pressure-treated wood at $28-$52/lf is next. Aluminum (5 ft) runs $34-$67/lf, vinyl $47-$74/lf and composite $53-$96/lf.

How long does a fence last?

Pressure-treated wood: 15-20 years. Cedar: 20-30. Vinyl: 25-30+. Aluminum: 30-50. Chain-link: 20-30. Wrought iron: 50+ with maintenance.

How deep should fence posts be set?

2.5 ft deep for 6 ft fences in stable soil; 3 ft for 8 ft+ fences or in frost-line regions (must extend below frost depth). Set in concrete with a 4-6 in gravel base for drainage.

Can I put a fence on my property line?

Many owners set a fence a few inches to a foot inside the line, and some towns and HOAs require a setback; the rules vary, so check yours before you dig. A fresh boundary survey is wise if you're not sure where your line is; HomeGuide (January 2026) lists $300-$900 for one on up to half an acre. Disputes with neighbors over fence placement are common and expensive.

How much does a gate add to the cost?

In this calculator a walk-through (pedestrian) gate is $150-$400 installed. A double drive gate (vehicles) is $400-$1,200. An automatic gate with opener is $3,500-$6,000+. Material matches your fence.

Should I DIY a fence?

For chain-link or simple PT wood under 100 lf on flat ground — yes. In DIY mode, this calculator's default 150 ft pressure-treated job comes to about 53-58% less than the installed estimate; switch the form to DIY to see which lines it keeps. For longer runs, slopes, or harder materials (vinyl, aluminum, wrought iron), the labor savings often aren't worth the time and tool rental.

Why does the calculator show a price range?

Fence prices vary by region, season, contractor, and material brand. The calculator adds up the low and high ends separately, from each line item’s low and high rate, so the range carries that spread instead of a single guess.

Common mistakes & questions

  • Skip 811 (Call Before You Dig) — 2-3 business days lead time required.
  • Skip property survey — a fence on the wrong side of the line is a common cause of neighbor disputes and may have to come down.
  • Skip post depth — frost-line + 6 in is the rule; shallow posts heave annually.
  • Wrong wood — untreated cedar/pine rots; ground-contact PT or cedar/composite for posts.
  • Ask your contractor: post depth, gravel/concrete footing, post material grade, gate hardware spec.

When this estimate is wrong

  • Post holes are the hidden labor — posts set to below the frost line with concrete footings are what keeps a fence from heaving, and shallow holes to save money show up as leaning posts within a year.
  • Hard digging changes the price — rocky, clay, or root-bound soil, or ground with buried debris, slows every hole and can force hand-digging or an auger swap.
  • Sloped ground adds work — a fence on a grade must be stepped or racked panel by panel, which takes more time and more material than a run on flat ground.
  • Gates cost more than a fence section — every gate needs heavier posts, hinges, latches, and bracing, so the number of gates moves the total more than the same footage of straight fence.
  • Property lines and utilities come first — a survey to confirm the line and a utility locate before digging are prerequisites; a fence set on the wrong side is a costly thing to move.
  • Permits and HOA rules can apply — setback limits, height caps, and HOA approval vary locally and can dictate materials or placement, adding time before work starts.
  • Old-fence removal is a separate line — tearing out and hauling away an existing fence, especially one set in concrete, is labor and disposal a new-fence-only figure skips.