- ages are in years
- contribution, and savings are in dollars
- avg_annual_return is a ratio, so 1.07 is a 7% annual return
let's say I'm 25 years old, I am going to contribute $2000/yr in bonds (~5% return), and I've already invested $5700 in bonds
>>> retirement_calculator(25, 2000, 5700, avg_annual_return=1.05)
281727.48414409667
So I could expect to have $281,727 saved when I am 65 years old... uh oh ;).