Article

HomeArticles › Compound Interest

How to Calculate Compound Interest (And Why It Matters)

Compound interest is the single most important formula in personal finance — it is how retirement accounts become seven-figure balances, and it is how a $2,000 credit-card balance turns into $8,000 if you ignore it. Here's the math in plain English, a real-world example you can follow along with, and a shortcut worth memorizing.

Last updated: May 3, 2026.

The formula, unpacked

The compound-interest formula for a single lump sum is:

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

Don't let the exponent scare you. Each letter is one idea:

  • A — the final amount (what you end up with).
  • P — the starting principal (what you put in on day one).
  • r — the annual interest rate, as a decimal. 7% is 0.07, not 7.
  • n — how many times per year interest is added to the balance (monthly = 12, daily = 365).
  • t — time in years.

The key insight is that each period's interest gets added to the balance before the next period's interest is calculated. You earn interest on your interest. That's what makes it "compound" as opposed to "simple."

A real example: $10,000 at 7% for 30 years

Let's price out a typical long-horizon investment. You drop $10,000 into an index fund at age 35 and don't touch it until 65. The long-run average return for a broad US stock index is around 7% after inflation. With monthly compounding:

A = 10,000 × (1 + 0.07/12)12 × 30 = 10,000 × (1.00583)360 ≈ $81,165

The same $10,000 at simple interest would have grown to $31,000. Compounding more than doubles the final number — and you didn't add a single extra dollar. That's the engine that makes early retirement savings matter so much: every year you wait, you're not just skipping that year's contribution, you're also skipping 30 years of exponential growth on it.

The thing most people get wrong: compounding frequency

Marketing loves to hype "daily compounding!" But here's the truth — on the same 7% rate over 30 years, the difference between compounding monthly and compounding daily is about $340 on a $10,000 balance. Monthly vs. annually is bigger (about $5,000), but the real levers are the rate and the time, not the compounding frequency.

Quick reference at 7% APR for 30 years on $10,000:

  • Annual compounding — $76,123
  • Quarterly — $80,215
  • Monthly — $81,165
  • Daily — $81,506

After you get past monthly, the curve flattens hard. Don't pick a savings account or CD based on compounding frequency alone — a 0.1% higher rate beats "daily compounding" every time.

The shortcut worth memorizing: the Rule of 72

If you want a rough sense of how long money takes to double without pulling up a calculator, use the Rule of 72: divide 72 by the annual rate (as a whole number).

  • At 6%, money doubles in about 72 ÷ 6 = 12 years.
  • At 8%, it doubles in about 9 years.
  • At 12%, it doubles in about 6 years.

It's not exact — the true doubling time at 8% is 9.006 years, close enough — but it works well for rates between 4% and 15%, which covers almost every real financial decision you'll make. Bonus: run it backwards. If you want to double your money in 10 years, you need roughly 72 ÷ 10 = 7.2%.

When there are regular contributions, the formula gets bigger

A = P(1 + r/n)^(nt) only handles a lump sum. Most real scenarios also have a recurring contribution — you're putting $500 into a 401(k) every month, or making a $1,798 mortgage payment. That requires the full time-value-of-money equation, which has five variables instead of three: N (periods), I/Y (rate), PV (present value), PMT (payment), and FV (future value).

You don't need to solve it by hand — that's what a financial calculator is for. Enter any four of the five, and it solves for the fifth. For example, save $500/month for 30 years at 7%:

  • P/Y = 12, N = 360
  • I/Y = 7
  • PV = 0 (starting from scratch)
  • PMT = −500 (negative because it's money going out)
  • Solve for FV → about $609,985

Try it yourself on the financial calculator — there's a preloaded "30-year loan" example button that walks through the sign convention if you're new to TVM math.

Compound interest against you

The same math that builds retirement accounts also drains credit-card balances. A $2,000 balance at 24% APR with monthly compounding, minimum payments only, can take over 15 years to pay off and cost more than $4,000 in interest. The exponent works the same way — it just doesn't care which direction you're going.

Moral: every dollar of high-interest debt you carry is a dollar the compound-interest engine is running in reverse against you. Pay that off before you optimize anything else.

How principal and interest shift over time

On a 30-year fixed loan, every payment is the same amount, but what inside each payment changes dramatically. Early on, most of your money covers interest. By the end, almost all of it chips away at principal. Here's what that looks like on a $300,000 mortgage at 6%:

Principal portion Interest portion

Month 1: $1,500 interest, $299 principal. Year 15: roughly even. Month 360: $9 interest, $1,790 principal. That's why refinancing into a new 30-year loan resets the clock — you jump back to the left side of the chart where interest dominates.

Frequently asked questions

What's the difference between APR and APY?

APR (annual percentage rate) is the stated yearly rate without compounding. APY (annual percentage yield) is the effective rate after compounding is applied. A 6% APR with monthly compounding has an APY of about 6.17%. Banks advertise APY for savings (bigger number) and APR for loans (smaller number).

Does compound interest work on losses too?

Yes — and it's brutal. A 50% loss requires a 100% gain to recover, not 50%. Two back-to-back 20% losses leave you at 64% of where you started, not 60%. Volatility compounds against you, which is why stable returns beat wild-swinging ones with the same average.

Should I pay off debt or invest?

Compare after-tax rates. If your credit card charges 24% and your investment returns 7%, pay the card. If you have a 3% mortgage and expect 7% from investments, the math favors investing the extra cash — though the psychological comfort of being debt-free is real and worth something.

Try it yourself

Numbers hit different when you run your own. Plug your age, savings rate, and expected return into the financial calculator and see what 30 years of compounding looks like for you. Try it with a 25-year horizon, then 35 — the difference is usually larger than you'd guess. That's the point.

This article is for general education and is not financial advice. See our Terms.