CalcOpenly

Compound interest calculator

Calculate compound interest: the future value of a deposit plus regular contributions at any compounding frequency, including daily and continuous.

Updated Checked against 6 worked examples

$
%
$
Try
Future value
$
Future value: $54,713.58
Shown to 2 decimal places, half-even
Total deposits
$34,000.00
Interest earned
$20,713.58
Effective annual rate
7.2290%
Number of contributions
120

After 10 years the balance is $54,713.58: $34,000.00 you put in and $20,713.58 of interest, which is 37.9% of the final balance.

Balance: deposits and interest

$0$20K$40K0246810Years
DepositsInterest

What the final balance is made of

$54.7Kfuture value
Initial deposit18.3%Contributions43.9%Interest37.9%
Year-by-year growth (10 rows)
YearDepositsInterestTotal depositsBalance
1$2,400.00$801.42$12,400.00$13,201.42
2$2,400.00$1,032.85$14,800.00$16,634.27
3$2,400.00$1,281.01$17,200.00$20,315.28
4$2,400.00$1,547.11$19,600.00$24,262.39
5$2,400.00$1,832.45$22,000.00$28,494.83
6$2,400.00$2,138.41$24,400.00$33,033.24
7$2,400.00$2,466.49$26,800.00$37,899.74
8$2,400.00$2,818.29$29,200.00$43,118.03
9$2,400.00$3,195.52$31,600.00$48,713.55
10$2,400.00$3,600.02$34,000.00$54,713.58
How it's calculated S
  1. Growth of the initial deposit

    P(1+0.0712)12×10=20,096.61P\left(1+\frac{0.07}{12}\right)^{12 \times 10} = 20{,}096.61
  2. Rate per contribution period

    i=(1+0.0712)12/12−1=0.005833333333i = \left(1+\frac{0.07}{12}\right)^{12/12} - 1 = 0.005833333333

    Converts the nominal rate to the equivalent rate over one contribution interval, so any compounding frequency works with any contribution frequency.

  3. Future value of 120 contributions

    C (1+i)N−1i=200.00×(1+0.005833333333)120−10.005833333333=34,616.96C\,\frac{(1+i)^{N}-1}{i} = 200.00 \times \frac{(1+0.005833333333)^{120}-1}{0.005833333333} = 34{,}616.96
  4. Future value

    A=20,096.61+34,616.96=54,713.58A = 20{,}096.61 + 34{,}616.96 = 54{,}713.58

    Money shown rounded half-to-even to 2 decimals; nothing is rounded before this line.

  5. Effective annual rate

    (1+0.0712)12−1=7.2290%\left(1+\frac{0.07}{12}\right)^{12} - 1 = 7.2290\%

About the compound interest calculator

Compound interest adds each period's interest to the balance, so later interest is earned on earlier interest. A single deposit grows to A = P(1 + r/k)^(kt) at annual rate r compounded k times a year for t years, or P × e^(rt) with continuous compounding. Regular contributions are added as an annuity at the equivalent rate per contribution period, paid at the start or the end of each period.

With the defaults, 10,000 at 7% compounded monthly plus 200 at the end of each month grows to 54,713.58 in 10 years. Deposits total 34,000.00, so 20,713.58, or 37.9% of the final balance, is interest. The effective annual rate is 7.2290%.

The rate is held constant and no tax or fees are deducted. Investment returns vary from year to year, so for anything other than a fixed-rate account the result shows what a steady average rate would produce.

How to calculate compound interest by hand

Take 5,000 at 6% a year compounded quarterly for 8 years, plus 100 paid in at the end of every month. The deposit and the contributions are handled separately and then added.

  1. Rate per compounding period: 6% ÷ 4 = 1.5%.
  2. Growth of the deposit over 32 quarters: 5,000 × 1.015^32 = 5,000 × 1.610324 = 8,051.62.
  3. Rate per contribution period. Interest compounds quarterly but money arrives monthly, so find the monthly rate that compounds to 1.5% over three months: i = 1.015^(1/3) − 1 = 0.4975%.
  4. Growth of 96 contributions: 100 × ((1 + i)^96 − 1) ÷ i = 100 × 122.6732 = 12,267.32. Because (1 + i)^96 equals 1.015^32, the same 1.610324 appears again.
  5. Future value: 8,051.62 + 12,267.32 = 20,318.94. You paid in 14,600, so interest is 5,718.94.

Skipping step 3 and using 6% ÷ 12 = 0.5% a month for the contributions gives 12,282.85, which is 15.54 too much, because it switches the contributions to monthly compounding. The calculator converts the rate for every pairing of compounding and contribution frequency, so the two parts always use the same underlying rate.

Solving for the rate or the time

