# How do you calculate compound interest?

Verified: 2026-11-20
Canonical: https://answerkb.com/how-to/money/how-do-you-calculate-compound-interest/

Compound interest is calculated with A = P(1 + r/n)^(nt), where A is the amount, P is the principal, r is the annual interest rate as a decimal, n is the number of compounding periods per year, and t is the time in years.

## Explanation

Compound interest means interest is earned on both the original principal and on interest already added. Example: $1,000 at 5% compounded annually for 2 years uses n = 1, so A = 1000(1.05)^2 = $1,102.50. The interest earned is A - P = $102.50. If the same rate is compounded quarterly, n = 4, so A = 1000(1 + 0.05/4)^(4×2) = 1000(1.0125)^8 ≈ $1,104.86. Monthly compounding uses n = 12. If interest is compounded continuously, the formula is A = Pe^(rt), where e is the base of the natural exponential. The annual rate r must be written as a decimal (5% = 0.05), not as 5.

## Steps

1. **Identify P, r, n, and t.** P is the starting principal, r is the annual rate as a decimal, n is compounds per year, and t is time in years.
2. **Compute the periodic rate and the number of periods.** The periodic rate is r/n. The number of compounding periods is n × t.
3. **Evaluate A = P(1 + r/n)^(nt).** Subtract P from A if you need the interest earned rather than the final amount.

## Common queries

- How do I calculate compound interest?
- How to calculate compound interest?
- How can I calculate compound interest?
- How can you calculate compound interest?
- What's the way to calculate compound interest?
- What is the process to calculate compound interest?

## Related

### Easier
- [How do you find a percentage of a number?](https://answerkb.com/education/7/math/how-do-you-find-a-percentage-of-a-number/)

### Harder
None.

### Siblings
None.

## Sources

- [U.S. Securities and Exchange Commission, Investor.gov glossary: Compound interest](https://www.investor.gov/introduction-investing/investing-basics/glossary/compound-interest)
