Compound interest is the interest on a loan or deposit calculated based on both the initial principal and the accumulated interest from previous periods.