how to calculate profitability - Search