Skip

Compound Interest Explained: The Formula, Real Examples and How to Make It Work for You

How compound interest really works, the exact formula, worked examples from 1 to 40 years, the effect of fees, inflation and compounding frequency, and how much you need to invest to earn 1,000 a month.

·11 min read

A pile of coins on a table
Photo: Vyacheslav Argenberg, CC BY 4.0, Wikimedia Commons

Key takeaways

  • Compound interest means you earn interest on your interest. The formula is A = P(1 + r/n)^(nt).
  • 10,000 invested at 7% a year becomes about 76,123 after 30 years. Without compounding it would be only 31,000.
  • Time matters more than amount: starting 10 years earlier can more than double your final balance.
  • A 1% yearly fee can take about a quarter of your final wealth over 30 years.
  • The Rule of 72 gives a fast estimate: divide 72 by the rate to get the years needed to double your money.

Albert Einstein probably never called compound interest “the eighth wonder of the world”, but the idea behind the quote is true. Compound interest is the single most powerful force in personal finance. It quietly turns modest savings into large sums, and it quietly turns small debts into heavy ones.

This guide explains exactly how it works, with the formula, real numbers you can check, and the mistakes that cost people the most money. Every example can be reproduced with the compound interest calculator.

What compound interest is

When you save or invest, you earn a return on your money. With simple interest, that return is always calculated on the original amount. With compound interest, it is calculated on the original amount plus all the interest you have already earned.

Imagine you invest 1,000 at 10% a year:

  • Year 1: you earn 100 and now have 1,100.
  • Year 2: you earn 10% of 1,100, which is 110. You now have 1,210.
  • Year 3: you earn 10% of 1,210, which is 121. You now have 1,331.

The interest grows every year even though the rate never changes. That growing slice is “interest on interest”, and over long periods it becomes larger than everything else.

The compound interest formula

The standard formula is:

A = P × (1 + r/n)^(n × t)

  • A is the final amount.
  • P is the principal, the money you start with.
  • r is the yearly interest rate written as a decimal (7% = 0.07).
  • n is how many times per year interest is added (1 for yearly, 12 for monthly, 365 for daily).
  • t is the number of years.

The interest earned is simply A − P.

A step-by-step example

You invest 10,000 at 7% a year, compounded yearly, for 30 years.

  1. Rate per period: 0.07 / 1 = 0.07.
  2. Number of periods: 1 × 30 = 30.
  3. Growth factor: 1.07^30 = 7.6123.
  4. Final amount: 10,000 × 7.6123 = 76,122.55.

You put in 10,000 and earned 66,122.55 in interest. With simple interest at the same rate, you would have earned 7% × 30 = 210%, so only 21,000 of interest and a final amount of 31,000. Compounding more than doubled the result.

Adding monthly contributions

Most people do not invest one lump sum. They add money every month. The formula for regular contributions is:

FV = PMT × ((1 + i)^N − 1) / i

where PMT is the monthly deposit, i the monthly rate (yearly rate / 12) and N the number of months.

If you invest 200 a month at 7% for 30 years:

  • i = 0.07 / 12 = 0.005833
  • N = 360 months
  • (1.005833)^360 = 8.1165
  • FV = 200 × (8.1165 − 1) / 0.005833 = about 243,994

You deposited 72,000 in total (200 × 360). The other 171,994 is interest, more than twice what you put in yourself.

Simple interest vs compound interest

Years Simple interest at 5% Compound interest at 5% Difference
5 12,500 12,763 263
10 15,000 16,289 1,289
20 20,000 26,533 6,533
30 25,000 43,219 18,219
40 30,000 70,400 40,400

Starting amount: 10,000, yearly compounding.

In the first years the two lines almost overlap. After 20 years they separate quickly. This is why compound interest is often described as a curve that “bends upward”: the longer you wait, the steeper it gets.

Why time beats almost everything

The exponent in the formula is time. That makes the number of years the most powerful lever you control.

Consider two savers who both invest 300 a month at 7% until age 65:

  • Alex starts at 25 and invests for 40 years. Total deposited: 144,000. Final balance: about 787,000.
  • Sam starts at 35 and invests for 30 years. Total deposited: 108,000. Final balance: about 366,000.

Alex deposited only 36,000 more but ends with more than twice as much. The extra ten years at the start do the heavy lifting, because that early money has the longest time to compound.

The lesson is simple: start as early as you can, even with small amounts. A small amount invested for a long time often beats a larger amount invested late.

The Rule of 72: a mental shortcut

To estimate how many years it takes for money to double, divide 72 by the yearly rate:

  • At 6%: 72 / 6 = 12 years.
  • At 8%: 72 / 8 = 9 years.
  • At 12%: 72 / 12 = 6 years.

The exact answer uses logarithms: years = ln(2) / ln(1 + r). At 7%, the rule gives 10.3 years and the exact answer is 10.24 years. The rule is accurate enough for rates between about 4% and 15%. You can check any rate with the Rule of 72 calculator.

