Depending on the material you choose, fences cost $15 to $60 per linear foot installed — or $10 to $35 per linear foot for materials and $5 to $20 per linear foot for labor. If you're installing the fence in a particularly rocky or hilly area, labor costs may be higher