Fence Calculator

Estimate fence installation costs by linear foot and material type. Posts, labor, and gates included with regional pricing. Free, no signup.

Free calculator • No signup • Optional Pro features
🔄 Pricing dataset: · What changed?

What a fence costs: worked national example

150 linear feet of 6 ft Wood Privacy Fence, posts set 8 ft on centre — the calculator's own default material, height and spacing — at national baseline pricing, not adjusted for any region. Enter your own run below for a figure matched to your project and ZIP code.

$4,150typical installed cost
$2,650$5,650expected range
$27.67per linear foot at this length
$1,725DIY materials only

That run takes 20 posts and 19 sections, and about 3 days for a first-time DIY crew. A wood privacy fence lasts 15-20 years. Every installed figure on this page includes 2 standard 4 ft walk gates ($400). That is a flat charge on top of the per-foot rate, which is why the effective cost per linear foot falls as the run gets longer. Old-fence removal, permits and difficult terrain are Professional-mode line items and are in none of these figures.

Installed fence cost by length and material

Every figure is an individual run of this calculator at national baseline pricing, at the default 6 ft height and 8 ft post spacing, including the two standard walk gates. Length and material are two of the four things Quick mode prices on, so both are axes you can reproduce in the form below.
Fence runChain linkWood privacyVinylAluminumComposite
100 linear ft$1,900$2,900$3,900$4,400$5,400
150 linear ft$2,650$4,150$5,650$6,400$7,900
200 linear ft$3,400$5,400$7,400$8,400$10,400
300 linear ft$4,900$7,900$10,900$12,400$15,400
400 linear ft$6,400$10,400$14,400$16,400$20,400
600 linear ft$9,400$15,400$21,400$24,400$30,400

Installed fence cost by height and material, at 150 linear feet

The same 150 ft run at each height the calculator offers. Height is the third Quick-mode lever; it scales the per-foot rate, and the gate charge is unchanged by it.
Fence heightChain linkWood privacyVinylAluminumComposite
3 ft$1,863$2,838$3,813$4,300$5,275
4 ft$2,200$3,400$4,600$5,200$6,400
5 ft$2,425$3,775$5,125$5,800$7,150
6 ft$2,650$4,150$5,650$6,400$7,900
8 ft$3,213$5,088$6,963$7,900$9,775

Quick mode prices a fence on length, material, height and post spacing. Post spacing is not an axis above because it changes the post and section counts and the DIY materials figure but not the installed band — the band carries no spacing term. Terrain, gate count and size, old-fence removal, permits and contractor markup are Professional mode controls.

For Homeowners: Get a quick cost range with just a few measurements. Perfect for budgeting and comparing contractor quotes.

Quick Mode: Get a fast cost range estimate with DIY shopping list. Perfect for homeowners planning a fence project.

feet
Perimeter to be fenced
Taller fences cost more per linear foot
Material affects cost and longevity
Closer spacing = stronger fence
Enter your ZIP code to adjust costs for your region
Fence cost by type, at 150 linear feet
Fence typeInstalled costInstalled $/lin ft (bare rate, gates excluded)DIY materialsLifespanMaintenance
Chain link$1,600$4,150 (typical $2,650)$8$25 (typical $15)$1,08815-25 yearsMinimal — occasional rust check
Wood privacy$2,650$5,650 (typical $4,150)$15$35 (typical $25)$1,72515-20 yearsHigh — seal or stain every 2–3 years
Vinyl$3,400$7,900 (typical $5,650)$20$50 (typical $35)$2,69525-30 yearsLow — occasional rinse
Aluminum$4,150$9,400 (typical $6,400)$25$60 (typical $40)$2,30530-50 yearsMinimal — rust-proof finish
Composite$4,900$11,650 (typical $7,900)$30$75 (typical $50)$3,17525-30 yearsLow — no sealing, occasional wash

Installed cost is this calculator's own output for a 150 ft run at 6 ft, including the 2 standard walk gates ($400). The per-foot column is the bare rate with that gate charge removed, so it does not depend on run length — a shorter run costs more per foot, a longer one less. DIY materials is the calculator's materials-only figure and does include the gates. Height scales the per-foot rate: 3 ft x0.65, 4 ft x0.80, 5 ft x0.90, 6 ft x1.00, 8 ft x1.25, so a 4 ft fence lands 20% below the table and an 8 ft fence 25% above it.

