The cost of replacing a whole AC unit ranges from $3,000 to $7,000, with the average being $5,000. This equates to between $25 to $60 per square foot. Prices are determined by the size and brand of the HVAC system, the size of the house, the length of the ductwork and the efficiency rating of the new unit.