Home / Calculators / Fence Calculator

Fence Calculator

A fence estimate is linear feet plus the parts that scale with it: posts every 8 feet, two or three rails, and pickets. This calculator builds the materials list and compares it to installed pricing.

2026 US national averages · last reviewed 2026-12-04 · how we estimate

linear ft
ft
Estimated cost
—
Enter your dimensions to see a range.

Materials to buy

    Advertisement

    How the estimate is calculated

    1. Sections = length ÷ 8, rounded up. Posts = sections + 1, plus one per gate.
    2. Rails = 2 per section for a 6 ft fence (3 for taller fences).
    3. Installed cost: wood $25–$45, vinyl $35–$60, chain link $15–$30, aluminum $40–$70 per linear ft.

    2026 cost ranges

    ItemTypical 2026 priceNotes
    Wood privacy fence$25–$45 per linear ftInstalled
    Vinyl fence$35–$60 per linear ftInstalled
    Chain link$15–$30 per linear ftInstalled
    Gate$150–$500Depends on width and hardware
    Concrete per post$4–$6 per 80 lb bagTwo bags per post

    What changes the price

    Advertisement

    Frequently asked questions

    How many posts for a 100 ft fence?

    13 posts at 8 ft spacing, plus one for each gate.

    How deep should fence posts be?

    One-third of the post height, and below the frost line — typically 2–3 ft.

    How much does a 6 ft privacy fence cost?

    $2,500–$4,500 for 100 linear ft installed in wood, more for vinyl.

    How long does a wood fence last?

    10–15 years with staining every 2–3 years; cedar and pressure-treated last longer than pine.

    Do I need a permit for a fence?

    Many cities require one, and most limit height to 6 ft in back yards and 4 ft in front.

    Can I put a fence on the property line?

    Usually yes with the neighbor's agreement, but check the survey first — fences on the line create disputes.

    Related calculators

    Prices are national planning estimates, not a quote. Local pricing varies by 15–30%. Structural and permit work requires a licensed professional — see terms.