Fence Cost Calculator

Want to know the price before you start? Enter your own prices and this calculator adds up materials, labor, gates, extras and a safety cushion. The prices shown are only examples, so change them to match your area.

Your shopping list

How to use the Fence Cost Calculator

  1. Enter the fence length.
  2. Type the material price per foot from your store or quote.
  3. Add labor per foot. Use 0 if you will build it yourself.
  4. Add gate and extra costs, then read the total.

The math behind it

Materials = length x material price per foot
Labor = length x labor price per foot
Subtotal = materials + labor + gates + extras
Total = subtotal + tax + safety cushion

A worked example

What we typed in

  • Total fence length: 200 ft
  • Material price per foot ($): 18
  • Labor price per foot ($): 12
  • Number of gates: 2
  • Price of one gate ($): 150
  • Extras: concrete, screws, stain ($): 100
  • Sales tax: 8 %
  • Safety cushion: 10 %

What we got

  • Total cost ($): 7,552
  • Cost per foot ($): 37.76
  • Materials ($): 3,600
  • Labor ($): 2,400
  • Gates ($): 300
  • Extras ($): 100
  • Tax ($): 512
  • Safety cushion ($): 640

Second worked example

At $18 per foot for material and $12 per foot for labor, a 50 ft fence costs $1,500 before tax and contingency with no gates or extras. At 8% tax and a 10% cushion on the subtotal, the estimate is $1,770, or $35.40 per foot.

Common sizes and example outputs

Run lengthMaterials and labor at $30 per foot
50 ft$1,500
100 ft$3,000
150 ft$4,500

For a related part of your project, use the Deck Cost Calculator.

Tips from the job site

  • Get at least 3 quotes if you hire someone.
  • Keep the safety cushion at 10%. Hills, rock and bad weather add cost.

Common questions

What does a fence cost per foot?

It depends on the type, height and your area. Check local store prices and quotes, then type them in here.

Are prices in metric mode per meter?

No. Prices stay per foot of fence, even if you switch the lengths to metric.

All Fence Calculators

Last checked: (worked example and recalculation).