Formulas to calculate Profit data