Compound Interest Calculator
Free compound interest calculator with regular contributions, any compounding frequency, and the effective annual rate (APY). See the future value, total interest, a growth chart, and a year-by-year table, or solve for the rate, time, or starting amount.
https://hexacalculator.com/calculators/finance/loans/compound-interest-calculator
Finance
Loans
Compound Interest Calculator
Free compound interest calculator with regular contributions, any compounding frequency, and the effective annual rate (APY). See the future value, total interest, a growth chart, and a year-by-year table, or solve for the rate, time, or starting amount.
Compound Interest Calculator
%
Frequency Options
%
Compare to simple interest
Show how much extra your money earns from compounding versus plain simple interest over the same period.
Future value
- Total interest earned
- $
- Effective annual rate (APY)
- %
Your $10,000 grows to $16,470.095 over 10 years, earning $6,470.095 in interest. That works out to an effective 5.1162% a year once compounding is counted.
Was this calculator helpful?
It takes one click and shapes what we fix next.
Add as preferred on GoogleShow the growth chart
Plot the balance year by year, split into your deposits and the interest stacked on top.
Show the year-by-year table
List the balance, contributions, and interest earned at the end of each year.
Year | Start balance ($) | Contributions ($) | Interest ($) | End balance ($) |
|---|---|---|---|---|
| 1 | 10,000 | 0 | 511.62 | 10,511.62 |
| 2 | 10,511.62 | 0 | 537.79 | 11,049.41 |
| 3 | 11,049.41 | 0 | 565.31 | 11,614.72 |
| 4 | 11,614.72 | 0 | 594.23 | 12,208.95 |
| 5 | 12,208.95 | 0 | 624.63 | 12,833.59 |
| 6 | 12,833.59 | 0 | 656.59 | 13,490.18 |
| 7 | 13,490.18 | 0 | 690.18 | 14,180.36 |
| 8 | 14,180.36 | 0 | 725.49 | 14,905.85 |
| 9 | 14,905.85 | 0 | 762.61 | 15,668.47 |
| 10 | 15,668.47 | 0 | 801.63 | 16,470.09 |
Compound interest is a mechanism where interest generates further interest. Each time the interest is added to the remaining balance, the next calculation will be based on a larger total amount, so the money grows faster the longer it's invested.

This calculator allows you to calculate future value based on your initial investment, rate of return, frequency of compounding and number of years. You can also perform calculations in reverse, for example to find out what rate of return is required. If any field is left blank, that value will be calculated. You can also add regular deposits to see how the money grows along with the original capital over time.
What is compound interest?
With simple interest you get a fixed amount of interest in each period and the calculation is always based on the original principal. With compound interest the interest earned in each period is added to the remaining balance so that this interest also earns further interest in the next period. This feedback mechanism means that savings, investments and debts grow not linearly but exponentially. It has often been said that Albert Einstein called compound interest the eighth wonder of the world: "He who understands it can use it; he who does not understand it must pay for it."

These effects are small at first but become very significant over time. A balance that grows by 7% changes little in the first year, but because interest is calculated on the previous amount each year, it doubles after about ten years and quadruples after twenty. The two factors you can control yourself are time and frequency, and this calculator allows you to intuitively feel how important each one is.
The formula for compound interest:
The future value of a lump sum investment is the capital amount multiplied by (1 + interest rate per period) raised to the number of periods.

In this formula, is the final amount, is the original principal amount, is the annual interest rate expressed as a decimal number, is the number of times per year that the interest is compounded, and is the number of years. The interest earned is equal to the difference between the final amount and the principal amount.
Symbol | Meaning | Example |
|---|---|---|
P | Principal (starting deposit) | 10,000 |
r | Annual rate (as a decimal) | 0.05 |
n | Compounding periods per year | 12 (monthly) |
t | Number of years | 10 |
A | Final amount (result) | 16,470.09 |
Example calculation:
Suppose you invest $10,000 at an interest rate of 5 percent with the interest added to the principal each month for a period of ten years. The monthly interest rate is the result of dividing 5 by 12 and the number of periods is the result of multiplying 12 times 10 which equals 120.


