Skip to main content

Compound Interest Calculator

Blake Boege
Written by Blake Boege · Founder, Calculator Answers

A compound interest calculator computes the future value of an investment or loan by accounting for interest that is earned on both the initial principal and the accumulated interest from previous periods. It uses the compound interest formula, which incorporates the principal amount, interest rate, compounding frequency, and time period. It is primarily used by investors and borrowers to forecast long-term financial growth or debt accumulation.

Enter a starting principal, an annual interest rate, a time horizon, a compounding frequency, and an optional monthly contribution. The calculator returns the future balance, the total you contributed, and how much of the final balance is interest.

Quick Answer

Calculate how much your money will grow over time with compound interest. Enter your initial investment, regular contributions, interest rate, and time period to see your future balance.

$

The amount you start with. · e.g. 10,000

%

Nominal annual rate. · e.g. 7

yr

e.g. 20

Compounding frequency

$

Added at the end of each month. · e.g. 100

Estimated future balance

Future balance after 20 years

$92,480.05

Contributed $34,000.00 · interest earned $58,480.05

Starting principal$10,000.00
Monthly contribution$100.00
Recurring contributions$24,000.00
Total contributions$34,000.00
Interest earned$58,480.05
Future balance$92,480.05
Effective monthly rate0.5833%
Total months240

Growth summary (first three + final year)

  • Year 1$11,962.16
  • Year 2$14,066.16
  • Year 3$16,322.27
  • Year 20$92,480.05

Estimate only. Real returns, taxes, fees, and contribution timing can change the final number.

Was this helpful?

Examples

$10,000 at 7% monthly · 20 yr · +$100/mo

≈ $92,480 balance · $58,480 interest

$1,000 at 5% monthly · 10 yr · no contribution

≈ $1,647 balance · $647 interest

$10,000 at 7% annually · 20 yr · +$100/mo

≈ $89,450 balance · $55,450 interest

$10,000 at 7% continuously · 20 yr · +$100/mo

≈ $92,774 balance · $58,774 interest

How it works

Formula · Balance = P(1 + rm)^m + PMT x ((1 + rm)^m - 1) / rm, where rm is the annual rate converted to an effective monthly rate for the chosen compounding frequency and m is the number of months. At a rate of zero it degrades to P + PMT x m.

For a one-time deposit with no recurring contributions, the classic compound interest formula gives the future balance directly. When you also add a monthly contribution, the calculator converts the chosen compounding frequency into an effective monthly rate and applies the future value of an annuity formula on top.

Compound interest (no recurring contributions)

A = P × (1 + r/n)^(n·t)

The parts

  • A = future balance
  • P = starting principal
  • r = annual interest rate (decimal)
  • n = compounding periods per year
  • t = time in years

Continuous compounding

A = P × e^(r·t)

With monthly contributions

r_m = (1 + r/n)^(n/12) − 1

A = P × (1 + r_m)^(12·t) + PMT × ((1 + r_m)^(12·t) − 1) / r_m

The first term grows the principal. The second term is the future value of the monthly contribution stream.

What this projection assumes

Everything on this page is a projection, not a forecast and certainly not a promise. It shows what the arithmetic gives if a particular set of assumptions holds for the whole period, and the most important of those assumptions is one you supply yourself: the rate. The calculator has no idea what your money will actually earn. It takes the number you type and carries it forward unchanged.

  • The rate never changes. A real account or fund varies year to year, sometimes sharply and sometimes negatively. A constant rate is a simplification that makes the arithmetic possible, and it is why a projection over decades should be read as a shape rather than a figure.
  • Contributions arrive at the end of every month, without fail. That is the ordinary annuity convention. Contributing at the start of each month instead earns one extra month of growth on every payment, so the real answer would be slightly higher. Missing payments makes it lower.
  • Nothing is taken out. No inflation, no tax on the growth, no account fees, no fund expense ratio. Each of those reduces the real outcome, and inflation in particular means the final figure buys less than the same number does today.

None of that makes the calculation useless. It makes it a model, which is a good way to compare two rates or two contribution levels against each other, and a poor way to predict a balance on a particular date.

Working the growth out by hand

The page opens on 10,000 at 7 percent for 20 years, compounded monthly, with 100 added each month. Here is where the answer comes from.

  1. Turn the annual rate into a monthly one. Compounded monthly, 7 percent a year is 0.07 ÷ 12 = 0.0058333 a month.
  2. Count the months. 20 years is 240 of them.
  3. Grow the starting sum. 10,000 × 1.0058333^240 = 40,387.39. That is the opening deposit alone, with no contributions at all.
  4. Grow the contributions. Each 100 earns for however long it has left, which the annuity formula totals as 100 × (1.0058333^240 − 1) ÷ 0.0058333 = 52,092.67.
  5. Add the two. 40,387.39 + 52,092.67 = 92,480.05.

