Finance

Compound Interest Calculator

Project growth with regular deposits, compare two scenarios, and separate contributions from interest.

Formula and sources updated · Data sources · 2View algorithm, constants and default inputs (JSON)

Enter your values

Final balance 20,096.61
Results
Compounding frequency · Deposit timing

Total deposited / Final balance · A

Total deposited10,000.00Final balance20,096.61

Growth over time · A

20,09713,3986,69900510BalanceContributions

Annual detail · A

Swipe horizontally to see more

YearContributionsInterestBalance
0.010,000.000.0010,000.00
1.010,000.00722.9010,722.90
2.010,000.001,498.0611,498.06
3.010,000.002,329.2612,329.26
4.010,000.003,220.5413,220.54
5.010,000.004,176.2514,176.25
6.010,000.005,201.0615,201.06
7.010,000.006,299.9416,299.94
8.010,000.007,478.2617,478.26
9.010,000.008,741.7718,741.77
10.010,000.0010,096.6120,096.61

About this calculator

Compound interest is growth calculated on the initial principal and previously accumulated interest. Growth uses a constant nominal annual rate and fractional compounding periods between deposit dates. Monthly or annual deposits use the selected start/end timing; only complete deposit periods count. Taxes, fees and inflation are excluded; returns are not guaranteed. B−A compares the selected final balances, which may have different time horizons. The annual table and growth chart show A.

Recomputed from this page's implementation at build time · checked 2026-10-22

Same 7%, three answers: 76,122, 81,165 and 81,645

Compounding frequency is the quietest input on the page and the second-largest lever after time. On a 30-year horizon it moves the result by more than five thousand, then the curve flattens so hard that going from twelve periods a year to three hundred and sixty-five adds under five hundred.

20k40k60k80k010203010y20ybalanceYears
The first decade looks almost straight, and that is the trap. Two thirds of the final balance is created after the halfway mark, so every early withdrawal costs more than the number it removes.

How the result moves

Years ↓ · Nominal annual rate → · Final balance on 10,000
345678
10$13,494$14,908$16,470$18,194$20,097$22,196
20$18,208$22,226$27,126$33,102$40,387$49,268
30$24,568$33,135$44,677$60,226$81,165$109,357
40$33,151$49,399$73,584$109,575$163,114$242,734

Read the columns, not the rows. Going from 3 to 8 per cent is a smaller change than going from 10 to 40 years at any single rate, which is the ordering most people get backwards when they shop for a rate instead of waiting.

Where the money actually goes

The default, spelled out

Final balance
81,164.97
Money paid in
10,000
Interest earned
71,164.97

Everything in the third row is growth, and it is more than four times what was paid in. Set against the yearly figure above, monthly compounding alone adds 5,042.42 — more than the interest earned across the first five years combined. That is the size of the lever, and nobody had to change the rate.

Deposits at the end of each month

Final balance
203,162.07
Money paid in
46,000
Interest earned
157,162.07

The deposit is added after interest is credited for that period, so each one starts earning in the following month. Paid-in money is 10,000 plus 360 deposits of 100, and the rest is growth. This ordering is the common bank convention and the one the page assumes unless you change it.

The same deposits, one month earlier every time

Final balance
203,873.72
Money paid in
46,000
Interest earned
157,873.72

Same 46,000 paid in, and the balance is higher because every deposit collects one extra month of interest — 360 of them, compounding on each other for three decades. The paid-in row does not move at all. That is what makes the timing control worth exposing: it changes only the growth, never the contribution.

Same money per year, arriving once instead of twelve times

Final balance
199,297.32
Money paid in
46,000
Interest earned
153,297.32

The contribution row is identical to the monthly case, down to the cent, because 100 a month and 1,200 a year are the same 46,000. The balance is not: a year of deposits sitting in cash at the end of each year misses the growth the monthly schedule had already collected. Annual saving is a habit decision, and it shows up here as a cost.

Two horizons in one run

Scenario A, 10 years
37,405.09
Scenario B, 30 years
203,162.07
B minus A
165,756.98

The comparison exists to make one point visible: the last twenty years add four times what the first ten did, on the same monthly deposit. Read the difference as the price of starting late rather than as a gain, since both scenarios pay in the same amount every month from the same starting balance.

What the four controls refuse

  • You typed
    principal
    10000
    annualRate
    7
    years
    10
    compounds
    2
    deposit
    0
    It answered inputError

    A compounding frequency of twice a year

    The frequency control is a four-item whitelist — yearly, quarterly, monthly, daily — not a free number. Semi-annual and bi-weekly are missing rather than approximated into the nearest neighbour, because silently rounding 2 up to 4 would misstate the balance without any visible warning.

  • You typed
    principal
    -1
    annualRate
    7
    years
    10
    compounds
    12
    deposit
    0
    It answered inputError

    A negative starting balance

    This page projects a savings balance, so both the principal and the deposit must be non-negative. A debt payoff calculation inverts the sign of every term and belongs to a different tool rather than to a special case here.

  • You typed
    principal
    10000
    annualRate
    7
    years
    101
    compounds
    12
    deposit
    0
    It answered inputError

    A hundred and one years

    The cap is a hundred years. Beyond that the balance table grows to the point of being unreadable and the result stops being a number anyone plans with — at 7% monthly, a century already multiplies the principal more than a thousandfold.

  • You typed
    principal
    10000
    annualRate
    101
    years
    10
    compounds
    12
    deposit
    0
    It answered inputError

    A rate of one hundred and one percent

    The rate runs from minus one hundred to plus one hundred, inclusive at both ends. The negative end is real and usable; the upper cap exists so that a typo in the slider cannot produce a balance in the trillions that still renders like a plausible answer.

