jay jerome answered S = D x [ (1 + r ) n ]D = amount depositedr = monthly interest rate (APR/12)n = number of months deposited. S = amount after n months. Interest earned = S - D