Free · no signup · updates as you type

Fence Installation Cost Calculator

Most fences run about $1,300 to $7,500 or more installed, with the material and the length doing most of the work.

Find out what a fence should cost before you call a contractor. Set the length, height, and material to get material, install, and gate costs per linear foot with an honest range — and compare chain link, wood, vinyl, and more side by side.

Prices reviewed · planning estimates, not quotes

Your fence

Results update as you type — no button to press.

Units
ft

The biggest driver — chain link cheapest, wrought iron most.

1
Posts
Existing fence

Regional cost factor ×1.00 — typical for United States (national average); scales labor, not material.

$/ft

Wood base at 4 ft, before factors

$/ft

Estimated total

150 ft · 4 ft tall

$4,100

Range $3,690 $5,330

Per linear ft
$27
Wood / cedar
Material
$1,950
Install labor
$1,800
Gates
$350
1 gate
Estimatool
Fence Estimate
150 ft · 4 ft · Wood / cedar
Estimated total cost
$4,100
Per ft
$27
Material
$1,950
Range
$3,690+
estimatool.comEstimate · not a quote

Terracing a sloped yard?

Price the retaining wall that holds the grade.

Retaining wall calculator

How to estimate fence installation cost

A fence typically costs about $10–$20 per linear foot for chain link, $15–$40 for wood or vinyl, and $30–$60 for composite or wrought iron — so a 150-foot wood fence runs roughly $4,100 installed. The formula the calculator runs is: total = material (length × price per ft × height factor) + install labor + gates + removal. Material is the dominant driver and height scales it. Pickets, panels, and posts are nationally-priced commodities, so only the labor-like costs scale with your region. This guide walks the exact math and a worked example. Every figure is an estimate, not a quote.

Material Is the Biggest Driver

What you build the fence from sets the price more than anything else. Chain link is the cheapest at roughly $10–$20 per linear foot installed. Wood (cedar) and vinyl are the popular mid-range options at about $15–$40. Aluminum and steel run a bit more, and composite and wrought iron are the most expensive — roughly $30–$60 per foot — for both material and the labor to install them.

The calculator prices material as a relative multiplier on an editable base (wood at 4 feet is the reference), so switching material moves the material line directly. It's the first lever to pull when you're balancing budget, privacy, and looks.

  • Chain link ~$10–$20/ft · wood & vinyl ~$15–$40 · composite & wrought iron ~$30–$60
  • Material is the first lever for controlling cost
  • Privacy fences (wood, vinyl) cost more than open ones (chain link, aluminum)

Height, Gates, Posts, and Removal

Height scales the whole fence: a 6-foot privacy fence uses more material and labor per foot than a 4-foot one, and an 8-foot fence more still. The calculator applies a height factor to both the material and the labor.

Gates, posts, and removal are separate adds. Each gate is a panel or kit plus the labor to hang it. Concrete-setting the posts — the standard for a quality wood, vinyl, or ornamental fence — adds concrete (a flat commodity) plus digging and setting labor. And if you're tearing out an old fence first, removal and haul-away is priced per linear foot.

  • Height scales material + labor (6 ft > 4 ft > 3 ft)
  • Each gate = a panel/kit + hanging labor
  • Concrete-set posts and old-fence removal are separate adds

What Your Region Changes — and What It Doesn't

Pickets, panels, posts, and the concrete are commodities priced about the same nationwide, so the calculator does NOT scale them by your region. What it scales is the labor: the install crew, the post-setting, hanging the gates, and removing an old fence. Those track local wages.

That's why the same fence can total more in a high-cost metro than a rural county — the material is identical, but the labor costs more. Pick your state and only the labor-like lines move.

  • Pickets, panels, posts, concrete = commodity (not region-scaled)
  • Install, post-setting, gate hanging, removal = region-scaled
  • Same fence, different metro = different labor, same material

Worked Example: A 150 ft Wood Fence

Take a 150-foot run of 4-foot wood fence with one gate, concrete-set posts, easy terrain, no old fence to remove, at the national-average region.

Material is 150 × $12 = $1,800 for the fence plus $150 of concrete for the posts, so $1,950. Install labor is 150 × $10 = $1,500 for the fence plus $300 to set the posts, so $1,800. The gate adds a $200 panel and $150 to hang it, $350. That totals $4,100 — about $27 per linear foot. Switch to chain link and the same run drops to about $2,650; go to wrought iron and it climbs to roughly $7,500.

  • Material: $1,800 fence + $150 post concrete = $1,950
  • Install: $1,500 fence + $300 post-setting = $1,800
  • Gate: $200 panel + $150 hanging = $350 · Total: $4,100 (~$27/ft)
  • Chain link ~$2,650 · wrought iron ~$7,500

