Profitability and cost analysis