How to use this calculator
- Measure the total length of fence in feet, following the line it will take around the yard.
- Enter the price per foot of the fence material from a supplier or quote.
- Enter a labor price per foot if you will hire a crew, or leave it at zero for a do-it-yourself job.
- Add the number of gates and the price of one gate.
- Keep a contingency of about 10% for extras such as extra posts, concrete, tear-out and delivery.
How the numbers are calculated
Materials are the length multiplied by the material price per foot. Labor is the length multiplied by the labor price per foot. Gates are the number of gates multiplied by the price of one.
These three are added together, then the contingency percentage is applied to that subtotal. The total divided by the length gives an all-in cost per foot, which is handy for comparing quotes from different contractors.
Worked example
A fence 150 ft long with materials at $22 per foot costs $3,300. Labor at $18 per foot adds $2,700, and one gate at $180 brings the subtotal to $6,180. A 10% contingency adds $618, for a total of $6,798, or about $45.32 per foot.
Tips before you buy
- Get at least two written quotes and ask what each one includes, such as post holes, concrete, hardware and haul-away of an old fence.
- Check for permits, height limits and setback rules with your local authority before you buy anything.
- Confirm the property line before you build. A survey is cheaper than moving a fence.
- Subtract gate openings from the fence length if your supplier prices gates separately, to avoid paying twice for that stretch.
- Stain, paint or sealer is rarely included, so add it to the contingency if you plan to finish the wood.
Frequently asked questions
How do I measure fence length?
Walk the planned line and measure along it, or measure each side and add them. Include the gate openings in the total length, then decide how you want to price them.
Is it cheaper to build a fence myself?
You save the labor cost, but you need tools, time and a way to handle posts and concrete. Set labor to zero in the calculator to see the difference.
Why does the calculator ask me for prices?
Fence prices vary a lot by region, material and height. Using your own quotes gives a more useful estimate than an average that may not match your area.
How much contingency should I include?
Ten percent is a sensible starting point. Use more if the ground is rocky, sloped or the old fence needs removing.
Related calculators
These results are estimates for planning purposes. Material sizes, densities and local requirements vary, so confirm quantities with your supplier or a qualified contractor before ordering.
Last updated October 11, 2026.