Lelifi·tools

Compound Interest Calculator

$10,000 at 6% compounded monthly grows to $33,102 in 20 years, of which $23,102 is interest. Compounding daily instead of annually adds $1,127 to that total. The same balance at 8% for 30 years reaches $109,357. Monthly compounding turns a 6.00% rate into a 6.17% APY.

Enter a starting balance, a rate and a number of years, then switch the compounding frequency to see the final balance, the APY and the doubling time.

By the Lelifi editors ·

Key takeaways

The compound interest formula at workA = P(1 + r/n)^(n t)P = 10,000 r = 0.06 n = 12 t = 20(1 + 0.005)^240 = 3.3102= $33,102.04 after 20 years
$10,000 at 6% compounded monthly for 20 years is $33,102.04.
A $10,000 deposit at 6% monthly for 20 years$10,000$23,102Money you put in ($10,000)Interest earned ($23,102)
Of the $33,102 final balance, $23,102 is interest and $10,000 is the original deposit.
On this page
  1. How compound interest works
  2. Compounding frequency: annual, monthly, daily
  3. APR and APY are not the same number
  4. Worked example: $10,000 at 6% for 20 years
  5. The rule of 72 and where it drifts
  6. What time does to the curve
  7. What the formula leaves out
  8. How to use the number without over-trusting it

How compound interest works

Simple interest pays you on the money you deposited and nothing else. Compound interest pays you on the deposit plus every dollar of interest that has already been credited. The interest joins the principal, and from that point it earns interest too. That single change is why a 30 year horizon produces numbers that look like a typo.

The formula is A = P(1 + r/n)^(n t). P is the starting amount, r is the annual rate written as a decimal, n is how many times a year interest is credited, and t is the number of years. The exponent, n times t, is the total number of compounding periods. Every period multiplies the balance by (1 + r/n), and multiplication compounds.

Watch what the exponent does. At 6% compounded monthly for 20 years, n times t is 240 periods, and 1.005 to the power of 240 is 3.3102. The $10,000 becomes $33,102.04. Double the time to 40 years and the multiplier is not double, it is 10.96, because the exponent doubled rather than the base.

That is the whole mechanism. Nothing about it is complicated, and nothing about it is optional: any account that credits interest and leaves it in place compounds, whether the bank calls it that or not.

Compounding frequency: annual, monthly, daily

Frequency sets how often the interest is credited. Annual compounding applies the full 6% once a year. Monthly compounding applies 0.5% twelve times. The nominal rate is 6% either way, but the monthly version earns more because each month's interest starts earning in the next month.

FrequencyPeriods per yearBalance after 20 yearsEffective annual rateExtra vs annual
Annually1$32,071.356.0000%$0.00
Semi-annually2$32,620.386.0900%$549.03
Quarterly4$32,906.636.1364%$835.28
Monthly12$33,102.046.1678%$1,030.69
Daily365$33,197.906.1831%$1,126.55

Notice the shape. Moving from annual to monthly is worth $1,030.69 over 20 years. Moving from monthly to daily is worth another $95.86. The gains shrink with each step, because the difference between 12 and 365 periods is a smaller jump in effect than the difference between 1 and 12. There is a ceiling: continuous compounding, where n goes to infinity, would produce $33,201.17, which is only $3.27 more than daily.

This is why a savings account advertising daily compounding is not automatically better than one advertising monthly. A 4.5% account compounded daily pays less than a 4.6% account compounded monthly. Compare the effective annual rate, not the frequency.

APR and APY are not the same number

The nominal annual rate, often called APR on a loan or just the stated rate on a savings account, is the rate before compounding. The effective annual rate, or APY, is what you get after compounding is applied for a year. APY is always the higher of the two when interest is credited more than once a year.

The conversion is APY = (1 + r/n)^n - 1. At a 6% nominal rate, annual compounding gives 6.0000%, monthly gives 6.1678% and daily gives 6.1831%. On a $10,000 balance that is a difference of $18.31 in the first year between monthly and daily, which is small. Over 20 years the same gap grows to $95.86, because the extra fraction of a percent compounds along with everything else.

