Retirement Calculator
Estimate retirement fund with compound interest, monthly contribution, inflation adjustment, shortfall/surplus, recommended deposit. IDR/USD. 100% offline.
About this tool
A retirement planning calculator that projects your nest egg at retirement age using compound interest, then adjusts for inflation to show the real (today-money) value. The tool needs: current age, target retirement age, current savings, monthly contribution, expected annual return, inflation rate, life expectancy, and the monthly income you want in retirement (in today's money). It computes the nominal fund (raw future value), the real value (today's purchasing power), the required fund (using the standard annuity-present-value formula assuming the same real return rate), the shortfall or surplus, and โ if you are short โ the exact monthly deposit you would need to close the gap. The chart shows year-by-year nominal and real balance, with a horizontal line at the target. Presets for early-career starter, mid-career catch-up, and late-career last mile.
Details
- Category
- Finance & Business
- Version
- 1.0.0
- Size
- 20 KB
- Updated
- Jun 2026
Frequently Asked Questions
What is a realistic expected return?
For an Indonesian pension plan invested in a mix of stocks (IDX30 or reksadana saham), bonds (SBN ritel like ORI or SBR), and deposits, a 6-9% nominal annual return before inflation is a reasonable assumption for a 20-30 year horizon. Stocks historically return 8-11% nominal long-term, government bonds 6-7%, time deposits 4-5%. A 60/30/10 stock/bond/deposit mix might yield 7-8% nominal. Be conservative: if you assume 12% and only get 7%, your projection is off by 40%. Inflation in Indonesia has averaged 4-6% over the past two decades, so 4% is a reasonable forward assumption. If you want a stress test, run the calculator with 4% return and 6% inflation and see whether you are still on track.
Why is the "real value" lower than the nominal fund?
Inflation. The nominal fund is the raw future-value calculation: how much money you would have in nominal rupiah (or dollars) at retirement. The real value is what that money is worth in today's purchasing power. If you retire in 25 years with Rp 5 billion nominal and average inflation is 4%, the real value is roughly Rp 5B / (1.04)^25 โ Rp 1.87B. So you have Rp 5B on paper but it buys what Rp 1.87B buys today. The shortfall/surplus is calculated on the real value, because that is what determines whether you can actually maintain your desired lifestyle. The target needed is also in today's money, which is why the income you enter should be "in today's value" โ the tool inflates it implicitly through the real return calculation.
How is "needed fund" calculated?
The needed fund is the present value (in today's money) of the annuity you would draw down during retirement, assuming the same real return rate (nominal return minus inflation, compounded). If you want Rp 15M per month for 25 years of retirement and the real return is 4% annual (which compounds to about 0.33% monthly), the formula is: needed = 15M * (1 - (1.0033)^-300) / 0.0033 โ Rp 2.6B in today's money. If the real return is zero or negative, the formula simplifies to income * months. This is the standard annuity-present-value formula used in financial planning, and it assumes you draw down the fund to zero by the end of your life expectancy (a common assumption โ you can adjust by entering a higher life expectancy or longer retirement horizon to leave a bequest).
What if the recommended monthly deposit is much higher than what I can afford?
The tool gives you a math-optimal answer, not a budget answer. If the recommended deposit is 2x what you can afford, you have three options: (1) push your retirement age out (each extra year compounds massively), (2) lower your desired retirement income (a 20% reduction in target income cuts the needed fund by ~25% in present value terms), or (3) increase your expected return (risky โ that is a market bet, not a guarantee). The danger advice ("Target tidak realistis di Y tahun") fires when the required monthly exceeds 5x your current contribution; that is usually a sign you need to either delay retirement significantly or accept a lower lifestyle.
Is my financial data private?
Yes. The retirement calculator is pure client-side JavaScript inlined in the HTML. There are no network calls, no API uploads, no analytics, no CDN. Your age, current savings, monthly contribution, and expected return stay in your browser. The chart is generated inline as an SVG. You can run the tool on your real financial situation without any data being transmitted. If you want to compare scenarios, just change the inputs โ there is no save button because no save is needed; the inputs disappear when you close the tab.