How to Calculate Compound Interest With Monthly Contributions
Calculate compound interest with monthly contributions using clear formulas and checked examples. Compare deposit timing, total deposits, and interest earned.
Published · Updated · By ToolNimbly

Compound interest with monthly contributions has two parts: growth on your starting balance and growth on the deposits you add each month. Calculate them separately, then add them together. The amount of interest each deposit earns depends on when it arrives.
For example, $1,000 initially plus $100 at the end of every month grows to $17,175.24 after 10 years at a constant 5% nominal annual rate compounded monthly. You deposit $13,000 altogether; the remaining $4,175.24 is modeled interest. Here is how to reproduce that result.
Start with monthly compounding without deposits
With no additional deposits, the monthly compound interest formula is:
A = P(1 + r/12)12t
- A is the final balance.
- P is the initial principal, or starting amount.
- r is the nominal annual interest rate as a decimal: 5% means 0.05.
- t is the duration in years.
Dividing r by 12 gives the monthly rate, and multiplying t by 12 gives the number of months. We will call these i = r/12 and N = 12t. These formulas assume a whole number of monthly periods and a constant rate.
For $1,000 at 5% over 10 years, A = 1,000 × (1 + 0.05/12)120 = $1,647.01. The $647.01 increase comes from interest on both the starting money and previously earned interest, consistent with Investor.gov's definition of compound interest.
Add equal contributions at the end of each month
Let C be the amount deposited every month. When each deposit arrives after that month's interest calculation, use:
A = P(1 + i)N + C × [(1 + i)N − 1] / i
The first term grows the starting amount. The second grows the recurring deposits. It is a geometric sum: C + C(1 + i) + … + C(1 + i)N − 1. The final deposit earns no interest before the projection ends, while the first deposit earns interest for N − 1 months. This contribution pattern is called an ordinary annuity.
For the opening example, P = 1,000, C = 100, i = 0.05/12, and N = 120. Keeping the full monthly rate in the calculation gives:
- Future value of the initial $1,000: $1,647.01.
- Future value of the 120 monthly deposits: $15,528.23.
- Final balance: $17,175.24.
The deposits themselves total 120 × $100 = $12,000. Add the initial $1,000 to get $13,000 of your own money. Subtracting that from the final balance gives $4,175.24 in interest. Round the final results to cents, rather than rounding the monthly rate before using it.
For a spreadsheet version of this calculation, see compound interest in Excel with monthly deposits.
What changes with beginning-of-month deposits?
With beginning-of-month deposits, each contribution earns interest for one extra month. Multiply only the contribution term by (1 + i):
A = P(1 + i)N + C × [(1 + i)N − 1] / i × (1 + i)
This pattern is called an annuity due. The first contribution arrives immediately alongside the starting amount; the last arrives at the beginning of the final month. Keep the same number and size of deposits when comparing the two timings.
| Monthly deposit timing | Recurring deposits | Interest | Final balance |
|---|---|---|---|
| End of month | $12,000.00 | $4,175.24 | $17,175.24 |
| Beginning of month | $12,000.00 | $4,239.94 | $17,239.94 |
Both rows use $1,000 initially, $100 monthly, 10 years, and 5% nominal annual interest compounded monthly. Beginning-of-month deposits produce $64.70 more in this example. Earlier deposits increase the final balance when the rate and contributions are positive; the advantage is not an unconditional rule for every possible rate.
At a zero rate, use a simpler formula
If r = 0, then i = 0, so the contribution formulas above would divide by zero. Instead use A = P + NC. With $1,000 initially and 120 deposits of $100, the final balance is $13,000. There is no interest, and beginning versus end timing makes no difference.
Use the annual interest rate, not APY
APY includes the effect of compounding; the nominal annual interest rate does not. The CFPB's deposit-account definitions distinguish these measures. In the formulas here, r is the nominal annual rate.
Do not divide an APY by 12 and treat it as the exact monthly rate. Under an equivalent constant monthly growth model, an APY expressed as a decimal y gives i = (1 + y)1/12 − 1. Check the account's actual terms before choosing a model. Our APY versus interest rate guide explains the distinction further.
Reproduce the example in ToolNimbly
Open the compound interest calculator and enter:
- Starting amount: 1000.
- Annual rate: 5, and Duration: 10 years.
- Compounding frequency: Monthly.
- Under Regular contributions, set Amount to 100 and How often to Monthly.
- Contribution timing: End of period; choose USD to display the example in dollars.
The result's Total contributions is $12,000: it excludes the separately displayed $1,000 starting amount. In the year-by-year table, opening balance + that year's contributions + that year's interest equals closing balance before display rounding. For year one, $1,000 + $1,200 + $79.05 = $2,279.05.
Switch to Beginning of period to compare timing. Keep both frequencies monthly when checking these formulas; changing the compounding frequency changes the calculation.
Check the assumptions behind your projection
This example assumes constant rates, equal deposits, retained interest, and no withdrawals, fees, or taxes. It is a mathematical scenario, not a promised return. The SEC's Investor.gov calculator similarly separates the starting investment, monthly contribution, duration, annual rate, and compounding frequency.
For a real deposit account, check its rate, compounding and crediting schedules, balance method, and fees. These are among the terms covered by the CFPB's account-disclosure rule. Recalculate when the rate or planned deposits change.
Put this into practice
Use the Compound Interest tool for the calculation, then read Compound interest with regular contributions for the supporting explanation.