How to Calculate Compound Interest
Compound interest is interest calculated on both the original principal and the accumulated interest from previous periods — interest earning interest. This compounding effect is what separates long-term investing from keeping money in a mattress. The longer the time horizon and the higher the compounding frequency, the more dramatically compound interest outpaces simple interest.
Last updated: March 31, 2026
The Formula
A = P × (1 + r/n)^(n×t) Interest Earned = A − P
Variable Definitions
| Symbol | Name | Description |
|---|---|---|
| A | Final Amount | The total value at the end of the period, including principal and all interest |
| P | Principal | The initial amount invested or deposited |
| r | Annual Interest Rate | The yearly rate expressed as a decimal — e.g., 6% = 0.06 |
| n | Compounding Frequency | How many times per year interest is compounded: annually=1, semi-annually=2, quarterly=4, monthly=12, daily=365 |
| t | Time | The number of years the money is invested or borrowed for |
Step-by-Step Example
You invest $8,000 at an annual interest rate of 5.5%, compounded quarterly, for 12 years. How much will the investment be worth?
Given
Solution
- 1Calculate the periodic rate (r ÷ n):
0.055 ÷ 4 = 0.01375 - 2Calculate the total number of compounding periods (n × t):
4 × 12 = 48 periods - 3Calculate the growth factor (1 + r/n)^(n×t):
(1.01375)^48 ≈ 1.9253 - 4Multiply principal by growth factor:
8,000 × 1.9253 = $15,402 - 5Calculate interest earned:
$15,402 − $8,000 = $7,402
After 12 years, the investment grows to $15,402. You earned $7,402 in interest — nearly as much as the original principal.
Ready to calculate?
Use the free Compound Interest Calculator — instant results, no sign-up.
Common Mistakes to Avoid
Using the full annual rate directly without dividing by n — monthly compounding requires dividing the annual rate by 12 before applying it.
Confusing compound interest with simple interest — simple interest only applies the rate to the original principal: Interest = P × r × t.
Forgetting that this formula does not account for regular contributions (deposits or withdrawals). For recurring contributions, the future value of an annuity formula is needed.
Using a percentage (e.g., 6) instead of a decimal (0.06) for the rate variable.