The formula for the amount of money in an interest-bearing account that is compounded is
where A is the total amount in the account, p is the amount of principal invested, r is the interest rate as a decimal number, n is the number of times per year interest is compounded, and t is the number of years. Using our information we have: