Repair calculator