# Compound Interest Calculator: Formula, Monthly Contributions and Examples

Web page: https://uptickflow.com/en/learn/compound-interest-calculator  
Updated: 2026-10-11

Free compound interest calculator with monthly contributions: final balance and growth year by year, the compound interest formula, fees and inflation.

The free compound interest calculator is just below. Enter a starting amount, a monthly contribution, an annual return, the number of years and monthly or yearly compounding. It shows your final balance, how much you put in, how much came from growth, and a year-by-year table. Compound interest means you earn returns on your past returns, not only on your deposits.

Behind it is the compound interest formula, A = P(1 + r/n)^(nt), plus a second term for monthly contributions. Below: the formula, how to use the calculator, examples of starting early and of monthly vs yearly compounding, then fees and inflation. Every number is hypothetical, and the return you type is an assumption, not a promise.

## What is compound interest?

Compound interest is when you earn interest on the money you saved and on the interest you already earned. Simple interest pays only on the original amount. The difference looks tiny at first and large later.

Hypothetical: $1,000 at 5% a year earns $50 in year one, for $1,050. In year two the 5% applies to $1,050, so it earns $52.50 and the balance reaches $1,102.50. Over 30 years at 6%, simple interest turns $1,000 into $2,800; compounding once a year turns it into about $5,743. That widening gap is what the drawing at the top shows.

