Hi,
I want the Retirement corpus formula to calculate Monthly expense in first year post retirement (Rs),Sum required on retirement to continue with present lifestyle (i.e. retirement corpus) (Rs) and Monthly savings required from today to reach the retirement corpus (Rs).. It should be exactly like below link. I want this to implement it in my site.

http://www.dspblackrock.com/resource...t-planner.aspx

Followings are the inputs used to calculate the aboves:

Your present age (years) :

Your present monthly expenses (Rs) :

Number of years left for retirement (years) :

Annual inflation rate by which you expect
your monthly expenses to increase by (%) :

Your expected life expectancy (years) :

Annual return you expect to earn on your
retirement corpus pre- retirement (%) :

Annual return you expect to earn on your
retirement corpus post - retirement (%)