Skip to content

Compound interest calculator

How savings grow over time.

$
$
%
yr
When monthly deposits are made

Final balance

47,526.55

Total deposits
–
Total interest
–
Doubles in (rule of 72)
–
Effective annual rate
–

Assumes a fixed rate and no tax, fees or withdrawals. This calculator is for information only and is not financial advice.

What if the monthly deposit were different?

Change by

Balance at the end of each year Deposits Interest
Year-by-year growth table
Year Deposits Interest Balance

Running totals at the end of each year, rounded to whole units. Deposits include the starting amount.

Built and maintained by Sam Jakola, editor · Sources and how we check · Corrections · Last reviewed

The compound interest formula

10,000 at 5% a year, compounded once a year, holds 16,288.95 after 10 years if left alone. The 1,288.95 above what simple interest would pay is interest earning interest. Two formulas cover nearly every savings question: one for a lump sum, one for regular deposits.

Formula · lump sum
A = P × (1 + rn)n·t

A is the final amount, P the starting amount, r the annual rate as a decimal, n the number of times interest is added each year and t the number of years.

Formula · regular deposits
FV = D × (1 + i)m − 1i

D is each deposit, i the interest rate per deposit period and m the number of deposits. This is for deposits at the end of each period; for deposits at the start, multiply by (1 + i), because every deposit earns one more period of interest. Add the lump-sum result to get the full balance.

Worked example

5,000 to start, plus 100 at the end of every month, at 4% compounded monthly for 10 years.

  1. Monthly rate: 0.04 ÷ 12 = 0.0033333; number of months: 120.
  2. Growth factor: 1.0033333¹²⁰ = 1.490833.
  3. Starting amount: 5,000 × 1.490833 = 7,454.16.
  4. Deposits: 100 × 0.490833 ÷ 0.0033333 = 14,724.98.
  5. Balance: 7,454.16 + 14,724.98 = 22,179.14, of which 17,000 was paid in and 5,179.14 is interest.

Move the same deposits to the start of each month and the balance rises to 22,228.23. The difference is small here because the deposits are small, but it grows with the amount and the number of years.

Compound vs simple interest

Simple interest is paid on the original amount only. Compound interest is added to the balance, so the next payment of interest is calculated on a larger sum. The US Consumer Financial Protection Bureau (CFPB) uses a plain example: 1,000 at 5% compounded once a year becomes 1,050 after one year and 1,102.50 after two. With simple interest, the second year would end at 1,100.

After 10 years, the compound balance is 1,628.89 against 1,500 with simple interest, and after 30 years it is 4,321.94 against 2,500.

How often interest compounds

The more often interest is added, the sooner it starts earning its own interest. The effect is real but smaller than many people expect: on 10,000 at 5% for 10 years, moving from yearly to daily compounding adds less than 200.

10,000 at 5% for 10 years, by compounding frequency
CompoundingFinal balanceEffective rate
Annually 16,288.95 5.000%
Quarterly 16,436.19 5.095%
Monthly 16,470.09 5.116%
Daily 16,486.65 5.127%

Source: calculated with A = P(1 + r/n)^(nt).

The rate matters far more than the frequency. A 5% account compounded yearly ends up well ahead of a 4.5% account compounded daily.

APR, APY and the effective rate

A quoted annual rate, often called the nominal rate or APR, ignores compounding. The annual percentage yield (APY), also called the effective annual rate (EAR) or, in the UK, the AER, shows what the account actually pays over a year once compounding is counted. It is calculated as (1 + r/n)ⁿ − 1.

Effective annual rate for a given nominal rate
Nominal rateQuarterlyMonthlyDaily
1% 1.00% 1.00% 1.01%
3% 3.03% 3.04% 3.05%
5% 5.09% 5.12% 5.13%
10% 10.38% 10.47% 10.52%
20% 21.55% 21.94% 22.13%

Source: calculated with (1 + r/n)^n − 1.

In the US, banks must quote deposit accounts as an APY under Regulation DD, the Truth in Savings rules, using the formula in its Appendix A. Compare APY with APY (or AER with AER), never two nominal rates with different compounding. The same logic works against borrowers: a card charging 20% a year with monthly compounding costs 21.94% a year in effect if the balance is never paid down.

The rule of 72

Divide 72 by the annual rate in percent (our percentage calculator handles the percent maths) and you get roughly how many years money takes to double. At 6%, that is 12 years. It works because ln 2 is about 0.693 and 72 divides neatly by many common rates; the rule is most accurate between about 6% and 10%.

Years to double: rule of 72 vs the exact figure
RateRule of 72Exact
2% 36.0 35.0
4% 18.0 17.7
6% 12.0 11.9
8% 9.0 9.0
10% 7.2 7.3
12% 6.0 6.1

Source: exact figure is ln 2 ÷ ln(1 + r), compounded yearly.

The rule also works in reverse. Prices rising 3% a year halve the buying power of money in about 24 years, which is why the real return on savings is the rate minus inflation. The same compounding works against you on borrowed money: the mortgage calculator shows how a home loan's interest builds up over decades.

Time and regular deposits

The table follows 200 a month at 5%, compounded monthly. Each extra decade adds the same 24,000 in deposits, but the interest grows much faster: by year 40, interest is more than twice what was paid in.

200 a month at 5%, compounded monthly
AfterDepositsInterestBalance
10 years 24,000.00 7,056.46 31,056.46
20 years 48,000.00 34,206.73 82,206.73
30 years 72,000.00 94,451.73 166,451.73
40 years 96,000.00 209,204.03 305,204.03

Source: calculated; deposits at the end of each month.

How this calculator works

Deposits are monthly, but interest may be added yearly, quarterly, monthly or daily. To combine the two, the calculator converts the annual rate into the equivalent monthly rate for the chosen frequency, (1 + r/n)n/12 − 1, and applies it each month. With monthly compounding this is exactly the formula above. With yearly compounding, a deposit made mid-year earns its share of the year's interest at the same effective rate.

Real accounts can differ. Some pay no interest on money deposited between compounding dates, some calculate interest on the daily balance and pay it monthly, and many tiers change the rate with the balance. The account terms show which method applies.

Results are before tax, fees and inflation, and they assume the rate stays fixed. Investment returns are not fixed, so a single rate entered for shares or funds draws one possible path, not a forecast. The SEC’s calculator on Investor.gov lets you test a range of rates.

Common questions

What does compounded monthly mean?

Interest is worked out and added to the balance 12 times a year, at the annual rate divided by 12. At 6% a year, that is 0.5% each month. The reverse catches people out: 0.4% a month is about 4.9% a year, not 0.4%.

Can I use this for debt?

It shows how an unpaid balance grows if interest is added and nothing is repaid. For a loan that is being paid off, the loan calculator is the right tool. To see how long money takes to reach a goal date, the date calculator counts the days between two dates.

Sources

Last reviewed November 9, 2026. This calculator is for information only and is not financial advice. Rates, fees and tax rules vary by provider and country.