Skip to main content
Finance

Compound Interest Calculator

Project how a balance grows with compound interest and regular contributions. Set rate, term, and compounding frequency, and see APY versus APR.

By CalculatorPlanet Editorial Team · Reviewed by CalculatorPlanet Editorial Board

Last updated

Future balance
$37,405.09
Total you put in
$22,000.00
Interest earned
$15,405.09
How it works

How the Compound Interest Calculator Formula Works

This calculator adds two separate growth streams together. The first is your starting balance compounding on itself: each period's interest gets folded back into the balance, and the next period's interest is calculated on that larger number, which is the (1 + r/n)^(nt) term doing the actual compounding. The second stream is whatever you contribute along the way. A dollar added in year one has nine years left to compound before the end of a ten-year term; a dollar added in the final period barely grows at all.

So the contribution term isn't just adding up deposits, it's summing each deposit's own separate compounding run, weighted by how long it had left. Add the two streams and you get the final balance. The compounding frequency, n, controls how often interest gets credited back into the balance each year, annually, quarterly, monthly, or daily here, and a higher n produces a slightly larger balance for the same stated annual rate, since interest starts earning its own interest sooner.

balance = P(1 + r/n)^(nt) + C * [((1 + r/n)^(nt) - 1) / (r/n)]
What goes in, what comes out
  • P$The lump sum you start with, if any. Some people run this calculator from zero and build the whole balance out of regular contributions instead; the math works the same way.
  • r%The nominal annual rate as the account or investment quotes it, before compounding is applied. This is the number that gets divided by the compounding frequency below, not the effective rate the account actually pays over a full year, which is its APY.
  • nper yearHow many times the stated rate compounds annually. A savings account often compounds daily; a CD might compound monthly or quarterly. How much this single input actually moves the final balance is smaller than most people assume, covered below.
  • tyearsHow long the money stays invested without being withdrawn. Pulling money out early ends its compounding early, which undercuts a projection like this one far more than a slightly lower rate would.
  • C$The amount added at the end of every compounding period, not just once a year. If interest compounds monthly, this is a monthly deposit; the formula assumes a contribution lines up with each compounding period so the running total stays exact.
Future balance
37405.09
balance = P(1 + r/n)^(nt) + C * [((1 + r/n)^(nt) - 1) / (r/n)]
Values shown are from the worked example below
P
$
The lump sum you start with, if any. Some people run this calculator from zero and build the whole balance out of regular contributions instead; the math works the same way.
r
%
The nominal annual rate as the account or investment quotes it, before compounding is applied. This is the number that gets divided by the compounding frequency below, not the effective rate the account actually pays over a full year, which is its APY.
n
per year
How many times the stated rate compounds annually. A savings account often compounds daily; a CD might compound monthly or quarterly. How much this single input actually moves the final balance is smaller than most people assume, covered below.
t
years
How long the money stays invested without being withdrawn. Pulling money out early ends its compounding early, which undercuts a projection like this one far more than a slightly lower rate would.
C
$
The amount added at the end of every compounding period, not just once a year. If interest compounds monthly, this is a monthly deposit; the formula assumes a contribution lines up with each compounding period so the running total stays exact.
Step by step

Using the Compound Interest Calculator

  1. Enter starting amount$

    Type the figure you already have — the result updates as you type.

  2. Enter added each period$

    Type the figure you already have — the result updates as you type.

  3. Enter annual interest rate%

    Type the figure you already have — the result updates as you type.

  4. Enter years investedyr

    Type the figure you already have — the result updates as you type.

  5. Enter compounding frequency

    Choose from Annually, Quarterly, Monthly, Daily.

  6. Read the result

    The figure updates live as you type, so there is nothing to submit. Press Calculate if you want the answer brought into view — useful on a phone, where the keyboard covers the result panel.

Photograph representing finance
Finance — where this calculation gets used.
Worked example

A Real Worked Example

Starting with $10,000 and adding $100 a month at 7% compounded monthly for 10 years produces a balance of $37,405.09. Of that, $22,000 came from your own pocket ($10,000 up front plus 120 monthly deposits of $100), and $15,405.09 is interest the account generated on its own, more than two-thirds of what was actually contributed.

