Investing

What Is Compound Interest, and Why Time Does the Heavy Lifting

Compound interest is arithmetic, not magic. This guide works through the formula variable by variable, shows the numbers year by year, and explains why real portfolios never trace a smooth curve.

What you will take away

  • Compound interest applies the rate to a base that includes previously earned interest, so the exponent on time drives the result far more than the size of any single deposit.
  • Compounding frequency changes what you actually earn: a nominal 8% pays 8.00% annually but 8.33% daily, which is why APY exists as a comparable figure.
  • The rule of 72 estimates doubling time accurately between roughly 4% and 12% and drifts noticeably outside that band.
  • Ten early contributions can outperform thirty later ones, because the early dollars carry three extra decades of exponent behind them.
  • The same formula runs against you on debt: a $5,000 balance at 22% paid at the minimum can take about 19 years and cost more in interest than the original balance.
  • Volatility, fees, taxes and inflation all reduce the compounded result below what a smooth calculator curve shows, and each has to be adjusted for separately.
On this page
  1. The formula, one variable at a time
  2. Compounding frequency, and the rate you are actually paid
  3. The rule of 72, and where it stops being reliable
  4. Time beats contribution size, and here is the proof
  5. A year-by-year view
  6. Compounding in reverse: debt
  7. Inflation: nominal growth versus real growth
  8. What the usual advice gets wrong
  9. Making the arithmetic work in practice

Compound interest is the mechanism by which money earns money, and then that earned money starts earning too. It is not a trick or a strategy. It is arithmetic, and once the arithmetic is clear the behavior of almost every savings account, retirement plan and credit card balance becomes predictable.

Most explanations stop at "your interest earns interest" and move on. That sentence is true but it teaches nothing about the variables that actually decide the outcome: how often the interest is applied, how the stated rate differs from what you actually receive, why the length of time matters more than the size of the deposit, and why a real investment portfolio never traces the smooth curve a calculator draws.

This guide works through each of those. Every figure below is illustrative -- the returns are assumptions chosen to make the arithmetic visible, not forecasts.

The formula, one variable at a time

The standard compound growth formula is:

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

Four inputs and one output. Each does a specific job.

  • P is the principal: the amount present at the start.
  • r is the annual interest rate expressed as a decimal, so 6% is 0.06.
  • n is the number of compounding periods per year: 1 for annual, 12 for monthly, 365 for daily.
  • t is the number of years.
  • A is the ending amount, principal and accumulated interest together.

The exponent is where the leverage sits. Changing P scales the answer linearly -- double the principal and you double the result. Changing t moves an exponent, and exponents do not behave politely.

Worked example: Put $10,000 into an account paying an assumed 6% compounded once a year for 10 years. A = 10,000 x (1 + 0.06/1)^(1 x 10) = 10,000 x 1.06^10 = 10,000 x 1.790847 = $17,908.48.

Simple interest on the same deposit would pay 6% of the original $10,000 every year and nothing more: $600 x 10 = $6,000, ending at $16,000. The $1,908.48 gap is the interest that the interest earned. Over 30 years at the same rate the compound figure is $57,434.91 and the simple figure is $28,000 -- the gap has stopped being a rounding difference and become the majority of the return.

Compounding frequency, and the rate you are actually paid

A "6% account" and a "6% account" can pay different amounts. The stated annual rate -- the nominal rate -- says nothing on its own about how often interest is credited. The effective annual yield does.

Take a nominal 8% and vary only the compounding frequency on a $10,000 deposit for one year.

Compounding Periods per year Effective annual yield Value after 1 year
Annual 1 8.0000% $10,800.00
Semi-annual 2 8.1600% $10,816.00
Quarterly 4 8.2432% $10,824.32
Monthly 12 8.3000% $10,830.00
Daily 365 8.3278% $10,832.78
Continuous infinite 8.3287% $10,832.87

Two things are worth noticing. Frequency does matter -- daily compounding beats annual by $32.78 on a $10,000 deposit in year one, and that gap itself compounds. But the effect has a ceiling. The jump from annual to monthly captures most of the available benefit; everything beyond daily is a rounding error dressed up as a feature.

This is exactly why US deposit accounts are advertised with an annual percentage yield (APY) rather than a bare interest rate. APY already folds in the compounding frequency, so two APYs are directly comparable while two nominal rates are not. On the borrowing side the equivalent disclosure is APR, which works differently and is worth understanding separately -- see how APR is calculated and what it includes. If you are comparing places to hold cash, how high-yield savings accounts work covers the account mechanics.

Note: A rate quoted "compounded daily, paid monthly" is still compounding daily. What changes monthly is when the credited interest appears on your statement, not when it starts working.

