Calculation of Investment Amount