How To Calculate Gain Or Loss