# Compound interest calculator with monthly contributions

URL: https://funkfolio.com/tools/compound-interest-calculator

> See how savings grow with compound interest and regular contributions: the final balance, contributions and interest, a yearly table and the rule of 72.

---

## Compound interest calculator

Enter a starting amount, a regular monthly or yearly contribution, an annual interest rate, how often interest compounds, and a number of years. The calculator gives the final balance, how much of it you paid in and how much is interest, a year-by-year table, and the doubling time by the rule of 72 beside the exact one.

### Calculator

Balance after 20 years

$300,850.72

$130,000.00 paid in, $170,850.72 interest

Starting amount

$10,000.00

Contributions

$120,000.00

Interest earned

$170,850.72

Effective annual rate

7.23%

Doubling time, rule of 72

10.3 years

72 ÷ 7

Doubling time, exact

9.9 years

ln 2 ÷ ln(1 + effective rate)

The rate is an assumption applied every year. Real investments do not earn a fixed rate, and taxes, fees and inflation are not included.

#### Contributions and interest, year by year

- Paid in (start and contributions)
- Interest earned

Year-by-year balance

| Year | Start | Contributions | Interest | End |
| --- | --- | --- | --- | --- |
| Year 1 | $10,000.00 | $6,000.00 | $919.19 | $16,919.19 |
| Year 2 | $16,919.19 | $6,000.00 | $1,419.39 | $24,338.58 |
| Year 3 | $24,338.58 | $6,000.00 | $1,955.73 | $32,294.31 |
| Year 4 | $32,294.31 | $6,000.00 | $2,530.85 | $40,825.16 |
| Year 5 | $40,825.16 | $6,000.00 | $3,147.54 | $49,972.70 |
| Year 6 | $49,972.70 | $6,000.00 | $3,808.83 | $59,781.53 |
| Year 7 | $59,781.53 | $6,000.00 | $4,517.90 | $70,299.43 |
| Year 8 | $70,299.43 | $6,000.00 | $5,278.25 | $81,577.68 |
| Year 9 | $81,577.68 | $6,000.00 | $6,093.54 | $93,671.22 |
| Year 10 | $93,671.22 | $6,000.00 | $6,967.80 | $106,639.02 |
| Year 11 | $106,639.02 | $6,000.00 | $7,905.23 | $120,544.25 |
| Year 12 | $120,544.25 | $6,000.00 | $8,910.45 | $135,454.70 |
| Year 13 | $135,454.70 | $6,000.00 | $9,988.32 | $151,443.02 |
| Year 14 | $151,443.02 | $6,000.00 | $11,144.12 | $168,587.14 |
| Year 15 | $168,587.14 | $6,000.00 | $12,383.48 | $186,970.62 |
| Year 16 | $186,970.62 | $6,000.00 | $13,712.41 | $206,683.03 |
| Year 17 | $206,683.03 | $6,000.00 | $15,137.42 | $227,820.45 |
| Year 18 | $227,820.45 | $6,000.00 | $16,665.46 | $250,485.91 |
| Year 19 | $250,485.91 | $6,000.00 | $18,303.94 | $274,789.85 |
| Year 20 | $274,789.85 | $6,000.00 | $20,060.87 | $300,850.72 |
| Total | $10,000.00 | $120,000.00 | $170,850.72 | $300,850.72 |

### How it is calculated

#### Compounding

Interest compounds when it is added to the balance and itself earns interest. A nominal annual rate compounded m times a year earns r ÷ m each period, which makes an effective annual rate of (1 + r ÷ m)^m − 1. At 7% compounded monthly the effective rate is 7.23%.

#### Contributions

Each contribution is added at the start or the end of its period, monthly or yearly. When contributions and compounding run on different schedules, each contribution period grows at the rate that compounds to the same effective annual rate, so money paid in during a period earns interest for the part of the year it is invested.

The balance is carried at full precision and rounded to the cent at each year's end. A year's interest is its closing balance minus the opening balance and that year's contributions, so the table's columns add up to the totals exactly.

#### The rule of 72