The rule of 72, and where it stops being reliable

Divide 72 by the annual percentage return and you get an approximate number of years for money to double. At 6%, 72 / 6 = 12 years. At 9%, eight years.

It is an approximation of the exact answer, which is ln(2) / ln(1 + r). Here is how close it gets.

Annual return Rule of 72 estimate Exact doubling time Error
2% 36.0 years 35.0 years +1.0 year
4% 18.0 years 17.7 years +0.3 years
6% 12.0 years 11.9 years +0.1 years
8% 9.0 years 9.0 years 0.0 years
10% 7.2 years 7.3 years -0.1 years
12% 6.0 years 6.1 years -0.1 years
15% 4.8 years 5.0 years -0.2 years
20% 3.6 years 3.8 years -0.2 years

The rule is close enough to use mentally between roughly 4% and 12%, and it drifts at both extremes. At very low rates it overstates the doubling time; at high rates it understates it. For low rates, 70 is a better numerator, which is why demographers use the rule of 70 for population growth.

Its real value is not precision. It is that it turns a percentage into a unit of time, and time is the thing people underestimate.

Time beats contribution size, and here is the proof

The most repeated claim in personal finance is that starting early matters more than contributing heavily. It is usually asserted rather than demonstrated. Run it properly.

Two people, both assuming a 7% annual return, both contributing $6,000 at the end of each year.

The early starter contributes from age 25 through 34 -- ten contributions, $60,000 total -- then stops completely and never adds another dollar. The balance at 35 is $82,898.69. It then compounds untouched for 30 more years: 82,898.69 x 1.07^30 = 82,898.69 x 7.612255 = $631,045.95 at 65.

The late starter contributes from age 35 through 64 -- thirty contributions, $180,000 total, three times as much money. The balance at 65 is $566,764.72.

The early starter put in a third of the money and finished about $64,000 ahead. The variable doing the work is not discipline or contribution size. It is that the early starter's dollars had 30 to 40 years of exponent behind them while the late starter's had 1 to 30.

This is also the honest answer to the question of whether it is "too late" to start. It is not too late; it is simply more expensive, and the price is measurable.

Contribution and time combinations

Monthly contributions, 7% assumed annual return compounded monthly, no starting balance.

Monthly Years Total contributed Ending balance Growth
$200 10 $24,000 $34,617 $10,617
$200 20 $48,000 $104,185 $56,185
$200 30 $72,000 $243,994 $171,994
$200 40 $96,000 $524,963 $428,963
$400 20 $96,000 $208,371 $112,371
$400 30 $144,000 $487,988 $343,988
$800 20 $192,000 $416,741 $224,741

Compare rows three and five. Both people put in $96,000. The one who spread it over 40 years at $200 a month ends with $524,963; the one who compressed it into 20 years at $400 a month ends with $208,371. Same money in, two and a half times the difference out.

Notice also that growth only overtakes contributions somewhere between year 15 and year 20 at these assumptions. The first decade feels like nothing is happening. That is not a failure of the plan; it is the shape of the curve. Understanding this is most of what stops people abandoning a plan in year four.

The calculator below runs this arithmetic for any combination of starting balance, monthly contribution, assumed rate and time you enter.

Compound growth calculator

Monthly compounding, contributions added at the end of each month. Returns are assumed, not guaranteed.

Projected ending balance
Total you put in
Growth on top of contributions
Growth as a share of the total

Your contributionsCompounded growth

This calculator runs entirely in your browser. Nothing you type is sent anywhere, stored, or shared. Results are simplified estimates for learning purposes and are not financial advice.

A year-by-year view

Averages hide the mechanism. This is $10,000 starting balance plus $3,000 added at the end of each year, at an assumed 7% annual return.

Year Interest earned Contribution Ending balance
1 $700.00 $3,000 $13,700.00
2 $959.00 $3,000 $17,659.00
3 $1,236.13 $3,000 $21,895.13
4 $1,532.66 $3,000 $26,427.79
5 $1,849.95 $3,000 $31,277.73
6 $2,189.44 $3,000 $36,467.18
7 $2,552.70 $3,000 $42,019.88
8 $2,941.39 $3,000 $47,961.27
9 $3,357.29 $3,000 $54,318.56
10 $3,802.30 $3,000 $61,120.86

Total contributed across ten years: $40,000. Total interest: $21,120.86. In year one the interest was less than a quarter of the contribution. By year ten it exceeded it. Nothing changed except the size of the base the rate was applied to.

Compounding in reverse: debt

The same formula runs against you when you owe money. A credit card charging an assumed 22% APR compounds your balance monthly at 22% / 12 = 1.8333% per month.

