Customer profitability is measured by subtracting allocated costs from customer revenue. The trick is to logically allocate costs - specifically…