Installing carpet in a home typically costs $3.50 to $11 per square foot, according to homeadvisor.com. To cover 500 square feet, materials and installation could cost $1,750 to $5,500. Carpeting lasts five to 15 years on average, with high traffic areas wearing down faster than low traffic areas.