The rule also works backward. If prices rise 3% a year, the value of your cash halves in about 72 / 3 = 24 years.

How compounding frequency changes the result

Interest can be added yearly, quarterly, monthly or daily. More frequent compounding gives a slightly higher result, because interest starts earning interest sooner.

Compounding 10,000 at 5% for 10 years
Yearly 16,288.95
Monthly 16,470.09
Daily 16,486.65
Continuous 16,487.21

Going from yearly to monthly adds about 181. Going from monthly to daily adds only about 17. Beyond monthly, the frequency barely matters. The rate and the time matter far more than the frequency.

Nominal rate vs APY

Because of compounding frequency, banks show two numbers:

  • The nominal rate (or APR on loans) is the yearly rate before compounding.
  • The APY (annual percentage yield), also called the effective annual rate, includes compounding.

A 5% nominal rate compounded monthly gives an APY of 5.116%, because (1 + 0.05/12)^12 − 1 = 0.05116. When you compare savings accounts, compare the APY. You can convert any rate with the APY calculator.

The hidden enemies: fees, taxes and inflation

Compound interest works on your net return. Anything that reduces that return also compounds, against you.

Fees

Suppose your investment earns 7% a year, but you pay 1% in yearly fees. Your net return is 6%.

  • 10,000 at 7% for 30 years: 76,123.
  • 10,000 at 6% for 30 years: 57,435.

The 1% fee costs 18,688, which is about 25% of your final wealth. Fees look small because they are quoted per year, but they compound for decades. Low-cost index funds exist for exactly this reason.

Inflation

If your money earns 7% but prices rise 3% a year, your real return is not 4%. The exact formula is:

real return = (1 + nominal) / (1 + inflation) − 1

So (1.07 / 1.03) − 1 = 3.88%. That real return is the speed at which your purchasing power grows. Use the inflation calculator to see what a future amount is worth in today’s money.

Taxes

Taxes on interest and gains also reduce the compounding base. Tax-advantaged accounts (such as retirement accounts in many countries) let the full return compound for years before tax is paid. Over decades, the difference can be large, so they are usually the first place to invest.

How much do you need to invest to earn 1,000 a month?

This is one of the most searched questions about compound interest. The answer depends on how much you can safely withdraw each year.

A widely used guideline is the 4% rule: withdrawing 4% of a diversified portfolio in the first year, then adjusting for inflation, has historically lasted about 30 years in most periods.

To get 1,000 a month, you need 12,000 a year:

  • At a 4% withdrawal rate: 12,000 / 0.04 = 300,000.
  • At a 5% yield (for example, from bonds or deposits): 12,000 / 0.05 = 240,000.
  • At a 3% very cautious rate: 12,000 / 0.03 = 400,000.

How long does it take to reach 300,000? Investing 500 a month at 7% gets you there in roughly 22 years. Investing 1,000 a month gets you there in roughly 15 years.

Compound interest on debt

Compounding is neutral. It helps savers and it hurts borrowers.

A credit card with a 22% APR compounds monthly. If you carry a 5,000 balance and pay nothing, after one year you owe about 6,218, because (1 + 0.22/12)^12 = 1.2436. After three years it would be about 9,616.

This is why paying off high-interest debt is often the best “investment” available: every unit of debt repaid earns a guaranteed return equal to its interest rate. The credit card payoff calculator shows exactly how long it takes to clear a balance and how much interest you save by paying more each month.

Common mistakes to avoid

  1. Waiting for the “right moment” to start. Every year of delay costs a full year of compounding at the end, when the amounts are largest.
  2. Withdrawing gains early. Taking out the interest resets the base and turns compound growth back into simple growth.
  3. Ignoring fees. Compare total yearly costs, not just entry fees.
  4. Confusing nominal and real returns. A 7% return with 3% inflation is a 3.88% real return.
  5. Assuming a fixed return every year. Real investments go up and down. A long-term average of 7% can include several negative years.

Real markets are not a straight line

The formulas above assume the same return every year. Stock markets do not work that way. Some years gain 25%, others lose 15%. The average can be the same, but the order of good and bad years changes your result, especially near the end.

To see a realistic range of outcomes, the Monte Carlo investment simulator runs 2,000 random market paths with the average return and volatility you choose. It shows a median result, a bad case and a good case, and the probability of reaching your goal. This is how financial planners stress-test a plan.

Where to find compound interest

You benefit from compound interest in:

  • Savings accounts and term deposits, where interest is added and then earns interest.
  • Index funds and ETFs that reinvest dividends.
  • Retirement accounts, where gains compound before tax.
  • Bonds held to maturity, when coupons are reinvested.

You pay compound interest on:

  • Credit cards, the most expensive form of compounding for most households.
  • Some personal loans and overdrafts.
  • Unpaid balances on buy-now-pay-later plans after the free period.

What 1,000 a month becomes at different rates

The table below shows the value of investing 1,000 every month, with monthly compounding and no starting balance. Total deposits are 120,000 after 10 years, 240,000 after 20 years and 360,000 after 30 years.