Pairing a Fence With a Retaining Wall

Fences and retaining walls often go in together when you're terracing or leveling a sloped yard — a wall holds the grade and a fence tops it for privacy or safety. If your project involves both, the Retaining Wall Cost Calculator prices the wall by face area and material with the same honest, range-based approach, including the engineering threshold that kicks in above 4 feet.

Sloped sites also cost more to fence: the difficult-terrain option in this calculator adds a labor multiplier for the extra time it takes to keep a fence level and plumb across a grade.

  • Walls + fences pair on terraced or sloped yards
  • Difficult terrain adds a fence labor multiplier
  • Price the wall separately with the retaining wall tool

Why the Total Is a Range

Fence pricing varies with terrain, soil, and access, so the calculator brackets the realistic figure with a low end at 0.9x and a high end at 1.3x. The upside covers rocky soil that's hard to dig, a steep or uneven line, tight access for materials, and seasonal swings in lumber and material prices.

Budget toward the middle for a flat, open run and toward the top for a sloped lot, a premium material, or many gates. Always get an on-site quote from a fence contractor before committing.

  • Low = realistic x 0.9 · high = realistic x 1.3
  • Upside covers rocky soil, slope, access, and material price swings
  • Sloped lots, premium materials, and extra gates push toward the high end

The bottom line

Fence cost starts with the material — chain link cheapest, wood and vinyl mid-range, composite and wrought iron most — multiplied by length and a height factor. Add install labor, gates, concrete-set posts, and removal of an old fence. The pickets, panels, and posts are commodities, so your region scales only the labor side. The Fence Installation Cost Calculator runs all of it and returns a material, install, and gates breakdown with a cost per linear foot and an honest low-to-high range — a planning number to size up the job and read a fence contractor's quote against, not a guaranteed bid.

How we estimate & where our numbers come from

2026 US baselines. Each calculator starts from national-average material and labor prices for June 2026, drawn from current supplier pricing and published contractor cost data. Every price is an editable default — you can override it with a real local quote and the estimate updates.

Regional scaling. A US-state region factor scales the location-sensitive parts of the estimate — labor rates and permit costs — using RSMeans / BLS-style regional cost differentials. It deliberately does not scale commodity materials (lumber, concrete, copper, shingles), which track national markets rather than local labor.

Honest ranges. We show a low / realistic / high range instead of one false-precision number. The realistic figure is the typical mid-market job; the low and high ends are that figure times each tool's low and high multipliers (roughly 0.85–0.9× and 1.2–1.4×) to cover budget vs. premium materials, easy vs. difficult access, and normal price swing.

What's excluded. Estimates cover the typical scope shown on each tool. They exclude unusual site conditions, structural or engineering work, hidden damage and repairs, hauling or disposal beyond what's noted, and local taxes. These are planning estimates — confirm final pricing with a licensed local contractor before you commit.

Frequently asked questions

How much does it cost to install a fence?

Most fences run about $1,300 to $7,500 or more installed, with the material and the length doing most of the work. As a rule of thumb the install lands near $13 per foot for chain link, $22 for a 4-foot wood fence, about $36 for composite, and $43 or more for wrought iron. A plain 100-foot chain-link run is around $1,300, while a 150-foot 4-foot wood fence with a gate and concrete-set posts is about $4,100. Use the calculator above to price your exact length, height, and material with a low-to-high range.

How much does a fence cost per linear foot?

Installed cost per linear foot runs roughly $13 for chain link, $22 for a standard 4-foot wood fence, about $27 for vinyl, and $36 to $43 for composite or wrought iron at that height. Height is the multiplier most people forget: going from a 4-foot to a 6-foot fence pushes wood from about $22 to $30 per foot and can lift composite and wrought iron into the $50s, because it adds both material and labor. Concrete-set posts add a few dollars per foot and each gate is a separate line, not part of the per-foot rate. The calculator above shows your exact cost per linear foot so you can line up contractor quotes side by side.

Is a wood or vinyl fence cheaper?

Wood is cheaper up front: a 4-foot wood fence runs about $22 per foot installed versus roughly $27 to $30 for vinyl, because vinyl panels cost more as a material. The labor to install them is similar, so the gap is almost entirely the panel price. On a 150-foot run that is roughly $3,300 for wood against $4,000 or more for vinyl before gates and posts. Switch the material toggle in the calculator above to see the exact difference for your length and height.

