MoneyFinancial Math

Compound Interest
calculator.

See savings grow, or find the time or rate a goal needs.

Before you rely on this result.This is an estimate for planning. Banks, lenders and other providers apply their own rules, fees and rounding, so confirm figures with them before you commit to a financial decision. The tool uses one fixed rate for every year. Investment returns rise and fall, so a long projection is a scenario, not a promise. Sources used on this page.

How it's worked out

Compound interest pays interest on your interest. Each period, the interest is added to the balance. The next period's interest is then paid on that bigger amount. For a single deposit, the textbook formula gives the balance at the end, AA. Here it is for $10,000 at 5%, added monthly for 10 years.

A =P × (1 + rn)nt$10,000 × (1 + 0.0512)120$16,470.09
P = $10,000the starting amountr = 0.05the yearly rate as a decimal, so 5% is 0.05n, t = 12, 10times a year interest is added (365 for daily), and the years

Monthly deposits grow as a series. Each deposit earns interest from the month it goes in:

FV\displaystyle \text{FV}=PMT⋅(1+i)m−1i\displaystyle {}=\;\text{PMT} \cdot \dfrac{(1 + i)^{m} - 1}{i}

Here PMT is the monthly deposit, ii is the monthly rate and mm is the number of months. If you pay in at the start of each month, every deposit earns one more month, so the sum is multiplied by 1+i1 + i.

Your deposits are monthly, but your bank may add interest daily or once a year. So the tool first finds the monthly rate that gives the same growth, then steps through every month:

i\displaystyle i=(1+rn)n12−1\displaystyle {}= \left(1 + \dfrac{r}{n}\right)^{\frac{n}{12}} - 1

With continuous compounding it uses i=er12−1i = e^{\frac{r}{12}} - 1. When both happen monthly, this gives exactly the textbook answer. To find the time to a target, the tool adds month by month until the balance passes it. To find the rate, it tries rates and halves the gap each round until the balance lands on the target.

Worked examples

Lena builds an emergency fund

Lena has $10,000 in a savings account paying 4.5%, compounded monthly. She adds $300 at the end of each month and wants $50,000. She gets there in 8.19 years, about 8 years 2 months. By then she has paid in $39,400 and interest has added $10,481. Open this example in the tool

Marcus starts investing at 35

Marcus puts in $5,000 and then $500 a month. He assumes 7% a year for 30 years. The balance grows to $650,567.99. He pays in $185,000, so $465,568 is interest.

If he waited ten years and saved for 20 years instead, he would end with $280,657.02. He would pay in $60,000 less but end with $369,911 less. With 3% inflation, his 30-year balance is worth about $268,025 at today's prices. Open this example in the tool

Ana checks a house fund

Ana has $20,000 and can save $400 a month for 15 years. She wants $150,000 for a down payment on a home. She needs about 5.05% a year. Of the target, $92,000 comes from her and $58,000 has to come from interest. Open this example in the tool

Reading your result

The big number is the balance at the end. The split bar shows how much of it you paid in and how much is interest. Over short periods, most of it is your own money. Over long ones, interest takes over. The chart marks the month when total interest passes what you have paid in.

The effective annual rate is the yearly growth after compounding. Banks in the US must quote it for savings as the APY, under the Truth in Savings rules (Regulation DD, Appendix A). How often interest is added matters less than you might think. Here is $10,000 at 5% for 10 years:

CompoundingBalanceEffective
annual rate
Annually$16,288.955%
Quarterly$16,436.195.095%
Monthly$16,470.095.116%
Daily$16,486.655.127%
Continuously$16,487.215.127%

The doubling tile uses the exact time for a single deposit at your effective rate. A quick check is the Rule of 72: divide 72 by the rate. At 8% the rule says 9 years and the exact answer is 9.01 years.

RateExact years to doubleRule of 72
2%3536
4%17.6718
6%11.912
8%9.019
10%7.277.2
12%6.126

For anything longer than a few years, switch on today's money. A balance 30 years out buys far less than the same number would today.

Common mistakes

  • Counting compounding twice. An APY already includes compounding. If your bank quotes 4.5% APY, enter 4.5% and pick annual compounding. Picking monthly would count the effect again and overstate the result.
  • Treating a stock return as fixed. Stocks can fall in some years and jump in others. A steady 7% is a scenario, not a promise. Use the what-if grid to see a lower and a higher rate.
  • Forgetting tax. Interest in a normal savings account is taxed each year. To allow for that, enter the rate after tax: at a 22% tax rate, 5% becomes 3.9%.
  • Comparing the end figure with today's prices. A big 30-year number can feel larger than it is. Turn on today's money before you plan around it.
  • Mixing up the target and the deposits. In rate mode the target must be more than you pay in, or the answer is a negative rate.

Questions people ask

APR is the simple yearly rate before compounding. APY is what you actually earn in a year once interest is added to interest. A 5% rate compounded monthly gives an APY of about 5.116%, and US banks must quote the APY on savings under the Truth in Savings rules.

Sources