The compound interest formula multiplies the principal by (1 + rate per period) raised to the total number of periods. The rate per period is the annual rate divided by the number of compounding periods per year (r/n). The total number of periods is the compounding frequency multiplied by the number of years (n*t). Each period, interest is earned on the principal plus all previously earned interest — this accumulation is what separates compound from simple interest. Monthly compounding at 5% annual means r/n = 0.05/12 = 0.4167% per month, and over 3 years the exponent is 12*3 = 36. The result is the total balance — principal plus accumulated interest. To isolate the interest earned, subtract the original principal from the result. The
FV function achieves the same result in a different syntax: FV(r/n, n*t, 0, -P) where the principal is entered as negative because it represents a cash outflow.