Assumptions & Sources

Assumptions

  • Post spacing: Standard 8 ft on-center. Closer spacing (6 ft) adds 29% more posts and concrete but improves wind resistance. It moves the materials and the DIY figure, not the Quick-mode installed band.
  • Pricing model: Quick mode is a per-linear-foot band scaled by height, plus a flat charge for 2 standard walk gates ($400). Professional mode is material cost × a labor multiplier (1.0x chain link, 1.5x wood privacy, 1.2x vinyl, 1.3x aluminum, 1.4x composite) × a terrain multiplier (1.00x level ground, 1.10x slight slope, 1.25x moderate slope, 1.50x steep slope (stepped), 1.75x rocky/difficult).
  • What's included: Posts, panels/pickets, concrete, hardware, and 2 standard walk-through gates. Professional mode adds terrain, removal ($3/lf) and a permit ($150) as line items.
  • What's excluded: Survey/staking costs, tree or stump removal, retaining walls on severe grades, and HOA application fees.
  • Regional multiplier: ZIP-code-based adjustment using BLS regional wage data and published construction cost indices applied to materials and labor.

Last updated: August 2026

Pro Tips from the Field
  • Post depth matters: Rule of thumb — 1/3 of total post length underground. In frost zones, go below the frost line or your fence will heave. A 6 ft fence needs 8 ft posts with 2+ ft buried.
  • Plan gates before posts: Every fence needs at least one gate wide enough for a wheelbarrow (42" clear). Decide where gates go before setting any posts — moving a concrete-set post is miserable work.
  • Talk to the neighbor: In many states, fences on the property line mean shared cost. Get an agreement in writing before you build. Fences cause more neighbor disputes than anything else in residential construction.
  • Corner and end posts get extra bracing: These carry the most tension. Use 6x6 posts at corners instead of 4x4, and add diagonal bracing. A corner post that leans takes the whole fence with it.
  • Check HOA and setback rules first: Some HOAs dictate material, color, and max height. Most municipalities require the "good side" facing out. A permit is cheap insurance compared to a forced tear-down — Professional Mode budgets $150 for one.
Related Calculators
  • Concrete Calculator — Calculate concrete for post footings, especially if you're setting posts in sono tubes.
  • Excavation Calculator — Estimate digging costs if you're hiring out the post hole work or need grading.
  • Gravel Calculator — Figure gravel needs for drainage around fence lines or gate aprons.
  • Deck Calculator — Planning a deck alongside the fence? Estimate framing, decking, and railing for the same yard project.

Fence Cost by Metro Area

These are the complete regional factors this calculator applies — not a selection. Type the ZIP in the second column into the ZIP field and the calculator prices your own run at that factor. The cost column is the same 150-foot wood privacy fence at 6 ft used throughout this page, so the rows are comparable to each other and to the national $4,150.

A 150 ft run of 6 ft wood privacy fence at each metro factor this calculator carries. Sorted most to least expensive. Per-foot figures include the calculator's built-in gate allowance spread over the run, so they fall on a longer fence and rise on a shorter one.
Metro areaZIP to enterFactor150 ft installedPer linear ft
San Francisco Bay Area, CA941021.70×$7,055$47.03
New York City, NY100011.68×$6,972$46.48
Seattle, WA981011.55×$6,433$42.89
Boston, MA021081.52×$6,308$42.05
Los Angeles, CA900011.45×$6,018$40.12
Hartford, CT061011.40×$5,810$38.73
San Diego, CA921011.38×$5,727$38.18
Chicago, IL606011.32×$5,478$36.52
Philadelphia, PA190191.28×$5,312$35.41
Portland, OR972011.22×$5,063$33.75
Denver, CO802011.18×$4,897$32.65
Minneapolis-St. Paul, MN554011.14×$4,731$31.54
Miami, FL331011.12×$4,648$30.99
Las Vegas, NV891011.08×$4,482$29.88
Richmond, VA231731.08×$4,482$29.88
Austin, TX787011.05×$4,358$29.05
Detroit, MI482011.05×$4,358$29.05
Milwaukee, WI532011.04×$4,316$28.77
Salt Lake City, UT841011.03×$4,275$28.50
Atlanta, GA303011.02×$4,233$28.22
Phoenix, AZ850010.99×$4,109$27.39
Dallas-Fort Worth, TX752010.98×$4,067$27.11
Raleigh-Durham, NC275130.96×$3,984$26.56
Houston, TX770010.95×$3,943$26.29
Kansas City, MO641010.95×$3,943$26.29
Nashville, TN372010.93×$3,860$25.73
Columbus, OH430010.92×$3,818$25.45
Indianapolis, IN462010.90×$3,735$24.90

Fence is a trade where the regional spread is labor and access rather than material. Panels and posts ship nationally; digging twenty post holes in Boston clay and digging twenty in Phoenix caliche are not the same day's work, and neither is the permit. If your ZIP is not in the list the calculator prices at the national baseline rather than guessing.

Fence Cost Per Linear Foot by Material

The single biggest driver of a fence budget is the material you choose. Because fencing is sold and installed by the running foot, the cleanest way to compare options is a per-linear-foot installed cost — materials plus standard labor. Every rate below is this calculator's own per-foot pricing for a 6-foot fence on level ground, read straight off the engine, so the estimate you get above lines up with the table exactly. They exclude gates, old-fence removal, and permits, which are handled as separate line items.

MaterialInstalled $/lin ft (6 ft)MidpointTypical lifespanBest for
Chain link$8$25$1515-25 yearsSecurity, pets, lowest cost
Wood privacy$15$35$2515-20 yearsBackyard privacy on a budget
Vinyl$20$50$3525-30 yearsLow-maintenance privacy
Aluminum$25$60$4030-50 yearsOrnamental, pool code, slopes
Composite$30$75$5025-30 yearsLong life, no refinishing

Assumptions behind these ranges. Figures assume a 6-foot fence, posts spaced 8 feet on-center and set in concrete, level ground, and standard (non-decorative) panels. The low end reflects builder-grade materials and a competitive labor market; the high end reflects premium materials, difficult access, or high-cost metros. This calculator scales the rates by height using fixed multipliers — 3 ft x0.65, 4 ft x0.80, 5 ft x0.90, 6 ft x1.00 (base), 8 ft x1.25 — so a 4-foot fence lands 20% below the table, a 3-foot fence 35% below it, and an 8-foot fence 25% above.

A note on wood picket. The calculator models its wood option as a fully-boarded privacy fence, and a traditional picket fence is a different product: spaced pickets, usually 3 to 4 ft tall, so it consumes less material and normally installs for less than privacy wood. There is no picket setting and no picket rate in this calculator, so no picket price is published here. For a picket-height estimate from the tool, choose the wood type and set the height to 3 or 4 feet — the 3 ft row above is 35% below the 6 ft rate.

What Changes a Fence Estimate: Cost Factors Explained

Two fences of the same length and material can differ by thousands of dollars once the site and scope are accounted for. These are the levers that move a fence bid, and how each one is treated in the estimate above.

Terrain and slope

Grade is applied to the labor portion of the estimate. The calculator uses these multipliers: level ground x1.00, slight slope x1.10, moderate slope x1.25, steep slope (stepped) x1.50, rocky/difficult x1.75. Rocky soil is the most expensive condition because every post hole may need a breaker bar or a powered auger, and stepped installs waste material at each grade transition.

Post spacing

Post count is ceiling(length ÷ spacing) + 1 and section count is ceiling(length ÷ spacing). The default is 8-foot spacing, which puts 14 posts and 13 sections on a 100-foot run. Dropping to 6-foot spacing for wind-prone or tall fences takes the same run to 18 posts and 17 sections — 29% more posts and concrete. That moves the materials and the DIY figure, though not the Quick-mode installed band, which carries no spacing term.

Gate count and size

Gates are the most underestimated line on a fence. The calculator prices them by size: $150 for a 3' walk-through, $200 for a 4' walk-through, $400 for a 6' double gate, $800 for a 10' driveway gate, and $1,200 for a 12' double driveway. Quick Mode assumes 2 4-ft walk gates ($400 in total, included in every Quick figure on this page); Professional Mode lets you set the exact count and size. Wide gates also need heavier posts and drop-rod hardware that a raw per-foot number never captures.

Concrete-set vs. driven posts

The estimate assumes posts set in concrete — the default for wood, vinyl, aluminum, and composite — and budgets about two 50-lb bags of concrete mix per post. Chain-link line posts can sometimes be driven, and no-dig spike anchors exist for light fences, both of which cut labor. Concrete-set posts cost more up front but resist frost heave and wind far better, which is why they remain the standard for anything load-bearing or tall.

Permits

Professional Mode adds a $150 permit line by default, which you can toggle off. Real-world fence permit fees vary widely by jurisdiction and height, and this calculator models a single flat default rather than a range. Front-yard fences, corner lots, and historic districts are the most likely to trigger a permit and a setback review, so confirm the actual fee with your building department before ordering materials.

Demolition of an existing fence

Tearing out and hauling an old fence is priced at $3 per linear foot when you enable removal in Professional Mode. Chain link comes out fastest; concrete-embedded wood posts are the slowest and can push real-world removal higher. Disposal fees at the transfer station are extra, are not modelled here, and vary by material and region.

Where you live: regional multipliers

Your ZIP code scales the whole estimate using construction cost indices built from BLS wage data and industry surveys, covering 24 states and 28 metro areas against a 1.00 national baseline. Lower-cost states like Indiana, Tennessee, Ohio, and North Carolina run 0.84–0.88× the baseline; Connecticut, California, Massachusetts, and New York run 1.32–1.42×. Where a metro is mapped, the metro rate wins — from 0.90× in Indianapolis up to 1.70× in the San Francisco Bay Area. The same 100-ft wood privacy fence that averages $2,900 nationally prices at $2,436 in Indiana (0.84×) and $4,118 in New York (1.42×) — the only regionally adjusted figures on this page.

Fence pricing moves enough by state to be worth checking locally. See state-specific fence costs:

How the Fence Calculator Does the Math

The calculator is transparent by design — here is exactly what it computes so you can sanity-check any estimate by hand. Nothing below is a marketing figure; these are the formulas and constants the tool actually runs.

Step 1 — Posts and sections

Posts and panels come straight from your fence length and post spacing: posts = ceiling(length ÷ spacing) + 1 and sections = ceiling(length ÷ spacing). For a 100-foot fence at the default 8-foot spacing, that is ceiling(100 ÷ 8) + 1 = 14 posts and 13 sections. The extra post closes the last bay.

Step 2 — Quick Mode cost range

Quick Mode multiplies your length by a per-linear-foot rate (adjusted by the height multiplier) and adds 2 standard gates, then applies the regional multiplier from your ZIP:
range = length × (rate × heightMultiplier) + $400 gates, per your region

Worked example — 100 ft of 6-ft wood privacy fence (rate $15/$25/$35, height x1.00): the low estimate is 100 × $15 + $400 = $1,900, the average is 100 × $25 + $400 = $2,900, and the high is 100 × $35 + $400 = $3,900. Those are the numbers Quick Mode returns for that input, before any regional adjustment.

Step 3 — DIY (materials only)

The DIY figure strips out labor and totals posts (count × post price), panels (count × panel price × height multiplier), hardware ($8 per post for brackets, screws, and concrete), and gates. For the 100-ft wood example that is $1,317 in materials versus the $1,900$3,900 installed range — the gap is the labor you take on yourself. Plan for roughly 50 linear feet of finished fence per day for a first-time crew.

Step 4 — Professional Mode

Professional Mode itemizes the full bid. Material cost is posts + panels + hardware + gates. Labor is material × labor multiplier × terrain multiplier, where the labor multiplier is 1.0 for chain link, 1.5 for wood privacy, 1.2 for vinyl, 1.3 for aluminum, and 1.4 for composite. It then adds optional old-fence removal ($3/lf), a permit ($150 by default), and an optional contractor markup percentage. Every dollar figure is scaled by your regional multiplier so the total reflects local labor and material costs, not a national average.

Data sources

  • Labor benchmarks: U.S. Bureau of Labor Statistics, Occupational Employment and Wage Statistics (OEWS), May 2025 estimates — Carpenters (SOC 47-2031), national median $29.12/hour ($60,580/year), and Construction Laborers (SOC 47-2061), national median $22.66/hour, the two occupations that put up residential fencing. Dataset last retrieved June 2026.
  • Material unit prices: 2025–2026 national supplier and contractor-survey averages, reviewed against current retail pricing. Last reviewed: August 2026.
  • Regional adjustments: construction cost indices built from BLS wage data and published industry surveys, covering 24 states and 28 metro areas against a 1.00 national baseline.

Fence Cost FAQ

Construction Cost Estimation FAQs

Related Cost Calculators