Take the age of the unit and multiply it by the cost of the repair. Say your A/C unit is 10 years old and the repair will cost $300. The number would be $3,000, so a repair is practical. However, if the repair were to cost $600, for a total of $6,000, it would be worth replacing the system.