On a loan or deposit, compound interest is calculated on the initial principal plus all accumulated interest from previous periods. When computing compound interest, the amount of compounding periods makes a big effect.