The account balance is $16,470.09 and the interest earned is $6,470.09. Note that at a 5 percent rate of return, simple interest would only pay out $500 per year, for a total of $5,000 over ten years. The additional $1,470 is the effect of compound interest, which accrues every year as long as the money stays invested.
Compounding frequency - why it matters:
Even with the same annual interest rate, results can vary depending on how often interest is calculated. With compound interest, each calculation is based on a slightly higher account balance, so more frequent calculations tend to be slightly better. The difference between annual and monthly compounding is relatively large, while the difference between monthly and daily compounding is very small. This is because there's an upper limit, called continuous compounding, and decreasing the interval only makes you approach that limit gradually.
Compounding | Periods per year | 10,000 at 5% after 1 year |
|---|---|---|
Annually | 1 | 10,500.00 |
Semi-annually | 2 | 10,506.25 |
Quarterly | 4 | 10,509.45 |
Monthly | 12 | 10,511.62 |
Daily | 365 | 10,512.67 |
Continuously | infinite | 10,512.71 |
Continuous compounding is the limit that is reached when the number of periods goes to infinity, and it can be expressed by a simple formula involving the constant e (approximately equal to 2.71828).
The effective annual interest rate (APY)
Because the result depends on how often interest is compounded, it's not possible to determine the true return based on the stated rate alone. The effective annual rate (also called APY) is an annualized return that reflects the effects of compounding in a clear yearly figure. It answers the simple question: What percent increase will my balance actually be after one year with monthly compounding? The formula is:

If a 5 percent interest rate is compounded monthly, the APY will be about 5.12 percent. So an account with 5 percent interest that compounds monthly will earn more than one with 5 percent interest that only compounds annually. The APY is important when comparing savings accounts because it already takes into account the effects of compounding. This is similar to the APR (annual percentage rate) for borrowers. While the APR usually gives a nominal interest rate without taking compounding into account, the APY shows what the return will be after factoring in compounding, so a loan's APR can differ from its actual annual cost.
Add regular deposits
Most people do not pay a lump sum but make regular payments. When regular payments are entered, the calculator adds each payment to the balance at the end of the corresponding period and then calculates interest from that point forward. This is similar to how an annuity works. The earlier a sum of money is invested, the longer it has to grow, which makes it more effective than later investments. That's why it pays to start early. The future value of a stream of payments follows an annuity formula.
Here is the amount added to each period. The sum of future value consists of growth in this amount and growth in original deposit. In a graph, the increase is represented as a band that widens continuously while the area for interest curves upwards and eventually exceeds the entire invested amount by far.

