Calculating profit per unit