What does compound interest turn my money into?
Four inputs: what you start with, what you add each month, the annual return you assume, and the years. The calculator returns the final balance, splits it into the money you put in and the growth compounding added, reports the effective annual yield and the exact doubling time, and answers the same question as JSON for agents. The rate is your assumption, not a forecast, and the page says so everywhere it matters.
Loading the calculator.
How compounding works
Interest is credited a set number of times a year, and each crediting is applied to the balance the last one left behind. The calculator turns your annual rate into an effective monthly growth factor, m = (1 + rate / compounds) ^ (compounds / 12) - 1, then walks the balance forward one month at a time: multiply by (1 + m), then add the monthly contribution at the end of the month. With monthly crediting, m is exactly the annual rate divided by twelve.
Written as one expression for a lump sum, that is the compound interest formula every textbook prints: A = P(1 + r/n) ^ (nt). A is the ending balance, P the starting amount, r the annual rate as a decimal, n the number of times a year interest is credited, and t the years. The m above is the same formula cut into months: raising (1 + r/n) to the power n / 12 is one month of growth, and applying that 12t times applies (1 + r/n) nt times, which is the closed form again. The walk exists so a monthly contribution has somewhere to land. Switch the contribution off and the two agree: $10,000 at 7% credited 12 times a year for 20 years is $40,387 by the formula and $40,387 by the month-by-month walk.
Crediting more often makes the same nominal rate yield slightly more over a year. That effective annual yield is (1 + rate / compounds) ^ compounds - 1; at the default 7% compounded monthly it is 7.23%. The frequency control under the result prices yearly, monthly, and daily crediting for your inputs, and the gap is always smaller than people expect.
The one number the model cannot supply is the rate. It is an assumption you choose, not a statistic this page can cite, because no published average promises anything about the account or investment your money actually sits in. Everything downstream, the final balance, the doubling time, the growth share, moves with that choice, which is why the drivers list prices a single point of rate for your exact inputs.
Simple interest, for contrast
Simple interest pays the rate on the original principal and on nothing else. Interest is credited, and then it sits there: it never earns. The balance is a straight line, P(1 + rt), rising by the same $700 every year at $10,000 and 7%, in year 40 exactly as in year one. Compound interest pays the rate on the principal plus every dollar of interest already credited, which is how the SEC investor glossary defines it: interest paid on principal and on accumulated interest. That single difference in the crediting rule is the whole of this calculator.
Here is what the difference is worth, with the monthly contribution switched off so nothing but the rule changes. Both columns start from $10,000 at an assumed 7%.
| Years | Simple interest | Compounded monthly | Difference |
|---|---|---|---|
| 5 | $13,500 | $14,176 | $676 |
| 10 | $17,000 | $20,097 | $3,097 |
| 20 | $24,000 | $40,387 | $16,387 |
| 30 | $31,000 | $81,165 | $50,165 |
| 40 | $38,000 | $163,114 | $125,114 |
The difference column is not a markup that scales with time; it is the distance between adding and multiplying. Simple interest adds $700 in year 40, the same amount it added in year one. Compounding charges the rate on the balance it has already built, so year 40 alone adds $10,997. That is why the two lines are nearly indistinguishable early, $676 apart at 5 years, and unrecognizable late, $125,114 apart at 40. Interest compounds whenever it is credited to the balance and left there, which is what a savings account, a reinvested dividend, and an untouched fund position all do. The straight line is on this page as the counterfactual, not as an option on the form.
What your money becomes
At the default inputs, $10,000 to start plus $250 a month at an assumed 7% grows to $170,619 in 20 years. You put in $70,000 of that; compounding adds $100,619, which is 59% of the final balance. Here is the same plan across assumed rates and horizons.
| Assumed rate | 10 years | 20 years | 30 years |
|---|---|---|---|
| 4% | $51,721 | $113,919 | $206,647 |
| 6% | $59,164 | $148,612 | $311,355 |
| 7% | $63,368 | $170,619 | $386,158 |
| 8% | $67,933 | $196,523 | $481,947 |
| 10% | $78,282 | $263,123 | $763,496 |
Read the table down a column and across a row. Down a column, each point of rate widens the gap because growth compounds on growth. Across a row, the third decade adds more than the first two: at 7%, the plan reaches $63,368 in ten years but $386,158 in thirty. Time in the plan is the input you control most reliably, which is exactly why the honest move is to be conservative about the one you control least, the rate.
Doubling time, exactly
The rule of 72 says money doubles in about 72 divided by the rate. It is a mental shortcut, and this page computes both it and the exact answer so you can see the gap. At the default 7%, the rule gives 10.3 years; the exact figure with monthly compounding, ln(2) divided by twelve times ln(1 + m), is 9.9 years.
The gap moves with the rate. At 4% the rule says 18.0 years against an exact 17.4; at 10% it says 7.2 against 7.0. With monthly compounding the exact time runs a little under the rule at every rate here, because crediting twelve times a year beats the annual crediting the rule quietly assumes. The arithmetic section under the result reports the exact doubling time for whatever rate and frequency you enter.
Doubling time describes an untouched balance. Your contributions make the account cross double the starting amount far sooner, but that is deposits doing the work, not compounding; the composition bar under the result keeps the two honest.
What the calculator does not know
Taxes. Interest, dividends, and realized gains are taxed differently in a brokerage account, an IRA, and a 401(k), and the model compounds the gross rate as if none of it were taxed along the way. In a taxable account the after-tax outcome is lower than the number above.
Fees and inflation. An expense ratio or advisory fee comes straight out of the return before compounding does its work, so enter a rate net of the fees you actually pay if you want the balance in real hands. And the result is in future dollars; inflation decides what those dollars buy, and the model does not touch it.
Sequence of returns. The model applies the same rate every month. Real investments do not: two decades that average the same rate can end in different places once contributions are involved, because it matters whether the bad years come early or late. A steady-rate model is the right tool for understanding compounding and the wrong one for promising an outcome.
For agents and scripts
This calculator is built to be used without a browser. Every input is a query parameter on this page, and the same parameters on the JSON twin return the complete answer as a document.
GET /tools/compound-interest.json?principal=50000&rate=7&years=30
The response carries inputs after parsing and clamping, result with the final balance, the contribution and growth split, the effective annual yield, the exact doubling time, and yearly rows of contributed, growth, and balance, plus sensitivity tables by rate and by years, drivers ranked by effect with a plain sentence each, assumptions that say for every field whether you supplied it and name the source when the default came from one, sources with a URL and an as-of date for each source the tool cites, which is an empty list on the calculators whose every default is an example input rather than a published figure, warnings, a disclaimer, and in tool the canonicalUrl and jsonUrl that carry only your non-default parameters. The canonical URL is the answer's permanent address; use it when you cite the number.
Parameters, all optional, in any order:
principal($), default $10,000.monthly($ per month), default $250 per month.rate(%), default 7%.years(years), default 20 years.compounds(count), default 12.
Values accept plain numbers and loose human formats such as 100k, $100,000, or 6.5%. Unknown parameters are ignored, values outside a field's range are clamped and reported in warnings, and the endpoint never fails on bad input. Responses are cacheable for a day; the defaults change when their sources publish, and tool.version changes when the method does.
Common questions
How much will $10,000 grow in 20 years?
On its own, $10,000 at an assumed 7% compounded monthly grows to $40,387 in 20 years, $30,387 of it growth. Add $250 a month and the balance reaches $170,619: $70,000 put in, $100,619 added by compounding. Both figures depend entirely on the 7% assumption; change the rate above and the page recomputes as you type.
What is the difference between simple and compound interest?
Simple interest pays the rate on the original principal and on nothing else, so the balance is a straight line: $10,000 at 7% gains the same $700 every year and reaches $24,000 after 20 years. Compound interest pays the rate on the principal plus the interest already credited, so the same deposit with nothing added reaches $40,387, which is $16,387 more from the crediting rule alone. The gap starts small and never stops widening: $676 after 5 years, $125,114 after 40. The simple interest section runs both lines side by side.
What is the compound interest formula?
For a lump sum it is A = P(1 + r/n) ^ (nt), where A is the ending balance, P the starting amount, r the annual rate as a decimal, n the number of times a year interest is credited, and t the years. At the defaults P is $10,000, r is 0.07, n is 12, and t is 20, which gives $40,387. A level contribution added at each month end puts the future value of an ordinary annuity on top, PMT((1 + m) ^ (12t) - 1) / m, where m is one month of growth: at the defaults that second piece is $130,232, for $170,619 together. The calculator walks the months instead of evaluating the closed form, which is the same arithmetic and is what makes the year-by-year rows fall out of it.
How accurate is the rule of 72?
Close, not exact. The rule says money doubles in roughly 72 divided by the rate: 10.3 years at 7%. The exact figure with monthly compounding is 9.9 years. At 4% the rule says 18.0 years against an exact 17.4; at 10% it says 7.2 against 7.0. The calculator reports the exact time, ln(2) divided by twelve times ln(1 + m), in the arithmetic section under the result.
Does daily compounding beat monthly compounding?
Barely. At the default inputs, daily crediting ends at $171,091 against $170,619 for monthly: a gap of $472 after 20 years on a $170,619 balance. Compounding frequency is worth checking, and the control under the result prices it for your inputs, but the rate and the years dwarf it.
How much do the monthly contributions matter?
At the defaults they are most of the outcome. Without them, $10,000 grows to $40,387; with $250 a month the balance is $170,619, $130,232 more. The model adds each contribution at the end of its month, so a contribution made in the final month earns nothing yet; the earlier ones do the compounding. The drivers list under the result ranks a $100 contribution bump against a point of rate for your own inputs.
What rate of return should I use?
Whatever you can defend for the specific place the money sits, stated before taxes and fees. A savings account, a bond ladder, and a stock index fund justify very different numbers, and none of them is guaranteed. This calculator deliberately ships no default with a citation: the rate field is an assumption you choose, and the honest use of the tool is to run it at a rate you consider low, again at one you consider fair, and look at the spread.
Can an agent or a script use this calculator?
Yes. Every input is a query parameter, and the same parameters on /tools/compound-interest.json return the full answer as JSON: inputs, the final balance, the contribution and growth split, the effective annual yield, the exact doubling time, year-by-year rows, drivers, sensitivity tables by rate and by years, assumptions, and warnings. No browser, no API key.
Sources
No input on this page carries a source, on purpose. Every default is an example input: the rate is an assumption you choose rather than a statistic anyone publishes about your money, and the starting amount, contribution, and horizon are placeholders to replace with your own. The arithmetic itself is the standard compound-growth recurrence stated in the methodology above, and its closed form, A = P(1 + r/n) ^ (nt), is the textbook one.
The single outside reference on the page is definitional. The SEC investor glossary defines compound interest as interest paid on principal and on accumulated interest, which is exactly the rule the recurrence implements and exactly what separates it from the simple interest line above.
Want the number for your actual finances?
Carlo is a personal finance agent. It knows your accounts, debts, and goals, so instead of an example account at an assumed rate it can tell you what your actual saving rate is compounding toward, and what changing it would do to the goals you are funding. Text it the question.
ask carlo anything(415) 376-5678
Other calculators
- What will my 401k be worth at retirement?
- Salary, contribution percent, and employer match to the 401k balance at retirement, split into your own money, the match, and the growth on top.
- Retirement calculator
- Grows your retirement savings month by month to the age you name, shows the balance in today's dollars as well as nominal, and walks the drawdown forward to the age the money runs out.
- FIRE number calculator
- Divides your annual retirement spending by the withdrawal rate you choose, shows the number at four rates side by side, and computes the years to reach it from what you have invested and what you save each month.
- Roth vs traditional calculator
- Compare a Roth and a traditional retirement account on after-tax dollars at retirement, with the current-year tax saving measured on a full 2025 Form 1040 and the crossover retirement rate named.
- Roth conversion calculator
- Other income and the amount you convert to the federal tax the conversion adds, the rate it pays, and the largest conversion that still fits your current bracket.
- Federal income tax calculator
- Wages, filing status, and children under 17 to the federal income tax for the year, walked down the numbered Form 1040 lines that produce it.
Every calculator is on one page, and each one answers at the same address in JSON.
Written by Tejas Shah, Co-founder, Engineering. Building Carlo, the financial model that begins with the decision you're actually weighing. Previously engineering leadership across fintech and consumer startups.
This models deterministic compound growth at a rate you choose. It is not a forecast, a promised return, or investment advice. Real returns vary year to year and can be negative; taxes, fees, and inflation sit outside the model.