Profit margin calculator