Compound Interest Calculator: Deposits, Taxes, Fees and Inflation
See how your money grows when interest earns interest. Enter your starting amount, regular deposits, rate and years, then open More options for deposit timing, taxes, fees, inflation and goals. Results update as you type.
Time and deposits
Taxes, fees and inflation
Goal and range
The tax rate only applies to taxable and tax-deferred accounts. The fee is taken from the yearly return. Leave the goal at 0 to hide the goal tools.
Balance and money you put in over time
Growth schedule
Related calculators
Savings Calculator
Reach a goal📈Inflation Calculator
Buying power🏦401(k) Calculator
Retirement savings⚖️401(k) vs Roth IRA
Which account🤔Pay Off Debt or Invest
Which firstMore Savings & Investing calculators · See all calculators
How this compound interest calculator works
Enter what you have today, how much you add and how often, the yearly rate, the compounding and the number of years. The answer updates as you type, with no Calculate button. The result shows your final balance, how much of it is your own money and how much is interest, and what that balance would be worth in today's dollars.
Open More options to add months, deposit timing, yearly increases in your deposits, the account type, tax rate, investment fees, inflation, a savings goal and a rate range. One calculator covers what usually takes several tools.
The compound interest formula
For a single deposit the formula is A = P x (1 + r/n) to the power of n x t. P is the starting amount, r is the yearly rate as a decimal, n is how many times a year interest is added, and t is the number of years. Take $10,000 at 6% compounded monthly for 20 years. Each month the rate is 0.5%, there are 240 months, and A = $10,000 x 1.005 to the power of 240 = $33,102.
Regular deposits grow the same way, and each one earns interest from the day it is added. Twelve $200 deposits a year for 20 years add up to $48,000 of your own money, but with interest they become $92,408. Together with the starting $10,000, which grows to $33,102, the final balance is $125,510. Of that, $58,000 is money you put in and $67,510 is interest.
Year-by-year example
| Year | Balance | You put in | Interest earned |
|---|---|---|---|
| Year 1 | $13,084 | $12,400 | $684 |
| Year 5 | $27,443 | $22,000 | $5,443 |
| Year 10 | $50,970 | $34,000 | $16,970 |
| Year 15 | $82,705 | $46,000 | $36,705 |
| Year 20 | $125,510 | $58,000 | $67,510 |
The balance after year 5 is $27,443, and interest is only $5,443 of it. By year 20 interest is 54% of the balance. This is the "snowball": early years are mostly your deposits, and later years are mostly interest. In year 20 alone the balance rises by $9,615, while you deposit only $2,400.
What the rate does: 4%, 6% and 8%
| Yearly rate | Final balance after 20 years | Interest earned | Interest as a share of balance |
|---|---|---|---|
| 4% | $95,581 | $37,581 | 39% |
| 6% | $125,510 | $67,510 | 54% |
| 8% | $167,072 | $109,072 | 65% |
The calculator shows these three rates side by side, because nobody knows the future return. A two-point difference changes the result a lot: moving from 4% to 8% takes the final balance from $95,581 to $167,072, which is 75% more with the same deposits. You can change the size of the range in More options.
Compounding frequency: yearly, monthly, daily
| Compounding | Final balance | Interest earned |
|---|---|---|
| Yearly | $122,784 | $64,784 |
| Twice a year | $124,236 | $66,236 |
| Quarterly | $124,993 | $66,993 |
| Monthly | $125,510 | $67,510 |
| Weekly | $125,713 | $67,713 |
| Daily | $125,765 | $67,765 |
| Continuous | $125,773 | $67,773 |
Interest can be added once a year, every month, every day, or continuously. The more often it is added, the earlier your interest starts earning interest. The effect is real but small: on this example, daily compounding is only $2,981 above yearly, and continuous compounding adds $9 on top of daily. A higher rate or more years change the answer far more than the compounding frequency.
APR versus APY
The APR is the stated rate. The APY is what you really earn in a year after compounding. A rate of 6% compounded monthly has an APY of 6.168%, and 6% compounded daily has an APY of 6.183%. When you compare savings accounts or loans, compare the APY. The calculator shows the effective yearly rate for your own numbers.
The Rule of 72
| Yearly rate | Rule of 72 (72 / rate) | Exact doubling time |
|---|---|---|
| 2% | 36.0 years | 35.0 years |
| 4% | 18.0 years | 17.7 years |
| 6% | 12.0 years | 11.9 years |
| 8% | 9.0 years | 9.0 years |
| 10% | 7.2 years | 7.3 years |
| 12% | 6.0 years | 6.1 years |
The Rule of 72 is a quick way to guess how long money takes to double without leaving interest on the table. Divide 72 by the rate. It is close to the exact answer at moderate rates, and it is a handy check on the calculator. The exact doubling time for your inputs is shown in the results.
Deposit frequency and timing
| Deposit schedule | Per deposit | Final balance |
|---|---|---|
| Weekly | $434,310 | |
| Every 2 weeks | $233,590 | |
| Twice a month | $218,150 | |
| Monthly | $125,510 | |
| Quarterly | $63,751 | |
| Yearly | $40,593 |
The table keeps the same $200 per deposit, so weekly deposits put in much more money in total than yearly deposits do. To compare schedules fairly, keep the total yearly amount the same and change only how often it arrives. When you save the same total, more frequent deposits earn slightly more because the money starts working sooner. Deposits at the start of each period also beat deposits at the end: $125,972 against $125,510 here, a gain of $462.
Raising your deposit every year
Most people earn more over time, so a fixed deposit can be too cautious. The calculator can raise your deposit by a percentage every year. With a 3% yearly increase, the $200 monthly deposit becomes $350.70 in year 20, and the final balance grows from $125,510 to $150,243. Total deposits rise from $48,000 to $64,489.
Taxes: Roth, traditional and taxable accounts
| Account type (22% tax) | Final balance after tax | Compared with tax-free |
|---|---|---|
| Tax-free (Roth) | $125,510 | - |
| Tax-deferred (traditional 401(k) or IRA) | $110,658 | -$14,852 |
| Taxable (tax on interest each year) | $104,688 | -$20,822 |
The account matters as much as the rate. In a Roth account growth is not taxed. In a traditional account, tax is paid when you take the money out, here $14,852 on $67,510 of growth. In a taxable account, tax is paid on the interest each year, which slows compounding. Pick your account type and tax rate in More options to see the after-tax balance. The tax rate is a simple flat rate and does not model brackets or capital gains rules.
Investment fees
A fee of 1% a year seems small, but it is taken from your return every year. With 6% growth, a 1% fee leaves $109,333 after 20 years instead of $125,510, a loss of $16,177 or 13% of the balance. Over 40 years the same fee takes a larger share. Use the fee box to compare a low-cost fund with an expensive one.
Inflation: what the balance buys
A balance of $125,510 in 20 years will not buy what $125,510 buys today. At 3% inflation the buying power is about $69,492 in today's dollars, a drop of 45%. The calculator shows both numbers and a line for the real value in the chart. Use a real return (rate minus inflation) if you prefer to work in today's dollars.
The cost of waiting
| When you start | Years invested | Final balance | Lost by waiting |
|---|---|---|---|
| Today | 20 | $125,510 | - |
| 1 year later | 19 | $115,895 | $9,615 |
| 5 years later | 15 | $82,705 | $42,806 |
| 10 years later | 10 | $50,970 | $74,540 |
Every year of delay removes the most valuable year, the last one, when the balance is largest. Waiting 10 years cuts the final balance by 59%, while the money you put in falls by only half. The calculator shows this table for your own numbers.
Planning for a savings goal
Type a target amount and the calculator works two ways. First, how many years you need with the deposits you set: to reach $100,000 with $10,000 and $200 a month at 6%, it takes 17 years and 3 months. Second, how much to deposit each month to hit the goal in your time frame: $500,000 in 20 years needs about $1,010.51 a month with $10,000 to start, and $1,000,000 in 30 years needs about $935.55 a month.
Compound interest versus simple interest
Simple interest is paid only on the starting amount. Compound interest is paid on the starting amount and on all the interest added before. Take $10,000 at 6% for 20 years with no deposits. Simple interest gives $22,000, which is $12,000 of interest. Compounding monthly gives $33,102, which is $23,102 of interest, more than three times as much money earned from the same start.
Savings accounts, retirement accounts, index funds and bonds all work with compounding. Loans and credit cards use it too, but against you, because the interest you owe is added to the balance you owe. Use this page when the money works for you.
How much a monthly deposit adds
| Monthly deposit ($10,000 start, 6%, 20 years) | You put in | Final balance | Interest earned |
|---|---|---|---|
| $100 | $34,000 | $79,306 | $45,306 |
| $200 | $58,000 | $125,510 | $67,510 |
| $500 | $130,000 | $264,122 | $134,122 |
| $1,000 | $250,000 | $495,143 | $245,143 |
Doubling the deposit roughly doubles the part of the balance that comes from deposits, but the starting $10,000 keeps growing on its own. A deposit of $500 a month ends at $264,122, and $1,000 a month ends at $495,143. Even $100 a month turns into $79,306, so a small habit started early still matters.
Common mistakes when estimating growth
- Using a rate that is too high. A savings account pays far less than a stock fund. Match the rate to where the money really is.
- Forgetting inflation. A large number in 30 years buys less than it looks. Read the line in today's dollars.
- Ignoring taxes and fees. A small fee or tax can take a large share of the final balance. Add them in More options.
- Assuming steady returns. Markets go up and down. Test a low and a high rate to see the range.
- Stopping deposits. Pausing the deposits for a few years hurts more than it seems, because those dollars lose their years of growth.
How to use this calculator
- Type your starting amount and the deposit you plan to make, and choose how often you deposit.
- Enter the yearly rate you expect and the number of years.
- Choose the compounding. Monthly is common for savings accounts and funds.
- Open More options to add deposit timing, yearly raises, your account type, fees, inflation or a goal.
- Read the final balance, the interest, the donut chart and the three-rate comparison, then download the schedule if you want it.
What this calculator does not cover
It assumes one fixed yearly rate. Real investments rise and fall, and the same average return can produce very different balances depending on the order of the years. The tax rate is flat, fees come out of the return, and inflation is a steady yearly rate. Deposits are assumed to continue for the whole period. For a loan you pay, use a loan calculator, because compound interest works against the borrower there.
FAQ
How do I calculate compound interest?
The formula for a single deposit is A = P x (1 + r/n) to the power of n x t, where P is the starting amount, r the yearly rate, n the number of times interest is added per year and t the years. For $10,000 at 6% compounded monthly for 20 years, A = $33,102. With a $200 deposit every month as well, the balance becomes $125,510. The calculator does this instantly and shows every year.
How much will $10,000 grow in 20 years?
At 4%, 6% and 8% compounded monthly with $200 added every month, $10,000 grows to $95,581, $125,510 and $167,072. Without the monthly deposits, $10,000 alone at 6% becomes $33,102.
What is the difference between compounding daily, monthly and yearly?
More frequent compounding adds interest earlier, so the balance is slightly higher. On $10,000 at 6% with $200 a month for 20 years, yearly compounding gives $122,784, monthly gives $125,510 and daily gives $125,765. Going from monthly to daily adds only $254.
What is the Rule of 72?
Divide 72 by your yearly rate to estimate how many years it takes to double your money. At 6% that is 72 / 6 = 12 years. The exact figure for 6% compounded monthly is 11.6 years. The rule works best for rates between 6% and 10%.
What is the difference between APR and APY?
APR is the stated yearly rate. APY is the real yearly rate after compounding. A 6% rate compounded monthly is an APY of 6.168%. The calculator shows the APY for the rate and compounding you choose.
Should deposits be at the start or end of each period?
A deposit at the start of the period earns interest for that whole period, so the balance ends higher. With $200 a month for 20 years at 6%, deposits at the end give $125,510 and deposits at the start give $125,972. Choose the option that matches how your money really moves.
How do taxes change the result?
It depends on the account. In a Roth account growth is tax-free. In a taxable account, tax is taken from the interest each year, so less is left to compound: at a 22% rate the $125,510 becomes $104,688. In a traditional 401(k) or IRA, tax is due at the end: the same balance becomes $110,658 after tax.
How much do investment fees cost me?
A fee of 1% a year is taken out of your return. At 6% with the same deposits, a 1% fee turns $125,510 into $109,333 over 20 years, a difference of $16,177. Put the fee in More options to see your own cost.
What is my balance worth after inflation?
Prices rise over time, so a future dollar buys less. At 3% inflation, $125,510 in 20 years has the buying power of about $69,492 in today's dollars. The calculator shows both numbers.
How much do I need to save each month to reach a goal?
Enter your target in the goal box in More options. To reach $500,000 in 20 years with $10,000 to start at 6%, you need to add about $1,010.51 a month. The calculator also tells you how many years it takes to reach a goal with the deposits you chose.
Does starting early really matter?
Yes. With $200 a month and $10,000 at 6%, saving for 20 years gives $125,510, while saving for 10 years gives $50,970. Waiting 10 years leaves you with 41% of the balance, even though you put in half as much.
Can I increase my deposit every year?
Yes. Set "Raise deposits each year" in More options. Adding 3% more every year turns $125,510 into $150,243.
Good to know
- Compound interest is interest on your interest. The longer money stays invested, the faster the balance grows.
- Time matters more than the monthly amount. Starting early beats saving more later.
- More frequent compounding helps, but the gap between monthly and daily is small. The rate and the years matter far more.
- Fees, taxes and inflation lower what you really keep. Check the after-tax and today's-dollars lines.
- Results are estimates. Real returns vary from year to year, so test a low, middle and high rate.
Examples use the stated inputs and are calculated by the same method as the calculator.