The gap widens with the rate. At 12% nominal, annual compounding gives 12.0000% and monthly gives 12.6825%. That is 0.68 percentage points, which on a credit card balance is real money. The Consumer Financial Protection Bureau explanation of APR covers how lenders are required to disclose the annualized cost, and it is the number to compare when you are borrowing rather than saving.

For a savings account, the APY is the number to compare across offers, because it already includes the compounding. For a loan or a credit card, the APR usually does not include compounding on the balance, so the cost of carrying a balance can run higher than the quoted APR suggests.

Worked example: $10,000 at 6% for 20 years

Start with $10,000, a 6% nominal rate, monthly compounding and 20 years. The monthly rate is 0.06 / 12 = 0.005. The number of periods is 12 x 20 = 240. The multiplier is 1.005 to the power of 240, which is 3.3102, and 10,000 x 3.3102 = $33,102.04.

Total interest is $23,102.04, which is more than twice the original deposit. The account earned $616.78 in year one and $1,923.05 in year 20. The final year alone pays more than three times the first year, on the same balance and the same rate, because by then the balance is more than three times larger.

Now change one variable at a time and see which one matters.

Time moves the answer more than anything else on the list. That is not a slogan, it is what the exponent does. Cutting the horizon in half does not halve the result, it removes more than half of it, because the years you drop are the ones with the largest balances.

The rule of 72 and where it drifts

The rule of 72 is a mental shortcut for doubling time: divide 72 by the annual rate as a whole number and you get the years it takes to double. At 6% that is 12 years. At 8% it is 9 years. At 12% it is 6 years. No calculator needed, which is why it survives.

It comes from the fact that the natural log of 2 is 0.693, and for small rates the natural log of (1 + r) is close to r. So the exact doubling time is about 0.693 / r, and 72 / 100r is the same expression scaled for whole-number percentages. The approximation is tuned to sit near the middle of the useful range rather than being exact anywhere.

Annual rateRule of 72Exact doubling timeError
3%24.0 years23.45 years+0.55
4%18.0 years17.67 years+0.33
6%12.0 years11.90 years+0.10
8%9.0 years9.01 years-0.01
10%7.2 years7.27 years-0.07
12%6.0 years6.12 years-0.12
18%4.0 years4.19 years-0.19
24%3.0 years3.22 years-0.22

The error is under a month at 6% and under three months at 24%, which is fine for a napkin. It is not fine for a loan comparison or a retirement projection, where a 0.2 year difference at a high rate compounds into real money. Use the rule to sanity-check a number, then use the formula for the number you act on.

One more limit: the rule assumes a fixed rate and no additional deposits. It also breaks down above about 30%, where the linear approximation behind it stops working and the shortcut starts understating the doubling time by years.

What time does to the curve

Compounding is slow at the start and fast at the end, and the numbers below show why starting early beats contributing more later.

Years at 6% monthlyBalanceInterest earnedInterest as a share of balance
5$13,488.50$3,488.5026%
10$18,193.97$8,193.9745%
20$33,102.04$23,102.0470%
30$60,225.75$50,225.7583%
40$109,574.54$99,571.9191%

At 5 years, three quarters of the balance is still your own money. At 30 years, more than four fifths of it is interest you never deposited. The crossover where interest exceeds contributions happens around year 12 at this rate, and it arrives sooner at higher rates: at 8% it takes about 9 years, and at 12% about 6 years.

This is also the argument against interrupting the curve. A withdrawal at year 15 does not just remove the dollars, it removes every future period those dollars would have compounded through. Taking $5,000 out of the 6% account at year 15 leaves roughly $22,300 less at year 40, because that $5,000 would have grown to about $22,300 over the remaining 25 years.

What the formula leaves out

The formula is exact for a fixed rate with no fees, no taxes and no inflation. Real accounts have all three, and each one cuts the result.

Run the same $10,000 at 6% for 20 years with 1% fees and 3% inflation and the purchasing power of the final balance is roughly $18,300 in today's dollars, not $33,102. The nominal number is still correct, it just measures something other than what you can buy.

