Compound Interest Calculator
See how an investment grows over time with compound frequency options (annually, quarterly, monthly, daily or continuous), an optional regular contribution added at the end of each period, and a per-year breakdown showing starting balance, contribution, interest earned and ending balance. Interest is credited on the running balance so growth compounds period over period.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
A year-by-year growth table
The text box is ignored — the projection is driven by the options. The result is a table with one row per year: the starting balance, what was contributed, the interest earned and the closing balance. The notes add total invested, total interest and a growth multiplier.
Projecting a savings plan
Use it to see what a monthly deposit into an index fund might look like in twenty years, to compare monthly against annual compounding, or to show someone why starting five years earlier matters. Because the breakdown is per year, you can watch interest overtake contributions.
Options that change the projection
Starting balance and Annual interest rate set the inputs and Years (1–100) sets the horizon. Compound frequency chooses annually, quarterly, monthly, daily or continuously: the annual rate is divided by the number of periods, so monthly compounding at 12% adds 1% each month. Period contribution is added at the end of every compounding period, after that period's interest.
Caveats
Continuous compounding uses e^rt and has no periods, so a period contribution is not supported there and the tool says so. The model uses a nominal annual rate and a 365-day year rather than the 360-day convention some banks use, so figures can differ slightly from a statement. No tax, fee or inflation adjustment is applied.
Your numbers stay in the tab
The whole projection is arithmetic in your browser; no balance, rate or contribution is ever sent anywhere. Planning a private financial position here is safe, and it works offline.
Questions
How is each period's interest computed?
The annual rate is divided by the compound frequency to give the marginal rate, and interest is credited on the running balance each period. With monthly compounding at 12%, each month adds 1% to the current balance — growth compounds because the base grows every month.
What does the per-year table optimise for?
The engine steps period by period to keep the math exact and then aggregates into one row per year: start balance, total contribution for the year, interest earned in the year and end balance. This keeps the output compact even for daily compounding over 100 years.
When are contributions added?
At the end of each compounding period, after that period's interest. Monthly compounding with monthly deposits therefore matches the future-value-of-an-ordinary-annuity formula. Continuous compounding has no periods, so contributions are not supported there.
Why might my numbers differ slightly from a bank?
Banks often quote APR and accrue through a year-end of 360 days. This tool uses the nominal annual rate divided by the compounding frequency and a 365-day year. Tiny differences in rounding convention can also appear; figures are shown to 2 decimal places.
Related tools
See categoryLoan / EMI Calculator
Compute monthly payments, total interest and a payoff timeline for a loan.
Percentage Calculator
Percentage of a number, percent change, and percent increase/decrease.
Tip Calculator
Calculate a tip, bill total and per-person split.
Statistics Calculator
Mean, median, mode, variance, standard deviation, quartiles, IQR and outliers from any list of numbers.