Comparison of simple and compound interest
Two people each borrow $100, with an annual interest rate of 10%. The first person receives a fixed amount of $10 per year (simple interest). The second person receives compound interest on the increasing balance, so that the annual 10% is calculated against the current account balance.
Year | Simple interest balance | Compound interest balance |
|---|---|---|
1 | 110.00 | 110.00 |
2 | 120.00 | 121.00 |
3 | 130.00 | 133.10 |
10 | 200.00 | 259.37 |
40 | 500.00 | 4,525.93 |
Although the two individuals start out with almost no difference, after 40 years the second individual has about nine times as much money as the first. The difference comes from the fact that interest itself generates more interest. This is why patience in compounding interest is so important. You can check the difference using your own values by using the "Compare to simple interest" option on this calculator.
Calculating interest rate, term or initial capital
When dealing with compound interest problems it is often necessary to work backwards. You may know the future value you want and need to figure out what that requires in terms of time, rate or present value. Leave the unknown variable blank and enter the three known variables into the calculator and it will re-arrange the formula and calculate your missing variable. There are three types of compound interest calculations:
The last formula uses the natural logarithm to compute the time. It determines how long it takes for an amount of 10,000 to reach an amount of 25,000 assuming that the interest rate remains constant at 8 percent. These calculations only apply to the initial deposit amount. For regular deposits one has to calculate rates and periods under the assumption of continuous deposits which is possible in reverse direction only due to the lack of a simple closed solution.
The Rule of 72:
To quickly calculate how long it takes for an amount to double in size, divide 72 by the interest rate. At a 6 percent interest rate, it would take approximately 12 years for your money to double if you divide 72 by 6. At a 9 percent interest rate, it would take about 8 years. This is an approximation that works best with single-digit or low two-digit interest rates but serves as a useful sanity check on the exact values this calculator provides.
Where does compound interest occur?
Compound interest has both advantages and disadvantages. In the case of savings it is an advantage. Retirement accounts, index funds, and high-yield savings accounts all grow through compounding, and the earlier you start, the greater the effect of compounding will be in later years. With loans, however, it works against you. Credit cards charge interest daily on the outstanding balance, so the remaining debt grows exponentially just like with savings, but in the opposite direction. The logic is symmetrical. Take advantage of compound interest and avoid using it against yourself.
Limits and assumptions
This calculator assumes a constant interest rate, equal deposits and no taxes or fees charged over the period. Reality is more complex. The return on an investment varies from year to year and does not always hold the same interest rate. Savings rates also change. If the account has tax benefits, then taxation of interest earnings can have a significant impact. Inflation quietly erodes the purchasing power of future balances so that even a large number in thirty years may be worth less than the nominal amount shown. Note that results are to be understood as mathematical estimates and not guaranteed outcomes.
To calculate compound interest in excel or google sheets, do the following:
Enter the principal amount in cell B1, the annual interest rate in B2, the number of periods per year in B3, and the number of years in B4. You can then calculate the future value of a lump sum investment using one of the following methods:
Formula | What it does |
|---|---|
=B1*(1+B2/B3)^(B3*B4) | The compound interest formula written out |
=FV(B2/B3, B3*B4, 0, -B1) | The built-in future value function |
=FV(B2/B3, B3*B4, -PMT, -B1) | Future value including a regular payment |
The FV function uses the interest rate and number of periods for each period. So you need to divide the annual interest rate by the compounding frequency, and multiply the years by the compounding frequency, just like in the formula.
Frequently asked questions
What is an annual percentage yield (APY), and how does it differ from interest rate?
The rate of interest shown is the annual percentage rate before compounding. The effective annual rate (APY) takes into account compounding and will always be equal to or greater than the stated rate. If interest is compounded more often than annually, then the APY will be higher than the stated rate. For example, a 5 percent APR with monthly compounding would have an APY of about 5.12 percent. The APY is the figure that should be used when comparing savings accounts because even if two accounts have the same stated rate, they may pay different amounts due to differences in how often interest is compounded.
Does it really make a difference how often compound interest is calculated?
Yes it makes a difference but the effects are gradually diminishing. For an account with 5% interest, compounding annually versus monthly will increase your annual return from 5% to about 5.12%. Switching to daily compounding will only result in a slight increase. This is because all frequencies approach a limit called continuous compounding. The higher the rate and longer the time period, the more important frequency becomes. For everyday savings, there's little difference between monthly versus daily compounding.
Can I add regular deposits?
Yes. If you enter an amount in the regular contributions field, then the calculator will add that amount at the end of each compounding period and calculate compound interest from there on for each contribution. Leaving this field blank simulates a one-time contribution. The growth chart and annual table show contributions and interest separately so you can see how much money you contributed and how much was generated by compounding to form the ending balance.
How is the time to reach a savings goal calculated?
Leave the term field blank and enter the starting deposit amount, interest rate, and compounding frequency. Enter your goal as a future value. The calculator will use a logarithmic formula to determine the term. It would take just under 12 years for $10,000 to grow to $25,000 at a constant annual interest rate of 8 percent with annual compounding. This calculation only works for an initial deposit and not regular deposits.
Is compound interest good or bad?
It depends on which side you're on. When saving and investing, compound interest can be a great help. It's more important to start early than it is to get a high rate of return. If you have debt, the same force works against you. With credit card debt, interest accrues on the amount owed, and this is usually calculated daily, so debts can snowball just like savings. The goal is to use compound interest to your advantage rather than work against it.
Related calculators






Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.
References
- Investopedia: Compound Interest
Definition, the formula, worked examples, and how compounding frequency changes the result.
- U.S. SEC Investor.gov: Compound Interest Calculator
The SEC's investor education tool and background on how compounding builds savings over time.
- Consumer Financial Protection Bureau: APR and APY
How stated rates, APR, and the compounded annual yield relate to one another.