Fence cost calculator

Enter the length, pick the material and add the gates. See the installed price low, typical and high, per foot and in total, with the source behind every number.

$27.50Typical a foot for wood privacy
7 materialsWood to wrought iron
By ZIPLabor scaled to your state
ft
Walk the line, or measure it on a map. A typical backyard is 150 to 200 ft.
Height
Worth it when you are not sure where the line is.
Adjusts labor to your state's wages.
Fence cost
$2,400 to $6,400
Typical $4,350 (US average)
$29.00Per foot, all in
$4,125Fence only
150 ftLength
Free. Your numbers become an estimate you can send from your phone.

How we got this

  1. Wood privacy, installed$15.00 to $40.00 a ft (typical $27.50)4 guides combined: low = middle of their lows, high = middle of their highs, typical = middle of their midpoints. Posts, rails, panels, concrete and labor.
  2. Walk gates1 × $150 to $400 (typical $225)Three guides, installed with hardware.
  3. RegionUS average prices (no ZIP entered)Enter a ZIP to scale the labor part of the price to your state's wages.
  4. Total$2,400 to $6,400, typical $4,350
ItemQtyLowTypicalHigh
Wood privacy fence150 ft$2,250$4,125$6,000
Walk gate1$150$225$400
Total$2,400$4,350$6,400

Sources: Fixr, fence installation cost; Thumbtack, fence installation cost; Bob Vila, fence installation cost; HomeAdvisor, fence cost; BLS Occupational Employment and Wage Statistics, May 2025 (state and national files); US Census Bureau, 2020 ZIP Code Tabulation Area to county relationship file. Checked 2026-10-08.

Key takeaways
  • Most fences cost $15 to $40 a foot installed. Chain link and split rail are the cheapest; wrought iron and composite the most.
  • A typical 150 ft backyard in wood privacy runs about $2,250 to $6,000 before gates.
  • Gates are priced separately: about $150 to $400 for a walk gate and $700 to $3,000 for a driveway gate.
  • Going to 8 ft adds about 30%. Tearing out an old fence adds about $3 to $6.50 a foot.

Fence cost per foot by material

Fences are priced by the linear foot, installed: posts set in concrete, rails, boards or panels, and the labor. We read the cost guides from Fixr, Thumbtack, Bob Vila and HomeAdvisor and combined their installed prices. The low is the middle of their lows, the high the middle of their highs. Thumbtack's wrought iron figure is a material cost, so wrought iron uses the other three.

MaterialPer foot, installedTypical150 ft fence
Chain link$8 to $27.50$19.75$1,200 to $4,125
Split rail$10 to $20$15$1,500 to $3,000
Wood privacy$15 to $40$27.50$2,250 to $6,000
Vinyl$17 to $37.50$26$2,550 to $5,625
Aluminum$18.50 to $36$27.25$2,775 to $5,400
Composite$15 to $45$30$2,250 to $6,750
Wrought iron$22 to $40$31$3,300 to $6,000

The guides' dates run from 2022 (HomeAdvisor) to 2026 (Thumbtack), and lumber and steel prices have moved since. Treat the low end as old pricing and the typical figure as a fair middle for 2026.

Fixr breaks out labor at $5 to $20 a foot of those installed prices, so a bit under half of a fence price is the crew's time. That is the part the calculator scales to your state's wages when you enter a ZIP.

What changes the cost of a fence

  • Material and style. Within wood, pressure-treated pine is cheapest, cedar costs more, and styles with more boards (shadow box, board on board) cost more again.
  • Height. Most of the prices above are for fences up to 6 ft. HomeAdvisor says going to 8 ft adds about 30% to materials and labor. Many towns cap backyard fences at 6 ft, so check first.
  • Gates. Each gate needs heavier posts, hinges and a latch. Three guides put a walk gate at $150 to $400 installed and a double or driveway gate at $700 to $3,000.
  • Ground. Slopes need stepped or racked panels. Rock and roots slow down every post hole. No guide we read puts a number on this, so the calculator moves the price into the top half of the range when you tick it.
  • Tear-out. Removing and hauling the old fence costs about $3 to $5 a foot (Bob Vila) or $600 to $800 for 100 to 200 ft (Fixr).
  • Permit and survey. Permit fees vary by town: HomeAdvisor says $20 to $60, Bob Vila $400 to $800, and a pro quoted by Thumbtack puts the Orlando area at $25 to $300. The calculator uses $25 to $300. A property line survey runs $350 to $850 and is worth it when the line is in doubt.
  • Length. Long straight runs cost less per foot than short runs with lots of corners and gates.

