Compound Interest: Example 2. Calculate the compound interest based on twice-yearly compounding for a five-year investment, based on an interest of 2.5%.