Fence Cost Calculator

Estimate how much it costs to build a fence by length, height, and material. Get material and labor cost per linear foot for wood or vinyl.

Last updated 2026-08-21

What Is a Fence Cost Calculator?

The fence cost calculator estimates the total price to build a fence based on its length, height, and material. Enter the material cost per linear foot and the labor cost per linear foot to get a full installed estimate for wood or vinyl.

How It Works

Cost = Fence length × (Material per ft + Labor per ft).

Example

100 ft of fence at $20/ft material + $15/ft labor = $3,500.

How to Calculate

  1. Measure the total fence length in feet. A 100 ft fence is a typical project.
  2. Get a material cost per linear foot from your supplier or quote. Pressure-treated wood often runs about $20 per foot.
  3. Enter a labor cost per linear foot, commonly around $15 per foot for professional installation.
  4. Enter the length and both costs. At 100 ft, that is 100 times $35, or $3,500 total.
  5. Add the cost of gates separately, since each gate typically adds $200 to $600 on top of the per-foot estimate.

Fence Cost per Linear Foot by Material

MaterialMaterial per FootTypical Total Installed per Foot
Pressure-treated wood$10 to $20$15 to $35
Cedar$15 to $25$25 to $45
Vinyl$15 to $25$25 to $45
Chain link$5 to $10$10 to $20
Aluminum$15 to $25$25 to $40

Sources

Frequently Asked Questions

What does a wood fence cost?

Pressure-treated and cedar fences run about $15–$35 per linear foot installed.

Does this include gates?

No — gates are a separate cost and typically add $200–$600 each.

Should I factor in staining or sealing?

Yes, if you plan to finish the wood; that is usually not included in install quotes.

Mason ReidFounder and Lead Estimator at MeasureThen

Mason Reid founded MeasureThen after two decades of hands-on work in construction and estimating. Across residential and light commercial projects, he sized concrete pours, framed walls, hung drywall, and priced out roofing, fencing, and deck work — learning the exact math that every job depends on. At MeasureThen he writes the formulas, checks every calculator against real-world assumptions, and makes sure each one is simple enough for a homeowner to trust and a contractor to use. When he is not measuring twice, he is helping projects stay on budget.

Every MeasureThen calculator uses simple, transparent formulas and standard industry assumptions drawn from common construction practice. We show the math behind each result and include worked examples so you can follow along and double-check the numbers. Results are estimates: materials, labor, and pricing vary by region and market, so always confirm important figures with a licensed professional and your local building codes.