Compound Interest Calculator

How savings grow with compound interest and regular contributions, with the steps shown.

Inputs

These are example values. Change any of them to calculate your own.

Try:

For example 10,000 or 10k.

$

For example 20 or 7.5.

What you add each period, for example 200 a month. Enter 0 for none.

$

= $2,400 a year (12 × $200)

Contribution timing

A contribution at the start of a period earns one more period of growth.

Or an expected return.

%

For an APY, pick Annually.

Raises contributions yearly.

%

Adds today’s-dollar values.

%

Results

Balance after 20 years

$125,510.22

You put in $58,000.00; growth added $67,510.22.

You put in
$58,000.00$10,000 to start + $48,000.00 in 240 contributions
Growth
$67,510.2253.8% of the final balance
Effective annual rate
6.1678%0.5% per month, from 6% compounded monthly
Time to double
11.58 yearsFor one deposit. Rule of 72: 72 ÷ 6 = 12 years
Contributing at the start
$125,972.26$462.04 more than at the end of each month
Growth in year 20
$7,215.26You contributed $2,400.00 that year
How this was calculated
  1. Rate as a decimal: r = 6% ÷ 100 = 0.06
  2. Rate per month: i = r ÷ 12 = 0.06 ÷ 12 = 0.005 (0.5% per month)
  3. Contribution periods: n = 20 × 12 = 240 months
  4. Initial deposit grows to: P × (1 + i)n = $10,000 × 1.005240 = $33,102.04
  5. Contributions grow to: C × ((1 + i)n − 1) ÷ i = $200 × (1.005240 − 1) ÷ 0.005 = $92,408.18
  6. Balance: $33,102.04 + $92,408.18 = $125,510.22
  7. You put in: $10,000 + $48,000.00 = $58,000.00; growth: $125,510.22 − $58,000.00 = $67,510.22
  8. : (1 + r ÷ 12)12 − 1 = (1 + 0.06 ÷ 12)12 − 1 = 6.1678%
  9. Time to double one deposit: ln 2 ÷ ln(1 + E) = 0.693147 ÷ ln(1.06167781) = 11.58 years; the rule of 72 estimates 72 ÷ 6 = 12 years
  10. In a spreadsheet: =FV(6%/12, 240, -200, -10000, 0)

Balance over time

Year-by-year balance (first 12 of 20 rows)
YearStart balanceContributionsGrowthEnd balance
1$10,000.00$2,400.00$683.89$13,083.89
2$13,083.89$2,400.00$874.10$16,357.99
3$16,357.99$2,400.00$1,076.04$19,834.03
4$19,834.03$2,400.00$1,290.43$23,524.46
5$23,524.46$2,400.00$1,518.05$27,442.51
6$27,442.51$2,400.00$1,759.71$31,602.21
7$31,602.21$2,400.00$2,016.27$36,018.48
8$36,018.48$2,400.00$2,288.65$40,707.14
9$40,707.14$2,400.00$2,577.84$45,684.97
10$45,684.97$2,400.00$2,884.86$50,969.84
11$50,969.84$2,400.00$3,210.82$56,580.66
12$56,580.66$2,400.00$3,556.88$62,537.54

What you put in and what growth added

Balance at the end of each year
$0$50,000$100,000$150,00013579111315171920
  • Initial deposit
  • Contributions
  • Growth
Chart data: Balance at the end of each year
Balance at the end of each year
YearInitial depositContributionsGrowth
1$10,000$2,400$684
2$10,000$4,800$1,558
3$10,000$7,200$2,634
4$10,000$9,600$3,924
5$10,000$12,000$5,443
6$10,000$14,400$7,202
7$10,000$16,800$9,218
8$10,000$19,200$11,507
9$10,000$21,600$14,085
10$10,000$24,000$16,970
11$10,000$26,400$20,181
12$10,000$28,800$23,738
13$10,000$31,200$27,662
14$10,000$33,600$31,976
15$10,000$36,000$36,705
16$10,000$38,400$41,873
17$10,000$40,800$47,508
18$10,000$43,200$53,638
19$10,000$45,600$60,295
20$10,000$48,000$67,510

What if

Balance at other rates
Annual rateBalanceChange in balanceGrowth
4%$95,580.75-$29,929.48$37,580.75
5%$109,333.14-$16,177.09$51,333.14
6% (your input)$125,510.22$0.00$67,510.22
7%$144,572.72+$19,062.50$86,572.72
8%$167,072.11+$41,561.89$109,072.11

Everything else stays as you entered it: $10,000 plus $200 a month for 20 years, compounded monthly.