Notice that interest outpaces contributions here even though the monthly deposit is small relative to the starting balance: that's the compounding on the original $10,000 doing most of the work, which is also why starting with a larger lump sum or starting years earlier moves the final number more than raising the monthly deposit by the same dollar amount would.

1
principal
10000
2
contribution
100
3
rate
7
4
years
10
5
compoundsPerYear
12
This calculator returns37405.09balance22000totalContributed15405.09totalInterest
Going deeper

What Else to Know

How Much Compounding Frequency Actually Changes the Balance

It's tempting to assume daily compounding is dramatically better than annual compounding, since "daily" sounds so much more active than "once a year." The real gap is smaller than that intuition suggests. Take $10,000 at a 7% nominal rate with no further contributions, run for 10 years: annual compounding reaches $19,671.51, quarterly reaches $20,015.97, monthly reaches $20,096.61, and daily reaches $20,136.18. Compounding every day rather than once a year adds about $465 to a $10,000 balance over an entire decade, roughly 2.4% more than annual compounding produced, not a multiple of it.

Push compounding frequency to its theoretical limit, continuous compounding, and the number barely moves again, to $20,137.53, essentially indistinguishable from daily. The reason is mathematical: as the compounding frequency n grows, (1 + r/n)^n converges toward a fixed ceiling, e^r, and most of that convergence has already happened by the time you reach daily compounding.

Where compounding frequency does matter more is at higher interest rates and over longer horizons, since the gap scales with both, but for most everyday savings and CD comparisons, the stated rate itself and how long the money stays invested are doing far more work than whether the bank compounds daily or monthly.

APY vs. APR: Reading the Rate a Bank Actually Advertises

APR, annual percentage rate, is the nominal rate before compounding is factored in, the number this calculator's rate field is built around. APY, annual percentage yield, is what you actually earn over a year once compounding is applied, and it's the figure U.S. banks are required to disclose on deposit accounts under the Truth in Savings Act (Regulation DD), specifically so a 4.00% APY at one bank means exactly the same thing as a 4.00% APY at another.

The two numbers are identical only when interest compounds once a year; any more frequent compounding pushes APY above APR, and the gap widens as compounding gets more frequent. A 10% nominal rate compounded daily works out to roughly a 10.52% APY, for instance. On the lending side, the relationship flips in emphasis rather than in math: card issuers and lenders typically advertise APR, which looks lower than the compounded reality of what a balance actually accrues, while banks advertise APY on savings products, which looks better than the plain nominal rate.

Reading the label correctly means knowing which one you're looking at, and this calculator's rate field wants the nominal APR, not a bank's advertised APY, since it applies the compounding itself.

Where This Formula Came From

Compound interest is old enough that clay tablets carry it. A cuneiform tablet from the Old Babylonian period, roughly 2000 to 1700 BC, poses essentially the same question this calculator answers: at 20% annual interest, how long until a loan doubles? The tablet's answer, three years and 283 days, is close to what the exact formula gives, and appears to have been reached by interpolating between known powers of 1.2, an early and remarkably functional workaround for not having logarithms yet. The mathematics stayed largely oral and case-by-case for millennia after that.

Richard Witt's 1613 book, Arithmeticall Questions, is credited as the first English-language text to publish comprehensive compound interest tables, letting merchants and investors value annuities and long-term contracts without redoing the multiplication from scratch each time. Seventy years later, in 1683, Jacob Bernoulli pushed the same question further while studying compound interest at increasing frequency: what happens as compounding intervals shrink toward continuous? Starting from $1 at 100% annual interest, he found the result climbing toward a fixed limit near 2.71828 as compounding frequency increased without bound, rather than growing without limit.

That number is e, one of mathematics' fundamental constants, and it was discovered inside a compound interest problem before it was recognized as anything larger.

What This Number Doesn't Include: Taxes and Inflation

This calculator's balance is a nominal number: it assumes the rate you enter holds steady and doesn't touch what happens to that money afterward. Two things quietly change what a real balance ends up worth. The first is tax. Interest credited to a standard savings account, CD, or bond is generally taxable income in the year it's paid, whether or not it's withdrawn, under the IRS's rules on interest income. A saver in a meaningful tax bracket can lose a real share of the interest itself to tax each year, a drag this projection doesn't subtract. Tax-advantaged accounts, a 401(k) or traditional IRA that defers tax until withdrawal, a Roth that can eliminate it entirely on qualified withdrawals, sidestep this, which is one reason the same nominal rate produces a different real outcome depending on which account it sits in.

The second is inflation. The U.S. Bureau of Labor Statistics tracks the Consumer Price Index specifically because prices, and therefore what a dollar buys, don't hold still over a 10- or 20-year projection like this one. A balance that grows 7% a year in this calculator's terms is only growing that fast in dollars; its growth in purchasing power is whatever's left after inflation. Neither adjustment belongs baked into a general-purpose compounding formula, since tax rates and inflation both vary by account, jurisdiction, and year, but treating this calculator's output as spendable purchasing power without accounting for either is the most common way to overestimate a long-term projection.

Questions

Frequently Asked Questions About the Compound Interest Calculator

How does compound interest actually work?

Compound interest pays interest on your interest, not just on your original deposit. Each period the balance grows, and the next period's interest is calculated on that larger balance rather than the original amount. Over a few months the effect is small, but it accelerates over years, and most of the total growth in a long-term account arrives in its final stretch, which is why starting earlier tends to matter more than contributing a little extra later.

What's the difference between simple and compound interest?

Simple interest is calculated only on the original principal for the life of the loan or deposit, so it grows in a straight line. Compound interest recalculates each period on the principal plus any interest already added, so it grows on a curve that gets steeper over time. Over short periods the two produce similar numbers; over many years compound interest pulls noticeably ahead, which is why savings and investment accounts almost always compound rather than accrue simple interest.

Does compounding frequency make a big difference to the balance?

Less than most people expect. On $10,000 at 7% for 10 years with no added contributions, annual compounding reaches $19,671.51, monthly reaches $20,096.61, and daily reaches $20,136.18, a gap of under $500 between the least and most frequent options. The stated rate and the length of time invested both move the balance far more than compounding frequency does. Comparing accounts by their APY, which already folds compounding frequency into one number, avoids the comparison entirely.

What is the Rule of 72?

The Rule of 72 estimates how many years it takes an investment to double at a given fixed annual rate: divide 72 by the interest rate. At 6%, that's 72 divided by 6, or about 12 years; at 9%, about 8 years. It's an approximation, not an exact formula, and it gets less accurate at very high rates, but it's a fast way to size up an investment's growth without running the full compound interest formula.

What's the difference between APY and APR?

APR is the nominal annual rate before compounding is factored in, the number this calculator's rate field asks for. APY is the actual return you'd earn over a year once compounding is applied, and it's always equal to or higher than the APR for the same account. A 7% APR compounded monthly works out to roughly a 7.23% APY; the gap widens as compounding gets more frequent. U.S. banks are legally required to disclose APY, not just APR, on savings products.

How often does interest actually compound in a real savings account?

Most U.S. banks compound savings account interest daily and credit it to the balance monthly, even though the rate is advertised as an annual figure. Certificates of deposit more commonly compound monthly or quarterly, spelled out in the account's disclosure. The compounding frequency field on this calculator only changes the result meaningfully at high rates or over long terms; at typical savings rates the difference between daily and monthly is a few dollars a year on a modest balance.

How long does it take to double your money with compound interest?

It depends entirely on the rate. At a typical long-run stock market average near 7% to 10% a year, doubling takes roughly 7 to 10 years by the Rule of 72. At a savings account rate closer to 2%, doubling takes about 36 years. Regular contributions on top of a lump sum shorten that timeline further, since new money starts compounding immediately rather than waiting for the original balance to double on its own.

Can compound interest work against you on debt?

Yes, and credit cards are the clearest example. Card issuers generally compound interest daily by dividing the APR by 365 to get a daily periodic rate, then applying it to the balance including any interest already added. At an average card APR in the low-to-mid 20s, an unpaid balance grows the same way a compounding investment does, just in the wrong direction, which is why interest-only minimum payments can barely dent a balance over time.

Does the contribution amount matter more than the interest rate?

Both matter, but which one dominates depends on the time horizon. Over a short period, your own contributions make up most of the balance because there hasn't been enough time for compounding to add much. Over a multi-decade horizon, the rate and the length of time invested tend to overtake contribution size, since compounding on the earliest dollars has decades to work. Starting contributions earlier, even small ones, generally outperforms waiting to contribute more.

Why does most growth happen in the final years?

Compounding is exponential, so the dollar amount of growth in any given year depends on how large the balance already is, and the balance is always smallest at the start. A balance growing at 7% a year adds roughly the same percentage every year, but that percentage is applied to a steadily larger number, so the last few years of a long-term projection typically add more in dollar terms than the first several years combined.

Is compound growth guaranteed, or can an investment lose money?

This calculator assumes a fixed, steady rate the entire term, which describes a savings account or CD reasonably well but not a stock market investment, where returns vary year to year and can be negative in any given year. Long-run historical averages are a reasonable planning input, but they smooth over real volatility along the way. FDIC-insured deposit accounts guarantee the principal and stated rate up to insurance limits; market investments do not.

How does compound interest relate to time value of money?

Time value of money is the principle that a dollar today is worth more than the same dollar later, because it can be invested and grow in the meantime. Compound interest is the mechanism that makes that true: money put in earlier has more compounding periods ahead of it, which is exactly why this calculator's worked example shows a dollar contributed in year one outgrowing a dollar contributed in the final year, even though both are the same dollar amount.

What's a good interest rate to use for savings versus investing?

For a savings account or CD, use the actual APY the bank discloses. The FDIC's national average savings rate has sat near 0.4% through 2026, while competitive online high-yield savings accounts have advertised APYs several times higher, so it's worth checking your specific account's disclosure rather than assuming a national average applies. For long-term investing, many planners use a broad historical stock market average, commonly cited in the 7% to 10% range before inflation, as a planning estimate, not a promise.

Does this calculator account for taxes or inflation?

No. It projects nominal growth at the rate you enter and doesn't subtract taxes or adjust for inflation. Interest credited to a regular savings account, CD, or bond is generally taxable income in the year it's paid, whether or not you withdraw it, under IRS rules on interest income. Inflation separately erodes purchasing power over the same years the balance is compounding, so a rate that beats inflation is what actually builds real wealth. Tax-advantaged accounts like a 401(k), traditional IRA, or Roth IRA can defer or eliminate that tax drag, which is worth weighing separately from this projection.

Do I need to manually reinvest interest to keep compounding?

It depends on the account. A savings account or CD compounds automatically: the bank credits interest straight back into the balance, which is exactly what this calculator assumes. A taxable brokerage account holding dividend-paying stocks or funds usually doesn't reinvest on its own unless you enroll in a dividend reinvestment plan; otherwise the dividend gets paid out as cash and stops compounding. If you're using this calculator to project a brokerage account, confirm reinvestment is actually turned on, or the real result will trail the projection.

References

  1. [1] U.S. Securities and Exchange Commission. “Compound Interest Calculator.” Investor.gov. Accessed 2026-08-23.
  2. [2] Consumer Financial Protection Bureau. “Appendix A to Part 1030 — Annual Percentage Yield Calculation.” CFPB / Regulation DD (Truth in Savings). Accessed 2026-08-23.
  3. [3] Consumer Financial Protection Bureau. “What is a "daily periodic rate" on a credit card?.” CFPB. Accessed 2026-08-23.
  4. [4] Federal Deposit Insurance Corporation. “National Rates and Rate Caps.” FDIC. Accessed 2026-08-23.
  5. [5] Lewin, C. G.. “The emergence of compound interest.” British Actuarial Journal (Cambridge Core). Accessed 2026-08-23.
  6. [6] Journal of the Institute of Actuaries. “An Early Book on Compound Interest: Richard Witt's Arithmeticall Questions.” Cambridge Core. Accessed 2026-08-23.
  7. [7] UTSA Department of Mathematics. “Euler's Number.” UTSA Math Research Wiki. Accessed 2026-08-23.
  8. [8] Internal Revenue Service. “Topic no. 403, Interest received.” IRS.gov. Accessed 2026-09-01.
  9. [9] U.S. Bureau of Labor Statistics. “Consumer Price Index.” BLS.gov. Accessed 2026-09-01.