How does compound interest work?

Compound interest is the interest calculated on the initial principal and also on the accumulated interest from previous periods. It causes an investment or debt to grow at an accelerating rate because earnings themselves begin to earn interest, leading to exponential growth over time.