AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I calculate compound interest with regular contributions?

Enter a starting amount, an annual rate, a number of years and a compounding frequency (daily to annually) into AnyTool Compound Interest Calculator, and optionally add a recurring contribution. It instantly shows the future value, the total you put in (principal plus contributions), the total interest earned and the effective annual yield, using A = P(1 + r/n)^(nt) for the lump sum plus a month-by-month loop that places every deposit exactly. A pure-SVG growth chart stacks principal, contributions and interest year by year and a full year-by-year table shows each year’s opening balance, deposits, interest and closing balance. You can display in ₹, $, € or £, and everything is calculated in your browser, so nothing is uploaded.

  • A = P(1 + r/n)ⁿᵗ for the lump sum, plus exact period-by-period contributions
  • Future value, total contributions, total interest and effective annual yield (APY)
  • Growth chart and a full year-by-year schedule of balance, deposits and interest
  • Daily / monthly / quarterly / half-yearly / annual compounding; begin or end deposits
  • 100% in your browser — no upload, no signup, works offline

What is

Compound interest

Compound interest is interest earned on both the original principal and the interest already accumulated, so the balance grows faster the longer it is left to compound. For a lump sum it is given by A = P(1 + r/n)ⁿᵗ, where P is the principal, r the annual rate as a decimal, n the number of compounding periods per year and t the number of years. When regular contributions are added, each deposit then compounds for the rest of the term, and the effective annual yield (1 + r/n)ⁿ − 1 captures how much is actually earned in a year once compounding is included.

Calculators

Related terms

Future valueEffective annual yield (APY)Compounding frequencyRegular contributions

Frequently Asked Questions

A equals P times (1 + r over n) to the power n times t, where r is the annual rate, n the compounds per year and t the years.

The compound-interest formula for a lump sum is A = P(1 + r/n)^(nt). P is the starting amount, r is the annual rate written as a decimal (8% is 0.08), n is how many times a year interest compounds, and t is the number of years. For example, 10,000 at 8% compounded monthly for 10 years grows to about 22,196. When you also save a fixed amount regularly, each contribution compounds for the rest of the term, so AnyTool adds those period by period rather than with the lump-sum formula alone, and recomputes live as you type.

More frequent compounding earns slightly more, but the gains shrink quickly — annual to monthly matters far more than monthly to daily.

The more often interest compounds, the sooner earned interest starts earning its own interest, so daily compounding beats monthly, which beats annual — but with sharply diminishing returns. At 5% on 10,000 over 10 years, annual compounding yields about 16,289 while daily yields about 16,487, a difference of roughly 198. The effective annual yield captures this: it is (1 + r/n)ⁿ − 1, so for the same nominal rate a higher n gives a marginally higher APY. AnyTool lets you switch between daily, monthly, quarterly, half-yearly and annual compounding and shows the effective annual yield for each.

Begin-of-period deposits earn one extra period of interest, so they finish slightly higher than end-of-period deposits.

If a contribution lands at the beginning of each period it starts earning interest immediately, whereas an end-of-period deposit only begins earning from the next period. Over many years this small head start compounds into a noticeable difference, which is why an annuity-due (begin) finishes ahead of an ordinary annuity (end) at the same rate. AnyTool lets you choose either timing, places each deposit exactly on its period in a month-by-month loop, and updates the future value and the year-by-year table immediately.

No — it assumes a constant rate and excludes taxes, fees and inflation — and nothing is uploaded; every calculation runs in your browser.

The calculator assumes the same fixed rate every year and that contributions arrive on time, which real markets and savings rates do not guarantee — actual returns vary and can be negative. The figures are nominal and do not subtract taxes on interest or gains, account fees, or the effect of inflation on buying power, so treat them as a what-if illustration of compounding rather than a promise. AnyTool Compound Interest Calculator runs entirely in your browser, so your amounts are never sent to a server and the page works offline.

Detailed Explanation

Methodology

How the Compound Interest Calculator Works

