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?

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
Typical Fence Costs by Type
Fence TypeMaterial $/lin ftInstalled $/lin ftLifespanMaintenance
Chain Link$5 – $15$8 – $2515 – 25 yearsMinimal — occasional rust check
Wood Privacy$8 – $20$15 – $3515 – 20 yearsHigh — seal or stain every 2–3 years
Vinyl$12 – $30$20 – $5025 – 30 yearsLow — occasional rinse
Aluminum$15 – $35$25 – $6030 – 50 yearsMinimal — rust-proof finish
Composite$20 – $45$30 – $7525 – 30 yearsLow — no sealing, occasional wash

Ranges are for 6 ft height. 4 ft fences run 20-35% less; 8 ft fences run 25% more. Gate costs are additional.

Assumptions & Sources

Assumptions

  • Post spacing: Standard 8 ft on-center. Closer spacing (6 ft) adds ~25% more posts and concrete but improves wind resistance.
  • Labor rates: Material cost × labor multiplier (1.0x for chain link up to 1.5x for wood). Terrain difficulty adds 10-75% to labor.
  • What's included: Posts, panels/pickets, concrete, hardware, and 2 standard walk-through gates. Professional mode adds terrain, removal, and permit 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: July 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 $75-150 and worth every penny compared to a forced tear-down.
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 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. Most of the ranges below are the calculator's own blended per-foot rates for a 6-foot fence on level ground — the wood privacy, vinyl, chain link, and aluminum rows match the engine's built-in per-foot pricing, so the estimate you get above lines up with the table. (The wood picket row is a market figure for context, not a separate calculator setting; see the note below the table.) They exclude gates, old-fence removal, and permits, which are handled as separate line items.

MaterialInstalled $/lin ft (6 ft)MidpointTypical lifespanBest for
Wood picket$10 – $25~$1810 – 15 yearsOpen front yards, curb appeal
Wood privacy$15 – $35$2515 – 20 yearsBackyard privacy on a budget
Vinyl$20 – $50$3525 – 30 yearsLow-maintenance privacy
Chain link$8 – $25$1515 – 25 yearsSecurity, pets, lowest cost
Aluminum$25 – $60$4030 – 50 yearsOrnamental, pool code, slopes

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 ×0.65, 4 ft ×0.80, 5 ft ×0.90, 6 ft ×1.00 (base), and 8 ft ×1.25 — so a 4-foot fence lands roughly 20% below the table and an 8-foot fence roughly 25% above it.

A note on wood picket. The calculator models its wood option as a fully-boarded privacy fence. A traditional picket fence uses spaced pickets and is usually shorter (3–4 ft), so it consumes less material and typically installs for less than privacy wood — the $10–$25 range above is a market figure for planning, not a separate calculator setting. If you want a picket-height estimate from the tool, choose the wood type and set the height to 3 or 4 feet.

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 multipliers of ×1.00 for level ground, ×1.10 for a slight slope, ×1.25 for a moderate slope, ×1.50 for a stepped steep slope, and ×1.75 for rocky or otherwise difficult ground. 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. Dropping to 6-foot spacing for wind-prone or tall fences increases the post and concrete count by roughly a quarter, which is why a "same length" fence can quietly cost more when an engineer or HOA specifies tighter spacing.

Gate count and size

Gates are the most underestimated line on a fence. The calculator prices them by size: about $150 for a 3-ft walk gate, $200 for a 4-ft walk gate, $400 for a 6-ft double gate, $800 for a 10-ft driveway gate, and $1,200 for a 12-ft double driveway gate. Quick Mode assumes two 4-ft walk gates; 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 permits range from about $20 to $400 depending on jurisdiction and height. Front-yard fences, corner lots, and historic districts are the most likely to trigger a permit and a setback review, so confirm with your building department before ordering materials.

Demolition of an existing fence

Tearing out and hauling an old fence is priced at about $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 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 near $2,450 in Indiana and about $4,100 in New York.

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 two standard gates at $200 each, 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 ×1.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 about $1,300 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.2 for vinyl, 1.3 for aluminum, 1.4 for composite, and 1.5 for wood. 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: July 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