M5Mine to FiveHours after five
Satellite view of the United States at night, lit by its cities

Compound Interest Explained with Real Examples

How compound interest works, the formula with step-by-step math, a growth table over 40 years, and what waiting 10 years to start can cost.

Compound interest is what happens when your money earns a return, and then that return starts earning a return of its own. Over a few months the effect is barely noticeable. Over decades it can become the largest part of your balance.

The same force works against you when you borrow. Unpaid credit card interest is added to your balance, and then you pay interest on that interest too. Understanding compounding is one of the most useful pieces of financial knowledge you can have, whether you are saving, investing or paying off debt.

This guide explains the idea in plain language, walks through the formula with real numbers, shows a growth table over time, and puts a dollar figure on the cost of waiting.

Simple interest vs compound interest

The easiest way to see compounding is to compare it with simple interest.

Simple interest is paid only on the original amount (the principal). If you put $1,000 somewhere paying 5% simple interest, you earn $50 every year, no matter how long you wait.

Compound interest is paid on the principal plus any interest already earned. Here is $1,000 at 5% compounded once a year:

Year Starting balance Interest (5%) Ending balance
1 $1,000.00 $50.00 $1,050.00
2 $1,050.00 $52.50 $1,102.50
3 $1,102.50 $55.13 $1,157.63

After three years, simple interest would give you $1,150. Compounding gives you $1,157.63. The $7.63 difference looks trivial, but notice that the interest grows each year ($50, then $52.50, then $55.13). Stretch that over 30 or 40 years and the gap becomes enormous.

The compound interest formula

The standard formula is:

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

  • A is the ending amount
  • P is the principal (starting amount)
  • r is the annual interest rate as a decimal (5% = 0.05)
  • n is the number of times interest compounds per year (1 for yearly, 12 for monthly, 365 for daily)
  • t is the number of years

Worked example

Suppose you invest $5,000 at 6% a year, compounded monthly, for 10 years.

  • r / n = 0.06 / 12 = 0.005
  • n x t = 12 x 10 = 120
  • A = $5,000 x (1.005)^120
  • (1.005)^120 is about 1.8194
  • A = $5,000 x 1.8194 = about $9,097

Your money nearly doubles without you adding another dollar. About $4,097 of the final amount is growth.

If the same $5,000 compounded only once a year at 6%, you would have $5,000 x (1.06)^10 = about $8,954. More frequent compounding helps a bit, but the rate and the time matter much more.

How a lump sum grows over time

Here is a single $10,000 investment left alone for 40 years, at two illustrative annual growth rates. These are examples, not predictions: 4% might represent a conservative mix, and 7% is close to figures often used to illustrate long-run stock market growth after inflation. Actual returns vary widely from year to year, and no return is promised.

Years At 4% a year At 7% a year
0 $10,000 $10,000
5 $12,167 $14,026
10 $14,802 $19,672
20 $21,911 $38,697
30 $32,434 $76,123
40 $48,010 $149,745

Two patterns stand out.

First, growth speeds up later. At 7%, the balance grows by about $9,700 in the first decade but by about $73,600 in the last decade. The later years do most of the heavy lifting because the base is so much larger.

Second, small differences in rate add up. Over 40 years, the 7% path ends with roughly three times as much as the 4% path. That is one reason investment fees matter: a fee of 1% a year effectively turns a 7% return into 6%, and over decades that difference compounds too.

The Rule of 72

A handy shortcut: divide 72 by the annual growth rate to estimate how many years it takes money to double.

  • At 7%: 72 / 7 = about 10.3 years to double
  • At 4%: 72 / 4 = about 18 years to double
  • At 24% (a credit card interest rate): 72 / 24 = about 3 years for an unpaid balance to double, if no payments were made

The rule is an approximation, but it is close enough for quick mental math. Check the table above: at 7%, $10,000 becomes about $19,672 in 10 years, just short of doubling.

Regular contributions: where most people see compounding