Rearranging A = P(1 + r/k)^(kt) answers the two other common questions:

  • Rate needed: r = k × ((A ÷ P)^(1 ÷ kt) − 1). Turning 10,000 into 15,000 in 6 years with monthly compounding takes 12 × (1.5^(1/72) − 1) = 6.78% a year.
  • Time needed: t = ln(A ÷ P) ÷ (k × ln(1 + r/k)). At 5% compounded monthly, 10,000 reaches 25,000 after ln 2.5 ÷ (12 × ln 1.0041667) = 18.36 years, on the 221st monthly compounding.

Spreadsheets have the conversions built in. =EFFECT(6%, 4) returns the 6.1364% effective rate of the worked example, and =NOMINAL(EFFECT(6%, 4), 12) returns 5.9702%, which is 12 times the monthly contribution rate from step 3. The time value of money calculator solves for the rate or the time of a lump sum directly.

Effective annual rate by compounding frequency

The effective annual rate is what the nominal rate actually earns in a year once compounding is included: (1 + r/k)^k − 1 for k periods a year, or e^r − 1 for continuous compounding. Each cell below is that percentage:

Nominal rateYearlyHalf-yearlyQuarterlyMonthlyDaily (365)Continuous
2%2.00002.01002.01512.01842.02012.0201
4%4.00004.04004.06044.07424.08084.0811
6%6.00006.09006.13646.16786.18316.1837
8%8.00008.16008.24328.30008.32788.3287
10%10.000010.250010.381310.471310.515610.5171
12%12.000012.360012.550912.682512.747512.7497

Frequency matters more as the rate rises. At 2% the whole spread from yearly to continuous is 0.02 points; at 12% it is 0.75 points. Past daily compounding there is almost nothing left to gain.

APY and the effective annual rate

US banks must quote savings yields as an annual percentage yield. Regulation DD defines it as APY = 100 × ((1 + interest ÷ principal)^(365 ÷ days in term) − 1) (12 CFR 1030, Appendix A). The regulation's own example: 30.37 of interest on 1,000 over a 182-day certificate is an APY of 6.18%. For an account with no fees and a constant rate, the APY equals this calculator's effective annual rate. A 5% rate compounded daily shows 5.1267%, and 1,000 left for a year earns 51.27.

Two offers are only comparable on the effective rate. A 4.95% account compounded monthly (5.0639% effective) beats a 5% account compounded yearly (5.0000%), even though its headline rate is lower. Where a lender quotes only a nominal rate, enter it with the stated compounding and read the effective annual rate off the result.

Rule of 72: how accurate it is

Dividing 72 by the annual rate estimates how many years money takes to double. The exact time with yearly compounding is ln 2 ÷ ln(1 + r):

RateRule of 72 (years)Exact (years)Error
1%72.0069.66+3.4%
2%36.0035.00+2.8%
3%24.0023.45+2.3%
4%18.0017.67+1.9%
6%12.0011.90+0.9%
8%9.009.01−0.1%
10%7.207.27−1.0%
12%6.006.12−1.9%
15%4.804.96−3.2%
20%3.603.80−5.3%

At 4% and below, dividing 70 instead of 72 is closer: 70 ÷ 2 = 35.00 matches the exact figure, and 70 ÷ 4 = 17.50 is 0.17 years off where the rule of 72 is 0.33 off. With continuous compounding the exact doubling time is 69.3 ÷ the rate, because ln 2 = 0.693. The rule also works for inflation: at 3% a year, prices double in about 24 years.

Contributions and their timing

Paying in at the start of each period instead of the end gives every contribution one more period of growth, which multiplies the contribution total by (1 + i). For 300 a month at 6% compounded monthly:

YearsPaid inEnd of monthStart of monthDifference
1036,00049,163.8049,409.62245.82
2072,000138,612.27139,305.33693.06
30108,000301,354.51302,861.291,506.77
40144,000597,447.22600,434.462,987.24

The timing choice is worth 0.5% of the balance at any horizon, since it is one month's growth. The horizon matters far more: interest is 26.8% of the end-of-month balance after 10 years and 75.9% after 40. Frequency matters too. Paying the same 3,600 a year as one lump at each year end grows to 47,826.41 after 10 years, 1,337.40 less than 300 a month, because the monthly payments start earning sooner. Set the timing to when money actually reaches the account: a transfer on the first of each month is a start-of-period payment, and a deduction from pay at month end is an end-of-period one.

Reading the result

  • Nominal versus real. The future value is in future money. At 7% growth and 3% inflation, the real return is 1.07 ÷ 1.03 − 1 = 3.88% a year, not 4%. The inflation calculator turns the result back into today's money.
  • Tax and fees. Nothing is deducted. A fund charging 1% a year on a 7% return grows at roughly 6%, so enter the return after costs.
  • Whole periods. With contributions, the term must be a whole number of contribution periods, so 18 months works with quarterly payments and 20 months does not.
  • Rates that change. The calculator holds one rate for the whole term. For a fixed-term deposit followed by a variable rate, run the fixed part first and use its result as the starting deposit for the second run.

For a deposit with no compounding, use the simple interest calculator. To find the monthly amount that reaches a set target, use the savings goal calculator. For monthly mutual fund investments that step up each year, use the SIP calculator.