Assumptions

  • $200 is added at the end of each month, 240 times in all, the same amount every time.
  • Interest compounds monthly, on the same schedule as the contributions.
  • The rate stays at 6% for the whole time. Investment returns vary from year to year, so for an investment this shows what a steady average rate would give, not a forecast.
  • If your account quotes an , enter it with annual compounding: an APY already includes the effect of compounding, so compounding it again would overstate the growth.
  • No taxes, fees or withdrawals, and no inflation: amounts are in future dollars.
  • Balances are shown to the cent; every step works with the unrounded figures.

Calculated in your browser. This site doesn't send the numbers you enter anywhere. “Continue in” links pass them to the next calculator within this browser tab only.

Continue in the Retirement Withdrawal Calculator

Updated Report a problem with this calculator

What this calculator answers

How much a starting amount plus regular contributions grows to after a number of years at a steady rate, how much of that is money you put in and how much is growth. It handles contributions weekly to yearly, at the start or end of each period, interest compounded daily to yearly or continuously, a time that ends partway through a year, contributions that rise each year and, if you want it, the balance in today’s dollars.

How to use it

  • Initial deposit: what is in the account at the start, in dollars. 10,000, $10,000 and 10k all work. Enter 0 if you start from nothing.
  • Years: how long the money grows. Decimals work: 7.5 is read as 7 years 6 months.
  • Regular contribution: the amount you add each period, and how often (weekly, every 2 weeks, monthly, quarterly or yearly). The line under it shows the yearly total, which catches a yearly amount typed as monthly. Enter 0 for no contributions.
  • Contribution timing: whether each contribution goes in at the end or the start of its period.
  • Annual interest rate: the yearly rate your account pays, or the average return you expect from an investment, in percent. Type 6 for 6%. A negative rate, down to −50%, models a steady loss.
  • Compounding: how often interest is added to the balance, as your account terms state. If you only have an APY, choose Annually (see the common mistakes below).
  • Yearly increase (optional): raises every contribution by this percentage at the start of each new year, for example to match a raise.
  • Inflation rate (optional): adds the balance in today’s dollars. The headline stays in future dollars.

Results update as you type. The Try buttons load the variations in the table under the worked example. The what-if tabs (Rate, Compounding and Deposit) repeat the calculation at other rates, at every compounding frequency and at other contribution amounts. To weigh two savings plans, press Save for comparison before and after a change: each saved plan shows how its balance and growth differ from the first. Continue in the Retirement Withdrawal Calculator takes the final balance over to see how long it would last.

How compound interest works

With compound interest, the interest already earned starts earning interest too. Each time interest is added to the balance, the next interest is figured on the bigger balance, so growth speeds up the longer the money stays in. With regular contributions, growth comes from two places: each contribution starts compounding from the day it goes in, and the growing balance earns more every period. In the example below, growth in the last year alone is $7,215.26, three times the $2,400.00 contributed that year.

Compound interest formula with regular contributions

The balance is the initial deposit grown for n periods plus every contribution grown from the day it was made:

FV=P (1+i)n+C×(1+i)n−1i×(1+i)sFV = P\,(1+i)^{n} + C \times \frac{(1+i)^{n} - 1}{i} \times (1+i)^{s}
  • FVFV is the balance at the end.
  • PP is the initial deposit and CC the contribution each period.
  • nn is the number of contribution periods: years × contributions a year.
  • ii is the rate per contribution period (below).
  • ss is 0 for contributions at the end of each period and 1 at the start, because a contribution at the start earns one more period.
  • At 0%, the contribution part is simply C×nC \times n.

When interest compounds mm times a year and you contribute pp times a year, the annual rate rr is turned into the equivalent rate for one contribution period:

i=(1+rm)m/p−1E=(1+rm)m−1i = \left(1 + \frac{r}{m}\right)^{m/p} - 1 \qquad E = \left(1 + \frac{r}{m}\right)^{m} - 1

EE is the effective annual rate. With continuous compounding, i=er/p−1i = e^{r/p} - 1 and E=er−1E = e^{r} - 1. When m=pm = p, ii is just r/mr/m. The textbook annuity formula assumes one contribution per compounding period, so this conversion is what lets monthly contributions work with daily or annual compounding.

When contributions rise by gg each year, let A1A_1 be the first year’s contributions valued at the end of that year. Year yy‘s contributions are then worth A1(1+g)y−1A_1 (1+g)^{y-1} at the end of year yy. Grown to the end of year YY and added up, they form a geometric series:

A1×(1+E)Y−(1+g)YE−gA_1 \times \frac{(1+E)^{Y} - (1+g)^{Y}}{E - g}

Worked example: $10,000 plus $200 a month for 20 years

