How it works:
The compound interest formula used is:
A = P(1 + r/n)^(nt) + PMT × (((1 + r/n)^(nt) - 1) / (r/n))
Where:
- A = Final amount
- P = Principal investment
- r = Annual interest rate
- n = Compounding frequency per year
- t = Time in years
- PMT = Monthly contribution