Future value of regular contributions with compound interest. The power of consistent investing over decades.
FV = PV(1+r)^n + PMT × [(1+r)^n - 1] / r
r = monthly return, n = total months
// Future Value of regular contributions
function futureValue(pmt, annualReturn, years, currentBalance) {
const r = annualReturn / 100 / 12; // monthly rate
const n = years * 12; // total months
// FV of current balance
const fvCurrent = currentBalance * Math.pow(1 + r, n);
// FV of monthly contributions (annuity)
const fvContrib = pmt * (Math.pow(1 + r, n) - 1) / r;
return fvCurrent + fvContrib;
}
// Example: $1000/mo, 7% return, 30 years, $50k start
// fvCurrent = 50000 * (1.00583)^360 = ~$402,552
// fvContrib = 1000 * ((1.00583)^360 - 1) / 0.00583
// = ~$1,209,195
// Total = ~$1,611,747