Yearly rate After 10 years After 20 years After 30 years
4% 147,250 366,775 694,049
6% 163,879 462,041 1,004,515
8% 182,946 589,020 1,490,359
10% 204,845 759,369 2,260,488

Two patterns stand out. First, after 10 years the rate makes a modest difference: 147,250 at 4% versus 204,845 at 10%. After 30 years the gap is enormous: 694,049 versus 2,260,488. Second, at 8% over 30 years, more than three quarters of the final amount is interest, not money you deposited.

This is also why small differences in rate matter so much over long periods. Moving from 6% to 8%, for example by cutting fees or choosing a more growth-oriented allocation that suits your risk tolerance, adds almost 486,000 after 30 years in this example.

How long does it take to reach one million?

Investing 1,000 a month at 7%, compounded monthly, reaches 1,000,000 after about 330 months, roughly 27 and a half years. You will have deposited about 330,000. The rest, about 670,000, comes from compounding.

If you want one million in exactly 30 years at 7%, you need to invest about 820 a month. In 40 years, about 380 a month is enough. Every extra decade roughly halves the monthly effort needed, which is another way to see why time is your strongest ally.

Daily compound interest: does it matter?

Some savings accounts compound daily. Each day, the bank adds the yearly rate divided by 365 to your balance. On 10,000 at 5%, the first day’s interest is 10,000 × 0.05 / 365 = 1.37. The next day, interest is calculated on 10,001.37, and so on.

Over a full year, daily compounding at 5% gives an effective rate of 5.127%, compared with 5.116% for monthly compounding and exactly 5% for yearly compounding. The difference is real but small: about 1.10 per year on 10,000. When you choose an account, the headline rate and the absence of fees matter much more than daily versus monthly compounding.

How to calculate compound interest in Excel or Google Sheets

Spreadsheets have a built-in function called FV (future value):

=FV(rate, periods, payment, present_value)

For a monthly plan, divide the yearly rate by 12 and multiply the years by 12. Payments and the starting amount are entered as negative numbers, because they are money leaving your pocket.

Example: 10,000 to start, 200 a month, 7% a year, 30 years:

=FV(0.07/12, 360, -200, -10000)

The result is about 325,159: 81,165 from the starting amount and 243,994 from the monthly deposits. To see the interest only, subtract your total deposits (10,000 + 72,000 = 82,000), which gives about 243,159.

To build a year-by-year table, put the year in column A, the balance in column B, and use =B2*(1+rate)+yearly_contribution in each new row. The investment calculator produces this table and chart automatically.

A worked example for a child

Compound interest is one of the best gifts you can give a child, because a child has the longest possible time horizon.

If parents invest 100 a month from birth to age 18 at 6%, they deposit 21,600 in total. At 18, the account is worth about 38,736. If the money is then left untouched until age 30, with no new deposits, it grows to about 78,000 at the same rate. If it stays invested until 60, it becomes about 448,000, all from deposits that stopped at 18.

Starting early also teaches the habit. A teenager who sees their small savings grow every year understands compound interest better than any textbook explanation.

A simple plan to use compound interest

  1. Clear high-interest debt first. A guaranteed 20% saving beats an uncertain 7% gain.
  2. Build an emergency fund of three to six months of expenses, so you never have to sell investments at a bad time.
  3. Automate a monthly investment, even a small one, on the day you get paid.
  4. Choose low-cost, diversified funds and reinvest all income.
  5. Increase your monthly amount each time your income rises.
  6. Leave it alone. Time does the work.

Try it with your own numbers

The best way to understand compound interest is to play with it. Open the compound interest calculator, enter your starting amount, your monthly contribution, a realistic rate and the number of years. Then use the “What if?” simulation under the result to see how the final amount changes when you move the rate or the number of years. You will see the curve bend upward, and you will see why starting early matters so much.

Questions

What is compound interest in simple words?

It is interest calculated on your original money plus all the interest already added. Each period, the base grows, so the interest grows too.

How do I calculate compound interest?

Use A = P(1 + r/n)^(nt), where P is the starting amount, r the yearly rate as a decimal, n the number of compounding periods per year and t the number of years. The interest earned is A minus P.

How much interest will 10,000 earn at 3%?

300 in the first year. With yearly compounding it becomes 11,592.74 after 5 years and 13,439.16 after 10 years.

How much do I need to invest to earn 1,000 a month?

To withdraw 12,000 a year with the common 4% rule, you need about 300,000. At a 5% yield you would need about 240,000.

Is daily compounding much better than monthly?

Only slightly. On 10,000 at 5% for 10 years, monthly compounding gives 16,470.09 and daily compounding 16,486.65, a difference of about 17.

Does compound interest work against me with debt?

Yes. A 5,000 credit card balance at 22% APR, compounded monthly with no payments, grows to about 6,218 in one year.

Results are estimates for information only. Check important decisions with a professional.

Keep reading

New calculators in your inbox

Occasional news about new tools, guides and the mobile app. Unsubscribe whenever you like.