CALCULATE PROFIT