Corners and ends matter more than most people think. A 150 ft fence in one straight line needs two end posts. The same 150 ft wrapped around three sides of a yard with two gates needs corner posts, gate posts and bracing at every one of them, and each takes longer to set. That is one reason two quotes for the same length can be far apart.

Timing matters too. Spring and early summer are the busy season for fence crews in most of the country. Booking in late fall or winter, where the ground is not frozen, can mean shorter waits and more room to negotiate.

Which fence material is right for you

The cheapest fence per foot is not always the cheapest fence to own. Here is how the common materials compare beyond the price.

  • Wood privacy. The most common backyard fence. Pressure-treated pine is the lowest cost; cedar resists rot and insects better and looks better as it ages. Wood needs staining or sealing every few years, and boards and posts eventually need replacing.
  • Vinyl. About the same installed price as wood in the guides we read. No painting or staining, just an occasional wash. It can crack in hard freezes or from a direct hit, and a damaged panel usually has to be replaced, not repaired.
  • Chain link. The lowest cost way to keep pets and kids in. Strong and long lasting, but no privacy unless you add slats or plant along it. Coated (black or green) chain link costs more than plain galvanized.
  • Aluminum. Looks like wrought iron, does not rust and needs almost no upkeep. Good around pools, where many codes require a fence the water can be seen through. Not a privacy fence.
  • Wrought iron and steel. Very strong and very long lasting if painted. Heavy and slow to install, which shows in the price.
  • Composite. Made of wood fiber and plastic. Looks like wood without the staining. The price range is wide because the products are.
  • Split rail. Two or three rails between posts. Cheap and good for marking a line or keeping larger animals in; add wire mesh for dogs.
Pool fencesMost places have strict rules for fences around pools: minimum height, gaps, and self-closing, self-latching gates. Check the local code before choosing a material.

A worked example: a 150 ft backyard fence

A homeowner wants a 6 ft wood privacy fence around a 150 ft backyard, with one walk gate, and the old chain link taken out.

  • Fence. 150 ft × $15 / $27.50 / $40 = $2,250 / $4,125 / $6,000.
  • Walk gate. $150 / $225 / $400.
  • Tear-out. 150 ft × $3 / $4.75 / $6.50 = $450 / $713 / $975.
  • Total. $2,850 to $7,375, with about $5,060 as the typical price at the US average. That is about $34 a foot all in.

The same job in vinyl lands at $3,150 to $7,000 because vinyl's range is narrower. Over twenty years, vinyl often costs less once you count staining and board replacement on wood.

Same yard, chain link. 150 ft of chain link at $8 / $19.75 / $27.50 a foot is $1,200 / $2,963 / $4,125. With a walk gate and the same tear-out, the total is $1,800 to $5,500, with about $3,900 typical. Chain link keeps pets in for about three-quarters of the typical price of wood, but gives no privacy.

How to measure for a fence

  1. Find the line. Use your plat or survey. If you are not sure where the property line is, pay for a survey before you build.
  2. Walk it with a wheel or tape. Measure each straight run separately, then add them up. Note where every gate goes.
  3. Mark the corners and ends. Each one needs a heavier post, which is part of why short runs cost more per foot.
  4. Call 811. Before anyone digs, the free 811 service marks buried utility lines. It is required in every state.
  5. Check the rules. Height limits, setbacks, HOA rules and which side of the fence faces out.
