YourCalcDesk

Compound interest calculator

Model a starting amount with regular deposits, withdrawals or both. Choose how often interest compounds and see the result year by year or month by month.

Version

Starting point
Growth
Length of time
Regular contributions
Withdraw
More options
Deposits and withdrawals happen at the
Raise deposits each year by

Leave at 0 to ignore. Above 0, results also show today's purchasing power.

How the calculation works

Compound interest means each period's interest is added to the balance, so the next period earns interest on a larger amount. The calculator steps through time. Between events it accrues interest on the current balance; on every compounding date the accrued interest is added to the balance; deposits and withdrawals are applied on their own dates.

For the common case of monthly deposits at the end of the month, the result matches this closed form:

i = (1 + r / n)n/12 − 1

Balance = A × (1 + i)m + P × ((1 + i)m − 1) / i

A = starting amount · P = monthly deposit · r = nominal annual rate as a decimal · n = compounding periods per year · m = number of months. With a 0% rate the balance is A + P × m.

Worked example

Start with 10,000, deposit 500 a month at the end of each month, earn 7% a year compounded monthly, for 20 years (m = 240).

  1. Monthly rate: i = 0.07 / 12 = 0.005833.
  2. Growth factor: (1 + i)240 = 4.0387.
  3. Starting amount grows to 10,000 × 4.0387 = 40,387.
  4. Deposits grow to 500 × (4.0387 − 1) / 0.005833 = 260,463.
  5. Balance: 40,387 + 260,463 = 300,851 (rounded). You put in 130,000; the other 170,851 is interest.

The rates shown

What this calculator does not include

Amounts are rounded to whole units for display only; the calculation itself is not rounded. Last updated: 11 November 2026.

Frequently asked questions

What is the difference between simple and compound interest?

Simple interest is paid only on the original amount. Compound interest is paid on the original amount plus interest already earned, so growth accelerates over time.

How often should interest compound?

Use the frequency your account states. More frequent compounding gives a slightly higher result, but the difference is small compared with the effect of the rate and the number of years.

Should deposits be at the start or the end of the period?

Choose the one that matches how you pay in. Start-of-period deposits earn interest for one extra period, so the result is a little higher.

How do percentage withdrawals work?

A percentage of the balance takes that share of the whole balance each period. A percentage of earnings takes that share of the interest earned since the previous withdrawal. A fixed amount takes the same sum each period and stops when the balance is gone.

Does the result include tax?

No. The result is before tax and fees. Inflation is only included if you enter a rate.