Article — Fence Cost Calculator
Fence Cost Calculator: Total Project Cost Per Linear Foot
A 150-foot wood privacy fence with one walk gate costs about $4,200 in DIY materials or $6,500-$8,000 contractor installed — roughly $28/ft DIY or $43-$53/ft installed. Total = (length × $/ft material × 1.10 waste) + posts + concrete + gates + labor + permit. Wood is the most common at $20/ft material; vinyl runs $30/ft; chain link is cheapest at $9/ft. Always survey property lines before starting work.
Fence cost overview
Fence cost depends on five main variables: length, material, gates, labor inclusion, and local permit requirements. Material runs from $9/ft for chain link up to $50/ft for wrought iron, with wood and vinyl dominating residential applications in the $20-$30/ft range. Installation labor typically doubles material cost for contractor work.
Most residential fence projects fall between 100 and 300 linear feet. A typical backyard perimeter measures 150-200 feet. Property line fences and full property enclosure projects can reach 500-1,000 feet on larger lots. The cost per foot improves slightly with project length as fixed costs (mobilization, permits) spread over more linear feet.
The fence cost formula
Total fence cost equals material cost plus posts plus concrete plus gates plus labor plus permits. Material cost is length times per-foot price times 1.10 waste factor. Posts equal ceiling of length divided by spacing, plus one, plus two per gate. Each post needs about two 80-lb bags of concrete at $7 per bag.
Labor scales with material type: wood takes 5 hours per 100 linear feet, vinyl 4 hours, chain link 3 hours. Multiply by hourly contractor rate ($40-$80 typical). Add 2 hours per gate for installation. Permits run $50-$500 in most US jurisdictions for fences over 50 feet or 6 feet tall.
The Treasury of the Marquis de Vauban, written in the late 1600s, documents that hand-built stone walls in rural France cost roughly 3 livres per fathom (about 6 feet) — the equivalent of $200/linear foot in 2026 dollars. Today's $9/ft chain link is one of the cheapest perimeter barriers in human history relative to wages.
Fence cost by material type
Chain link at $9/ft material is the cheapest fence material, installing for $15-$25/ft including labor. Galvanized steel posts and mesh resist rust for 15-20 years. Common heights: 4 feet (residential perimeter), 5 feet (typical backyard), 6 feet (privacy), 8+ feet (commercial security).
Wood pressure-treated pine at $20/ft is the most popular residential choice. Cedar and redwood premium woods at $30/ft cost 50 percent more but last twice as long with proper maintenance. Vinyl/PVC at $30/ft costs the same as premium wood but requires zero maintenance. Aluminum and wrought iron run $35-$50/ft for decorative front yard and pool enclosure applications.
- Chain link = $9/ft material, $15-25/ft installed
- PT wood = $20/ft material, $25-45/ft installed
- Cedar/redwood = $30/ft, $35-60/ft installed
- Vinyl/PVC = $30/ft, $35-55/ft installed
- Aluminum = $35/ft, $40-60/ft installed
- Wrought iron = $50/ft, $60-100/ft installed
Fence cost: posts and concrete
Posts are the structural backbone of any fence. Standard spacing is 8 feet for wood, 6 feet for vinyl, 10 feet for chain link. Each gate needs 2 additional posts (the gate hinges to one and latches to the other). A 150-foot wood fence with one gate needs ceil(150/8) + 1 + 2 = 22 posts.
At $18 per pressure-treated 4×4 post, that is $396 in post materials. Add concrete: each post sets in roughly 2 of 80-lb bags at $7 each, so 22 posts × 2 bags × $7 = $308 in concrete. Combined posts and concrete typically run 12-18 percent of total fence cost.
Fence cost labor breakdown
Contractor labor accounts for 40-50 percent of installed fence cost. Wood fences take longer to install than vinyl due to more cuts and hand-fitting. Chain link installs fastest because the panels stretch between posts in continuous runs. Gate installation runs about 2 hours per gate regardless of material.
Labor rates vary by region: $40-$50/hr in low-cost areas, $60-$80/hr in high-cost coastal markets. The 150-foot wood example at $50/hr: 7.5 hours material labor + 2 hours gate = 9.5 hours × $50 = $475. For chain link same length: 4.5 hours × $50 = $225.
Get three quotes minimum for any fence project over 100 linear feet. Pricing varies dramatically between contractors — sometimes 50 percent or more for identical scope. Verify each quote includes the same material grade, post depth, gate quality, and warranty terms.
DIY vs contractor fence cost
DIY fence installation saves 40-50 percent versus contractor pricing. The 150-foot wood example: $4,226 DIY versus $6,500-$8,000 contractor. The savings come entirely from labor — material costs are essentially identical whether DIY or contractor.
DIY requires a post hole digger or auger, level, circular saw, drill, and 20-40 hours of work. Most homeowners can complete a 150-foot wood fence in 2-3 weekends with one helper. Premium materials (vinyl, aluminum) take less time. Chain link is fastest but requires a stretcher tool to tension the mesh.
Fence cost permits and HOA
Most US jurisdictions require building permits for fences over 6 feet tall. Some require permits at any height. Front yard fences are typically limited to 4 feet maximum. Side and rear yard fences can go to 6 feet, with permit requirements for 8 feet or taller.
Permit fees run $50-$500 depending on city and fence size. Add $50-$200 for property survey if you don't have a current one. HOA approval is separate from city permit and required even for permit-exempt fence work in covenanted communities. Always check HOA covenants before starting — some prohibit certain materials or colors.
Building a fence over the property line is the most expensive fence mistake. A wrong-side-of-line fence often requires demolition and removal at owner cost, sometimes with damages to the neighboring property. Always have a current survey and confirm property pins before installing posts. Old fences are not reliable indicators of the legal line.
Fence cost estimating mistakes
The first mistake is forgetting waste factor. Material breaks during cutting and shipping. Always add 10 percent (15 percent for slopes or curves). The second mistake is underestimating post count. The gate posts and corner posts often get missed in initial counts, leaving the project short of structural materials.
The third mistake is skipping permit costs in the budget. Even $200 permit fees affect project economics on smaller fences. The fourth mistake is buying low-grade pressure-treated lumber. Ground-contact rated PT lumber lasts 20+ years; above-ground rated PT lumber rated for fence boards fails at the post-soil interface within 10 years.