How does compound interest calculate investment growth?

Compound interest calculates earnings not only on the initial principal but also on the accumulated interest from previous periods. This mechanism leads to exponential growth over time, as the interest itself begins to earn interest, accelerating the rate of return on an investment or debt.