Calculate how your money grows when interest is added to both your principal and previously earned interest.
A = P (1 + r/n)nt
A = Final Amount
P = Principal Amount
r = Annual Interest Rate in decimal form
n = Number of times interest is compounded per year
t = Time in Years
Compound Interest = A - P