Find out how much you need to retire in 15 mins: build your own calculator!

Published: February 27, 2019 at 10:07 am

Last Updated on February 12, 2022 at 6:18 pm

If you do not trust retirement calculators or would like customize calculations, or would like to understand how they work, here is how you build your own in just 15 minutes! So let us get right into it. You can watch the video version linked below in case few steps are hard to implement.

Inputs necessary for retirement planning calculation

  1. Current age, say 30
  2. Age at which you want to stop working, say 55
  3. Age at which you are likely to die, say 85
  4. Current post-tax annual income, say 12 lakh
  5. Current annual expenses, say 60% of post-tax annual income, 7.1 lakh
  6. Rate at which salary grows each year, say 5%
  7. Rate at which expenses grow each year (= inflation), say 6%
  8. post retirement return on entire corpus after tax, say 8%
  9. post-tax entire portfolio return expected on investments to achieve the retirement corpus by retirement age, say 10%

Find out how much you need to retire in 15 mins: build your own calculator!

Step 1: create an income and expense cash flow projection

Use the above assumptions to create the following columns on Excel or Google spreadsheet

formulae for create an income and expense cash flow projection


Join over 32,000 readers and get free money management solutions delivered to your inbox! Subscribe to get posts via email!
🔥Enjoy massive discounts on our robo-advisory tool & courses! 🔥

The result will look like this

create an income and expense cash flow projection the numbers

The salary will be projected up to age 55 and the expenses up to age 85.

Step 2: finding the retirement corpus needed

Add two new columns as shown below. Set the post retirement income from age 56 to 85 to be equal to the expenses. In the retirement corpus column, enter a random number, say one crore as the corpus at age 55 (year end). In the picture below, this number is 75921705. In the cell below, notice that we have removed the entire years expenses from the corpus and the rest grows at 8%. You can wach the video for more clarity on this.

formulae for post retirement income calculation

This is how the numbers would look

the numbers used in post retirement income generation

The cell in yellow has a random number which will be varied as below. OUr goal is to ensure the corpus goes to zero only at age 85 (blue cell).

Step 3 using goal seek to find the retirement corpus

Now to find the retirement corpus, that is the value of the yellow cell that will make the blue cell zero, go to data –> what if analysis —-> goal seek.

using goal seek to find the retirement corpus

When you click the goal seek button a small window will open as shown below.

how to use goal seek to find retirement corpus in excel

In the window, the set cell entry should the address of the blue cell. The value is zero and the changing cell should the address of the yellow cell. When you click ok, excel will change the value of yellow cell until the blue cell goes to zero as shown above. This will happen so fast that you cannot notice it. Please recognise that this happens because the blue cell depends on the yellow cell via the formula in the cells in between.

Step 4 finding the investment amount necessary

Now that we know the retirement corpus needed, we find the amount to be invested each year so that by age 55, the investment value is equal to greater than the retirement corpus necessary.

formula to find the investment amount necessary

So we add another column, value of the retirement corpus. We assume 30% of the annual salary will be invested towards retirement each year. This number can be changed to suit personal requirements. The cell $G$1 refers to the investment return = 0.1 = 10% (cell g1)

matching investment value to retirement corpus to find the investment amount necessary

The return in cell G1 and the fraction of the annual income to be invested (30% above) should be adjusted so that the green cell is equal to or above the yellow cell. The green cell is the projected final investment value and the yellow cell is the corpus determined by using goal seek. The retirement calculation is deemed as complete then. If you change any of the numbers do not forget to use goal seek again to recalculate the corpus (yellow cell).

Your calculation is right if your get the following plot. Notice that the investment curve should go and touch the retirement corpus.

completed retirement planning calculation

Watch the video version

Download resources

The sheet used for the above demonstration

This is a basic calculation. It does not take into account additional sources of income, guaranteeing income with a pension or for a set number of years. It does not take into account risk management with variable asset allocation. These are automatically handled in the freefincal robo advisory template

Do share this article with your friends using the buttons below.

🔥Enjoy massive discounts on our courses, robo-advisory tool and exclusive investor circle! 🔥& join our community of 5000+ users!
Use our Robo-advisory Tool for a start-to-finish financial plan! More than 1,000 investors and advisors use this!
New Tool! => Track your mutual funds and stock investments with this Google Sheet!
We also publish monthly equity mutual funds, debt and hybrid mutual funds, index funds and ETF screeners and momentum, low-volatility stock screeners.
Follow Freefincal on Google News
Follow Freefincal on Google News
Subscribe to the freefincal Youtube Channel. Subscribe button courtesy: Vecteezy.
Subscribe to the freefincal Youtube Channel.
Follow freefincal on WhatsApp Channel
Follow freefincal on WhatsApp
Podcast: Let's Get RICH With PATTU! Every single Indian CAN grow their wealth! 
Listen to the Lets Get Rich with Pattu Podcast
Listen to the Let's Get Rich with Pattu Podcast
You can watch podcast episodes on the OfSpin Media Friends YouTube Channel.
Lets Get RICH With PATTU podcast on YouTube
Let's Get RICH With PATTU podcast on YouTube.

  • Do you have a comment about the above article? Reach out to us on Twitter: @freefincal or @pattufreefincal
  • Have a question? Subscribe to our newsletter using the form below.
  • Hit 'reply' to any email from us! We do not offer personalized investment advice. We can write a detailed article without mentioning your name if you have a generic question.

