How to calculate diffrent rates of returns