Calculate EXP for individual heroes or a full squad. Subtract your inventory once from the combined upgrade budget.