Worked examples

10,000 at 7% monthly for 10 years plus 200 a month

Initial deposit
10,000
Interest rate (per year)
7%
Term
10
Term in
Years
Compounding
Monthly
Regular contribution
200
Contribution every
Month
Contributions made at
End of period
Future value
54,713.58
Total deposits
34,000.00
Interest earned
20,713.58
Effective annual rate
7.2290%

Checked against: Python decimal (prec 50) of P(1+r/12)^120 + C((1+i)^120−1)/i: 54713.5752536…

Excel FV example: 500 plus 200 at the start of each month, 6%, 10 months

Initial deposit
500
Interest rate (per year)
6%
Term
10
Term in
Months
Compounding
Monthly
Regular contribution
200
Contribution every
Month
Contributions made at
Start of period
Future value
2,581.40

Checked against: Microsoft FV documentation, =FV(0.06/12, 10, -200, -500, 1) = $2,581.40; Python decimal gives 2581.40337…

Continuous compounding, no contributions

Initial deposit
1000
Interest rate (per year)
5%
Term
10
Term in
Years
Compounding
Continuous
Regular contribution
0
Contribution every
Month
Contributions made at
End of period
Future value
1,648.72
Effective annual rate
5.1271%

Checked against: 1000·e^0.5 = 1648.7212707… and e^0.05 − 1 = 5.12710964 % (Python decimal exp)

Zero rate

Initial deposit
1000
Interest rate (per year)
0%
Term
2
Term in
Years
Compounding
Monthly
Regular contribution
100
Contribution every
Month
Contributions made at
End of period
Future value
3,400.00
Interest earned
0.00
Number of contributions
24

Checked against: 1000 + 24 × 100 by definition

Questions

What is the formula for compound interest?

A = P(1 + r/n)^(nt), where P is the deposit, r the annual rate, n the number of compounding periods a year and t the years. 10,000 at 7% compounded monthly for 10 years grows to 10,000 × (1 + 0.07/12)^120 = 20,096.61, so the interest is 10,096.61. Excel's =FV(0.07/12, 120, 0, -10000) returns the same amount.

How much difference does the compounding frequency make?

Less than most people expect. 10,000 at 7% for 10 years grows to 19,671.51 compounded yearly, 20,015.97 quarterly, 20,096.61 monthly, 20,136.18 daily and 20,137.53 continuously. The matching effective annual rates are 7%, 7.1859%, 7.2290%, 7.2501% and 7.2508%, so going from monthly to daily adds about 40 over the decade.

How long does it take to double money with compound interest?

Divide 72 by the annual rate for an estimate (the rule of 72); the exact time with yearly compounding is ln 2 ÷ ln(1 + r). At 7% the rule gives 72 ÷ 7 = 10.29 years and the exact answer is ln 2 ÷ ln 1.07 = 10.24 years. The rule is most accurate near 8%.

What is the difference between simple and compound interest?

Simple interest is paid only on the original deposit; compound interest is also paid on interest already earned. On 10,000 at 7% for 10 years, simple interest is 10,000 × 0.07 × 10 = 7,000, while compounding yearly earns 9,671.51 and compounding monthly earns 10,096.61. The gap widens with time because compound growth is exponential.

How much does starting to save earlier matter?

A great deal, because the earliest deposits compound the longest. Saving 200 a month at 7% compounded monthly builds 104,185.33 in 20 years from 48,000 of deposits, but 243,994.20 in 30 years from 72,000. The extra 10 years add 24,000 of deposits and 139,808.87 to the final balance.

How accurate is the compound interest calculator?

Accuracy depends on your inputs and the method's assumptions. Decimal arithmetic uses 50 significant digits, but estimates, numerical methods and source data can be less precise; the displayed rounding does not remove those limits. It is checked against 6 worked examples whose answers come from independent sources; for example, “10,000 at 7% monthly for 10 years plus 200 a month” is checked against Python decimal (prec 50) of P(1+r/12)^120 + C((1+i)^120−1)/i: 54713.5752536….

Where does the method come from?

Microsoft Excel FV function; U.S. SEC Investor.gov — Compound interest calculator.

About this calculator

A=P(1+rk)kt+C (1+i)N−1i (1+i)δ,i=(1+rk)k/m−1, N=mtA = P\left(1+\tfrac{r}{k}\right)^{kt} + C\,\frac{(1+i)^{N}-1}{i}\,(1+i)^{\delta},\quad i = \left(1+\tfrac{r}{k}\right)^{k/m}-1,\ N = mt

Sources

  1. Microsoft Excel FV function
  2. U.S. SEC Investor.gov — Compound interest calculator

For planning only. Lenders, tax authorities and markets apply their own rounding, fees and rules; confirm figures with them before you commit.

Checked against references

6 worked examples with independently sourced answers ship with this calculator. They run in the test suite; you can run them here too.

Related calculators

Allow optional Google Analytics to measure page visits? Calculators work either way. Privacy and choices

Optional analytics: off.