Skip to main content
By Baljeet Aulakh|Updated February 23, 2026|10 min read

How Does Compound Interest Work? The Math That Builds (or Destroys) Wealth

Compound interest earns you interest on your interest. Invest $10,000 at 7% and leave it alone for 30 years. With simple interest, you get $31,000. With compound interest, you get $81,165 — an extra $50,165 you earned because your gains kept generating their own gains. That snowball effect is why Einstein allegedly called it the eighth wonder of the world.

The Simple Explanation

You deposit $10,000 into an account that earns 7% per year. After year one, you earn $700 in interest. Your balance is now $10,700.

Here is where compounding kicks in. In year two, you earn 7% on $10,700, not $10,000. That is $749 in interest instead of $700. You earned an extra $49 just because last year's interest stayed in the account.

By year three, you are earning interest on $11,449. The gap widens every year. After 10 years, you are earning $1,341 per year in interest — almost double the $700 you earned in year one. After 30 years, you are earning over $5,300 per year in interest, on an original investment of just $10,000. That is the compounding snowball.

The Formula (With Real Numbers)

The compound interest formula is:

A = P(1 + r/n)nt

Where:

  • A = final amount
  • P = principal (starting amount) — $10,000
  • r = annual interest rate as a decimal — 0.07
  • n = number of times interest compounds per year — 12 (monthly)
  • t = number of years — 30

Now plug in the numbers:

A = 10,000 (1 + 0.07/12)12 x 30

A = 10,000 (1.005833)360

A = 10,000 x 8.1165

A = $81,165

You put in $10,000. You got back $81,165. The other $71,165 was interest earned on interest. You did not add a single dollar. The math did the work.

$10,000 at 7%: Year-by-Year Growth

This table shows your $10,000 growing at 7% compounded monthly — with and without adding $200 per month along the way. The “You Put In” column shows total contributions. Everything above that line is free money from compounding.

YearNo Contributions+ $200/moYou Put InInterest Earned
5$14,176$28,495$22,000$6,495
10$20,097$54,714$34,000$20,714
15$28,489$91,882$46,000$45,882
20$40,387$144,573$58,000$86,573
25$57,254$219,269$70,000$149,269
30$81,165$325,159$82,000$243,159

*7% annual return compounded monthly. The S&P 500 has averaged approximately 10% nominal (7% after inflation) over the past 50 years, per NYU Stern data.

Look at the interest earned column. After 10 years, compounding contributed $20,714. After 30 years, it contributed $243,159 — nearly three times what you put in. The longer the timeline, the more compounding dominates. That is the whole game.

Compound vs Simple Interest

Simple interest pays you the same flat amount every year: 7% of $10,000 = $700, every year, forever. Your balance grows in a straight line. Compound interest pays you 7% of whatever your balance is, including past interest. Your balance grows on a curve.

The difference starts small and becomes enormous:

YearSimple InterestCompound InterestExtra From Compounding
5$13,500$14,176$676
10$17,000$20,097$3,097
15$20,500$28,489$7,989
20$24,000$40,387$16,387
25$27,500$57,254$29,754
30$31,000$81,165$50,165

*Both start with $10,000 at 7%. Simple = $700/year flat. Compound = 7% compounded monthly.

After 5 years, the difference is only $676 — barely noticeable. After 30 years, it is $50,165. Compounding is not magic. It is patience. The returns are backloaded. Most of the money is made in the last 10 years.

The $5 Latte That Becomes $183,000

The “latte factor” gets mocked, but the math is real. $5 per day is $150 per month. Invest $150/month at 7% for 30 years and you end up with $182,996.

You contributed $54,000 over 30 years. Compounding added $128,996 on top of that. Your daily coffee habit, redirected, turned into a six-figure nest egg.

This is not about shaming coffee drinkers. It is about understanding what small, recurring amounts become when compound interest has decades to work. $5/day is the example. The principle applies to any recurring expense you could redirect: unused subscriptions, impulse purchases, food delivery fees.

