Compound Interest is interest calculated on both the initial principal and the accumulated interest. A is final Amount, P is Principal, r is annual rate (decimal), n is compoundings per year, t is years.