At 6% a year compounded monthly, with each $200 added at the end of the month:

  1. Rate per month: i = 0.06 ÷ 12 = 0.005. Periods: n = 20 × 12 = 240 months.
  2. Growth factor: 1.005240≈3.3102041.005^{240} \approx 3.310204.
  3. Initial deposit: $10,000 × 3.310204 = $33,102.04.
  4. Contributions: $200 × (3.310204 − 1) ÷ 0.005 = $200 × 462.0409 = $92,408.18.
  5. Balance: $33,102.04 + $92,408.18 = $125,510.22.
  6. You put in $10,000 + 240 × $200 = $58,000.00, so growth added $67,510.22.

The effective annual rate is 1.00512−11.005^{12} - 1 = 6.1678%. Growth passes the total you put in during year 18. In a spreadsheet, =FV(6%/12, 240, -200, -10000, 0) gives the same balance.

Each Try button changes one thing from this example:

Try buttonBalanceYou put in
Compounded daily$125,765.32$58,000.00
3% inflation$125,510.22, or $69,491.97 in today’s dollars$58,000.00
Start of each month$125,972.26$58,000.00
No contributions$33,102.04$10,000.00

Raising the $200 by 3% every year instead (type 3 in Yearly increase) gives $150,242.94 from $74,488.90 put in; the last year’s contributions are $350.70 a month.

Does compounding daily vs. monthly make a difference?

Yes, but less than the rate or the time. For the example, only the compounding changes:

CompoundingRate per monthBalance after 20 years
Annually0.4868%$122,759.08
Semiannually0.4939%$124,226.41
Quarterly0.4975%$124,989.76
Monthly0.5%$125,510.22
Daily0.5012%$125,765.32
Continuously0.5013%$125,774.03

Daily compounding adds $255.09 over monthly on these numbers; one percentage point more rate adds $19,062.50 ($144,572.72 at 7%). The gains shrink as compounding gets more frequent, and continuous compounding is the limit. The Compounding tab under the result shows these balances for your own numbers.

Contributions at the start vs. end of each period

A contribution at the start of a period earns one more period of growth than the same contribution at the end, so the contribution part is multiplied by (1 + i). In the example, contributing on the first of each month instead of the last gives $125,972.26, which is $462.04 more: $92,408.18 × 0.005. The initial deposit is the same either way.

If the time ends partway through a period, contributions are made on every scheduled date inside it. For 2.3 years of monthly contributions (27.6 months), that is 27 contributions at the end of each month or 28 at the start; the last 0.6 of a month still earns growth at the same rate.

How long does it take to double your money?

A single deposit doubles in ln 2 ÷ ln(1 + E) years at an effective annual rate E. The rule of 72 estimates it as 72 ÷ the rate in percent, which is close for everyday rates:

Rate, compounded annuallyExactRule of 72
3%23.45 years24 years
6%11.9 years12 years
9%8.04 years8 years
12%6.12 years6 years

At 6% compounded monthly, as in the example, the exact time is 11.58 years. The Time to double figure shows both for your rate.

Compound vs. simple interest

Simple interest is paid on the original deposit only; compound interest is also paid on interest already added. $10,000 at 6% for 20 years reaches $22,000.00 with simple interest, $32,071.35 compounded annually and $33,102.04 compounded monthly. With no contributions, the calculator shows the simple-interest figure next to your result.

Reading the result

  • The headline is the balance at the end, with what you put in and what growth added.
  • You put in is the initial deposit plus every contribution. Growth is the rest; at a negative rate it is a loss.
  • Effective annual rate is the growth over one year once compounding is counted, with the rate per contribution period used in the steps.
  • Time to double is for a single deposit at your rate, with the rule-of-72 estimate.
  • Contributing at the start (or at the end) repeats the calculation with the other timing. With no contributions and a rate of 0% or more, this figure compares simple interest instead.
  • Growth in year 20 (your last year), or In today’s dollars when you enter an inflation rate, shows how fast the balance is growing at the end, or what it would buy at today’s prices.
  • The balance table lists each year’s start balance, contributions, growth and end balance and downloads as a CSV file; a second tab lists every month (or week or quarter). A part year at the end says how long it is.
  • The chart stacks what you put in and the growth for each year; its Chart data table lists the numbers.
  • The what-if tabs repeat the calculation at rates 1 and 2 points either side of yours, at every compounding frequency and at other contribution amounts, with the change from your result.

