Profit margin calculation method