Clue
There is a formula you can use for calculating compound interest but it needs to be used with care.
It is:
where:
A = the new amount including the interest at the end of the investment or loan
P = original amount invested or borrowed (the principal)
r = the interest rate for each time period
n = the number of time periods
P = original amount (the principal)