The same math works against you on debt: unpaid card interest is added to the balance and then charges interest itself. Reinvested dividends work in your favour the same way, as the [dividend investing](https://uptickflow.com/en/learn/dividend-investing) guide explains.

## The compound interest formula, explained

For a single amount, the compound interest formula is A = P(1 + r/n)^(nt), with each letter defined in the list below.

Monthly vs yearly compounding, hypothetical: $10,000 at 6% for 10 years becomes $17,908.48 compounded yearly and $18,193.97 compounded monthly, about $285 more. Monthly compounding at 6% works out to about 6.17% a year, which is why US deposit accounts disclose an annual percentage yield (APY) that already includes compounding. The frequency matters far less than the rate and the number of years.

- A = the final amount.
- P = the starting amount (principal).
- r = the annual rate as a decimal: 6% = 0.06.
- n = how many times a year interest is compounded: 12 for monthly, 1 for yearly.
- t = the number of years.

## How monthly contributions add to compound growth

Regular contributions compound too. With a contribution at the end of each month and monthly compounding, the formula gains a second term: A = P(1 + i)^N + PMT × ((1 + i)^N − 1) ÷ i, where i = r ÷ 12 is the monthly rate, N = 12 × years is the number of months and PMT is the monthly contribution.

Hypothetical: $5,000 to start, $200 a month, 6% a year compounded monthly, for 30 years. You put in $77,000 in total and the balance reaches about $231,016, so about $154,016 came from growth. In year one, growth adds only $375.50; by year 20, total growth has passed everything you contributed. The drawing shows the same pattern.

## How to use the compound interest calculator

The calculator above runs these steps in your browser and stores nothing you type. Using the example from the previous section:

1. Starting amount: what you invest today, for example $5,000. Enter 0 if you start from nothing.
2. Monthly contribution: what you add each month, for example $200. The calculator adds it at the end of each month.
3. Annual return (%): the yearly return you assume, for example 6. Try a lower rate too, because this is a guess, not a forecast.
4. Years: from 1 to 50, for example 30.
5. Compounding: monthly or yearly. Monthly ends slightly higher at the same rate.
6. Read the results: Final balance (about $231,016 here), Total contributed ($77,000, the start plus every monthly contribution) and Total growth (about $154,016). The year-by-year table lists Year, Contributed, Growth and Balance, so you can see when growth overtakes what you put in.

## Starting early vs starting late: a worked example

Time is the strongest input. Two hypothetical investors each put in $96,000 at an assumed 6% a year, compounded monthly. Investor A adds $200 a month for 40 years and ends with about $398,298. Investor B adds $400 a month for only the last 20 of those years and ends with about $184,816. Same money in, yet A ends with more than twice as much, because A’s early contributions compounded for twice as long.

Now the downside. If A’s return averages 3% instead of 6%, the same 40 years end at about $185,212, less than half the first estimate. And a 30% market fall in the final year would cut $398,298 to about $278,809, however long it took to build. The calculator assumes the same return every year; real markets never deliver it that way, as the [bull vs bear market](https://uptickflow.com/en/learn/bull-vs-bear-market) guide shows.

## Fees and inflation: what the result does not subtract

The calculator shows growth before costs. A yearly fee is taken from the whole balance, so you also lose the return that money would have earned. To see the effect, lower the return by the fee: the same $5,000 plus $200 a month at 5% instead of 6%, as a rough model of a 1% yearly fee, ends near $188,790 instead of $231,016. That is about $42,225 less, more than half of the $77,000 you put in. Compare fund costs in [ETF vs mutual fund](https://uptickflow.com/en/learn/etf-vs-mutual-fund).

Inflation is the other leak. Prices tend to rise, so a dollar buys less later; in the US, the Bureau of Labor Statistics tracks this with the Consumer Price Index (CPI). If inflation averages a hypothetical 3% a year, divide the result by 1.03 to the power of the years: $231,016 in 30 years buys about what $95,175 buys today. Taxes, which depend on your country and account, are not included either.

## Why the assumed return is not a promise

The number you type in Annual return (%) is an assumption. Real returns change every year and can be negative, stocks can lose a large part of their value for years, and past averages do not predict the next decade. The smooth curve a calculator draws is a planning sketch, not a forecast.

Monthly contributions behave differently in a real, bumpy market. Hypothetically, $200 buys 4 shares at $50, 5 at $40 and 8 at $25: the same dollars buy more shares when prices are low, so your average cost ends below the average price, as in the drawing. That is [dollar-cost averaging](https://uptickflow.com/en/learn/dollar-cost-averaging). It does not prevent losses: if prices keep falling, every contribution loses value too.

Practical habits: run the calculator at two or three returns, including a low one; keep money you need soon out of investments that can fall; treat the result as a range, not a number. The [how to invest in stocks](https://uptickflow.com/en/learn/how-to-invest-in-stocks) guide covers the first steps. This is education, not advice; consider your own situation.

## Key takeaways

- Compound interest earns returns on past returns: A = P(1 + r/n)^(nt) for a single amount.
- Monthly contributions add a second term, and over long periods growth can overtake what you put in.
- Time matters more than compounding frequency: monthly vs yearly changes little, starting 20 years earlier changes a lot.
- Fees and inflation are not subtracted: lower the return for fees and divide by inflation to see today’s money.
- The annual return is an assumption, not a promise; real returns vary and can be negative.

## FAQ

**How do you calculate compound interest?**

Use A = P(1 + r/n)^(nt): the starting amount times (1 + annual rate ÷ compounding periods), raised to periods × years. $1,000 at 5% compounded yearly for 2 years gives $1,000 × 1.05² = $1,102.50. With monthly contributions, add the contribution term or use the calculator above.

**Does this compound interest calculator work with monthly contributions?**

Yes. Enter a monthly contribution and it is added at the end of each month; then choose monthly or yearly compounding. Leave the contribution at 0 to compound a single starting amount.

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

The rule of 72 gives a quick estimate: divide 72 by the yearly return. At 6%, 72 ÷ 6 = 12 years; the exact figure with yearly compounding is about 11.9 years. It assumes a steady return, which real investments do not deliver.

**What return should I enter?**

There is no right number, and no one can tell you what markets will return. Try several rates, including a low one, remember that real returns vary and can be negative, and lower the rate for fees. The calculator stores nothing you type.

---

Educational content, not financial advice. Trading involves risk of loss. https://uptickflow.com/llms.txt