Worked example: A $5,000 balance at an assumed 22% APR. Month one interest is 5,000 x 0.018333 = $91.67. If the minimum payment is 1% of the balance plus interest, subject to a $25 minimum-payment floor, that month's payment is $141.67, of which $50 reduces principal. The floor only starts to bite once the balance falls below about $880, because 1% plus interest is 2.833% of the balance and 2.833% of $880 is roughly $25. Continue that pattern and the balance takes about 230 months -- roughly 19 years -- and costs about $8,100 in interest, more than the original balance.

Change one variable. Pay a fixed $150 a month instead of the shrinking minimum and the same $5,000 clears in 52 months with about $2,796 in interest. Pay $250 and it clears in 26 months with about $1,071.

Monthly payment Months to clear Total interest
Minimum (1% + interest, $25 floor) ~230 ~$8,100
$100 137 $8,656
$150 52 $2,796
$200 34 $1,700
$250 26 $1,071
$400 15 $463

The reason minimum payments behave so badly is structural. They are calculated as a percentage of the outstanding balance, so as the balance falls the payment falls with it, and the schedule stretches out indefinitely. A fixed payment does the opposite: as interest shrinks, more of the same dollar amount goes to principal. Methods for attacking multiple balances are covered in practical approaches to clearing card balances.

Warning: A guaranteed 22% saved by clearing high-rate debt is arithmetically better than an uncertain 7% earned in a market. When the two compete for the same dollar, the debt usually wins on the numbers alone.

Inflation: nominal growth versus real growth

A 7% return in an economy with 3% inflation is not a 7% increase in what you can buy. The correct adjustment is not subtraction but division:

Real return = (1 + nominal) / (1 + inflation) - 1

(1.07 / 1.03) - 1 = 0.03883, or 3.883%. Subtracting gives 4%, which is close enough for mental arithmetic at low rates and drifts badly at high ones.

The same adjustment applies to the ending balance. If prices rise at an assumed 3% a year, $100,000 in 25 years buys what $100,000 / 1.03^25 = $47,760 buys today. A projection that looks comfortable in nominal dollars can be roughly half as comfortable in real ones.

This is the single most common omission in retirement projections. Two fixes work: run the projection using a real rate of return and read the answer as today's dollars, or run it nominally and then deflate the answer. Doing neither, or doing both, produces numbers that mean nothing. Recent inflation data is published by the Bureau of Labor Statistics.

What the usual advice gets wrong

The smooth curve is a lie of convenience. A calculator applies exactly 7% every year. A diversified stock portfolio does no such thing. It might return 22%, then -9%, then 14%, then -3%. The arithmetic average of those four is 6%; the actual compounded result is lower.

Here is why. A sequence of +20% then -10% has an arithmetic mean of 5%, but $10,000 becomes $10,000 x 1.20 x 0.90 = $10,800, a compound rate of 3.92% per year. A steady +5% and +5% produces $11,025. Same average, different outcome. Volatility drags the compound result below the arithmetic mean, always, and the drag grows with the size of the swings.

Losses are asymmetric. A 50% loss requires a 100% gain to recover, not a 50% gain. A 20% loss requires 25%. This is why controlling downside matters disproportionately, and why how you allocate across asset classes is a compounding decision rather than merely a risk-tolerance one.

Sequence of returns matters at the ends. While you are accumulating and adding money, an early downturn is arguably helpful -- your contributions buy more shares cheaply. Once you are withdrawing, an early downturn is damaging, because you sell assets at depressed prices and the remaining base is permanently smaller. Two retirees with identical average returns over 30 years can end up in very different positions purely because of the order in which those returns arrived.

Fees compound too. An expense ratio is subtracted from the return before compounding, every year, whether the market rises or falls. Over 30 years a 0.60% annual cost instead of 0.03% on $100,000 growing at an assumed 7% is the difference between roughly $754,800 and roughly $643,100. The mechanics are unpacked in how expense ratios and investment fees work.

Taxes interrupt compounding in a taxable account. Interest taxed each year reduces the base that next year's return applies to. Tax-advantaged accounts such as an IRA or a workplace plan let the full amount compound and settle the tax at a single point -- one reason the Roth versus traditional decision is worth the effort.

Making the arithmetic work in practice

Four levers exist and only four: how much you start with, how much you add, what rate you earn, and how long you leave it. You control the first two completely, the third only indirectly through cost and allocation, and the fourth only by starting now rather than later.

Contributing on a fixed schedule rather than in occasional lumps also removes the decision of when to invest, which is a decision most people make badly -- dollar-cost averaging covers the trade-offs. And none of this works if a surprise expense forces you to liquidate at a bad moment, which is the practical argument for holding a cash buffer first.

