Learn the formula, follow worked examples and use the calculator to see how your money grows when interest earns interest.
Compounding turns small, steady savings into large balances because interest earns interest. Learn the formula, follow worked examples, compare compounding schedules, and test your own numbers with the calculator below to see how time and regular deposits shape your results.
Try the calculatorCompound interest calculator
After you learn how to calculate compound interest below, check your own numbers here. Add regular deposits to see the full effect.
Your numbers
Download your report
Balance vs. your deposits
Year-by-year breakdown
| Year | Total deposits | Interest earned | Balance |
|---|
What is compound interest?
Compound interest is interest calculated on your original money plus all the interest it has already earned. It is often called “interest on interest.”
That is why it grows faster each period. Knowing how to calculate compound interest helps you compare savings accounts, plan investments and understand what debt really costs.
Time is the key ingredient. The longer interest compounds, the larger the share of your balance that comes from interest, not from your own deposits.
Key ideas
- Interest is added to the balance
- New interest earns interest
- Time and rate matter most
- It works against you on debt
$10,000 at 6% for 30 years grows to $57,435 with annual compounding. Simple interest would reach only $28,000.
The compound interest formula
This single formula is the core of how to calculate compound interest. Every part has a plain meaning.
| Symbol | Meaning | Example |
|---|---|---|
| A | Final amount, also called future value | What you want to find |
| P | Principal, the starting amount | $5,000 |
| r | Annual interest rate as a decimal | 6% = 0.06 |
| n | Compounding periods per year | 12 for monthly |
| t | Time in years | 10 years |
| A − P | Interest earned | Final amount minus principal |
How to calculate compound interest step by step
Here is how to calculate compound interest for $5,000 at 6% a year, compounded monthly, for 10 years.
- Write the values. P = 5,000, r = 0.06, n = 12, t = 10.
- Divide the rate by n. 0.06 ÷ 12 = 0.005.
- Add 1. 1 + 0.005 = 1.005.
- Find the exponent. n × t = 12 × 10 = 120.
- Raise to the power. 1.005120 ≈ 1.819397.
- Multiply by the principal. 5,000 × 1.819397 ≈ $9,096.98.
- Subtract the principal. The interest earned is about $4,096.98.
Compound vs. simple interest
With simple interest the gain is the same every year. With compound interest it keeps growing. This table uses $10,000 at 6%, compounded annually.
| Years | Simple interest balance | Compound interest balance | Extra from compounding |
|---|---|---|---|
| 1 | $10,600.00 | $10,600.00 | $0.00 |
| 5 | $13,000.00 | $13,382.26 | $382.26 |
| 10 | $16,000.00 | $17,908.48 | $1,908.48 |
| 20 | $22,000.00 | $32,071.35 | $10,071.35 |
| 30 | $28,000.00 | $57,434.91 | $29,434.91 |
How compounding frequency changes the result
The more often interest compounds, the slightly more you earn. This table uses $10,000 at 6% for 10 years.
| Compounding | Periods per year | Final balance | APY |
|---|---|---|---|
| Daily | 365 | $18,220.29 | 6.183% |
| Monthly | 12 | $18,193.97 | 6.168% |
| Quarterly | 4 | $18,140.18 | 6.136% |
| Semiannually | 2 | $18,061.11 | 6.090% |
| Annually | 1 | $17,908.48 | 6.000% |
APY formula
APY = (1 + r ÷ n)n − 1. At 6% compounded monthly, APY is about 6.168%. Use APY to compare accounts.
Compound interest with regular deposits
Most people add money over time. Use the monthly rate i and the number of months N: FV = P × (1 + i)N + c × ((1 + i)N − 1) ÷ i. Here c is the monthly deposit. This table shows $200 a month at 7%, compounded monthly, starting from zero.
| Time | Total deposits | Final balance | Interest earned |
|---|---|---|---|
| 10 years | $24,000 | $34,617 | $10,617 |
| 20 years | $48,000 | $104,185 | $56,185 |
| 30 years | $72,000 | $243,994 | $171,994 |
| 40 years | $96,000 | $524,963 | $428,963 |
The Rule of 72 and doubling time
For a quick estimate, divide 72 by the annual rate. The result is the approximate number of years for your money to double.
| Annual rate | Rule of 72 estimate | Exact doubling time |
|---|---|---|
| 2% | 36.0 years | 35.0 years |
| 4% | 18.0 years | 17.7 years |
| 6% | 12.0 years | 11.9 years |
| 8% | 9.0 years | 9.0 years |
| 10% | 7.2 years | 7.3 years |
| 12% | 6.0 years | 6.1 years |
Solving for the rate, time or principal
You can rearrange the formula to find any missing value. Take logarithms for time and roots for the rate.
Find the principal
P = A ÷ (1 + r ÷ n)n × t. Use it to see what to invest today to reach a goal.
Find the rate
r = n × ((A ÷ P)1 ÷ (n × t) − 1). Try the interest rate calculator.
Find the time
t = ln(A ÷ P) ÷ (n × ln(1 + r ÷ n)). It tells you how long a goal will take.
How to calculate compound interest in Excel and Google Sheets
Spreadsheets do the work for you. These formulas use $10,000 at 6%, compounded monthly, for 10 years.
| Goal | Formula | Result |
|---|---|---|
| Future value, one deposit | =10000*(1+0.06/12)^(12*10) | $18,193.97 |
| Future value with monthly deposits | =FV(0.06/12, 12*10, -200, -10000) | $50,969.84 |
| Effective APY | =EFFECT(0.06, 12) | 6.168% |
| Years to double | =NPER(0.06/12, 0, -10000, 20000)/12 | 11.6 years |
| Rate needed to double in 10 years | =RATE(120, 0, -10000, 20000)*12 | 6.95% a year |
Compound interest on loans and credit cards
Compounding also grows what you owe. A $5,000 credit card balance at 22% with no payments grows to about $6,230 after a year if interest compounds daily, versus about $6,218 if it compounds monthly.
Pay balances in full
A card paid off each month does not accumulate interest.
Pay more than the minimum
Extra payments cut the balance that compounds. See the credit card interest calculator.
Check loan costs
Most installment loans accrue interest on the remaining balance. Try the loan interest calculator.
Real returns after inflation
Inflation lowers what your money can buy. The real rate is about (1 + nominal rate) ÷ (1 + inflation) − 1. With a 6% return and 3% inflation, your real return is about 2.91%.
Example
$10,000 at 6% for 20 years grows to $32,071. With 3% inflation, that buys what about $17,757 buys today.
Common mistakes to avoid
Most errors in how to calculate compound interest come from a few small slips.
- Using 6 instead of 0.06 for the rate.
- Forgetting to divide the rate by n.
- Mixing months and years in the exponent.
- Comparing a rate with an APY.
- Ignoring fees, taxes and inflation.
- Assuming a variable rate stays the same.
Quick check
Your answer should be larger than the principal and larger than the simple interest result.
Tips to make compounding work for you
You do not need a high income to benefit from compounding.
Start early
Time is the biggest lever. An extra decade can matter more than a higher rate.
Deposit regularly
Small monthly deposits add up. Project them with the savings interest calculator.
Compare APYs
Look at APY, not just the stated rate, when choosing accounts.
Reinvest earnings
Let interest and dividends stay in the account so they keep compounding.
Avoid high-rate debt
Paying off a 20% balance is a guaranteed 20% return.
Mind fees
A 1% fee each year can take a large share of your long-term growth.
Explore more calculators
Put the formula to work on savings, loans, rates and cards. Pick a tool below.
Frequently asked questions
Here are straightforward answers to the questions people ask most about compounding, formulas and real-world examples. Use them to check your understanding, avoid common mistakes, and decide how to put compound growth to work for your own savings and debt.
A = P × (1 + r ÷ n)n × t. A is the final amount, P the principal, r the annual rate as a decimal, n the compounding periods per year and t the years. Interest is A − P.
Convert the rate to a decimal, divide it by n, add 1, raise the result to the power n × t, then multiply by the principal. Subtract the principal to get the interest.
Simple interest is earned on the principal only. Compound interest is earned on the principal plus the interest already added, so growth speeds up over time.
More often is better for savers and worse for borrowers. Going from annual to daily compounding adds only a little, so the rate and the time matter much more.
APY is the effective yearly return after compounding: APY = (1 + r ÷ n)n − 1. Use it to compare accounts with different compounding schedules.
Add the future value of the deposits: FV = P × (1 + i)N + c × ((1 + i)N − 1) ÷ i, where i is the monthly rate, N is the number of months and c is the monthly deposit.
Divide 72 by the annual rate to estimate the years needed to double your money. At 6% it is about 12 years. It is a quick estimate, not an exact answer.
Use =FV(rate/n, n*years, -payment, -principal), or the direct formula =P*(1+r/n)^(n*t). =EFFECT(rate, n) returns the APY.
Rearrange the formula: r = n × ((A ÷ P)1 ÷ (n × t) − 1). Or use the interest rate calculator.
Yes. Interest on credit cards and some loans compounds on what you owe. Check the cost with the credit card interest calculator and the loan interest calculator.
Use the Rule of 72 for a quick estimate, or the exact formula t = ln(2) ÷ ln(1 + APY). At 7% APY it takes about 10.2 years.
Only on fixed-rate products such as CDs and some savings accounts. Investment returns vary, so the calculator shows what happens at a steady rate, not a promise.
Inflation reduces what your money can buy. The real return is about (1 + nominal rate) ÷ (1 + inflation) − 1. A 6% return with 3% inflation is about 2.9% in real terms.
In many countries, interest and investment gains are taxed. Rules differ by account type and place, so check with a tax professional before you plan around the numbers.
Use the savings interest calculator to project balances with regular deposits and see how different rates change the result.