1618.dev

small tools, one committed a day

Compound interest

How much does a sum grow when its interest itself earns interest?

Formula

A = P (1 + r/n)nt

P = principal, r = annual rate (decimal), n = compounding periods per year, t = years. For continuous compounding: A = P · ert.