Compounding is not fast. It is relentless, which is a different property, and a considerably more useful one.

Frequently asked questions

What is the difference between simple and compound interest?
Simple interest is always calculated on the original principal only. Compound interest is calculated on the principal plus any interest already earned, so the base grows each period. On a $10,000 deposit at an assumed 6% for 10 years, simple interest pays $600 a year for a total of $16,000. Compound interest at the same rate produces $17,908.48. Over 30 years the same comparison is $28,000 against $57,434.91. The gap widens with time because the compounding base keeps expanding while the simple-interest base never does.
How often does interest compound?
It depends on the account or loan. US savings accounts commonly compound daily and credit the interest monthly. Certificates of deposit vary. Credit cards typically apply a daily periodic rate to the balance. Mortgages are usually monthly. The disclosure that matters for deposits is the annual percentage yield, which already incorporates the compounding frequency and is therefore directly comparable between accounts. Two accounts advertising the same nominal rate can pay different amounts if they compound at different frequencies, so compare APY rather than the headline rate.
Is the rule of 72 accurate?
It is a close approximation in the middle of the range and drifts at the extremes. At an assumed 8% return it is essentially exact: 72 divided by 8 is 9 years, and the precise answer is 9.01 years. At 2% it estimates 36 years when the exact figure is 35. At 20% it estimates 3.6 years when the exact figure is 3.8. Between roughly 4% and 12% the error is under a few months, which makes it reliable for mental arithmetic. For very low rates, using 70 instead of 72 gives a closer result.
Does compound interest work against you on debt?
Yes, and identically. A credit card charging an assumed 22% APR applies roughly 1.8333% to the balance each month, and unpaid interest joins the balance that next month's interest is calculated on. A $5,000 balance paid at a typical minimum of 1% of the balance plus interest takes about 230 months and costs roughly $8,100 in interest. The same balance cleared with a fixed $150 monthly payment takes 52 months and costs about $2,796. The difference comes from the minimum payment shrinking as the balance falls.
How do I adjust a projection for inflation?
Divide rather than subtract. Real return equals (1 plus the nominal return) divided by (1 plus inflation), minus 1. With an assumed 7% nominal return and 3% inflation, that is 1.07 divided by 1.03 minus 1, or 3.883%. Subtraction gives 4%, which is close at low rates and increasingly wrong at high ones. You can either project using the real rate and read the answer in today's purchasing power, or project nominally and then divide the ending figure by (1 plus inflation) raised to the number of years.
Why does my investment account not match the calculator?
A calculator applies the same return every single year. Markets do not. A sequence of plus 20% then minus 10% averages 5% arithmetically but compounds at only 3.92%, because $10,000 becomes $10,800 rather than $11,025. This gap between the arithmetic average and the compounded result grows with volatility. Fees, taxes on distributions in a taxable account, and the timing of your contributions all pull the real figure further from the projection. Calculators show the central tendency, not a path.
Is it too late to start compounding in my forties?
No, but the arithmetic is less forgiving, so the lever shifts from time to contribution size. At an assumed 7% return, $400 a month for 20 years produces about $208,000 from $96,000 contributed. The same $96,000 spread as $200 a month over 40 years produces about $525,000. Starting later does not stop compounding working; it means a larger share of the ending balance is money you deposited rather than growth. Raising the contribution rate and lowering investment costs are the two levers still fully available.
Should I pay off debt or invest first?
Compare the rates directly, since both are compounding. Clearing a balance charging an assumed 22% is a certain 22% return, while an assumed 7% market return is uncertain and can be negative for years at a time. On the arithmetic alone, high-rate debt usually wins. The common exception is an employer match in a workplace retirement plan, which is an immediate return on the contributed amount and typically outranks everything else. Beyond that, most people work down from the highest interest rate.
Does compounding frequency matter much in practice?
Less than people expect, because the effect has a ceiling. On $10,000 at a nominal 8% for one year, annual compounding pays $800, monthly pays $830, and daily pays $832.78. Moving from annual to monthly captures most of the available benefit; the step from daily to continuous compounding is worth nine cents. Frequency is worth checking when comparing similar accounts, but the rate itself, the fees, and the number of years all matter by orders of magnitude more.

Sources and further reading

We link to primary sources — federal agencies and official publications — so you can check anything here yourself. External links open in a new tab and we earn nothing from them.

  1. Investor.gov -- U.S. Securities and Exchange Commission investor education
  2. Consumer Financial Protection Bureau -- Ask CFPB
  3. Bureau of Labor Statistics -- consumer price and inflation data
  4. FINRA -- investor education and tools
  5. MyMoney.gov -- federal financial education resources
  6. Federal Reserve -- economic and interest rate data

Continue reading

All investing guides →