Limits of a four-frequency model

The rate is nominal, not annual yield
Entering 7 with monthly compounding means 7% divided by twelve each month, which is an effective 7.229% a year. The page never converts in the other direction, so an account advertised at 7% APY has to be entered at about 6.785% to project the same balance.
Deposits never step up
The deposit is the same amount in every period for the whole term. No annual increase, no one-off lump sum in year five, no withdrawal. A raise in your savings rate has to be modelled as a second run rather than as an input.
Comparison shares the frequency
Scenario B can differ in principal, deposit size, rate and duration, but compounding and deposit frequency are taken from the first scenario. Comparing 100 a month against 1,200 a year therefore takes two separate runs with the values read side by side.
Zero years is legal and boring
A term of zero returns the principal untouched with zero interest, rather than an error. That is deliberate: it keeps the slider continuous and makes the first year of the growth table line up with the starting balance.

Against a rate-conversion calculator

  • Calculator.net compound interestchecked 2026-10-22

    Theirs
    Converts a rate between eight compounding schedules, including continuous, and states plainly that deposits belong to a separate interest calculator.
    Here
    Projects a balance at four schedules, with recurring deposits at either the start or the end of each period, plus a two-scenario comparison in one run.

    Why they built it that wayThe form is built around a single deposit, with recurring contributions added afterwards. That is why deposit timing is a small dropdown instead of a first-class field: the page originally answered a different question.

    Converting a rate and projecting a balance are different questions. This page cannot tell you the annual equivalent of a rate compounded daily; it answers what the balance becomes, deposits included, which is usually the reason someone opened a compound interest calculator in the first place.

Enter 10,000 at 7% for 30 years with no deposits and step through the four frequencies: 76,122.55 yearly, 80,191.83 quarterly, 81,164.97 monthly, 81,645.26 daily. Then add 100 a month and switch the timing control from end to begin — the paid-in total stays at 46,000 while the balance rises.

Checked against the closed form, plus a zero-rate case that must land exactly on the deposit total · impl 47631576

Method and assumptions

Apply the nominal annual rate divided by the compounding frequency to the initial balance. Each recurring deposit grows from its scheduled beginning or end of a complete month or year; a partial final deposit period adds growth but no new deposit. At 0% interest, an initial 1000 plus twelve monthly deposits of 100 ends at 2200 after one year. Total deposited includes the initial amount; interest is final balance minus that total. Scenario B uses its own rate, deposit and duration, while the annual table and chart show A. A B − A difference with different durations is a balance comparison, not an equal-time return comparison. Supported limits are 1 billion initially, 10 million per deposit, 0–100 years and −100% to 100% nominal annual interest. Taxes, fees and inflation are excluded; returns are not guaranteed.

Data sources

Disclaimer

These calculators give estimates for general information only. They are not financial, tax or investment advice and do not take your personal circumstances into account. Before borrowing, investing or filing, confirm the numbers with a qualified adviser in your jurisdiction.

Maintained by: CalcDelta Formula and sources updated ·

Implementation source

This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.

View algorithm, constants and default inputs (JSON)

Formula and variables

A = P·b^(n·t) + Σⱼ₌₁ᴺ C·b^(n·(t−(j−δ)/f)); b = 1+r/n; N = ⌊f·t⌋; I = A−(P+C·N)

A
Final balance
P
Initial amount
r
Annual interest rate / 100
n
Compounding frequency
t
Years
C
Recurring deposit
f
Deposit frequency
N
⌊f·t⌋
δ
0: Period end; 1: Period beginning
I
Interest earned

Growth uses a constant nominal annual rate and fractional compounding periods between deposit dates. Monthly or annual deposits use the selected start/end timing; only complete deposit periods count. Taxes, fees and inflation are excluded; returns are not guaranteed. B−A compares the selected final balances, which may have different time horizons. The annual table and growth chart show A.

Embed this calculator

Copy the iframe snippet to place this calculator on your site. No account required. The snippet stays in sync with the inputs currently shown.

Frequently asked questions

What is compound interest?

Compound interest is growth calculated on the initial principal and previously accumulated interest. With no recurring deposits, the model uses P × (1 + r/n)^(n × t), where r is the nominal annual rate as a decimal, n is the number of compounding periods per year and t is years.

How do recurring deposits and partial periods work?

Choose monthly or annual deposits and period beginning or end. Only complete deposit periods count. For example, 1.5 months includes one monthly deposit; the remaining half-month adds growth but no second deposit. At 0% interest, an initial 1000 plus twelve monthly deposits of 100 ends at 2200 after one year.

What do total deposited and interest earned mean?

Total deposited is the initial amount plus scheduled deposits. Interest is the final balance minus that total and can be negative. These are fixed-rate projections excluding taxes, fees and inflation; returns are not guaranteed.

What does B − A compare?

B − A subtracts the selected final balance of A from B. Each scenario uses its own rate, deposit and duration. If durations differ, this is not an equal-time return comparison. The annual table and growth chart show scenario A.