Rough sizesA small city yard is often around 100 ft of fence. A typical suburban backyard is 150 to 200 ft. The full perimeter of a quarter-acre lot is about 420 ft.

Ask each contractor how deep the posts go and how they are set. Posts set in concrete below the frost line are the main reason one fence stands straight for decades and another leans after a few winters.

DIY or hire a fence contractor

A fence is one of the more doable DIY projects, if the ground is easy and the run is straight. The material is the same price either way; what you save is the labor, which Fixr puts at $5 to $20 a foot. On a 150 ft fence, that is roughly $750 to $3,000.

What you take on in exchange:

  • Post holes. Usually 2 to 3 ft deep, or below the frost line where the ground freezes, every 6 to 8 ft. An auger rental helps; rock and roots do not care.
  • Getting it straight and level. A string line, a level on every post, and patience on slopes. Mistakes show for the life of the fence.
  • Gates that do not sag. They need solid posts and bracing.
  • The paperwork. Permit, the property line, the 811 call and any HOA approval are your job.

Hire a pro for long runs, slopes, rocky ground, tall fences, pool fences and anything on a property line you are not sure of. A contractor also brings a warranty on the work and handles the tear-out and haul-away of the old fence.

When you compare quotes, make sure each one lists the same height, material grade, post spacing and depth, gates, and whether removal, permit and cleanup are included.

How to price a fence job (for fence contractors)

Homeowners will have read the per-foot ranges above before they call you. Build your own price from the job:

  • Materials by the piece. Posts every 6 to 8 ft, rails, pickets or panels, concrete per post, hardware, plus waste.
  • Labor by the post. Post holes are where the time goes, especially in rock, roots or clay. Price hard digging as its own line rather than hiding it.
  • Gates as their own lines. Each one with its posts and hardware.
  • Tear-out and haul. Labor plus dump fees.
  • Permit, survey, 811 and the drive. All real costs.
  • Margin on top. Check it with the profit margin calculator.

Then give the customer two or three options, for example wood, vinyl and aluminum for the same run. The "Save as an estimate" button carries the fence, the gates and the add-ons into Koira as separate lines, so you can send the estimate and collect a deposit when it is signed.

Last checked October 8, 2026.

FAQ

How much does a fence cost per foot?

Most fences cost $15 to $40 a foot installed. Chain link runs about $8 to $27.50, wood privacy $15 to $40, vinyl $17 to $37.50 and wrought iron $22 to $40.

How much does it cost to fence a backyard?

A typical 150 ft backyard costs about $2,250 to $6,000 in wood privacy, plus $150 to $400 for each walk gate. Chain link costs less, vinyl and aluminum about the same as wood.

What is the cheapest fence to install?

Chain link and split rail are the cheapest, starting around $8 to $10 a foot installed. Neither gives privacy.

Is vinyl fencing more expensive than wood?

Up front they cost about the same per foot in the guides we read ($17 to $37.50 for vinyl, $15 to $40 for wood). Vinyl needs no staining or painting, so it often costs less over its life.

How much does a fence gate cost?

A walk gate typically costs $150 to $400 installed. A double or driveway gate costs $700 to $3,000, more with an automatic opener.

Do I need a permit to build a fence?

Many towns require one, especially for fences over 4 to 6 ft or in front yards. The guides disagree: HomeAdvisor says $20 to $60, Bob Vila $400 to $800, and a Thumbtack pro puts the Orlando area at $25 to $300. Check with your town and your HOA before you build.

We know what works. Leave it to Koira.

☼⚙
Standard⚡ Turbo
● Koira did it● You by hand
Today $9,300$8,100 / $1,200
This week $25,050$18,570 / $6,480
This month $69,300$46,150 / $23,150
Money, just now
Reminded Sean Love, $1,850. Polite reminder with the pay link.
Bids, 9:44 am
Nudged Dana on the kitchen bid. Day 3 follow up. She opened it at 9:12.
Convos, 9:41 am
Texted back a missed call. Walk through booked Thu 10:00.
Fence Cost Calculator and Estimator: 2026 Prices per Foot | Koira