This computation assumes that your corpus post retirement only earns at inflation rate.
Before you think about investing or retirement I would suggest read following two books.
I also find following two resources very useful.
- Value Research This is my go to tool for mutual funds.
- Free Fincal This seems like a good tool but I find it hard to understand.