Is chain link the cheapest fence?

Yes — chain link is the cheapest option at about $13 per linear foot installed, roughly 40 percent less than a comparable wood fence, because both the material and the labor to hang it are lower. A 100-foot 4-foot chain-link run comes in around $1,300, versus about $2,200 for the same run in wood. The trade-off is privacy and looks, which is why wood, vinyl, and ornamental fences cost more. Pick chain link in the calculator above to see your run priced as the budget baseline.

How much does a 150-foot fence cost?

A 150-foot fence runs about $1,950 in chain link, $3,300 for a plain 4-foot wood fence, and roughly $6,400 in wrought iron — before extras. Add a gate and concrete-set posts to that wood run and it climbs to about $4,100; step the wood up to a 6-foot privacy height and it is closer to $5,300. Gates (around $350 each installed), old-fence removal (about $3 per foot), and difficult terrain each add on top. Enter 150 feet in the calculator above and toggle the options to see your own total and range.

Do you need a permit to build a fence?

A fence permit commonly runs from about $50 to a few hundred dollars, set by your local building department rather than by the materials. Many cities require one for a new fence, especially over 6 to 7 feet or on a property line, so check before you start. Because the fee is local and not tied to the build itself, this calculator does not bundle it into the estimate — budget for it separately, and confirm whether a survey or HOA approval is also required. Use the calculator above for the construction cost, then add your local permit fee on top.

How much does it cost to replace an old fence?

Replacing a fence costs the install price of the new fence plus removal of the old one, which adds about $3 per linear foot for tear-out and haul-away. On a 150-foot run that is roughly $450 in removal on top of the new fence — so replacing a 4-foot wood fence lands near $3,750 instead of $3,300 for new-build on a clear line. If the old posts were set in concrete, removal can run higher because each footing has to be dug out. Turn on "remove old fence" in the calculator above to fold tear-out into your total.

What affects the cost of a fence the most?

Material is the single biggest driver — moving from chain link to wrought iron more than triples the per-foot cost, from about $13 to $43 or more. After that, length scales the whole job, height adds material and labor together (a 6-foot fence costs roughly 35 percent more per foot than a 4-foot one), and gates, concrete-set posts, old-fence removal, and sloped terrain each add their own line. Your region also moves the labor portion, though the panels and posts are priced about the same nationwide. The calculator above breaks out material, install, gates, and removal so you can see exactly which lever is moving your number.

Flooring Calculator

Material, boxes, and install cost for any floor.

Roofing Calculator

Roof squares, bundles, and replacement cost.

BTU Calculator

Right-size heating and cooling — without oversizing.

Gutter Calculator

Seamless or sectional gutter cost, per foot and total.

Window Calculator

Replacement cost per window — by type, frame, and glass.

Tile Calculator

Tile installation cost per sq ft — material + labor.

Concrete Calculator

Cubic yards and slab cost per sq ft and per yard.

Tree Removal Calculator

Cost to remove a tree — by height, type, and access.

Furnace Replacement Cost Calculator

What replacing a furnace or full HVAC system really costs.

Garage Door Installation Cost Calculator

Door, opener, and install cost — by size, material, and style.

Retaining Wall Cost Calculator

Wall cost by face area — material, footing, drainage, and height.

Drywall Installation Cost Calculator

Sheets, material, and labor to hang and finish drywall.

Driveway Cost Calculator

Paving cost by area & material — gravel to pavers.

Electrical Panel Upgrade Cost Calculator

Panel, labor, and permit cost for a service upgrade.

Septic System Cost Calculator

Tank, field, and install cost for a new septic system.

Pressure Washing Cost Calculator

Power washing cost per sq ft — by surface and soiling.

Epoxy Garage Floor Cost Calculator

Garage floor coating cost by system and prep.

Insulation Cost Calculator

Insulation cost per sq ft — by type, location, and R-value.

Water Heater Installation Cost Calculator

Replacement cost by type — tank, tankless, or heat pump.

Sod Installation Cost Calculator

Sod cost per sq ft and per pallet — by grass and prep.

Basement Finishing Cost Calculator

Cost to finish a basement — by finish level and add-ons.

Whole-House Generator Cost Calculator

Standby generator cost — unit, transfer switch, and install.

House Siding Cost Calculator

Cost to side a house — by material and wall area.

Deck Cost Calculator

Cost to build a deck — by material and size.