How does compound interest work?
Compound interest is interest you earn on interest.1 Each period, interest is added to your balance, and the next period’s interest is worked out on that bigger balance. At 7% a year, $10,000 plus $200 a month grows to $140,204 in 20 years. You put in $58,000; the other $82,204, or 59%, is interest. The rate is an assumption, not a promise.
2 minute lesson, optionalWatch $200 a month grow into $140,000Guess first, see the answer, then try it yourself. Five quick steps. You can skip it any time. Play the lessonClose the lessonOpen
Your path
Do today’s challenge, then tap Up next.
Compound interest calculator
Step 1 of 5
What do you end up with?
Tap a guess. Wrong guesses cost nothing.
Free · No signup · 2 minutes · Revision review pending · Updated
Step 2 of 5
Next: try it yourself.
Step 3 of 5
Your turn
Drag a slider or tap an option. Watch the number change.
Type exact numbers
Quick version for learning. The full compound interest calculator below has every option.
Step 4 of 5
What if you changed one thing?
Tap a change to see what it does to .
Step 5 of 5
Tap an answer. You see why either way.
Lesson complete
More
Learn it in 4 short parts
Each part answers one question. Open any part. Tap Got it when you are done.
How it worksWhy does compound interest grow faster over time?
Interest earns interest. The longer it runs, the bigger that second layer gets.
Two things grow your balance: the money you add, and interest. Compounding means the interest itself starts earning interest, so the second layer gets bigger every year you leave it alone.
What is the difference between simple and compound interest?
Simple interest is paid only on the money you started with. Compound interest is paid on the starting money plus all the interest already added. In the first few years the two look almost the same. Then they pull apart.
$10,000 at 7% a year with nothing added. Simple interest pays $700 every year, so after 20 years you have $24,000. Compounded once a year, the same $10,000 grows to $38,697: $14,697 more, all of it interest earned on earlier interest.
Compound balance = $10,000 × 1.07 to the power of the years. Set the calculator to $10,000, 7%, yearly compounding and a $0 contribution to reproduce every bar.
What formula does this calculator use?
The classic formula for a single deposit is A = P × (1 + r/n)n×t, where P is the starting amount, r the yearly rate, n how many times a year interest is added, and t the years. This calculator works month by month so it can handle regular contributions:
- It turns your yearly rate into an effective monthly rate: (1 + r/n)n/12 − 1. At 7% compounded yearly that is 0.5654% a month, which still adds up to exactly 7% over a year.
- Each month it adds that month’s interest to the balance.
- On contribution months it adds your deposit, before the interest if you chose the beginning of the period, after it if you chose the end.
- It repeats for every month you entered, then shows the total, your deposits and the interest separately.
$10,000 × 0.5654% = $56.54 of interest, so the balance is $10,056.54. The $200 deposit arrives at the end of the month: $10,256.54. After 12 months the balance is $13,176.06.
How long does it take money to double?
Use the rule of 72: divide 72 by the yearly rate.1 At 7%, 72 ÷ 7 = 10.3 years. The exact answer is 10.2 years: $10,000 at 7% reaches $19,672 after 10 years and $21,049 after 11. The rule works best for rates between about 4% and 12%.
Interest earns interest. The longer it runs, the bigger that second layer gets.
Marks part 1 of 4 done and opens the next one.
What moves the resultWhat changes your compound interest result the most?
Time and steady deposits beat clever settings. Start early, add regularly, keep fees low.
Six inputs, very different effects. Time and regular deposits do most of the work. Compounding frequency, which gets a lot of attention, barely matters.
How much does time matter?
More than anything else you control. Each extra year adds interest on a bigger balance, so the gains speed up the longer you wait.
Doubling the time from 20 to 40 years almost doubles your deposits ($58,000 to $106,000) but multiplies the balance by 4.6. Yearly compounding, deposits at the end of each month.
Ana and Ben each invest $200 a month at 7% until 65, starting from $0. Ana starts at 25 and ends with $494,308 from $96,000 of deposits. Ben starts at 35 and ends with $233,891 from $72,000. To catch Ana, Ben would need about $423 a month, more than twice as much.
How much do the rate and fees matter?
The rate is the input you control least, so treat it as a range, not a fact. Fees work like a lower rate: a fund that charges 1% a year turns a 7% return into roughly 6%.3
On the default example, one point less a year costs $17,445 over 20 years, 12.4% of the result. Over 30 years it costs $57,676, or 18.6%. The SEC’s investor site shows the same effect: $100,000 earning 4% for 20 years ends near $208,000 with a 0.25% yearly fee and near $179,000 with a 1% fee.3
Do deposits, timing and compounding frequency matter?
Regular deposits matter a lot. When you deposit, and how often interest is added, matter far less than most people think.
Each bar changes one input from the default ($10,000, $200 a month, 7%, 20 years, yearly compounding, end of month deposits).
Time and steady deposits beat clever settings. Start early, add regularly, keep fees low.
Marks part 2 of 4 done and opens the next one.
Inflation, fees and taxesIs your result in future dollars or today’s dollars?
Decide which dollars you are measuring before you trust the number.
What will the money really buy?
A dollar in 20 years will buy less than a dollar today. Prices rose 3.7% in the 12 months to September 2026, according to the Bureau of Labor Statistics.4 The calculator uses an editable inflation assumption, 3% by default, to translate a future amount into today’s dollars.
Today’s dollars = $140,204 ÷ 1.03 to the power of 20. At 3% a year, prices rise about 81% over 20 years.
Should I choose a nominal or a real return?
Pick the one that matches the rate you typed in. A nominal return is the plain percentage before inflation; the calculator then shows what the result is worth in today’s dollars. A real return already has inflation taken out, so the result is in today’s dollars and the calculator does not adjust it a second time.
7% nominal with 3% inflation gives $77,628 in today’s dollars. Choosing Real and typing 4% gives $94,680 instead. Two reasons: the exact real rate is 3.88%, not 4%, and in Real mode the $200 deposits count as today’s dollars, so in effect they grow with prices. Neither is wrong; they answer slightly different questions.
Does the result include taxes and fees?
No. To allow for fund fees, lower the rate by the fund’s yearly expense ratio. Taxes depend on the account. In a regular taxable brokerage account, gains and interest are taxed, and a gain on an investment held more than one year is taxed at the lower long term rates.5 Accounts such as a Roth IRA or a 401(k) can let the money compound without yearly tax, within IRS contribution limits.6
Decide which dollars you are measuring before you trust the number.
Marks part 3 of 4 done and opens the next one.
Your planHow do you turn the result into a plan?
Pick a target, give it time, then let steady deposits do the heavy lifting.
How much do I need to add each month to reach a target?
Type a target and the calculator’s other inputs stay as they are. It finds the regular deposit that gets you there, using the same month by month method.
Use the target box under the calculator. It updates with your numbers.
Ten more years cuts the monthly amount by more than half. For a goal with a date, the savings goal calculator works backward from the deadline.
What if returns are not steady?
This calculator assumes the same return every year. Real markets rise and fall, and the order of good and bad years changes the ending balance, especially when you are adding or withdrawing money. Even with practice money, fewer than half of investors were ahead in our PaperTrade snapshot of October 6, 2026: 77 of 166, or 46.4%.7
Test your plan with uneven returns. The Investment Return Simulator compares two plans side by side and shows how a lower or higher return changes each one.
Open the Investment Return SimulatorPick a target, give it time, then let steady deposits do the heavy lifting.
Marks part 4 of 4 done.
Compound interest calculator FAQ
Tap a question to open the answer.
What does the compound interest calculator do, and is it free?
See what your savings could grow to, year by year. You enter a starting amount, a monthly deposit, years and a yearly return. You get your future balance, how much is your deposits versus growth, and a yearly table. It is free to use with no signup. Keep in mind: uses a steady return. Real returns vary and are not guaranteed.
Is 7% a realistic return?
It is a common teaching assumption, not a forecast. Stock returns have swung widely from year to year, savings accounts pay far less, and some years lose money. Run your plan at a lower rate too, for example 4% and 5%, and plan around the result you could live with.
What is the difference between APR and APY?
APR is the stated yearly rate. APY is what you actually earn in a year once compounding is included. A 7% APR compounded monthly is an APY of about 7.23%; compounded yearly, APR and APY are the same. This calculator asks for the APR and lets you choose how often it compounds.
Does compound interest work on stocks?
Stocks do not pay interest, but the idea is the same when you reinvest dividends and leave gains invested: growth builds on earlier growth. The difference is that stock returns change every year and can be negative. The DRIP calculator shows reinvested dividends specifically.
Does the calculator include taxes, fees and inflation?
Taxes and fees are not included; lower the rate to allow for fund fees. Inflation is handled by the return basis: choose Nominal to see the result in future dollars with a today’s dollars comparison, or Real if your rate already has inflation taken out.
Show 1 more questionsShow fewer questions
Can I save or share my numbers?
Yes. Save my numbers keeps them on this device so you can restore them next time. Copy link to these numbers creates a link that opens the calculator with the same inputs and target; it contains nothing else.
Who checks this page, and the sources
Real people check the numbers and the wording. Every source is listed.
- Updated
- Sources listed below
- Education, not advice
- Review of this update in progress
Sources and methodEvery source used on this page, how the tool works and the page history.
- Investor.gov (U.S. Securities and Exchange Commission): What is compound interest? Defines compound interest as interest earned on interest and describes the rule of 72.
- Investor.gov: Compound Interest Calculator. A government calculator you can use to cross check results for a single deposit.
- Investor.gov: How Fees and Expenses Affect Your Investment Portfolio. $100,000 earning 4% a year for 20 years ends near $208,000 with a 0.25% yearly fee, $198,000 with 0.50% and $179,000 with 1.00%.
- U.S. Bureau of Labor Statistics: Consumer Price Index. All items index rose 3.7% over the 12 months to September 2026, not seasonally adjusted. Retrieved October 15, 2026.
- IRS Topic No. 409, Capital gains and losses. Holding an investment more than one year makes a gain long term.
- IRS: Retirement topics, IRA contribution limits. Yearly limits that apply to IRA contributions.
- StockEducation: PaperTrade snapshot, October 6, 2026. Our own simulator data: 77 of 166 tracked practice accounts were profitable. Simulated money, a self selected group, not real returns.
Method: the calculator converts the yearly rate to an effective monthly rate, (1 + r/n) to the power of n/12, minus 1, adds interest every month and adds contributions at the start or end of each contribution period. The default example is $10,000, a 7% yearly rate compounded yearly, $200 at the end of each month, 20 years, nominal return and 3% inflation. Every figure on this page was produced by this calculator, or by the same month by month method, on October 15, 2026. Results exclude taxes, fees and changing returns. Ana and Ben are illustrations. All amounts are in U.S. dollars.
Page history. November 27, 2026: page simplified into numbered sections, missing tables restored and the questions reordered. The tool itself has not changed. October 15, 2026: page rebuilt, every worked number rechecked against the calculator, and the calculator’s help buttons made to open. The calculation method has not changed.
StockEducation provides general education, not personal financial, tax or legal advice. Results are illustrations based on the assumptions you enter, not forecasts or promises of any return. Investing involves risk, including the loss of money you invest.