AnyTool Compound Interest Calculator projects growth in the browser using the standard lump-sum formula A = P(1 + r/n)ⁿᵗ, where P is the starting amount, r is the annual rate as a decimal, n is the number of compounding periods per year and t is the number of years. Regular contributions are not folded into a single annuity formula; instead a month-by-month loop credits interest at the chosen compounding frequency and adds each deposit exactly on its period (at the beginning or end), which stays correct even when the contribution frequency differs from the compounding frequency. The 0% case degrades cleanly to simply the money paid in. All arithmetic is pure client-side JavaScript shared through a reusable, unit-tested investment engine designed to also power SIP, FD/RD, PPF, retirement and inflation tools.

  • A = P(1 + r/n)ⁿᵗ for the lump sum; r is the annual rate as a decimal
  • Contributions added period by period in a month-granular loop, not approximated
  • Begin-of-period deposits earn one extra period of interest versus end-of-period
  • Effective annual yield (APY) is (1 + r/n)ⁿ − 1 for the nominal rate
  • All math is client-side JavaScript in a reusable investment engine — no server round-trip
Use Cases

Growth Chart and Year-by-Year Schedule

The calculator’s key features are a pure-SVG growth chart and a full year-by-year table. The chart stacks each year into three bands — principal, cumulative contributions and cumulative interest — so the widening interest band makes the acceleration of compounding visible without any chart library. The table lists every year’s opening balance, the contributions added, the interest credited and the closing balance, and is scrollable for long horizons. Because interest is credited on a growing balance, the interest column climbs every year even when contributions stay flat. A separate summary shows the future value, the split between principal, contributions and interest, and the effective annual yield for the selected compounding frequency.

  • Pure-SVG stacked growth chart: principal, contributions and interest by year
  • Full year-by-year table of start balance, deposits, interest and end balance
  • Interest column rises each year as the balance compounds
  • Future-value split shown as principal vs contributions vs interest percentages
  • Effective annual yield displayed for the chosen compounding frequency
Limitations

A Constant-Rate Projection, Not a Guarantee

The calculator assumes a single fixed rate of return every year and that every contribution arrives on time, so it is an illustration of how compounding works rather than a forecast of any real account. Actual investment returns vary year to year and can be negative, and savings or deposit rates change over time. The figures are nominal: they do not deduct taxes on interest or capital gains, account or fund fees, or the erosion of purchasing power from inflation. The page states these limits plainly and recommends conservative rate assumptions for planning.

  • Assumes the same fixed rate every year and on-time contributions
  • Real returns vary year to year and can be negative
  • Excludes taxes on interest and gains, and account or fund fees
  • Nominal figures — does not adjust for inflation or purchasing power
  • Presented as a what-if illustration, not a guaranteed outcome
Privacy & Security

Privacy and Offline Use

Because all computation runs in the browser, your starting amount, rate, horizon and contributions are never sent to a server, there is no account or tracking, and the page works offline after first load. The currency selector (₹ / $ / € / £) only changes how numbers are displayed; the engine itself is currency-agnostic and works in plain numbers. The calculator is built on a shared, unit-tested investment engine so its behaviour is consistent across the savings and investment tools that reuse it.

Compound interest: in-browser (AnyTool) vs typical online calculators
CapabilityAnyToolTypical online calculators
ProcessingRuns in your browserOften server-side
Regular contributionsExact period-by-period, begin/end timingOften lump-sum only or approximate
Growth visualPure-SVG stacked chart, liveOften text or paywalled
Year-by-year tableFull schedule of balance, deposits, interestFrequently summary only
Compounding optionsDaily / monthly / quarterly / half-yearly / annualOften limited
Effective annual yieldShown for the chosen frequencyUsually omitted
Honest limitsStates constant-rate, tax and inflation caveatsOften omitted
Cost / signupFree, no signup, works offlineOften ad-heavy or gated

AnyTool computes the future value, schedule and chart locally and uploads nothing.