How it works
Compound interest is calculated using A = P(1 + r/n)^(nt), where P is your starting principal, r is the annual interest rate, n is how many times per year interest compounds, and t is the number of years. Unlike simple interest, each period's interest gets added to the principal, so future interest is calculated on a growing base.