Worth sitting with: you put in 34,000 of your own money, 10,000 at the start and 24,000 over twenty years. The other 58,480 is growth. And the contributions, which total more than twice the opening deposit, end up producing only slightly more than it does, because the opening deposit had the full twenty years to work and the last contribution had a month.

Edge cases, and what the answer means

  • A rate of zero. The compounding formula divides by the rate, so at zero the calculator switches to plain addition: your starting sum plus every contribution, and nothing else. That is the correct answer, and it is a useful floor to compare a projection against.
  • Compounding frequency matters less than people expect. Moving from annual to monthly compounding at 7 percent changes the outcome by a fraction of a percent a year. Moving from 7 percent to 8 percent changes it far more. Frequency is the detail; the rate is the substance.
  • Contributions are monthly whatever the compounding frequency. Choosing daily compounding does not make the contributions daily. The tool converts the annual rate to an equivalent monthly rate and adds the contribution once a month.
  • Long horizons magnify a wrong rate. A one point error over five years is small. Over forty it is enormous, because the error compounds along with everything else. Treat a long projection as a comparison between scenarios, not as a number to plan a date around.

Your figures stay in the page

Every amount you enter is processed by this page in your browser. The starting balance, the rate, the contributions and the projection are not sent to a server, not stored after you close the tab, and not visible to anyone else. There is no account and nothing to sign up for.

What the calculator does

You enter the starting principal, the annual interest rate, the time horizon, a compounding frequency, and an optional monthly contribution. The calculator returns the future balance, total contributions, and the interest portion of the final balance. A short year-by-year preview shows the first three years and the final year so you can see how the balance scales.

Why compounding frequency matters

At the same nominal annual rate, more frequent compounding produces a slightly higher final balance. For 7% compounded annually, $10,000 over 20 years grows to about $38,697. For 7% compounded monthly the same deposit grows to about $40,387. The gap widens with rate, time, and balance, but past monthly the additional gains are small.

How monthly contributions are modeled

Each contribution is added at the end of the month and compounds from then on. The calculator first converts the chosen compounding frequency into an effective monthly rate, then runs the standard future value of an annuity formula on that rate. This means contributions and compounding line up cleanly even when the compounding frequency is annual, quarterly, daily, or continuous.

Worked example

Starting principal $10,000, annual rate 7%, monthly compounding, 20 years, monthly contribution $100.

  • Effective monthly rate: 7% ÷ 12 ≈ 0.5833%
  • Total months: 20 × 12 = 240
  • Principal future value: 10,000 × (1.00583)^240 ≈ $40,387
  • Annuity future value: 100 × ((1.00583)^240 − 1) ÷ 0.00583 ≈ $52,093
  • Future balance: ≈ $92,480
  • Total contributions: 10,000 + 100 × 240 = $34,000
  • Interest earned: ≈ $58,480

About 63% of the final balance is interest, which is the practical reason compounding matters so much over long time horizons.

Compound interest vs simple interest

Simple interest is calculated only on the original principal, so it grows linearly. Compound interest is calculated on principal plus accumulated interest, so it grows exponentially. Over short periods the two are close; over decades, compound interest pulls far ahead.

Common mistakes

  • Treating APR and APY as the same number. APY is the effective rate after compounding; APR is the nominal rate.
  • Comparing two scenarios with different compounding frequencies as if they were the same. Convert to APY (or use the calculator) before judging.
  • Forgetting inflation. A nominal balance is not the same as purchasing power. Subtract an expected inflation rate from the annual rate to estimate the real return.
  • Trusting a single rate to hold for decades. Markets fluctuate; use the projection as a planning estimate, not a forecast.
  • Ignoring fees. Investment fees compound the same way returns do. A 1% annual fee over 30 years takes a real bite out of the final balance.

Related tools

Disclaimer. This calculator is an estimate for general planning. Actual investment balances can vary based on market returns, fees, taxes, contribution timing, and account rules. It is not investment, tax, or financial advice, and it does not guarantee any return.

Related Calculators

More tools from Money

