Compound Interest: Worked Examples With and Without Contributions

Interest & Rates · 7 min read · Updated November 20th 2026

Compound interest means earning interest on interest that has already been added to the balance. The idea is simple, but results depend on the rate, time, and what you put in or take out. Start with a lump sum, then add recurring deposits so you can tell how much of the result you saved yourself and how much is modeled growth.

Open the Compound Interest Calculator →

Start with the balance at the end of year one

Suppose you start with $10,000 at a nominal annual rate of 5% and interest is credited once a year. After one year you have $10,500. If you leave the full balance in the account and the rate stays the same, the second year begins with $10,500. Five percent of that is $525, so the ending balance is $11,025. The extra $25 in year two is interest on the first year's interest. With simple interest calculated only on the original $10,000, two years would instead bring the balance to $11,000.

For a fixed lump sum, use principal times one plus the periodic rate raised to the number of periods. The periodic rate is the nominal annual rate divided by the number of compounding periods per year. The number of periods is the number of years multiplied by that frequency. In the annual example that is $10,000 times 1.05 squared. For monthly compounding, divide 0.05 by 12 and use 24 periods over two years.

An annual percentage yield, or APY, already includes the effect of compounding. If a savings account quotes 5% APY, don’t enter 5% as a nominal annual rate and compound monthly unless you intend a different scenario. To model a fixed APY over whole years for a balance left alone, one convenient choice is to enter that percentage with annual compounding. Variable savings rates, fees, withdrawals and actual deposit dates may change the outcome.

Worked example: $10,000 plus $200 a month

Start with $10,000 and add $200 at the end of each month for 10 years. Assume a 5% nominal annual rate, monthly compounding, and no taxes or fees. There are 120 deposits. Use the calculator with monthly compounding and monthly contributions. The opening balance grows to about $16,470.09. The contributions grow to about $31,056.46, so the projected balance is $47,526.55. You put in $10,000 plus $24,000, for $34,000 total. The modeled growth is $13,526.55.

The $200 deposited in month one has many more months to earn than the $200 deposited at the end of the final month. The contribution formula adds together each deposit’s growth over the remaining periods. When deposits are monthly and compounding is also monthly, multiply the deposit amount by the growth factor minus one, then divide by the monthly rate. The growth factor here is one plus 0.05 divided by 12, raised to the 120th power. With zero interest, the appropriate shortcut is to add the deposits without dividing by a rate.

As a reasonableness check, first run the example at 0%. The balance should be the amount contributed: $34,000. Then try 4% and 6%, holding other inputs fixed. The 10-year totals are about $44,358 and $50,970, respectively. All rates here are illustrative, not forecasts or offers.

See what an extra ten years changes

Extend the same scenario from 10 years to 20, without changing the $200 monthly deposit or modeled return. The projected balance rises from $47,526.55 to $109,333.14. At 20 years, the original $10,000 plus 240 deposits of $200 total $58,000, leaving $51,333.14 of modeled growth. The longer period adds $24,000 in deposits and gives a larger existing balance more time to grow. This is why doubling the time does not usually double the ending balance when returns are positive and compounded.

The pattern is different when the return is negative or when you withdraw from the account. Money that leaves cannot earn another round of return, and investment losses can reduce the base. A smooth 5% line on a chart does not mean prices rise 5% every year. In a long accumulation plan, years with gains and losses can arrive in very different orders. If you need the money on a particular date, consider what happens if the balance is down when you need it.

A higher rate is not the only lever. Decide whether a longer timeline or bigger recurring deposit is actually available. If raising the modeled rate is the only way to hit a target, the projection is telling you the goal relies on a stronger assumption. Compare changing what you can control before committing money that could be needed for a near-term expense.

Account for fees, taxes, and buying power

A projection before expenses is different from the balance you can use. As a rough sensitivity test, compare the 20-year example at 5% versus 4%, keeping all else the same. The difference is about $13,752.39, since at 4% the modeled ending balance is $95,580.75. This shows the impact of a persistent one-percentage-point gap under these assumptions. It does not calculate a specific fee contract, which may charge a percentage of assets, a flat fee, or an amount that changes over time.

Taxes can affect deposit interest and investment returns in different ways, and account types can change when tax is paid. If money used to pay tax comes from the account, it reduces the amount left to compound. If the tax is paid from other funds, the account and the household cash budget tell different stories. Use an estimate that matches where you will hold the money rather than making an automatic subtraction from every return.

Inflation affects spending power even when the number on the statement rises. At a hypothetical 2.5% inflation rate for 20 years, divide the projected $109,333.14 by 1.025 raised to the 20th power. That gives roughly $66,700 in starting-year purchasing power. Use the same units for your goal and your forecast. Comparing a future-dollar balance to a target stated in today's dollars mixes two different scales.

Run a useful scenario instead of seeking a perfect forecast

Enter what you have now, how much you expect to add each period, the time horizon, and a clearly labeled rate. Check the settings for compounding and contributions separately. Read the total invested before interpreting growth. If you model a single deposit with no added savings, remove recurring contributions instead of leaving a prefilled value in place. To see how long contributions have to work, try the same plan over two timelines before changing anything else.

Next try a lower return and a missed contribution period. If the calculator assumes level deposits, approximate interruptions with a lower average or use separate time segments: project to the interruption, then use that balance as the opening value for the next segment. If deposits begin immediately instead of at period end, the math gives them an extra period of growth. Use the actual timing when comparing contribution patterns instead of attributing every difference to rate.

Keep the assumption behind each percentage. A bank’s disclosed yield, an illustrative investment return, a fee adjustment, and an inflation assumption are not interchangeable. If a saving plan is for a near-term bill, check when funds are available rather than choosing solely by the projected ending value. A useful estimate tells you how much to set aside and which assumptions matter most; it does not promise the number the account will show.

Check for early withdrawals before comparing accounts

If you plan to take money out after a year, compare that actual timeline instead of a ten-year projection. A withdrawal penalty or a change in rate can outweigh a small compounding advantage. For a fixed term, note the maturity date and make sure it comes before the bill you intend to pay.

Try the calculator

Sources

Frequently asked questions

What part of the ending balance is interest?
Subtract starting principal and all contributions from the ending balance. The difference is modeled interest or growth before any costs not included in the inputs.
Should I enter APY as an annual rate with monthly compounding?
Not directly. APY already reflects compounding. Convert it to a matching nominal rate or model the fixed APY with annual compounding for whole-year examples.
Can the same formula predict stock returns?
It can model a constant-return scenario, not predict market returns or their order.

Related calculators & guides

Educational content only — not financial, tax, or legal advice. Permalink: Read the Compound Interest: Worked Examples With and Without Contributions guide. See our editorial policy.

← All guides

MoneyMath Hub