UtilopiaUtilopia

Command Palette

Search for a command to run...

Compound Interest Explained: Formula, Examples, Charts

Compound Interest Explained: Formula, Examples, Charts

March 3, 2026·10 min readfinancecalculatorcompound-interestinvesting

Put $10,000 in an account earning 7% annually and walk away for 30 years. You'll come back to roughly $76,000 — without adding another cent. That's not magic. That's compound interest doing what it does best: turning time into money. Most people dramatically underestimate how sharply the curve bends upward, which is exactly why understanding this concept can reshape how you think about saving, investing, and debt.

Simple Interest vs. Compound Interest

The difference between simple and compound interest is the difference between a straight line and an exponential curve.

Simple interest pays you a fixed amount based only on your original principal. If you invest $10,000 at 7% simple interest, you earn $700 every single year — no more, no less.

Compound interest pays you interest on your interest. Each period, the interest you earned gets added to your balance, and the next period's interest is calculated on that larger number.

Here's how the two compare over time with a $10,000 starting investment at 7%:

Year Simple Interest Compound Interest Gap
1 $10,700 $10,700 $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

At year 1, they're identical. By year 10, compound interest is ahead by $2,672. By year 40, the gap has exploded to over $111,000 — on the same $10,000 investment at the same 7% rate. The math is the same. The mechanism is different.

This widening gap is what makes compound interest the single most important concept in personal finance. It rewards patience disproportionately.

The Compound Interest Formula

The formula looks intimidating at first glance, but each piece is straightforward:

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

Where:

  • A = the final amount (principal + all interest earned)
  • P = the principal (your initial investment)
  • r = the annual interest rate (as a decimal — so 7% = 0.07)
  • n = the number of times interest compounds per year
  • t = the number of years

Worked Example

Say you invest $5,000 at 6% annual interest, compounded monthly, for 15 years:

  • P = $5,000
  • r = 0.06
  • n = 12 (monthly compounding)
  • t = 15

Plugging in:

A = 5,000 x (1 + 0.06/12)^(12 x 15) A = 5,000 x (1 + 0.005)^180 A = 5,000 x (1.005)^180 A = 5,000 x 2.4541 A = $12,270.47

Your $5,000 has more than doubled — and you earned $7,270.47 in interest without lifting a finger after the initial deposit.

Try different scenarios with our Compound Interest Calculator to see how changing any variable affects the outcome.

How Compounding Frequency Changes Your Returns

The variable n in the formula — how often interest compounds — matters more than most people think.

Here's the same $10,000 at 7% over different time horizons, comparing compounding frequencies:

Compounding After 10 Years After 20 Years After 30 Years
Annually (n=1) $19,672 $38,697 $76,123
Quarterly (n=4) $20,016 $39,960 $80,174
Monthly (n=12) $20,097 $40,255 $81,165
Daily (n=365) $20,137 $40,387 $81,665
Continuous $20,138 $40,392 $81,662

A few things stand out. First, the jump from annual to quarterly compounding is the biggest improvement. Going from monthly to daily adds very little. And continuous compounding — the theoretical limit where interest compounds every infinitesimal instant — barely edges out daily.

Continuous Compounding

For the math-curious, continuous compounding uses a different formula:

A = P x e^(r x t)

Where e is Euler's number (approximately 2.71828). For $10,000 at 7% for 20 years:

A = 10,000 x e^(0.07 x 20) = 10,000 x e^1.4 = 10,000 x 4.0552 = $40,552

In practice, no bank offers truly continuous compounding. Daily compounding is the most frequent you'll encounter, and it's close enough to the theoretical maximum that the difference is negligible.

The takeaway: when comparing investment accounts or savings products, compounding frequency matters — but going from annual to monthly is far more impactful than going from monthly to daily.

The Rule of 72

Don't want to pull out a calculator? The Rule of 72 gives you a quick mental estimate of how long it takes your money to double.

Doubling time (years) = 72 / annual interest rate

Interest Rate Doubling Time (Rule of 72) Actual Doubling Time
2% 36 years 35.0 years
4% 18 years 17.7 years
6% 12 years 11.9 years
7% 10.3 years 10.2 years
8% 9 years 9.0 years
10% 7.2 years 7.3 years
12% 6 years 6.1 years

The rule is remarkably accurate for rates between 4% and 12%. Outside that range, it starts to drift, but it's still useful as a quick sanity check.

You can also use it in reverse. Want to double your money in 10 years? You need a return of about 72 / 10 = 7.2% per year.

The Rule of 72 is handy for back-of-the-envelope financial planning. It strips away the complexity of the formula and gives you an intuitive feel for how compounding works at different rates.

Why Starting Early Beats Investing More

This is the most counterintuitive — and most powerful — lesson about compound interest. Time beats money.

Consider three people who all earn 7% annually:

Investor Invests Per Year Years Investing Total Contributed Balance at Age 65
Alex (starts at 25) $5,000 10 years (stops at 35) $50,000 ~$602,000
Jordan (starts at 35) $5,000 30 years (until 65) $150,000 ~$472,000
Sam (starts at 25) $5,000 40 years (until 65) $200,000 ~$1,074,000