How Compound Interest Works Against You

Every dollar of credit card debt you carry compounds against you at rates that would make any investor drool. The same math that grows your savings destroys your wealth when you are on the wrong side of it.

Take a $5,000 credit card balance at 19.99% APR. If you make only the minimum payment (2% of the balance or $25, whichever is greater), here is what happens:

  • Time to pay off: 43+ years
  • Total amount paid: $25,151
  • Total interest paid: $20,151
  • Interest-to-principal ratio: You paid 4x the original debt in interest alone

Read that again. A $5,000 shopping spree becomes a $25,151 bill. The credit card company earns more than four times your original balance. That is compound interest working for them and against you.

This is why paying off high-interest debt is the single best “investment” most people can make. Paying off a 19.99% credit card is the equivalent of earning a guaranteed 19.99% return on your money. No stock, bond, or real estate investment comes close to that guarantee.

The Cost of Waiting: 22 vs 32

This is the part that should keep you up at night if you have been putting off investing. Two people both invest $200/month at 7% until age 62. The only difference is when they start.

Starts at 22Starts at 32
Years investing4030
Monthly contribution$200$200
Total contributed$96,000$72,000
Balance at 62$524,963$243,994
Interest earned$428,963$171,994

The 22-year-old contributed only $24,000 more than the 32-year-old. But that extra decade of compounding turned into $280,969 more at retirement. The person who started at 22 ends up with more than double the money.

Put differently: those 10 years of $200/month contributions ($24,000 total) generated $256,969 in additional compound interest. Every dollar invested in your 20s is worth roughly $11 at retirement. Every dollar invested in your 30s is worth about $5. The decade you skip does not just delay your wealth — it permanently cuts it in half.

This is not about guilt. If you are 35 and just starting, you are still ahead of most people. The second best time to start is today. But if you are 22 and reading this, understand what you have: time is your most valuable financial asset, and you cannot buy more of it later.

Frequently Asked Questions

How does compound interest differ from simple interest?
Simple interest is calculated only on your original principal. Compound interest is calculated on your principal plus all previously earned interest. On $10,000 at 7% over 30 years, simple interest earns you $21,000 in interest ($31,000 total). Compound interest earns you $71,165 in interest ($81,165 total). The difference is $50,165 — money earned purely because your interest earned interest.
How often is compound interest calculated?
It depends on the account. Savings accounts and CDs typically compound daily. Investment accounts compound based on when returns are reinvested, often treated as monthly or annual compounding. Credit cards compound daily on unpaid balances. The more frequently interest compounds, the faster your money grows (or your debt grows). The difference between annual and daily compounding on $10,000 at 7% over 30 years is roughly $4,700.
What is the compound interest formula?
The compound interest formula is A = P(1 + r/n)^(nt), where A is the final amount, P is the principal (starting amount), r is the annual interest rate as a decimal, n is the number of times interest compounds per year, and t is the number of years. For example, $10,000 at 7% compounded monthly for 30 years: A = 10000(1 + 0.07/12)^(12 x 30) = 10000(1.005833)^360 = $81,165.
How much will $10,000 grow with compound interest?
$10,000 invested at 7% annual return compounded monthly grows to $14,176 after 5 years, $20,097 after 10 years, $40,387 after 20 years, and $81,165 after 30 years. If you also contribute $200 per month, those numbers jump to $28,495 after 5 years, $54,714 after 10 years, $144,573 after 20 years, and $325,159 after 30 years.
Can compound interest work against you?
Yes, compound interest works against you with debt. A $5,000 credit card balance at 19.99% APR with minimum payments takes over 43 years to pay off. You would pay $25,151 total — more than five times the original balance. The same math that builds wealth in a savings account destroys it on a credit card. The key difference is whether you are earning compound interest or paying it.

Run Your Own Compound Interest Numbers

Plug in your starting amount, monthly contribution, expected return, and timeline. See exactly how much compounding adds to your total — and what waiting costs you.