Compound interest calculator

Compound interest means you earn interest on your interest: each period's earnings are added to the balance and start earning too. Enter a starting amount, an optional monthly contribution, the annual rate and how often interest compounds to see your final balance, how much of it is interest and what it is worth after inflation.

$
$
%
years
%

Optional — shows the result in today's money.

Contributions are added at the end of each month. When interest compounds more or less often than monthly, the rate is converted to its equivalent monthly rate.

Results

Final balance

$109,333.14

Total paid in

$58,000.00

Total interest

$51,333.14

In today's money

$60,535.11

After 3% inflation a year

Effective annual rate

5.12%

The nominal rate plus what compounding adds

Balance by year
  • Starting amount + contributions
  • Interest
Balance by year

Year-by-year breakdown

Year-by-year breakdown
YearPaid inInterest that yearTotal interestBalanceToday's money
1$12,400.00$567.39$567.39$12,967.39$12,589.70
2$14,800.00$719.21$1,286.60$16,086.60$15,163.16
3$17,200.00$878.79$2,165.39$19,365.39$17,722.07
4$19,600.00$1,046.54$3,211.93$22,811.93$20,268.10
5$22,000.00$1,222.87$4,434.80$26,434.80$22,802.89
6$24,400.00$1,408.23$5,843.03$30,243.03$25,328.06
7$26,800.00$1,603.06$7,446.09$34,246.09$27,845.21
8$29,200.00$1,807.87$9,253.96$38,453.96$30,355.91
9$31,600.00$2,023.15$11,277.11$42,877.11$32,861.73
10$34,000.00$2,249.45$13,526.55$47,526.55$35,364.22
11$36,400.00$2,487.32$16,013.87$52,413.87$37,864.90
12$38,800.00$2,737.36$18,751.23$57,551.23$40,365.28
13$41,200.00$3,000.20$21,751.44$62,951.44$42,866.86
14$43,600.00$3,276.49$25,027.92$68,627.92$45,371.14
15$46,000.00$3,566.91$28,594.83$74,594.83$47,879.58
16$48,400.00$3,872.18$32,467.01$80,867.01$50,393.65
17$50,800.00$4,193.08$36,660.09$87,460.09$52,914.79
18$53,200.00$4,530.40$41,190.49$94,390.49$55,444.46
19$55,600.00$4,884.97$46,075.46$101,675.46$57,984.09
20$58,000.00$5,257.68$51,333.14$109,333.14$60,535.11

How compound interest is calculated

FV = P × (1 + r/n)^(n × t) + PMT × ((1 + i)^(12 × t) − 1) / i
i = (1 + r/n)^(n/12) − 1

P is the starting amount, r the annual interest rate as a decimal, n the number of times interest compounds per year (1, 4, 12 or 365), t the number of years and PMT the monthly contribution. The first half of the formula is the classic compound interest formula for a single deposit; the second half adds up every monthly contribution together with the interest it earns until the end.

Contributions are monthly, but interest may compound yearly, quarterly or daily. To combine the two, the calculator converts the annual rate into its equivalent monthly rate i — the monthly rate that grows money exactly as much over a year as n periods at r/n. Each contribution is assumed to arrive at the end of its month. With monthly compounding, i is simply r/12.

The effective annual rate, (1 + r/n)^n − 1, shows what the compounding frequency adds. At 12% a year it is 12.55% with quarterly, 12.68% with monthly and 12.75% with daily compounding.

Worked example

Say you start with $10,000, add $200 at the end of every month and earn 5% a year, compounded monthly, for 20 years. You pay in $58,000 in total: the $10,000 you start with plus 240 contributions of $200.

The balance grows to $109,333.14, of which $51,333.14 — 47% — is interest. In the first year the balance earns $567.39 in interest; in year 20 it earns $5,257.68.

With inflation at 3% a year, $109,333.14 in 20 years will buy roughly what $60,535.11 buys today.

How to read the results

Final balance is what the account would hold at the end. Total paid in is everything you contributed, including the starting amount, and total interest is the difference: the part compounding produced.

The value in today's money deflates the final balance by the inflation rate you entered, for every year of the period. If the interest rate is below inflation, the real value can end up below what you paid in even though the balance keeps rising.

The chart and the table show how growth speeds up: early on, almost all of the balance is your own money; later, interest earned on earlier interest does more and more of the work. That is why starting early usually matters more than squeezing out a slightly higher rate.

Assumptions and limits

  • The interest rate stays the same for the whole period.
  • Contributions are made at the end of every month and never change.
  • No taxes, fees or withdrawals are deducted. Tax on interest, such as a withholding tax, lowers the real result.
  • Inflation is a constant rate you choose; actual inflation varies from year to year.
  • Results are estimates for planning, not an offer or investment advice.

Frequently asked questions

What is the formula for compound interest?

For a single deposit, FV = P × (1 + r/n)^(n × t), where P is the starting amount, r the annual rate, n the number of compounding periods per year and t the number of years. For example, 10,000 at 5% compounded monthly for 10 years grows to about 16,470.

How much difference does the compounding frequency make?

Less than most people expect. More frequent compounding adds a little, because interest starts earning interest sooner: 12% a year becomes an effective 12.55% with quarterly, 12.68% with monthly and 12.75% with daily compounding. The rate itself and how long you stay invested matter far more.

What is the difference between simple and compound interest?

Simple interest is paid only on the original amount: 1,000 at 10% earns 100 a year, or 1,000 over ten years. With yearly compounding the interest is added to the balance, so the same 1,000 grows to 2,593.74 in ten years — 1,593.74 of interest.

How long does it take to double my money?

A quick estimate is the rule of 72: divide 72 by the annual rate. At 6% money doubles in about 12 years, at 12% in about 6. The exact time with yearly compounding is ln(2) ÷ ln(1 + r), which is 11.9 years at 6%.

Why does inflation matter for compound interest?

Because a balance in the future buys less than the same amount today. If your money earns 5% while prices rise 3% a year, your purchasing power grows by only about 1.9% a year: (1.05 ÷ 1.03) − 1. Enter an inflation rate to see the result in today's money.

Related calculators and tools

For information only. These calculations are estimates, not financial, tax or investment advice; confirm the terms of any product with its provider.