Compound Interest Explained: The Formula, Real Examples, and the Rule of 72
Compound interest is interest earned on both your original money and the interest it has already earned. The SEC defines it as "interest paid on principal and on accumulated interest." The formula is A = P(1 + r/n)^(nt), and it means growth speeds up over time: $10,000 at 7% a year, compounded annually, grows to $19,672 in 10 years and $76,123 in 30, while simple interest on the same money reaches only $17,000 and $31,000.
Below you'll find the formula step by step, the effect of compounding frequency, the Rule of 72, a start-early comparison, and how the same math works against you on credit card debt. Every example uses a steady, hypothetical rate so you can check it with our Compound Interest Calculator. Real investment returns are not steady, and we cover what history says about that further down.
Simple Interest vs. Compound Interest
Suppose you invest $10,000 at 7% a year for 10 years.
With simple interest, you earn 7% on the original $10,000 every year, which is $700 a year. After 10 years you have $10,000 + ($700 ร 10) = $17,000.
With compound interest, you earn 7% on the growing balance. Year one pays $700. Year two pays 7% of $10,700, which is $749. Year three pays 7% of $11,449, which is $801.43. Each year's interest is bigger because it includes interest on earlier interest.
| Year | Simple interest balance | Compound interest balance | Difference |
|---|---|---|---|
| 0 | $10,000 | $10,000 | $0 |
| 5 | $13,500 | $14,026 | $526 |
| 10 | $17,000 | $19,672 | $2,672 |
| 20 | $24,000 | $38,697 | $14,697 |
| 30 | $31,000 | $76,123 | $45,123 |
| 40 | $38,000 | $149,745 | $111,745 |
After 30 years, compounding has produced more than twice what simple interest did ($76,123 versus $31,000), and the gap keeps widening. At 40 years the growth alone is $139,745, almost 14 times the original $10,000. If you only want the simple version, use our Simple Interest Calculator.
The Compound Interest Formula
A = P(1 + r/n)^(n ร t)
- A is the future value, what you end up with.
- P is the principal, your starting amount.
- r is the annual interest rate as a decimal (7% is 0.07).
- n is how many times interest compounds per year: 1 for annual, 4 for quarterly, 12 for monthly, 365 for daily.
- t is the number of years.
For $10,000 at 7% compounded monthly for 10 years: A = 10,000 ร (1 + 0.07/12)^120 = $20,096.61. That is $425 more than annual compounding gave over the same 10 years, because interest is added to the balance 12 times a year instead of once.
The effective annual rate, or APY, tells you what the compounding is worth in a single year: (1 + r/n)^n - 1. At 7% compounded monthly it is 7.229%.
How Often Interest Compounds
Here is $10,000 at 7% for 20 years with different compounding frequencies:
| Compounding | Formula | Final balance |
|---|---|---|
| Annually (n = 1) | 10,000 ร (1.07)^20 | $38,697 |
| Quarterly (n = 4) | 10,000 ร (1.0175)^80 | $40,064 |
| Monthly (n = 12) | 10,000 ร (1.005833)^240 | $40,387 |
| Daily (n = 365) | 10,000 ร (1.000192)^7300 | $40,547 |
| Continuous | 10,000 ร e^(0.07 ร 20) | $40,552 |
Going from annual to monthly compounding adds $1,691. Going from monthly to daily adds only $159, and even continuous compounding, the mathematical limit, adds just $5 more than daily. Once you are compounding monthly, the interest rate matters far more than the frequency.
The Rule of 72: A Quick Mental Shortcut
To estimate how long it takes to double your money, divide 72 by the annual return in percent:
Years to double โ 72 รท annual return (%)
| Annual return | Rule of 72 estimate | Exact years to double |
|---|---|---|
| 4% | 18.0 years | 17.7 years |
| 6% | 12.0 years | 11.9 years |
| 7% | 10.3 years | 10.2 years |
| 8% | 9.0 years | 9.0 years |
| 10% | 7.2 years | 7.3 years |
| 12% | 6.0 years | 6.1 years |
The estimate is within about four months of the exact answer from 4% to 12%. It works for prices too: the Bureau of Labor Statistics reported that consumer prices rose 3.4% over the 12 months ending August 2026, and at that pace prices would double in about 21 years (72 รท 3.4). One year's inflation is not a forecast, but the shortcut shows why keeping cash under a mattress loses ground. Our Inflation Calculator shows the historical buying-power change directly.
Compound Interest Working Against You: Credit Card Debt
The same math punishes debt. The Federal Reserve reports that credit card accounts assessed interest paid an average interest rate of 22.15% in the second quarter of 2026 (20.94% across all accounts). The CFPB notes that many issuers calculate interest daily on your average daily balance.
Take a $5,000 balance at 22% APR. Using the simple monthly method (APR รท 12), the first month's interest is $5,000 ร 0.22 รท 12 = $91.67. Now compare two ways to pay it off:
- Minimum payments only. With a minimum of 1% of the balance plus that month's interest (at least $25), payoff takes 19 years and 2 months and costs about $8,100 in interest.
- A fixed $300 a month. The balance is gone in 21 months and the interest is $1,022.
Issuers set their own minimum formulas, so check your card agreement. Some use a flat 2% of the balance, which can stretch payoff past 80 years at this rate. Either way the lesson is the same: a high rate compounding against you outruns almost any return you can earn, so pay down high-interest debt first. Try your own numbers in the Credit Card Payoff Calculator, and see our guide to paying off credit cards with the avalanche or snowball method.
The Impact of Starting Early: Age 25 vs. Age 35
Two people invest $300 a month at a steady 7%, compounded monthly, with deposits at the end of each month. Alex starts at 25 and Jordan starts at 35. Both stop at 65.
| Alex (starts at 25) | Jordan (starts at 35) | |
|---|---|---|
| Monthly contribution | $300 | $300 |
| Years investing | 40 | 30 |
| Total contributed | $144,000 | $108,000 |
| Balance at 65 | $787,444 | $365,991 |
| Growth from interest | $643,444 | $257,991 |
Alex contributed only $36,000 more than Jordan and ends with $421,453 more. That extra decade of compounding is worth more than the money itself.
Now a sharper version. Alex invests $300 a month from 25 to 35, then stops for good, contributing $36,000 in total. At 35, that account holds $51,925, and it compounds untouched for 30 more years to $421,453 at 65. Jordan invests $300 a month from 35 to 65 and has $365,991 after contributing $108,000. Alex still comes out $55,462 ahead while putting in one third of the money.
The lesson is not that you can skip saving after 35. It is that early dollars have the longest time to grow, so a small start beats a larger delayed one. Waiting 10 years to double your monthly amount does not catch up: $100 a month for 40 years grows to $262,481 (on $48,000 contributed), while $200 a month for 30 years reaches $243,994 (on $72,000).
Compound Interest With Regular Contributions
Most people add money regularly. With monthly deposits made at the end of each month, the balance is:
A = P(1 + i)^N + PMT ร [((1 + i)^N - 1) / i]
Here i is the monthly rate (annual rate รท 12), N is the number of months, and PMT is the monthly deposit. If you deposit at the start of each month instead, multiply the second term by (1 + i). For example, start with $5,000 and add $500 a month at 7% for 25 years (N = 300):
Starting $5,000: 5,000 ร (1.005833)^300 = $28,627
Monthly deposits: 500 ร [((1.005833)^300 - 1) / 0.005833] = $405,036
Total: $433,663
You deposited $155,000 ($5,000 + $500 ร 300), so $278,663 of the total is interest, about 1.8 times what you put in. You can run other scenarios, including start-of-month deposits, in the Compound Interest Calculator, and work backward from a target with the Savings Goal Calculator.
Is 7% Realistic?
Every table above assumes a steady 7%. Real returns swing. Damodaran's annual data shows the S&P 500 with dividends returning about 10.0% a year from 1928 through 2025 before inflation, or roughly 6.8% after adjusting for inflation (we calculated the real figure from his CPI series). It also shows losses in 26 of those 98 calendar years, including 43.8% in 1931 and 36.6% in 2008, and a gain of 52.6% in 1954. A 7% assumption is a reasonable long-run planning number for a broad stock portfolio, but nothing guarantees it, and savings accounts and bonds earn much less.
Practical Takeaways
- Start now, even if it is small. Time does more work than the amount, as the Alex and Jordan comparison shows.
- Pay off high-rate debt first. A card charging 22% compounds against you faster than a 7% investment compounds for you.
- Keep contributions steady. Withdrawals reduce the balance that earns future growth, and every missed deposit removes its own decades of compounding.
- Reinvest dividends and interest. Taking them as cash stops the compounding on that portion.
- Use tax-advantaged accounts. For 2026 the IRS limit is $24,500 for 401(k) employee contributions and $7,500 for IRAs (higher for those 50 and older). Tax-deferred or Roth growth avoids the yearly tax drag of a taxable account.
Browse more calculators in our finance calculators collection.
Frequently Asked Questions
What's the difference between APR and APY?
The stated interest rate (called APR on loans and cards) ignores compounding within the year. APY, the annual percentage yield, includes it. A 5% rate compounded monthly earns 5.12% APY, because (1 + 0.05/12)^12 - 1 = 5.116%. Banks must disclose APY on deposit accounts under Regulation DD, so compare APY when you shop for savings. For loans and credit cards, compare APR. You can check any rate with our APY Calculator.
Is 7% a realistic return for long-term investing?
It is a reasonable planning number, not a promise. From 1928 through 2025 the S&P 500 with dividends returned about 10.0% a year before inflation and about 6.8% after inflation, according to NYU Stern's Aswath Damodaran (inflation adjustment ours). The index lost money in 26 of those 98 years, including 43.8% in 1931 and 36.6% in 2008, so a 7% average says nothing about any single decade. Fees and taxes lower what you keep.
Can compound interest make me a millionaire?
It can, with time. Investing $500 a month at a steady 7% (compounded monthly, deposits at month end) passes $1 million after 36 years and 5 months, and reaches $1,312,407 after 40 years on $240,000 of deposits. Those are future dollars, though. At 3% inflation, $1,312,407 in 40 years buys what about $402,000 buys today. Returns will not be steady in real life.
Does compounding frequency really matter?
For savings, only a little. At 7% for 20 years, monthly compounding beats annual by $1,691 on $10,000, but daily beats monthly by only $159. What matters more is the stated rate. For debt the frequency matters more in relative terms: many card issuers apply a daily rate to your balance, so carrying a balance costs a bit more than the stated APR suggests.
Is compound interest taxed?
Usually, yes. Interest credited to a regular savings account, CD or bond is generally taxable income in the year it becomes available to you (IRS Topic 403), so taxes shave your effective growth rate. In a traditional 401(k) or IRA, tax is deferred until you withdraw. In a Roth IRA, qualified withdrawals are tax-free, which lets the growth compound without a tax drag.
Sources
- SEC Investor.gov: Compound interest (glossary)
- SEC Investor.gov: Compound Interest Calculator
- CFPB: Regulation DD, Appendix A, Annual Percentage Yield Calculation
- Damodaran, NYU Stern: Historical Returns on Stocks, Bonds and Bills (data updated January 2026)
- Federal Reserve: G.19 Consumer Credit, credit card interest rates (Q2 2026)
- CFPB: How does my credit card company calculate the amount of interest I owe?
- Bureau of Labor Statistics: Consumer Price Index Summary, August 2026
- IRS: 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500
- IRS: Topic no. 403, Interest received
- IRS: Roth IRAs