How the compound interest calculator works
With no extra deposits, a balance grows by the compound interest formula:
- P: initial deposit
- r: annual rate as a decimal
- n: compounding periods per year
- t: years
Monthly contributions are added as an annuity. We convert the rate to its equivalent monthly rate, i = (1 + r/n)n/12 − 1, so every compounding choice is handled exactly, then add each month's deposit:
m is the number of months. If you raise contributions each year, the calculator simulates month by month instead. The effective annual rate (APY) is (1 + r/n)n − 1. "Today's dollars" divides the final balance by (1 + inflation)t. Taxes and fees are not included.
Time matters more than the rate
Compounding rewards an early start. Investing $300 a month at 7% compounded monthly grows to about $787,000 after 40 years but only about $366,000 after 30 years. The extra ten years add $36,000 of contributions and more than $420,000 of growth, because the last decade compounds on a much larger balance.
Fees and taxes compound too
A 1% annual fee looks small, but it compounds against you. $10,000 growing at 7% for 30 years reaches about $76,000; at 6% (the same return minus a 1% fee) it reaches about $57,000. The fee costs roughly $18,700, nearly twice the original deposit. Compare fund expense ratios and advisory fees before you compare projected returns. Taxes work the same way: growth inside a 401(k) or IRA compounds without a yearly tax drag, which is why tax-advantaged accounts usually come first.
Choosing a realistic rate
- Savings accounts and CDs: use the APY the bank quotes; it already includes compounding.
- Bonds: use the yield to maturity of the fund or bond, not the coupon.
- Stocks: long-run returns have been higher but swing widely from year to year. Many planners use a conservative 5% to 7% for diversified stock portfolios after inflation is considered, and test a lower rate to see the downside.
The calculator assumes the same rate every year. Real markets do not deliver a smooth return, so treat the result as a planning estimate, not a promise.
The rule of 72
Divide 72 by the annual rate to estimate how many years it takes to double your money: about 10 years at 7%, 18 years at 4%. It is a quick sanity check on any projection, including this one.
Common mistakes
- Mixing up APR and APY when comparing savings accounts.
- Ignoring inflation; turn on the today's-dollars view to see purchasing power.
- Projecting stock returns from a single strong year.
Sources
- U.S. Securities and Exchange Commission, Investor.gov compound interest guidance.
- FINRA: understanding investment fees and expense ratios.
Worked example
You invest $10,000 and add $200 at the end of every month for 10 years at 7% compounded monthly. The monthly rate is 0.07 ÷ 12 = 0.0058333 and there are 120 months:
200 × (1.0058333120 − 1) ÷ 0.0058333 = $34,616.96
Total ≈ $54,713.58
You put in $34,000 ($10,000 + 120 × $200), so about $20,713.58 is interest. With 2.5% inflation that balance is worth about $42,742 in today's dollars. The effective annual rate of 7% compounded monthly is 7.23%.
Frequently asked questions
What is compound interest?
Compound interest is interest earned on both your original money and the interest it has already earned. Because each period's interest is added to the balance, growth speeds up over time, unlike simple interest, which is only paid on the original amount.
How often should interest compound?
More frequent compounding earns slightly more. At 7%, annual compounding gives an effective rate of 7.00%, monthly 7.23% and daily 7.25%. The difference is small compared with the rate itself, how much you contribute and how long you stay invested.
Does it matter if I contribute at the start or end of the month?
Yes, a little. Deposits at the start of the month earn one extra month of interest each, so the final balance is higher. Over 10 years at 7% with $200 a month the difference is about $200.
What is the rule of 72?
Divide 72 by the annual rate to estimate how many years it takes money to double. At 8% that is about 9 years. The calculator shows the exact doubling time from the effective annual rate.
What rate should I use for stocks?
No rate is guaranteed. The US stock market has historically returned roughly 10% a year before inflation over long periods, but individual years vary widely and past returns do not predict future ones. Many people plan with a more conservative 5% to 7%.
Does this include taxes and fees?
No. Interest in taxable accounts is usually taxed each year, and fund fees reduce returns. To approximate them, lower the rate by your expected fee percentage and tax drag.