The answer to 'average cost of fence' is that the typical range for a basic wood or vinyl fence installation is between $10 to $30 per linear foot, depending on the materials, style, and complexity of the project. Factors that can influence the cost include the fence height, length, post spacing, gate installation, and any site preparation or grading required. It's essential to get multiple local quotes to understand the pricing in your specific area, as costs can vary significantly by region and contractor.
More elaborate fencing materials like wrought iron or aluminum can cost $20 to $50 per linear foot, while custom or specialty fences may be even higher. The total project cost can range from $2,000 to $15,000 or more, depending on the size of your property and the fencing you choose. Consulting a local fencing contractor is the best way to get an accurate estimate for your home.