What size is your unit in tons ? ( 3, 4, 5 ect) Also I am assuming you have an older system which will more than likely meen you will need to replace the condenser (unit outside) and the evaporator coil ( inside portion of the cooling system) as a set. This does not take into account replacing the heater/ blower assembly which may need replacement also depending on age and condition. Size will have a effect on cost along with the brand name unit you are purchasing along with it's efficency rating (Seer rating).
If the unit is more than 15 years old I would not recommend just replacing the evaporator coil. There is also a refrigerant concern as with the older units R-22 was used and is now extremely expensive and being phased out. Replacing the entire cooling portion of the system can be costly, for a 2.5 ton unit anywhere from $1800- $4000 depending on the brand name, efficiency rating and labor charge.