Stock Meadow · Calculator

Compound interest calculator

Enter a starting amount, a monthly deposit, a yearly rate and a number of years to see what they grow to at a fixed rate: the final value, how much of it was paid in and how much is interest.

Updated · By Stock Meadow · About us

Work out compound interest

Type a starting amount, what is added at the end of each month, a yearly rate and the number of years. The rate is a percent: type 7 for 7%. Any currency works, as long as every amount uses it. Nothing you type leaves your browser.

Amounts

Starting amount

What is there on day one; blank counts as zero

Added each month

Paid in at the end of every month; blank counts as zero

Rate and time

Yearly rate (%)

A fixed rate for the whole period, as a percent

Years

Up to 100; part of a year is fine (2.5)

Times a year interest is added

Leave blank for 12 (monthly); 1 is yearly, 4 quarterly, 365 daily

Changes over time (optional)

A deposit that rises each year and a yearly fee change the result. Inflation leaves it as it is and adds the same value in today's money.

Yearly increase in the deposit (%)

The monthly deposit steps up by this much after every twelve deposits

Yearly fee (% of the balance)

One twelfth is taken each month, after interest and before the deposit

Inflation, yearly rate (%)

Shows the final value in today's money

A goal (optional)

Type an amount to see the monthly deposit that would reach it over the years typed, at the rate typed.

Target amount

The balance to reach at the end

A second scenario (optional)

Fill in any of these to draw a second line on the chart. A box left blank copies the first scenario; the fee, the deposit increase and inflation apply to both.

Starting amount

Blank: the same as above

Added each month

Blank: the same as above

Yearly rate (%)

Blank: the same as above

Years

Blank: the same as above

The result appears here once the figures are in. To see how it works first, press Fill in an example.

Real investments don't grow at a fixed rate: see what one actually did.

On every stock and ETF page, Stock Meadow's What-if tool shows what a starting amount plus monthly deposits, invested from a past date, would be worth today: worked out from real prices, with dividends counted, beside an index fund.

Start a free 7-day trial

No card needed to start.

For research only, not investment advice.

How the result is worked out

Two parts are added together:

  • The starting amount, grown: starting amount × (1 + rate ÷ n)n × years, where n is the number of times a year interest is added.
  • The deposits, each grown for the months after it went in: monthly deposit × ((1 + i)months − 1) ÷ i, where i is the rate for one month. With interest added monthly, i is simply the yearly rate ÷ 12.

A worked example with made-up numbers. 10,000 to start and 500 at the end of every month, for 20 years at a yearly rate of 6% with interest added monthly: the starting amount grows to 33,102.04 and the 240 deposits to 231,020.45, a total of 264,122.49. Of that, 130,000 was paid in and 134,122.49 is interest.

When interest is added less or more often than monthly, a month earns the matching share of an interest period: the growth for one month is (1 + rate ÷ n) to the power of n ÷ 12.

What the calculator assumes

  • A fixed rate. The same yearly rate applies for the whole period.
  • Deposits at the end of each month, the same amount every time.
  • Interest added monthly unless you type another number of times a year.
  • No tax, fees or inflation. Tax on interest, account or fund fees and rising prices all reduce what the final amount is worth.
  • Whole months. A period such as 2.5 years is worked out as 30 months, and the longest period is 100 years.

Reading the result

The calculator shows the final value, the total paid in and the difference between them, which is the interest, plus the balance at a few points along the way. Those points show the shape of compound growth: slow at first, when most of the balance is money paid in, and faster later, when interest is being earned on earlier interest.

Try changing one input at a time. Doubling the number of years more than doubles the interest, while doubling the monthly deposit only doubles the part that comes from deposits.

The chart, the table and the optional boxes

  • The chart. The balance at each year end, split into the money paid in and the interest earned on it. It is a projection at one fixed rate, not a forecast.
  • Year by year. The same figures as a table: paid in so far, interest so far and the balance.
  • A deposit that rises each year. The monthly deposit stays the same for twelve deposits, then steps up by the percentage typed, and again every twelve deposits after that.
  • A yearly fee. A percent of the balance, taken a twelfth at a time at the end of each month, after that month's interest and before the deposit. The working shows the total taken.
  • Inflation. Leaves the balance as it is and adds its value in today's money: the balance divided by prices compounding at the rate typed. It is drawn as a dotted line.
  • A goal. The monthly deposit that would reach a target amount over the years typed, at the rate, fee and deposit increase typed. With a rising deposit it is the first year's deposit.
  • A second scenario. Another rate, deposit, starting amount or number of years, drawn as a second dotted line with its own final value. Boxes left blank copy the first scenario.

The optional boxes change nothing unless you fill them in: left blank, the result is the plain formula above.

What a fixed rate cannot tell you

Real investments do not grow at a fixed rate. A savings account's rate changes over time, and stocks and funds rise in some years and fall in others, sometimes sharply. Two investments with the same average return can end at different values depending on the order of the good and bad years, and a calculator like this one shows none of that.

Treat the result as arithmetic about a rate you chose, not as an estimate of what any investment will be worth. To see what a real stock or ETF did over a past period, with its ups and downs, Stock Meadow has a What-if tool on every stock and fund page; what it shows is the past, which does not predict the future.

For research only, not investment advice.

Frequently asked questions

What is compound interest?
Interest that is added to the balance and then earns interest itself. With simple interest, 1,000 at 5% earns 50 every year. With compound interest the second year's 5% is paid on 1,050, the third year's on 1,102.50, and so on, so the balance grows faster the longer it is left.
What is the compound interest formula?
For a single amount: final value = starting amount × (1 + rate ÷ n) to the power of (n × years), where n is how many times a year interest is added. Regular deposits are added with the annuity formula: deposit × ((1 + i) to the power of the number of months − 1) ÷ i, where i is the rate for one month.
Are deposits added at the start or the end of the month?
At the end. The first deposit goes in after one month and earns nothing in that month, and the last deposit goes in on the final day and earns nothing at all. Paying in at the start of each month instead would give a slightly higher result.
How often is interest added in this calculator?
Every month, unless you change it. Type 1 for once a year, 4 for quarterly or 365 for daily. The more often interest is added, the higher the final value, though the difference between monthly and daily is small.
What is the rule of 72?
A quick estimate of how long money takes to double: divide 72 by the yearly rate in percent. At 6% that gives about 12 years, close to the exact answer of just under 12. The estimate is good for rates in the single digits and less exact for high rates.
Does this show what a stock investment will be worth?
No. It shows what a fixed rate does, and no stock or fund grows at a fixed rate: returns differ every year and some years are negative. Stock Meadow's What-if tool shows what an amount invested in a real stock or ETF on a past date would be worth today, which is a record of the past, not a forecast.
How much do I need to save each month to reach a goal?
Type the goal in the Target amount box. The calculator takes what the starting amount grows to on its own, and divides the rest by what a deposit of 1 a month grows to over the period: that is the monthly deposit needed at the rate typed. If the starting amount alone reaches the goal, it says so.
How does the calculator treat fees and inflation?
A yearly fee is taken a twelfth at a time: at the end of each month, after that month's interest and before the deposit, that share of the balance comes off. Inflation changes nothing in the balance; it adds the same value in today's money, the balance divided by prices compounding at the rate typed for the same number of years.

Real investments don't grow at a fixed rate: see what one actually did.

On every stock and ETF page, Stock Meadow's What-if tool shows what a starting amount plus monthly deposits, invested from a past date, would be worth today: worked out from real prices, with dividends counted, beside an index fund. Sign up free for a 7-day trial, no card needed. Already a member? Go straight in.

Open the stock lists