For a rough check, subtract the fee and the inflation rate from the nominal rate and compound the remainder. It is not exact, but it lands close enough to keep a projection honest. The SEC investor education compound interest tool lets you add monthly contributions, which this page does not.

How to use the number without over-trusting it

This calculator assumes the rate never changes, which no savings account guarantees. A high yield account at 4.5% today can be 3.2% in two years, and the projection built on 4.5% will be wrong by a wide margin over a decade. Use a rate you can defend, and run the calculation a second time at a rate two points lower to see how much of the plan depends on the rate holding.

It also assumes no deposits and no withdrawals. Most real savings plans add money monthly, and contributions usually matter more than the compounding frequency in the early years. At 6% for 20 years, $10,000 alone reaches $33,102. The same $10,000 with $100 added each month reaches $79,306, because the contributions keep buying new periods to compound through.

Finally, compare like with like. A 20 year projection at 6% is not comparable to a 5 year certificate of deposit at 4.8%, and a taxable account is not comparable to a tax-advantaged one. The math on this page is the same math every bank uses, and the difference between two offers is almost always in the rate, the fee and the tax treatment rather than in how the interest is calculated.

This is an estimate for planning, not investment, tax or legal advice. Rates change and returns are not guaranteed.

Frequently asked questions

How much will $10,000 grow at 6% in 20 years?

$33,102.04 with monthly compounding, which is $23,102.04 of interest. With annual compounding it is $32,071.35, and with daily compounding $33,197.90.

What is the compound interest formula?

A = P(1 + r/n)^(n t), where P is the principal, r the annual rate as a decimal, n the compounding periods per year and t the number of years. The exponent n t is the total number of periods.

How much difference does compounding frequency make?

At 6% over 20 years on $10,000, annual compounding gives $32,071.35 and monthly gives $33,102.04, a gain of $1,030.69. Daily adds another $95.86 on top of that.

What is the difference between APR and APY?

APR is the stated annual rate before compounding. APY is what you earn in a year after compounding. A 6% APR is 6.1678% APY with monthly compounding and 6.1831% with daily.

How long does it take to double my money at 6%?

About 12 years by the rule of 72, and 11.9 years exactly with annual compounding. Monthly compounding gets there in 11.58 years. At 8% it is 9 years, and at 12% it is 6 years.

Is the rule of 72 accurate?

Within a few months across the 4% to 12% range. It overstates doubling time below 8% and understates it above. At 24% it says 3 years when the exact answer is 3.22.

How much interest does $10,000 earn in the first year at 6%?

$616.78 with monthly compounding, against $600 with simple interest. The extra $16.78 is the interest on the interest credited during the year.

What happens if I add $100 a month?

$10,000 at 6% for 20 years with $100 monthly contributions reaches $79,306, against $33,102 with no contributions. The deposits add more than the compounding does in the early years.

How much is $10,000 at 6% worth after 30 years?

$60,225.75 with monthly compounding, of which $50,225.75 is interest. After 40 years it is $109,574.54.

Does compounding work the same on a loan?

Mostly, but the direction reverses. A credit card at 24% APR compounded monthly costs about 26.8% a year on a carried balance, which is why paying it off early beats most investments.

Why is my bank's APY higher than the rate they advertise?

Because the advertised rate is the nominal APR and the APY includes compounding. A 4.5% rate compounded daily shows as 4.60% APY.

How does inflation change the result?

It cuts purchasing power. At 3% inflation, $33,102 in 20 years buys about what $18,300 buys today, so a 6% nominal return is roughly 2.9% real.

What is continuous compounding?

Compounding at every instant, calculated as P x e^(r t). At 6% for 20 years on $10,000 it gives $33,201.17, only $3.27 more than daily compounding.

Can I use this for a mortgage or car loan?

No. Loans amortize, which means the payment includes principal, so the balance falls instead of growing. Use a loan calculator for those, and use this one for savings and investments.

Spotted a wrong number or a broken result?

More Finance tools

See all Finance tools

Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.