Retirement Calculator

Estimate your expected assets at retirement by entering your investable assets, monthly contribution, the current rate of return, and years to retirement.

Compound Returns Formula

A = P(1+r/n)nt

  • A = final amount
  • P = initial principal balance
  • r = interest rate
  • n = number of times interest applied per time period
  • t = number of time periods elapsed

The operation which calculates results for the 'Retirement Calculator' is based upon a joint compounded returns formula (shown above) and is built in JavaScript using functions, loops, and arithmetic operators. In addition, JavaScript uses 64-bit floating-point numbers, providing approximately 16 decimal digits of precision.

Read more about how continuously compounded returns are calculatedhere.