Free · no signup · updates as you type
Fence Installation Cost Calculator
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.
Your fence
Results update as you type — no button to press.
The biggest driver — chain link cheapest, wrought iron most.
Regional cost factor ×1.00 — typical for United States (national average); scales labor, not material.
Wood base at 4 ft, before factors
Estimated total
150 ft · 4 ft tall$4,100
Range $3,690 – $5,330
Terracing a sloped yard?
Price the retaining wall that holds the grade.
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.
Frequently asked questions
How much does it cost to install a fence?
It depends mostly on the material and length. Chain link runs about $10–$20 per linear foot, wood and vinyl $15–$40, and composite or wrought iron $30–$60. So a 150-foot wood fence runs roughly $4,100 installed. Height, gates, concrete-set posts, difficult terrain, and removing an old fence all add to the total, and this calculator prices each.
How much does a fence cost per foot?
Installed cost per linear foot runs roughly $10–$20 for chain link, $15–$40 for wood or vinyl, and $30–$60 for composite or wrought iron. Taller fences cost more per foot than shorter ones, and concrete-set posts and gates add on top. The calculator shows your exact cost per linear foot so you can compare quotes apples to apples.
Which fence material is cheapest?
Chain link is the cheapest and fastest to install, which is why it's common for large perimeters and back yards. Wood and vinyl cost more but offer privacy. Aluminum, composite, and wrought iron are the most expensive, prized for looks and low maintenance. Material is the first lever to pull when controlling cost.
Should fence posts be set in concrete?
For wood, vinyl, and ornamental fences, concrete-set posts are the standard — they hold the fence plumb and resist frost heave and wind. It adds the cost of concrete plus extra digging and setting labor, which the calculator includes when you choose concrete-set posts. Chain link is sometimes driven instead, but concrete is more durable.
Why does my region change the labor but not the material?
Pickets, panels, posts, and concrete are commodities priced about the same nationwide, so the calculator doesn't scale them by region. The install crew, post-setting, gate hanging, and old-fence removal are local labor, so those scale with your state's cost factor. That's why the same fence can total differently in a high-cost metro than a rural area.
More tools
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.