Most people do not invest one lump sum. They add money every month or every year. Compounding applies to every contribution, so earlier contributions have more time to grow than later ones.

Suppose you invest $5,000 at the end of every year and it grows at 7% a year (an assumption).

Years Total contributed Ending balance Growth portion
10 $50,000 $69,082 $19,082
20 $100,000 $204,977 $104,977
30 $150,000 $472,304 $322,304
40 $200,000 $998,176 $798,176

After 10 years, growth is a modest share of the balance. After 40 years, about 80% of the ending balance is growth rather than money you put in. That is compounding doing most of the work.

The cost of waiting

Time is the ingredient you cannot buy back. Here is what happens if three people each invest $300 a month until age 65, with the same assumed 7% annual return compounded monthly. The only difference is when they start.

Starts at Years investing Total contributed Approximate balance at 65
25 40 $144,000 $787,000
35 30 $108,000 $366,000
45 20 $72,000 $156,000

The person who starts at 25 contributes $36,000 more than the person who starts at 35, but ends with about $421,000 more. Most of that gap is extra compounding time, not extra contributions.

The math behind each row uses the future value of a series of monthly payments: balance = payment x [(1 + i)^m - 1] / i, where i = 0.07 / 12 and m is the number of months. For the 25-year-old, m = 480.

This is not a reason to feel discouraged if you are starting later. It is a reason to start with whatever you can now, rather than waiting for a perfect moment. The best time to begin is usually as soon as your basics are in place. Dollar-cost averaging is one way to make regular investing automatic, and starting with $100 shows that small amounts count.

Compounding works against you on debt

The same formula applies to what you owe. Suppose you carry a $3,000 credit card balance at 24% APR and make no payments. Card interest compounds, so after one year the balance could grow to well over $3,700, depending on how the issuer calculates it. In reality you would be making minimum payments, but if those barely cover the interest, the principal hardly moves.

That is why paying off high-interest debt is often one of the best “returns” available: every dollar repaid on a 24% card stops 24% interest from compounding against you. See how to pay off debt for two structured approaches.

Common mistakes

  • Assuming returns are smooth. Real investment returns jump around. A 7% average can include years of 20% gains and years of 15% losses. Tables like the ones above show averages, not a path.
  • Forgetting inflation. A balance that grows at 7% in nominal terms buys less than that suggests if prices rise at the same time. Use after-inflation (real) return assumptions for long-term planning.
  • Ignoring fees and taxes. Both reduce the rate your money compounds at. Low-cost funds and tax-advantaged accounts help keep more of the growth.
  • Interrupting compounding. Withdrawing money early, or selling in a panic during a downturn, resets the clock on the amount withdrawn.
  • Waiting to start. As the table shows, the cost of delay is usually larger than people expect.

The SEC’s Investor.gov compound interest calculator lets you test your own numbers.

Key takeaways

  • Compound interest means earning returns on your past returns, not just on your original money.
  • The formula A = P x (1 + r / n)^(n x t) shows that rate and time matter much more than compounding frequency.
  • Growth accelerates in later years, so long time horizons are where compounding does most of its work.
  • Starting 10 years earlier can lead to a much larger balance even with less money contributed, under the same assumptions.
  • Compounding also works against you on high-interest debt, which is why paying it down matters.

Next steps

  1. Use a compound interest calculator to model your current savings with a conservative return assumption.
  2. Set up an automatic monthly contribution, even a small one, so compounding starts now.
  3. List any high-interest debts and make a plan to pay them down.
  4. Check the fees on your current investments and consider whether lower-cost options exist.

This article is for general education only and is not financial, investment, tax or legal advice. All investing involves risk, including the possible loss of the money you invest. Consider speaking with a qualified professional about your own situation. See our editorial policy and disclaimer. Spotted an error? Email hello@minetofive.com.

Mine to Five Editorial TeamHow we write

Every guide on Mine to Five is researched, written and checked by our editorial team against our editorial policy: primary sources first, the math shown, the risks named and no product recommendations.