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.
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.
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 which source the default came from, sources with URLs and as-of dates, 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.
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
This calculator cites no external 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.
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
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.