Finance

How Compound Interest Works: The Math, the Examples, and Why Starting Early Beats Starting Big

6 min read

Compound interest means earning interest on your accumulated interest, not just your original deposit. The formula is M = P × (1 + r)^t, where P is your principal, r is the rate per period, and t is the number of periods. The formula is straightforward. What it produces over 20 or 30 years is not.

The formula, unpacked

For a lump sum left to grow with no additional contributions:

M = P × (1 + r)^t
  • M = ending balance
  • P = principal (your starting amount)
  • r = interest rate per period, as a decimal (5% = 0.05)
  • t = number of periods

The rate and the period must match. If your account compounds monthly and the stated rate is 6% per year, the monthly rate is 6% / 12 = 0.5%, and t counts months, not years. Compounding monthly at 6% nominal produces 6.17% effective (1.005^12 - 1), not 6.00% exactly. That gap matters when comparing accounts or investments.

Once you add regular contributions, each deposit starts its own compounding clock from the day it lands. There is no clean closed-form formula for that scenario — which is exactly why a calculator beats mental math here.

Simple interest vs. compound interest

The difference looks modest in year one and becomes a chasm by year twenty. Take $10,000 at 7% for 25 years, no contributions:

After 25 yearsSimple interestCompound interest
Ending balance$27,500$54,274
Total gain$17,500$44,274

Simple interest pays 7% on the original $10,000 every year: $700, every year, no more. Compound interest pays 7% on whatever is in the account — which grows every period. By year 25, compound interest delivers 2.5 times the simple interest gain on the same principal, same rate, same time.

The number that surprises most people: early vs. late

Here is the example that makes the math undeniable.

Alex starts investing $300/month at 25 and stops at 35. Ten years of contributions, then nothing until retirement at 65.

Jordan starts at 35 and invests $300/month every single month until 65. Thirty years of contributions, no breaks.

Both assume 7% annual return, compounded monthly.

AlexJordan
Monthly contribution$300$300
Years contributing10 (age 25-35)30 (age 35-65)
Total contributed$36,000$108,000
Balance at 65$297,731$182,511

Alex put in one-third the money Jordan did — and retires with $115,000 more. Those ten early years of compounding on Alex’s deposits were never caught up by Jordan’s three decades of discipline.

That is not a rounding error. That is the actual math.

Worked example: $500/month over 30 years

A practical planning scenario: $2,000 starting balance, $500/month, 7% annual return compounded monthly.

YearTotal contributedBalanceInterest earned
1$8,000$8,450$450
5$32,000$40,741$8,741
10$62,000$103,876$41,876
20$122,000$313,138$191,138
30$182,000$755,024$573,024

In year 1, interest accounts for under 6% of the total balance. By year 30, $573,000 of the $755,000 balance came from interest alone. You contributed $182,000. The rest is compounding.

These projections assume a constant 7% return. Real investment returns vary year to year. Use this as a planning estimate, not a guarantee.

Calculate with your own numbers

Adjust the starting amount, monthly contribution, annual rate, and time horizon. The calculator applies the formula month by month and shows year-by-year growth:

Compound Interest Calculator
Free, no sign-up, works on any device.
Open the full tool

Mistakes that quietly reduce your returns

Using the annual rate as the periodic rate. If contributions compound monthly, convert first: 6% annual becomes 0.5% monthly. Plugging 6% into a monthly formula with 360 periods inflates the result dramatically.

Confusing nominal and effective rates. A 6% nominal rate compounded monthly equals 6.17% effective. When comparing two accounts or products, always compare effective annual rates, not the headline number.

Ignoring inflation. A 7% return with 3% inflation is roughly 3.9% real growth. The nominal balance looks healthy; purchasing power grows slower. Long-term projections without an inflation adjustment are optimistic by design.

Pausing contributions. The Alex vs. Jordan example shows the cost clearly. Stopping contributions for two years does not just cost two years of deposits — it removes those deposits from all future compounding. The years you skip are often the ones that would have compounded longest.

Mixing pre-tax and after-tax comparisons. Tax-advantaged accounts (401k, Roth IRA, ISA) let gains compound without annual tax drag. A 7% return inside a Roth IRA compounds on the full amount every year. A 7% return in a taxable account does not. Over 30 years, that difference is substantial.

Frequently asked questions

What is the difference between compound and simple interest? Simple interest pays a fixed return on your original principal each period. Compound interest pays on your principal plus all previously earned interest. Over short periods the difference is small. Over 20 or more years, compound interest can deliver two to three times the total return.

How do I convert an annual rate to a monthly rate? Divide by 12 for a practical approximation: 6% annual is 0.5% monthly. For the exact equivalent rate that produces the same effective annual return, use (1 + 0.06)^(1/12) - 1 = 0.487% monthly. Most calculators and financial products use the simple division method.

Does compound interest work with small amounts? Yes. Time does most of the work, not the starting amount. $100/month at age 25 builds more wealth than $500/month starting at 45 for the same number of total contribution years. The amount you invest matters less than when you start.

How often should interest compound for the best return? More frequent compounding gives slightly higher effective returns. Monthly compounding at 6% nominal produces 6.17% effective; daily compounding produces 6.18%. The difference is real but small. Choosing an account with a higher rate matters far more than chasing daily compounding over monthly.

Why does the calculator not account for taxes? Tax treatment depends on account type, country, and income bracket. The calculator shows gross returns. For taxable accounts, apply your marginal rate to interest income each year. For tax-advantaged accounts, consult the contribution limits and withdrawal rules that apply to your situation.

Compound interestInvestingSavingsPersonal finance
Compound Interest Calculator
Now try it yourself with the full tool.
Try it now