The cost to replace a central air conditioner is about $5,000. However, this price varies depending on the size of your home and the difficulty of the project. It can cost as much as $12,500 to replace an AC unit. The labor required to remove and dispose of the old system adds to the price. The size of your home, brand of AC unit and ductwork complexity can all raise the cost as well.
An air conditioning system, or a standalone air conditioner, provides cooling and humidity control for all or part of a building. Air conditioned buildings often have sealed windows, because open windows would work against the system intended to maintain constant indoor air conditions. Outside, fresh air is generally drawn into the system by a vent into the indoor heat exchanger section, creating positive air pressure. The percentage of return air made up of fresh air can usually be manipulated by adjusting the opening of this vent. Typical fresh air intake is about 10%.
R-22 Freon is being phased out & isn't readily available. So the service company may only purchase as needed and the lack of availability would make their cost high. But, as long as they can get it, whatever the cost, unfortunately, is less expensive than replacing the A/C. Which will be the case eventually since it's no longer manufactured or sooner as in my case with a not so old a/c that sprang a leak, that would have been just a repair, but since it uses R-22 the whole unit has to be upgraded(replaced).  
In addition to the information below, see these two articles for the general care and maintenance of your air conditioner: Preparing Your Air Conditioner for Summer and How to Replace Furnace & AC Filters. Most noteworthy, you should replace the filters at least twice a year, before the heating and cooling seasons. For information on furnace problems, please see Furnace Not Working.
×