Dividing 72 by the annual rate in percent gives a quick estimate of the years it takes money to double. The exact doubling time is ln 2 ÷ ln(1 + effective rate). The estimate is closest at rates near 8% and drifts further from the exact figure at much lower or higher rates.

The rate is your assumption. Investments do not earn a fixed rate every year, and this calculator does not account for taxes, fees or inflation.

#### The formula

```
effective annual rate = (1 + r ÷ m)^m − 1
growth per contribution period = (1 + r ÷ m)^(m ÷ p) − 1
end-of-period: balance = balance × (1 + g) + contribution
start-of-period: balance = (balance + contribution) × (1 + g)
doubling time ≈ 72 ÷ rate%      exact = ln 2 ÷ ln(1 + effective rate)
```

### Worked example: $10,000 plus $500 a month at 7%

Start with $10,000 and add $500 at the end of every month for 20 years, at 7% a year compounded monthly. The balance at the end is $300,850.72.

Of that, $130,000.00 is money paid in — the $10,000 start and $120,000.00 of contributions — and $170,850.72 is interest.

The effective annual rate is 7.23%. By the rule of 72, money doubles in about 10.3 years at 7%; the exact doubling time at that effective rate is 9.9 years.

### Questions and answers

**What is the compound interest formula?**

A single sum grows to P × (1 + r ÷ m)^(m × t), where P is the starting amount, r the annual rate, m the number of compounding periods a year and t the number of years. With regular end-of-period contributions C at the same frequency, add C × ((1 + i)^n − 1) ÷ i, where i is the rate per period and n the number of periods.

**How much will $500 a month be worth in 20 years?**

At 7% a year compounded monthly, $500 paid at the end of every month for 20 years grows to $260,463.33, of which $120,000 is contributions and the rest interest. The answer depends entirely on the rate assumed, and real investments do not earn a fixed rate.

**What is the rule of 72?**

The rule of 72 estimates the years it takes money to double: divide 72 by the annual rate in percent. At 7% that is about 10.3 years. The exact figure is ln 2 ÷ ln(1 + rate), which at 7% compounded monthly is 9.9 years.

**Does contributing at the start of the month make a difference?**

Yes, a small one. A contribution made at the start of a period earns interest for that whole period, so every contribution earns one period more. At 7% compounded monthly, $500 a month for 20 years grows to $261,982.70 when paid at the start of each month and $260,463.33 when paid at the end.

**Does more frequent compounding matter?**

Slightly. At the same nominal rate, compounding monthly instead of yearly raises the effective annual rate, from 7.00% to 7.23% at a 7% nominal rate. Daily compounding adds very little beyond monthly.

### Sources

- [Compound Interest Calculator](https://www.investor.gov/financial-tools-calculators/calculators/compound-interest-calculator) — U.S. Securities and Exchange Commission, Investor.gov
- [What is compound interest?](https://www.investor.gov/additional-resources/information/youth/teachers-classroom-resources/what-compound-interest) — U.S. Securities and Exchange Commission, Investor.gov

### Related

#### Calculators

- [Savings goal calculator](https://funkfolio.com/tools/savings-goal-calculator) — How much to save each month to reach a sum by a date
- [FIRE calculator](https://funkfolio.com/tools/fire-calculator) — Your financial independence number and the years to reach it
- [CAGR calculator](https://funkfolio.com/tools/cagr-calculator) — Compound annual growth rate from a start and end value, or the reverse
- [Inflation calculator](https://funkfolio.com/tools/inflation-calculator) — What a sum costs and buys after years at a chosen inflation rate
- [DCA calculator](https://funkfolio.com/tools/dca-calculator) — A monthly amount into a real stock, against a lump sum

#### Guides

- [Compound interest explained](https://funkfolio.com/learn/money/compound-interest)
- [Dollar-cost averaging](https://funkfolio.com/learn/money/dollar-cost-averaging)
- [CAGR vs average return](https://funkfolio.com/learn/money/cagr)

Updated Nov 12, 2026. Results are arithmetic on the figures you enter, not advice.

### Cite this page

Funkfolio, “Compound interest calculator with monthly contributions”. https://funkfolio.com/tools/compound-interest-calculator