Join over 32,000 readers and get free money management solutions delivered to your inbox! Subscribe to get posts via email!

About The Author

Pattabiraman editor freefincalDr M. Pattabiraman(PhD) is the founder, managing editor and primary author of freefincal. He is an associate professor at the Indian Institute of Technology, Madras. He has over ten years of experience publishing news analysis, research and financial product development. Connect with him via Twitter(X), Linkedin, or YouTube. Pattabiraman has co-authored three print books: (1) You can be rich too with goal-based investing (CNBC TV18) for DIY investors. (2) Gamechanger for young earners. (3) Chinchu Gets a Superpower! for kids. He has also written seven other free e-books on various money management topics. He is a patron and co-founder of “Fee-only India,” an organisation promoting unbiased, commission-free investment advice.
Our flagship course! Learn to manage your portfolio like a pro to achieve your goals regardless of market conditions! More than 3,000 investors and advisors are part of our exclusive community! Get clarity on how to plan for your goals and achieve the necessary corpus no matter the market condition is!! Watch the first lecture for free!  One-time payment! No recurring fees! Life-long access to videos! Reduce fear, uncertainty and doubt while investing! Learn how to plan for your goals before and after retirement with confidence.
Our new course!  Increase your income by getting people to pay for your skills! More than 700 salaried employees, entrepreneurs and financial advisors are part of our exclusive community! Learn how to get people to pay for your skills! Whether you are a professional or small business owner who wants more clients via online visibility or a salaried person wanting a side income or passive income, we will show you how to achieve this by showcasing your skills and building a community that trusts and pays you! (watch 1st lecture for free). One-time payment! No recurring fees! Life-long access to videos!   
Our new book for kids: “Chinchu Gets a Superpower!” is now available!
Both boy and girl version covers of Chinchu gets a superpower
Both the boy and girl-version covers of "Chinchu Gets a superpower".
Most investor problems can be traced to a lack of informed decision-making. We made bad decisions and money mistakes when we started earning and spent years undoing these mistakes. Why should our children go through the same pain? What is this book about? As parents, what would it be if we had to groom one ability in our children that is key not only to money management and investing but to any aspect of life? My answer: Sound Decision Making. So, in this book, we meet Chinchu, who is about to turn 10. What he wants for his birthday and how his parents plan for it, as well as teaching him several key ideas of decision-making and money management, is the narrative. What readers say!
Feedback from a young reader after reading Chinchu gets a Superpower (small version)
Feedback from a young reader after reading Chinchu gets a Superpower!
Must-read book even for adults! This is something that every parent should teach their kids right from their young age. The importance of money management and decision making based on their wants and needs. Very nicely written in simple terms. - Arun.
Buy the book: Chinchu gets a superpower for your child!
How to profit from content writing: Our new ebook is for those interested in getting side income via content writing. It is available at a 50% discount for Rs. 500 only!
Do you want to check if the market is overvalued or undervalued? Use our market valuation tool (it will work with any index!), or get the Tactical Buy/Sell timing tool!
We publish monthly mutual fund screeners and momentum, low-volatility stock screeners.
About freefincal & its content policy. Freefincal is a News Media Organization dedicated to providing original analysis, reports, reviews and insights on mutual funds, stocks, investing, retirement and personal finance developments. We do so without conflict of interest and bias. Follow us on Google News. Freefincal serves more than three million readers a year (5 million page views) with articles based only on factual information and detailed analysis by its authors. All statements made will be verified with credible and knowledgeable sources before publication. Freefincal does not publish paid articles, promotions, PR, satire or opinions without data. All opinions will be inferences backed by verifiable, reproducible evidence/data. Contact information: letters {at} freefincal {dot} com (sponsored posts or paid collaborations will not be entertained)
Connect with us on social media
Our publications

You Can Be Rich Too with Goal-Based Investing

You can be rich too with goal based investingPublished by CNBC TV18, this book is meant to help you ask the right questions and seek the correct answers, and since it comes with nine online calculators, you can also create custom solutions for your lifestyle! Get it now.
Gamechanger: Forget Startups, Join Corporate & Still Live the Rich Life You Want Gamechanger: Forget Start-ups, Join Corporate and Still Live the Rich Life you wantThis book is meant for young earners to get their basics right from day one! It will also help you travel to exotic places at a low cost! Get it or gift it to a young earner.

Your Ultimate Guide to Travel

Travel-Training-Kit-Cover-new This is an in-depth dive into vacation planning, finding cheap flights, budget accommodation, what to do when travelling, and how travelling slowly is better financially and psychologically, with links to the web pages and hand-holding at every step. Get the pdf for Rs 300 (instant download)