Savings & Investments

Compound Interest Calculator

See how a starting balance and regular contributions grow when interest earns interest. Choose how often interest compounds, when contributions are made and how long you let it run.

  • Free to use
  • Runs in your browser
  • APY and doubling time
  • Year-by-year table

Your numbers

Results update as you type. Nothing you enter leaves your browser.

The stated (nominal) annual rate, before compounding.

Your results

Balance after 20 years

$124,379

$71,379 of it is interest

ItemAmount
Final balance$124,379
Total contributed (including starting balance)$53,000
Interest earned$71,379
Effective annual yield (APY)7.229%
Growth as a share of the final balance57.4%
A lump sum doubles in about9.9 years
Interest passes total contributions in year17

Growth over time

$0$50K$100K$150K05101520Years
  • Total contributions
  • Interest and growth

Year-by-year balance

YearTotal contributedGrowth earnedBalance
1$7,400$440$7,840
2$9,800$1,085$10,885
3$12,200$1,951$14,151
4$14,600$3,052$17,652
5$17,000$4,407$21,407
6$19,400$6,033$25,433
7$21,800$7,950$29,750
8$24,200$10,179$34,379
9$26,600$12,743$39,343
10$29,000$15,665$44,665
11$31,400$18,973$50,373
12$33,800$22,693$56,493
13$36,200$26,855$63,055
14$38,600$31,492$70,092
15$41,000$36,637$77,637
16$43,400$42,328$85,728
17$45,800$48,604$94,404
18$48,200$55,507$103,707
19$50,600$63,082$113,682
20$53,000$71,379$124,379

Estimates for information only. See the assumptions below and the financial disclaimer.

What to enter

Starting balance
The amount you have at the beginning. It can be zero if you are starting with monthly deposits only.
Monthly contribution
The amount you add every month. Contributions are what make ordinary savers’ balances grow; the calculator lets you test how much they matter.
Annual interest rate
The stated (nominal) yearly rate before compounding. If you only have a yield figure, such as an APY, see the note in the results section.
Compounding frequency
How often interest is added to the balance: annually, semiannually, quarterly, monthly or daily. More frequent compounding produces slightly more.
Years to grow
The length of time you leave the money invested or saved, from 1 to 80 years.
Contributions are made
At the end of each month (the default) or at the start. Deposits at the start earn one extra month of interest.

How to read your results

The headline is the final balance. The table separates what you put in from what growth added: total contributed (starting balance plus every deposit) and interest earned. The effective annual yield (APY) converts your stated rate and compounding frequency into the yield you would actually earn in a year, which allows a fair comparison between accounts that compound differently. A lump sum doubles in about shows how long a single deposit takes to double at that yield. When interest earned first exceeds everything you have contributed, the table notes the year, which is the point where compounding starts to do more work than you do.

The stacked chart shows contributions and growth over time, and the table underneath gives the balance year by year, so you can see how growth accelerates in the later years.

The formulas

Interest compounds when it is added to the balance and then earns interest itself. For a single amount, the value after t years is:

A = P × (1 + r ÷ n)n × tP is the starting balance, r is the stated annual rate as a decimal, n is the number of compounding periods per year and t is the number of years.

The effective annual yield is the same growth measured over one year:

APY = (1 + r ÷ n)n − 1

With regular monthly contributions, the calculator converts the stated rate into an equivalent monthly rate, (1 + r ÷ n)n ÷ 12 − 1, and steps through the schedule month by month: interest is added to the balance, and the contribution is added at the end (or start) of the month. Stepping month by month avoids the need for a separate annuity formula and works for any compounding frequency.

The doubling time shown is exact for the yield: ln 2 ÷ ln (1 + APY). The familiar rule of 72, which divides 72 by the percentage rate, is a quick approximation of the same thing.

Worked example

$5,000 start, $200 a month, 7% for 20 years

With monthly compounding, the balance after 20 years is $124,379. You contributed $53,000 in total ($5,000 plus 240 deposits of $200), so $71,379 of the balance is interest. The APY is 7.229%, and a lump sum at this yield doubles in about 9.9 years. Interest first exceeds total contributions in year 17.

Compounding frequency matters little. Compounded annually the same inputs give $120,856, and compounded daily they give $124,709. The gap between the two is $3,854 over 20 years, which is small next to the effect of time or contributions.

Time matters a lot. Ten years gives $44,665, twenty gives $124,379 and thirty gives $284,577. The last ten years add more than the first twenty combined. Contributions matter too: raising the deposit from $200 to $300 lifts the 20-year balance to $176,472. And depositing at the start of each month instead of the end adds $608.

A single deposit. $10,000 with no further contributions at 6% for 12 years grows to $20,508.

Nominal rate, APY and comparing accounts

Banks and brokers describe growth in two ways. The interest rate (nominal rate) is the stated yearly rate before compounding. The APY (annual percentage yield) includes the effect of compounding and is what you actually earn over a year. A 5% rate compounded monthly has an APY of about 5.12%. When you compare savings accounts or certificates of deposit, compare APYs. When you enter a figure into this calculator, use the nominal rate together with the matching compounding frequency. If you only have an APY and want the exact result, select annual compounding and enter the APY as the rate, which gives the same growth over a year.

Loans compound in the same way, but against you. Credit card balances that compound daily at a high rate grow quickly when unpaid, which is why the debt payoff calculator is worth using alongside this one.

What the projection leaves out

The projection uses one constant rate. Savings account rates change, and investment returns vary from year to year, sometimes widely, so treat the result as an illustration rather than a forecast. It is also a pre-tax and pre-fee figure: taxes on interest, account fees and investment expenses lower real growth, and inflation reduces what the future balance will buy. To see the effect of fees and inflation on an investment projection, use the investment return calculator, and to see inflation over specific years, the inflation calculator. If your goal is a target amount, the savings calculator solves for the time or the deposit you need.

Frequently asked questions

What is compound interest?

Compound interest is interest calculated on both the original balance and the interest already added. Because each period’s interest becomes part of the base for the next, growth accelerates over time.

Does more frequent compounding make a big difference?

Usually not a large one. The example shows daily compounding beating annual compounding by a small amount over 20 years. The rate, the time and the size of contributions matter far more.

What is the rule of 72?

It is a shortcut: divide 72 by the annual percentage return to estimate how many years it takes money to double. At 7% it gives about 10.3 years. The calculator shows an exact figure.

Should I enter APY or the interest rate?

Enter the nominal interest rate with its compounding frequency for the exact result. If you only know the APY, choose annual compounding and enter the APY as the rate.

Does this account for taxes, fees or inflation?

No. It shows growth before taxes, fees and inflation. Those reduce real returns.

Are these numbers guaranteed?

No. They are a projection based on the constant rate you enter. Actual returns vary.

Sources and further reading