FieldWise Calculator

Fence Cost Calculator

Use this fence cost calculator and estimator to price a fence installation before you collect quotes. Enter the length, height and material, say whether the ground is flat or sloped, and add any gates. You get a low to high installed price range, the cost per linear foot and the number of posts. Vinyl, wood, chain link and aluminum fences are covered.

Cost per linear foot (low)...
Cost per linear foot (high)...
Posts (8 ft spacing)...
Estimated total (low)...
Estimated total (high)...

Understanding the inputs

length
The total length of fence line in feet, including the sides that run along a property edge.
height
Fence height in feet. Taller fences need more material and deeper posts, so we scale the price from a 6 ft fence as a rough guide.
material
The fence material. Vinyl costs more than wood up front, and chain link is usually the cheapest.
terrain
Building a fence on a slope usually costs more, because the panels must be stepped or racked and the posts set at varying depths.
gates
The number of walk gates. A wide double drive gate costs a lot more than a walk gate, so price it separately.

Typical installed fence cost per linear foot (6 ft fence)

MaterialCost per linear foot
Chain link$12 to $30
Wood$20 to $40
Vinyl$25 to $55
Aluminum$30 to $60

Frequently asked questions

How much does it cost to install a vinyl fence?

Installing a vinyl fence typically costs about $25 to $55 per linear foot for a 6 ft privacy fence. A 150 ft run is therefore roughly $3,750 to $8,250 before gates. Vinyl costs more than wood up front but needs little upkeep.

How much does an aluminum fence cost?

Aluminum is usually the most expensive of the four materials here, at about $30 to $60 per linear foot installed for a 6 ft fence. A 150 ft run is roughly $4,500 to $9,000 before gates. It does not rust and needs almost no upkeep, which is why people pay more for it.

How much does a wood fence or a chain link fence cost to install?

Wood runs about $20 to $40 per linear foot installed, so a 150 ft run is roughly $3,000 to $6,000. Chain link is usually the cheapest at about $12 to $30 per linear foot, or roughly $1,800 to $4,500 for the same 150 ft. Pick the material in the calculator to see the range for your own length.

What is the price to install a vinyl fence versus wood?

Wood usually runs about $20 to $40 per linear foot installed and vinyl about $25 to $55, so vinyl is often 20% to 40% higher at the start. Wood needs staining or sealing over the years, which narrows the gap over time.

How much does building a fence on a slope cost?

Expect to pay more on uneven ground, often roughly 10% to 25% above a flat install, because panels have to be stepped or racked and posts are set at different depths. Choose the slope option above to see the effect on your range.

How many fence posts do I need?

Posts are usually set about 8 feet apart. Divide the fence length by 8, round up, and add one for the end of the run. A 150 ft fence needs 19 spans, so 20 posts. Use the post hole concrete calculator to work out the concrete for each hole.

How much of the fence installation cost is labor?

The prices on this page are installed prices, so they include the crew as well as the materials. If you build the fence yourself you pay for materials only, but add up the posts, concrete, hardware and any tool rental before you compare it with a quote.

How do I get an accurate fence estimate?

Use this estimator to get a planning range, then ask two or three fence contractors for a written estimate. Give each one the same length, height, material and gate count so the quotes can be compared, and ask whether removing an old fence, permits and sloped ground are included.

How many fence panels do I need?

Divide the fence length by the width of one panel and round up. A 150 ft fence needs 19 panels that are 8 ft wide, or 25 panels that are 6 ft wide. Neighboring panels share a post, which is why the post count above is one more than the number of panels.

How much does a fence gate cost?

A typical walk gate adds about $250 to $700 installed. Wide double gates for a driveway cost more, so quote them separately.

Does fence height change the cost?

Yes. A taller fence uses more material and labor, and 8 ft fences also need deeper post holes. This estimator scales the price from a 6 ft fence, so treat the result as a guide and confirm it with a quote.

Related calculators