Fence Calculator
Estimate fence installation costs by linear foot and material type. Posts, labor, and gates included with regional pricing. Free, no signup.
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.
Typical Fence Costs by Type
| Fence Type | Material $/lin ft | Installed $/lin ft | Lifespan | Maintenance |
|---|---|---|---|---|
| Chain Link | $5 – $15 | $8 – $25 | 15 – 25 years | Minimal — occasional rust check |
| Wood Privacy | $8 – $20 | $15 – $35 | 15 – 20 years | High — seal or stain every 2–3 years |
| Vinyl | $12 – $30 | $20 – $50 | 25 – 30 years | Low — occasional rinse |
| Aluminum | $15 – $35 | $25 – $60 | 30 – 50 years | Minimal — rust-proof finish |
| Composite | $20 – $45 | $30 – $75 | 25 – 30 years | Low — 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.
| Material | Installed $/lin ft (6 ft) | Midpoint | Typical lifespan | Best for |
|---|---|---|---|---|
| Wood picket | $10 – $25 | ~$18 | 10 – 15 years | Open front yards, curb appeal |
| Wood privacy | $15 – $35 | $25 | 15 – 20 years | Backyard privacy on a budget |
| Vinyl | $20 – $50 | $35 | 25 – 30 years | Low-maintenance privacy |
| Chain link | $8 – $25 | $15 | 15 – 25 years | Security, pets, lowest cost |
| Aluminum | $25 – $60 | $40 | 30 – 50 years | Ornamental, 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
Installed cost for a standard 6 ft fence runs about $8–$25 per linear foot for chain link, $15–$35 for wood privacy, $20–$50 for vinyl, $25–$60 for aluminum, and $30–$75 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. (Wrought iron runs $50–$100+ per linear foot as a general market figure — it is not modeled by this calculator.) A short run raises the effective per-foot cost because fixed items like gates are spread over fewer feet.
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 — about 30% more posts and concrete.
Gates are priced 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 automatically includes two 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, stepped steep slope ×1.50, and rocky or otherwise difficult ground ×1.75. So installing on rocky ground can add 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 roughly 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 range from about $20 to $400; the calculator uses a $150 default in Professional Mode, which you can switch off if your project is exempt. Always confirm 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 two standard walk gates. Professional Mode adds terrain-adjusted labor, a chosen gate count and size, optional old-fence removal at about $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 — roughly 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 roughly $1,300 in materials versus a $1,900–$3,900 installed range, so the installed high end lands close to 3× 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: