Fence Calculator
Estimate fence installation costs by linear foot and material type. Posts, labor, and gates included with regional pricing. Free, no signup.
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.
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
| Fence run | Chain link | Wood privacy | Vinyl | Aluminum | Composite |
|---|---|---|---|---|---|
| 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
| Fence height | Chain link | Wood privacy | Vinyl | Aluminum | Composite |
|---|---|---|---|---|---|
| 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.
Fence cost by type, at 150 linear feet
| Fence type | Installed cost | Installed $/lin ft (bare rate, gates excluded) | DIY materials | Lifespan | Maintenance |
|---|---|---|---|---|---|
| Chain link | $1,600 – $4,150 (typical $2,650) | $8 – $25 (typical $15) | $1,088 | 15-25 years | Minimal — occasional rust check |
| Wood privacy | $2,650 – $5,650 (typical $4,150) | $15 – $35 (typical $25) | $1,725 | 15-20 years | High — seal or stain every 2–3 years |
| Vinyl | $3,400 – $7,900 (typical $5,650) | $20 – $50 (typical $35) | $2,695 | 25-30 years | Low — occasional rinse |
| Aluminum | $4,150 – $9,400 (typical $6,400) | $25 – $60 (typical $40) | $2,305 | 30-50 years | Minimal — rust-proof finish |
| Composite | $4,900 – $11,650 (typical $7,900) | $30 – $75 (typical $50) | $3,175 | 25-30 years | Low — 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.
| Metro area | ZIP to enter | Factor | 150 ft installed | Per linear ft |
|---|---|---|---|---|
| San Francisco Bay Area, CA | 94102 | 1.70× | $7,055 | $47.03 |
| New York City, NY | 10001 | 1.68× | $6,972 | $46.48 |
| Seattle, WA | 98101 | 1.55× | $6,433 | $42.89 |
| Boston, MA | 02108 | 1.52× | $6,308 | $42.05 |
| Los Angeles, CA | 90001 | 1.45× | $6,018 | $40.12 |
| Hartford, CT | 06101 | 1.40× | $5,810 | $38.73 |
| San Diego, CA | 92101 | 1.38× | $5,727 | $38.18 |
| Chicago, IL | 60601 | 1.32× | $5,478 | $36.52 |
| Philadelphia, PA | 19019 | 1.28× | $5,312 | $35.41 |
| Portland, OR | 97201 | 1.22× | $5,063 | $33.75 |
| Denver, CO | 80201 | 1.18× | $4,897 | $32.65 |
| Minneapolis-St. Paul, MN | 55401 | 1.14× | $4,731 | $31.54 |
| Miami, FL | 33101 | 1.12× | $4,648 | $30.99 |
| Las Vegas, NV | 89101 | 1.08× | $4,482 | $29.88 |
| Richmond, VA | 23173 | 1.08× | $4,482 | $29.88 |
| Austin, TX | 78701 | 1.05× | $4,358 | $29.05 |
| Detroit, MI | 48201 | 1.05× | $4,358 | $29.05 |
| Milwaukee, WI | 53201 | 1.04× | $4,316 | $28.77 |
| Salt Lake City, UT | 84101 | 1.03× | $4,275 | $28.50 |
| Atlanta, GA | 30301 | 1.02× | $4,233 | $28.22 |
| Phoenix, AZ | 85001 | 0.99× | $4,109 | $27.39 |
| Dallas-Fort Worth, TX | 75201 | 0.98× | $4,067 | $27.11 |
| Raleigh-Durham, NC | 27513 | 0.96× | $3,984 | $26.56 |
| Houston, TX | 77001 | 0.95× | $3,943 | $26.29 |
| Kansas City, MO | 64101 | 0.95× | $3,943 | $26.29 |
| Nashville, TN | 37201 | 0.93× | $3,860 | $25.73 |
| Columbus, OH | 43001 | 0.92× | $3,818 | $25.45 |
| Indianapolis, IN | 46201 | 0.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.
| Material | Installed $/lin ft (6 ft) | Midpoint | Typical lifespan | Best for |
|---|---|---|---|---|
| Chain link | $8 – $25 | $15 | 15-25 years | Security, pets, lowest cost |
| Wood privacy | $15 – $35 | $25 | 15-20 years | Backyard privacy on a budget |
| Vinyl | $20 – $50 | $35 | 25-30 years | Low-maintenance privacy |
| Aluminum | $25 – $60 | $40 | 30-50 years | Ornamental, pool code, slopes |
| Composite | $30 – $75 | $50 | 25-30 years | Long 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
Installed cost for a standard 6 ft fence runs $8–$25 per linear foot for chain link, $15–$35 per linear foot for wood privacy, $20–$50 per linear foot for vinyl, $25–$60 per linear foot for aluminum, $30–$75 per linear foot for composite. These blended ranges cover materials and standard installation labor on level ground; they exclude gates, old-fence removal, and permits, which this calculator adds as separate line items. A short run raises the effective per-foot cost because fixed items like gates are spread over fewer feet: the same wood run works out to $29.00 per foot at 100 ft.
The calculator uses two formulas: posts = ceiling(length ÷ post spacing) + 1, and panels (or sections) = ceiling(length ÷ post spacing). With the default 8 ft spacing, a 100-foot fence needs ceiling(100 ÷ 8) + 1 = 14 posts and 13 panels. The "+1" covers the final post that closes the last section. Tightening spacing to 6 ft for wind resistance pushes the same run to 18 posts and 17 sections — 29% more posts and concrete.
Gates are priced 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, $1,200 for a 12' double driveway. Quick Mode automatically includes 2 standard 4 ft walk gates ($400 total). Professional Mode lets you set the exact gate count and size. Gate hardware and heavier corner posts are the most common reason a bid comes in above a raw per-foot estimate.
Yes — terrain is applied to the labor portion of the estimate. The calculator uses these labor multipliers: level ground ×1.00, slight slope ×1.10, moderate slope ×1.25, steep slope (stepped) ×1.50, rocky/difficult ×1.75. So installing on rocky ground adds 75% to labor versus a flat yard. Slopes also force a choice between "racking" panels to follow grade or "stepping" them, which changes how much material is wasted at each transition.
The standard rule is to bury at least one-third of the total post length. A 6 ft fence typically uses 8 ft posts with 24–30 inches below grade. In cold climates the hole must extend below the local frost line — often 36–48 inches in northern states — or seasonal frost heave will lift and tilt the posts. The calculator assumes concrete-set posts and budgets two 50 lb bags of concrete mix per post in its DIY shopping list.
Most municipalities require a permit for fences above 4–6 feet, and many require one for any fence in a front-yard setback or historic district. Real-world permit fees vary widely by jurisdiction; the calculator models a single flat $150 default in Professional Mode, which you can switch off if your project is exempt. Confirm the actual fee, plus setback and property-line rules, with your local building department, and call 811 for a free utility locate before you dig.
Included: posts, panels or pickets, hardware, concrete for setting posts, and 2 standard walk gates. Professional Mode adds terrain-adjusted labor, a chosen gate count and size, optional old-fence removal at $3 per linear foot, a permit line, and an optional contractor markup. Excluded: land survey or staking, tree and stump removal, retaining walls on severe grades, and HOA application fees. Use the ZIP field to scale both materials and labor to your region.
DIY saves the labor line, which is the largest single cost on most fences. The calculator's DIY figure counts materials only — posts, panels scaled by height, hardware, and gates — while the Quick Mode installed range is built from per-linear-foot pricing bands (low, mid, and high) that already bake in a typical installed cost, material plus standard labor, rather than applying a separate labor multiplier. (That per-type labor multiplier — 1.0× to 1.5× the material cost depending on fence type — is used in Professional Mode.) For a 100 ft, 6 ft wood privacy fence that works out to $1,317 in materials versus a $1,900–$3,900 installed range, so the installed high end lands close to 3.0× the materials-only figure once labor and gates are counted. Budget about 50 linear feet of progress per day for a first-time DIY crew.
Related Cost Calculators
Fence Calculator by State
Get fence cost estimates with state-specific regional pricing: