Skip to content

Free, runs entirely in your browser

Compound Interest Calculator

Compound interest is the reason a modest, regular contribution can grow into a substantial sum over time: you earn a return not only on the money you put in, but on every dollar of interest that money has already earned. The calculator below lets you enter a starting amount, a monthly contribution, a time period, an annual interest rate, and a compounding frequency, and instantly see your future value, your total contributions, your total interest earned, and how the result shifts if your actual rate turns out to be a percentage point better or worse than expected.

Total contributed
Total interest earned
Future value Enter your numbers above.
Was this tool helpful?
Give feedback

What Is Compound Interest?

Compound interest is interest calculated on both your original principal and the interest that has already accumulated on it. Simple interest, by contrast, is only ever calculated on the original principal, so it grows in a straight line. Compound interest grows on a curve that gets steeper over time, because each period's interest becomes part of the balance that earns interest in the next period.

The standard formula is A = P(1 + r/n)^(nt), where A is the final amount, P is your principal, r is the annual interest rate as a decimal, n is how many times per year interest compounds, and t is the number of years. If you want the full derivation, a worked step-by-step walkthrough, and how the formula changes once you add regular contributions, see our compound interest formula page.

As a quick illustration: $1,000 invested at a 5% annual rate, compounded monthly, for 10 years grows to $1,647.01: $647.01 of that is pure interest, a 64.7% gain on the original $1,000, without adding another dollar.

How Compounding Frequency Changes Your Result

The more often interest is added to your balance, the sooner it starts earning interest of its own, so a higher compounding frequency always produces a slightly larger result at the same nominal annual rate. The difference is real but modest, since each individual compounding period is applying a smaller slice of the annual rate. Here is $10,000 invested at a 5% annual rate for 20 years, with no further contributions, at three different compounding frequencies:

Compounding frequencyFuture value after 20 years
Annually (n = 1)$26,532.98
Monthly (n = 12)$27,126.40
Daily (n = 365)$27,180.96

Switching from annual to daily compounding on this $10,000 investment adds $647.98 over 20 years: worth having, but far less dramatic than choosing a higher interest rate or contributing more, which is why the calculator above lets you compare all three by adjusting the compounding frequency directly.

Using This Calculator

Enter your starting amount (use 0 if you are starting from scratch), an optional monthly contribution, the number of years you plan to invest, your expected annual interest rate, and how often the return compounds. The result updates instantly as you type: your future value, your total contributions (principal plus every deposit, with no interest included), and your total interest earned.

Below the main result, the calculator also shows a three-scenario comparison: what happens if your actual rate turns out to be one percentage point lower than expected (pessimistic), exactly as entered (expected), or one percentage point higher (optimistic). Interest rates are never perfectly predictable over long horizons, so seeing the realistic spread around your estimate is more useful than trusting a single number.

Everything happens locally in your browser using plain JavaScript: nothing you type is sent to a server, logged, or stored anywhere outside your own device's local storage (which only remembers your last inputs so you don't have to retype them on your next visit).

Real-World Examples

Retirement contributions. Investing $5,000 every year from age 25 to age 65 (40 years) at a 7% average annual return grows to $998,175.56: just short of a million dollars: even though you only contributed $200,000 of your own money across those four decades. The remaining $798,175.56 is compound growth.

A college fund. $10,000 set aside for a child's education, growing at 6% compounded monthly for 8 years, becomes $16,141.43.

A high-yield savings account. $50,000 parked in an account paying 4.5% APY, compounded daily, grows to $62,615.27 after 5 years: with zero investment risk and full access to the funds.

A long-term investment portfolio. Contributing $10,000 every year for 30 years at a 10% average annual return (roughly the long-run historical average for a diversified stock portfolio) grows to $1,644,940.23. Most of that total comes from growth, not from the $300,000 actually contributed.

Debt works the same way, against you. A $5,000 credit card balance at a 20% APR, compounded daily and left completely untouched with no payments for a single year, grows to $6,106.68: $1,106.68 in interest on top of the original balance. This is the same formula working in the lender's favor, which is exactly why paying down high-interest debt quickly matters so much.

Common Misconceptions About Compound Interest

"A one-percent difference in rate barely matters." It does, enormously, over long periods. $100,000 invested at 6% for 30 years grows to $574,349.12; the same $100,000 at 5% grows to only $432,194.24: a $142,154.88 difference from a single percentage point.

"I need a large amount to start." You don't. $100 contributed every month from age 25 to age 65, at a 7% average return compounded monthly, grows to $262,481.34. Consistency and time matter far more than the size of any individual contribution. If you have a specific target amount in mind instead, try the savings goal calculator, which works backwards from a goal to tell you the monthly contribution you would actually need.

"Compounding only applies to savings accounts." The same math applies to retirement accounts, brokerage accounts, mortgages, and any interest-bearing loan: understanding it helps you evaluate all of them, not just a savings account.

Compound Interest vs. Simple Interest: A Side-by-Side Example

The gap between simple and compound interest is invisible at first and enormous later. Take $10,000 at a 6% annual rate for 30 years. Under simple interest, you would earn a flat $600 every single year, for a total of $18,000 in interest and a final balance of $28,000. Under compound interest (annual compounding), the same $10,000 at 6% grows to $57,434.91: more than double the simple-interest result, because every year's interest joins the balance and starts earning its own interest.

The two methods start close together: after year one, both produce exactly $10,600, since there has been no prior interest yet to compound. The gap only opens up over time, which is why compound interest rewards patience so disproportionately: and why the same math is worth understanding whether you are the one earning the interest, or the one paying it.

How to Maximize Compound Interest

Start earlier. Time matters more than almost any other variable. Contributing $200 a month at a 7% return starting at age 25 (40 years to age 65) produces $524,962.68. Waiting until age 35 to start the exact same $200 monthly contribution at the same rate (30 years to age 65) produces only $243,994.20: less than half, for an identical monthly amount, purely because of the ten-year delay.

Seek a higher rate, within your risk tolerance. As the misconceptions section above shows, even a single percentage point compounds into a large difference over decades.

Favor more frequent compounding when everything else is equal. Daily compounding will always slightly outperform monthly or annual compounding at the same nominal rate, see the comparison table above.

Add regular contributions. $10,000 invested once at 6%, compounded monthly, grows to $33,102.04 over 20 years with no further deposits. Add just $100 a month over the same 20 years and the total reaches $79,306.13: more than double, from a contribution of $100 a month.

Avoid early withdrawals. Every dollar withdrawn stops earning interest immediately and never catches back up to where it would have been.

Reinvest dividends and interest payouts instead of taking them as cash, so they can start compounding on their own.

Frequently asked questions

What is the compound interest formula?
A = P(1 + r/n)^(nt), where A is the final amount, P is your principal, r is the annual interest rate as a decimal, n is the number of times per year interest compounds, and t is the number of years. See our compound interest formula page for the full derivation and worked examples, including the version of the formula that adds regular contributions.
What is the difference between simple interest and compound interest?
Simple interest is calculated only on your original principal, so it grows in a straight line. Compound interest is calculated on your principal plus all previously earned interest, so it grows faster the longer it runs. Compound interest always produces an equal or larger result than simple interest at the same rate.
Does this calculator store the numbers I enter?
No. Every calculation runs locally in your browser using JavaScript. Nothing you type is sent to a server or stored in any database. The only thing saved is your last set of inputs, in your own browser's local storage, purely so you don't have to retype them next time. See our privacy policy for full details.
How often should interest compound for the best result?
More frequent compounding always produces a slightly larger result at the same nominal annual rate, with daily compounding beating monthly, and monthly beating annual. The effect is real but modest: choosing a higher interest rate or contributing more money regularly will always matter more than the compounding frequency alone.
How do I know how much to contribute each month to reach a goal?
Use the savings goal calculator: enter your target amount, what you have saved already, your time horizon, and your expected return, and it works backwards to tell you the exact monthly contribution required.
Does compound interest work against me if I have debt?
Yes. Credit cards, many personal loans, and some mortgages all use compound interest, so an unpaid balance grows the same way a compound investment does: just in the lender's favor. A $5,000 balance at a 20% APR, compounded daily and left with no payments for a year, grows to $6,106.68. Paying down high-interest debt quickly avoids exactly this growth.
What interest rate should I use for a realistic estimate?
That depends entirely on where the money is held. High-yield savings accounts and short-term CDs have recently offered roughly 4-5% APY. Long-term diversified stock portfolios have historically averaged around 7-10% annually over multi-decade periods, though any single year can vary sharply in either direction. This calculator does not predict future rates: it only shows what a given rate produces, which is exactly why the built-in three-scenario comparison shows a range around your estimate rather than a single number.
Does this calculator account for inflation or taxes?
No, the result shown is a nominal future value: what your balance would be given the interest rate you enter, with no adjustment for inflation or taxes. To estimate purchasing power, subtract your expected annual inflation rate from the interest rate before entering it. Tax treatment varies enormously by account type and country, so it is intentionally left out of this general-purpose calculator.
Can I use this calculator for a retirement account like a 401(k) or IRA?
Yes: the math is identical. Enter your current balance as the principal, your regular payroll or personal contribution as the monthly contribution, your expected time horizon, and an assumed average annual return. Keep in mind employer matching, if any, effectively increases your monthly contribution figure, and real returns vary year to year even when a long-run average looks smooth.
Why does the future value change when I only adjust the compounding frequency?
Because compounding frequency determines how often interest is added to your balance and starts earning interest of its own: more frequent compounding produces a slightly larger result at the same nominal annual rate. See the comparison table above for exactly how much difference annual, monthly, and daily compounding make on the same $10,000 example.
Is the three-scenario comparison a guarantee of my actual return?
No. The pessimistic, expected, and optimistic scenarios are simply the same calculation run at your entered rate minus one percentage point, at your entered rate, and at your entered rate plus one percentage point, so you can see how sensitive your result is to a modest change in return. No calculator can predict future interest rates or market performance: treat every scenario as an illustration of the math, not a forecast.

Try a different scenario

Change the compounding frequency above and watch the three-scenario table update instantly.

Back to the calculator

Free. No sign-up.