What this calculator assumes

  • The rate stays the same for the whole time. For an investment, the result is what a steady average return would give, not a forecast.
  • Contributions are the same amount every time, or rise once a year by the percentage you enter.
  • Money grows at the equivalent rate per contribution period from the day it goes in. Accounts differ in how they credit interest on money added between compounding dates.
  • A year is 52 weeks (26 two-week periods), and daily compounding uses 365 days.
  • There are no taxes, fees or withdrawals. Amounts are in future dollars unless you enter an inflation rate.
  • The balance is an educational projection, not financial advice or a promise of what any account or fund will pay.

Common mistakes

  • Entering an APY with monthly or daily compounding. An APY already includes compounding, while an account’s interest rate does not. Enter an APY with annual compounding, or enter the interest rate with the compounding the account states. A 6% APY compounded monthly again would overstate the balance.
  • Typing the rate as a decimal. The field is in percent, so 0.06 means 0.06%. The calculator asks whether you meant 6%.
  • Using A = P(1 + r/n)^(nt) for a savings plan. That formula grows one deposit. Regular contributions need the annuity part of the formula, and the textbook version only fits when you contribute once per compounding period.
  • A yearly amount with a monthly frequency. $2,400 a year typed as a monthly contribution is twelve times too much. Check the yearly total shown under the field.
  • Comparing a future balance with today’s prices. $125,510.22 in 20 years buys less than $125,510.22 today. Enter an inflation rate to see the balance in today’s dollars.
  • Treating the growth as certain. A savings account’s rate can change, and investment returns go up and down. Test a lower rate in the what-if table before relying on a figure.

Questions

Can I use this calculator for stock or fund investments?

Yes, as a projection at a steady average return, entered after fees. Real returns vary a lot from one year to the next; Investor.gov notes that large company stocks as a group have lost money in about one year out of three. A steady rate also hides the order of good and bad years, which matters whenever money goes in or out, because a loss late in a savings plan hits a larger balance than the same loss early on. Use the Rate tab of the what-if table to see a range of outcomes rather than a single number.

Why might my bank show a slightly different balance?

Banks figure interest on each day’s balance or on the average daily balance for the statement period, and add it to the account on their own schedule, which the account disclosures must state along with how often interest compounds. This calculator grows every contribution from the day it is made at the equivalent rate and rounds only for display, so a statement can differ slightly. Check the disclosures for the compounding and crediting frequency and enter the compounding they give.

How do I include withdrawals?

This calculator only adds money. To see how long a balance lasts while you take money out, carry the result over with Continue in the Retirement Withdrawal Calculator, which starts from the balance and the effective annual rate shown here.

Sources

  1. What is compound interest? U.S. Securities and Exchange Commission, Investor.gov Compound interest is interest earned on interest; the Rule of 72 estimates the years to double as 72 divided by the rate of return.
  2. Algebra and Trigonometry 2e, 6.1 Exponential Functions OpenStax (Rice University) The compound interest formula A = P(1 + r/n)^(nt), continuous compounding A = Pe^(rt), and a value that rises as compounding gets more frequent.
  3. Contemporary Mathematics, 6.4 Compound Interest OpenStax (Rice University) Daily compounding with 365 periods a year, and the effective annual yield (1 + r/n)^n − 1.
  4. Contemporary Mathematics, 6.6 Methods of Savings OpenStax (Rice University) The future value of deposits made at the end of each compounding period (an ordinary annuity), with as many deposits a year as compounding periods; deposits at the start of each period are an annuity due.
  5. Principles of Finance, 8.2 Annuities OpenStax (Rice University) An annuity due differs from an ordinary annuity by one extra period of interest, so its future value is the ordinary one times (1 + rate).
  6. Principles of Finance, 8.5 Equal Payments with a Financial Calculator and Excel OpenStax (Rice University) The spreadsheet FV function, with 0 as the last argument for payments at the end of each period and 1 for payments at the start.
  7. College Algebra 2e, 9.4 Series and Their Notations OpenStax (Rice University) The sum of a finite geometric series, used for contributions that rise by the same percentage each year.
  8. Principles of Finance, 7.2 Time Value of Money (TVM) Basics OpenStax (Rice University) FV = PV × (1 + r)^n; dividing a future amount by (1 + inflation)^years is the same step with inflation as the rate.
  9. Regulation DD, § 1030.2 Definitions Consumer Financial Protection Bureau An account’s annual percentage yield reflects the interest rate and how often it compounds over 365 days, while its interest rate does not reflect compounding; the daily balance and average daily balance methods.
  10. Regulation DD, § 1030.4 Account disclosures Consumer Financial Protection Bureau Account disclosures state how often interest is compounded and credited.
  11. What is Risk? U.S. Securities and Exchange Commission, Investor.gov Stock prices move up and down, and large company stocks as a group have lost money in about one year out of three.