Compound Interest Calculator

How a starting balance and regular deposits grow when interest earns interest

Last updated: October 2026

Your inputs

Whole years, up to 100.

For example 3% if you raise your deposit with each pay rise.

Future balance
$300,851
$166,574 in today's dollars
Your contributions
$130,000
Including the initial deposit
Interest earned
$170,851
56.8% of the final balance

Doubling time

Rule of 72: 72 / 7% = 10.3 years. Exact at this rate and compounding: 9.9 years. Effective annual rate (APY): 7.229%.

Contributions vs interest

Year-by-year schedule

YearDepositsInterestTotal interestBalance
1$6,000$919$919$16,919
2$6,000$1,419$2,339$24,339
3$6,000$1,956$4,294$32,294
4$6,000$2,531$6,825$40,825
5$6,000$3,148$9,973$49,973
6$6,000$3,809$13,782$59,782
7$6,000$4,518$18,299$70,299
8$6,000$5,278$23,578$81,578
9$6,000$6,094$29,671$93,671
10$6,000$6,968$36,639$106,639
11$6,000$7,905$44,544$120,544
12$6,000$8,910$53,455$135,455
13$6,000$9,988$63,443$151,443
14$6,000$11,144$74,587$168,587
15$6,000$12,383$86,971$186,971
16$6,000$13,712$100,683$206,683
17$6,000$15,137$115,820$227,820
18$6,000$16,665$132,486$250,486
19$6,000$18,304$150,790$274,790
20$6,000$20,061$170,851$300,851

How compound interest works

Simple interest pays you only on the money you deposited. Compound interest pays you on your deposits and on the interest already credited, so each period's interest is a little larger than the last. Over long periods the interest on interest becomes the biggest part of the balance.

In words: grow the starting balance by the periodic rate once for every compounding period, then add each deposit grown by the periods it has left to earn.

A = P(1 + r/n)nt + PMT x [((1 + r/n)nt - 1) / (r/n)]

P is the starting balance, r the annual rate as a decimal, n the compounding periods per year, t the years and PMT the deposit each period. For deposits at the start of each period, multiply the second term by (1 + r/n). For continuous compounding, (1 + r/n)nt becomes ert. At a 0% rate the formula reduces to P + PMT x n x t.

When your deposit schedule differs from the compounding schedule (say, weekly deposits into an account that compounds daily), the calculator converts the rate to its effective annual rate, the APY, and applies the equivalent rate for each deposit period. That keeps a lump sum exactly on the formula above.

Worked example

You start with $10,000 and add $500 at the end of every month. The account earns 7% a year, compounded monthly.

  • After 20 years you have deposited $130,000 ($10,000 plus 240 x $500).
  • The balance is $300,850.72, so $170,850.72 is interest: more than you put in.
  • Leave it 10 more years on the same plan and the balance reaches $691,150.47.
  • Rule of 72: 72 / 7 = 10.3 years to double. The exact figure at 7% compounded monthly is 9.9 years.

The last 10 years add more than the first 20. That is the case for starting early: time does more of the work than the size of each deposit.

Choosing a realistic rate

A guaranteed rate only exists on products like CDs, Treasury bills and fixed annuities, and only for their term. High-yield savings rates move with the Federal Reserve. Stock and bond funds have no fixed rate, so a long-run average is an assumption about the future, not a promise.

Taxes also matter. Interest in a regular bank or brokerage account is taxed each year, which slows compounding. Inside a 401(k), IRA or HSA the growth is tax-deferred or tax-free, so the formula above is closer to what you actually keep.

Frequently Asked Questions

What is the compound interest formula?

For a single deposit, the future value is A = P(1 + r/n)^(nt), where P is the starting amount, r is the annual rate as a decimal, n is the number of times interest is compounded each year and t is the number of years. With regular deposits of PMT at the end of each period, add PMT x [((1 + r/n)^(nt) - 1) / (r/n)]. With continuous compounding the single-deposit formula becomes A = P x e^(rt). If the rate is zero there is no growth, so the balance is simply the money you put in.

How much will $10,000 grow in 10 years?

At 5% compounded monthly with nothing added, $10,000 grows to $16,470.09 in 10 years, so $6,470.09 is interest. Add $100 a month at the end of each month and the balance reaches $31,998.32: $22,000 of your own money and $9,998.32 of interest. At 0% it stays at $10,000.

Does compounding frequency make a big difference?

Less than most people expect. At 5%, annual compounding turns $10,000 into $16,288.95 over 10 years, monthly compounding gives $16,470.09, daily gives $16,486.65 and continuous gives $16,487.21. The rate itself and the number of years matter far more. When you compare bank accounts, compare the APY, which already includes the compounding.

What is the rule of 72?

Divide 72 by the annual rate to estimate how many years it takes money to double. At 6%, 72 / 6 = 12 years. The shortcut is close for rates between about 4% and 12%. This calculator also shows the exact doubling time, which is ln(2) divided by ln(1 + effective annual rate).

Should I contribute at the start or the end of each period?

Deposits at the start of each period earn one extra period of interest each time, so the balance is a little higher. With $100 a month for 10 years at 5% compounded monthly, start-of-month deposits grow to $15,592.93 against $15,528.23 for end-of-month deposits. Most payroll contributions land at the end of a pay period.

What does the inflation-adjusted view show?

It divides each year-end balance by (1 + inflation)^years, so the figure is in today's dollars. If prices rise 3% a year, $100,000 in 20 years buys about what $55,368 buys today. Use it to judge whether a goal is big enough, not to predict an exact price level.

Is compound interest guaranteed?

Only on fixed-rate products such as a CD or a Treasury held to maturity, and even then only for the term. Savings account rates change at the bank's discretion, and stock and bond funds have no fixed rate at all: they can lose money in any year. Treat any rate above a guaranteed one as an assumption.