This calculator shows what a lump sum plus a monthly contribution turns into when the interest it earns is reinvested. Four things move the result: the amount you start with, the money you add every month, the rate you expect, and how often that rate is compounded. The form follows those four steps, with the explanation of each field beside its input.
What the results mean
- Total balance — what the account is worth at the end of the term.
- Total principal — everything you put in: the initial investment plus all contributions.
- Total contributions — only the money added after the start.
- Total interest — the total balance minus the total principal.
- Interest of the initial investment / of the contributions — the same total interest, split so you can see how much came from the money you started with and how much from the money you added.
- Total balance over time (line chart, shown first) — the total balance against the total principal, so the widening gap between the two lines is the interest you earned. It starts at period 0 with your initial amount.
- Share of the total balance (pie) — the three parts as a proportion of the ending balance.
- Accumulation schedule (columns) — the same three parts stacked up, period by period.
- Schedule table — the numbers row by row, yearly or monthly. Principal and Interest are for the period shown (the first row carries your initial amount), while the Total columns and Total balance are cumulative.
All three charts live in one panel: the Line / Pie / Columns dropdown sits beside the chart heading, and the Yearly / Monthly switch beside it sets the granularity of the line and the columns (the pie summarises the whole term, so the switch hides for it). The line fills the area under the balance and marks each point, and its axis starts at zero (below it if the balance ever goes negative) with round tick values; the columns top out at the tallest column. The legend sits centred under the chart. Hover or drag across the line chart to read the total balance and total principal at that year or month, hover one column to see its three parts, and hover or tap a pie slice to read its name, amount and share — the legend under the pie lists the names only. With nothing invested at all, the panel hides itself instead of drawing empty charts.
The schedule table lists every period. Its wrapper scrolls sideways when the six numeric columns
do not fit, and the Period column stays pinned to the left edge of that box, so the numbers stay
labelled however far you scroll. The two amount fields accept digits, commas and a
decimal point and group themselves as you type. Inputs are limited to $10 trillion as an initial
investment,
$1 billion a month, a 100% annual rate and 500 years. A fractional term keeps four
decimals of a month, and the stub is treated as that fraction of a period: 1.1512 years is 13.8144
months (printed as 13.8), so it earns 0.8144 of a period’s interest and carries 0.8144 of a monthly
contribution. That reproduces the closed form P(1+i)^N + PMT((1+i)^N − 1)/i used by the reference
calculator. Past those limits JavaScript can no longer represent the cents exactly, so the
calculator reports the limit rather than showing a figure that is subtly wrong.
Each amount is formatted to fill its slot: always two decimals while they fit (so a large figure
reads $125,211,966.00), then scientific notation whose decimals are stretched to the same width.
One budget drives the page — the width of the result cards — so a result card, a chart read-out and a
schedule cell all print the same value with the same number of digits. Axis labels are the exception:
they drop the cents ($125,211,966) and only go scientific when the whole-dollar form no longer fits.
How compounding is applied here
The rate you enter is the nominal annual rate. Each compounding period earns rate / n, where n
is the number of periods per year, so 12% compounded monthly earns 1% a month and grows 12.683% over
a full year. The equivalent annual rate is printed under the results. A higher compounding frequency
therefore gives a slightly higher result for the same quoted rate.
The schedule itself is simulated month by month: interest for the year is spread across the twelve months at its equivalent monthly rate, which is why 5% compounded annually shows up as a monthly factor of about 0.407% rather than 5% / 12.
Contributions: beginning or end
A monthly contribution made at the beginning of the month is invested immediately and earns interest for that whole month. One made at the end earns nothing until the next month, so after the same number of months it ends up slightly behind.
A quick sanity check: the Rule of 72
Divide 72 by the annual rate to estimate how many years it takes to double your money. At 8%, money
doubles in roughly 72 / 8 = 9 years. The rule is a rough estimate and works best for rates between
about 6% and 10%, but it is a handy way to check that the long-run numbers on this page make sense.