how to calculate profit for amazon