Read that again. Alex invests for just 10 years and then stops completely. Jordan invests for 30 years — three times as long — and contributes three times as much money. Yet Alex still ends up with $130,000 more.

Why? Because Alex's money had a 10-year head start. Those extra years of compounding on the early contributions create a snowball effect that Jordan's later, larger contributions can never catch.

Sam, who starts early AND keeps going, ends up a millionaire — on $5,000 per year.

The "cost of waiting" is real and measurable:

  • Waiting 5 years to start investing costs you roughly 33% of your potential ending balance at retirement (assuming the same contribution rate and return).
  • Waiting 10 years costs you roughly 50%.

This isn't a motivational talking point. It's arithmetic. Every year you delay, you're not just losing that year's returns — you're losing every future year of returns that would have compounded on top of them.

Compound Interest Working Against You: Debt

The same force that grows your investments can devastate your finances when you're on the borrowing side. Credit cards, personal loans, and student debt all compound against you.

Credit Card Example

Say you carry a $5,000 balance on a credit card charging 24% APR, compounded daily. If you make only the minimum payment (typically 2% of the balance or $25, whichever is greater):

  • Time to pay off: Over 20 years
  • Total interest paid: More than $8,500
  • Total amount paid: Over $13,500 — nearly three times the original balance

The math is brutal. At 24% APR compounded daily, your effective annual rate is about 27.1%. That's the same compounding engine working in the bank's favor instead of yours.

How Minimum Payments Trap You

Minimum payments are designed to keep you in debt as long as possible. They cover the monthly interest charge plus a tiny sliver of principal. Early on, almost all of your payment goes to interest.

On that $5,000 balance at 24% APR: - Month 1 minimum payment: ~$100 - Of that, ~$99.73 goes to interest - Only $0.27 reduces your actual balance

That's not a typo. Less than a dollar of your first payment goes toward paying off what you actually bought.

The fix: Pay as much above the minimum as you can. Even an extra $50/month on that same $5,000 balance cuts the payoff time from 20+ years to about 4 years and saves over $6,000 in interest.

How to Maximize Compound Interest in Your Favor

Understanding the formula reveals exactly which levers you can pull:

Start as early as possible. This is the biggest one. As the Alex-vs-Jordan example showed, time is the most powerful variable in the compound interest formula. Even small amounts invested early outperform larger amounts invested later.

Reinvest all returns. Compound interest only works if you let the interest compound. Taking dividends or interest payments as cash instead of reinvesting them breaks the chain. In a brokerage account, opt for dividend reinvestment (DRIP). In a savings account, leave the interest alone.

Increase contributions over time. If you get a 3% raise at work, put at least 1% of it toward your investments. This counters the natural tendency to inflate your lifestyle every time your income grows.

Use tax-advantaged accounts. 401(k)s, IRAs, and their equivalents in other countries shield your returns from annual taxation. Taxes create a drag on compounding — every dollar paid in capital gains tax is a dollar that can no longer compound. Tax-deferred or tax-free growth lets the full amount keep working.

Eliminate high-interest debt first. Paying off a credit card at 24% APR gives you an effective guaranteed return of 24%. No investment reliably beats that. Before you focus on growing wealth through compounding, neutralize the compounding working against you.

Want to model specific scenarios? Our Compound Interest Calculator lets you adjust principal, rate, frequency, and time to see exactly where you'll land. For comparing investment returns across different options, try the ROI Calculator.

Frequently Asked Questions

What's the difference between simple and compound interest?

Simple interest is calculated only on the original principal — you earn the same dollar amount every period. Compound interest is calculated on the principal plus all previously earned interest, so your earnings accelerate over time. Over long periods, compound interest generates dramatically more wealth than simple interest at the same rate.

What's the best compounding frequency?

More frequent compounding is always better for the investor (and worse for the borrower), but the gains diminish quickly. The jump from annual to monthly compounding is meaningful. The jump from monthly to daily is marginal. In practice, most savings accounts compound daily and most investment returns compound based on market performance, so you rarely get to choose the frequency directly.

Can you lose money with compound interest?

Compound interest itself doesn't cause losses — it's a mathematical function applied to a rate of return. However, if the underlying investment loses value (like a stock portfolio during a downturn), those losses can compound too. Compound interest guarantees growth only when applied to a positive, fixed rate — like a savings account or CD. In variable-return investments, compounding amplifies both gains and losses.

How accurate is the Rule of 72?

The Rule of 72 is most accurate for interest rates between 4% and 12%, where the error is typically less than 0.5 years. At very low rates (below 2%) or very high rates (above 15%), the approximation becomes less reliable. For a more precise estimate at any rate, you can use the actual formula: doubling time = ln(2) / ln(1 + r), where r is the decimal rate.

How do banks calculate interest on savings accounts?

Most banks in the US calculate interest daily and credit it monthly. This means your balance earns interest every day (at the daily rate = APY / 365), and the accumulated interest is added to your balance once per month. The APY (Annual Percentage Yield) already accounts for this compounding effect, so the APY is the true annual return you'll earn — unlike APR, which doesn't factor in compounding frequency.