Future Value CalculatorCalculate the future value of a lump sum, the future value with periodic payments, or the time needed to grow a present value to a target future value. Works as a future value calculator, fv calculator, lump sum future value calculator, future value with payments calculator, investment future value calculator, and finance calculator, with the future value formula and a worked breakdown for each mode. Useful for any present value to future value question and for understanding the future value of money over time.Savings CalculatorPlan, project, and reach savings goals with three modes: find your future savings balance, the monthly savings needed to reach a goal, or how long it takes to reach a savings goal. Works as a savings calculator, savings goal calculator, savings growth calculator, monthly savings calculator, future savings calculator, savings account calculator, emergency fund calculator, savings interest calculator, and save money calculator. Answer practical questions like how much should I save each month to hit a goal by a target date.Roth IRA CalculatorProject the future value of a Roth IRA from current balance, annual contribution, time horizon, and expected return.Simple Interest CalculatorCalculate simple interest using principal, rate, and time. See the interest earned or owed, total amount, and step by step work. Works as a simple interest calculator, interest calculator, principal rate time calculator, and reference for the simple interest formula. Useful for loan simple interest, savings simple interest, simple interest rate problems, and simple interest examples.

Frequently asked questions

No. It shows what the arithmetic gives if the rate you entered holds unchanged for the whole period, contributions arrive every month without fail, and nothing is deducted for inflation, tax or fees. Real returns vary year to year, sometimes negatively. Treat the output as a way of comparing two rates or two contribution levels, not as a balance to expect on a date.

The end, which is the ordinary annuity convention. If you actually contribute at the start of each month, every payment earns one extra month of growth and your real result would be slightly higher than this page shows. The difference is small over a few years and noticeable over several decades.

None of the three. The figure is a nominal balance before any of them. Inflation matters most over long horizons: a sum decades away buys considerably less than the same number does today, even though the arithmetic that produced it is correct.

Less than most people expect. At 7 percent, moving from annual to monthly compounding changes the outcome by a fraction of a percent a year. Moving from 7 percent to 8 percent changes it far more. Frequency is a detail worth getting right; the rate is the thing that decides the result.

The formula divides by the rate, so at zero the calculator switches to plain addition: your starting balance plus every contribution and nothing more. It is a correct answer and a useful floor, because it separates what you put in from what growth added.

Compound interest is interest that earns interest on itself. Each compounding period, the interest accrued is added to the principal, and the next period's interest is calculated on the new, larger balance. Over time the balance grows faster than it would with simple interest.

For a one-time deposit with no recurring contributions, the formula is A = P × (1 + r/n)^(nt). A is the future balance, P is the starting principal, r is the annual interest rate as a decimal, n is the number of compounding periods per year, and t is the time in years. For continuous compounding, A = P × e^(rt).

It converts the chosen compounding frequency into an effective monthly rate and then applies the standard future value of an annuity formula with that rate. Each contribution is added at the end of the month and compounds from then on. This keeps the math clean across annual, semi-annual, quarterly, monthly, daily, and continuous compounding.

Compounding frequency is how often interest is added to the balance. Higher frequencies pay slightly more because interest starts earning interest sooner. Going from annual to monthly compounding makes a noticeable difference; going from daily to continuous makes almost no difference in everyday situations.

APR (annual percentage rate) is the nominal annual rate without considering compounding. APY (annual percentage yield) is the effective rate after compounding is taken into account. A 6% APR compounded monthly is about 6.17% APY. For investment growth questions, APY is the more honest comparison.

The formula is exact for the inputs you provide. Real returns are not exact. Investment returns vary year to year, fees and taxes reduce the balance, and contribution timing can drift. Use the calculator for planning, not as a guarantee of future returns.

No. The output is in nominal dollars at the projected date. To estimate purchasing power, lower the annual rate by your assumed inflation rate before running the projection. For example, a 7% nominal return at 3% inflation is roughly a 4% real return.

The rule of 72 is a quick mental estimate: at an annual rate of r percent, money doubles in roughly 72 ÷ r years. At 7% it doubles in about 10.3 years; at 4% in about 18 years. It is an approximation of the compound interest formula and is most accurate for rates between 4% and 10%.

Mathematically a negative rate would shrink the balance, but the calculator does not accept negative rates. For modeling losses, see a dedicated investment-loss tool. For loans, the interest is compounding against you, which is exactly the math behind credit card balances and amortized loan payments.

Compound interest math is the same underneath all three. The 401k and Roth IRA calculators wrap it in account-specific framing (employer match, contribution caps, retirement timing). This page is the generic version. Use the dedicated calculators when your scenario fits them.