📊 StockCalc

Compound Interest Calculator

Project long-term portfolio growth from principal, rate, horizon, and monthly contributions in one model.

For educational purposes only. This calculator does not provide investment advice.

What This Calculator Does

The Compound Interest Calculator projects how an investment grows over time when interest earns interest. Enter your initial investment, an assumed annual interest rate, time horizon, optional monthly contributions, and compounding frequency to see the projected future value, total contributions, and interest earned.

Formula

A = P(1 + r/n)nt

Where P = principal, r = annual interest rate (decimal), n = compounding periods per year, t = years.

This formula calculates the future value of a lump sum. When monthly contributions are included, the total future value also includes the compounded value of each contribution made during the period. Each contribution compounds for the remaining months until the end of the term.

The interest rate you enter is a user-defined assumption. It does not represent a predicted or guaranteed return.

Input Fields Explained

Initial Investment ($)

The starting principal. This is the lump sum you invest at the beginning. Must be zero or positive.

Annual Interest Rate (%)

The assumed annual return as a percentage. This is your own input for modeling purposes — it does not represent a predicted or guaranteed return. You can try different rates to compare scenarios (sensitivity check). For fixed-rate products like CDs, use the stated rate. For variable investments, no single rate is universally applicable.

Years

How long the money stays invested. Compound interest becomes more impactful over longer periods because gains have more time to generate their own gains.

Monthly Contribution ($)

Optional. The amount you add each month. Set to 0 if you only want to model a lump sum. Regular contributions significantly increase long-term results through additional compounding.

Compound Frequency

How often interest is calculated and added to the balance. Options: Monthly (12), Quarterly (4), Annually (1), Daily (365). Most bank accounts compound monthly; bonds typically compound semi-annually. Higher frequency produces slightly higher returns.

Example Calculation

You invest $10,000 at 6% annual interest for 10 years, compounded annually, with no monthly contributions.

A = 10,000 × (1 + 0.06)10 = $17,908.48

Your $10,000 grew by $7,908.48 without you adding another dollar. If you also contributed $200/month, the final value would be approximately $44,287. These results assume a constant 6% rate; actual investment returns vary year to year.

How to Read the Result

Future Value

The total projected value of your investment at the end of the period, including all contributions and compounded interest. This is a mathematical projection based on a constant rate assumption.

Total Contributions

The sum of your initial investment plus all monthly contributions over the entire period. This is the total amount you put in.

Interest Earned

The difference between future value and total contributions — this is how much compounding generated. It depends entirely on the rate you entered and does not represent actual earnings.

Total Return

The percentage gain: (Future Value − Total Contributions) ÷ Total Contributions × 100. This is a nominal return, not adjusted for inflation, taxes, or fees.

Common Mistakes

  • Confusing simple interest and compound interest. Simple interest only earns on the principal. Compound interest earns on both principal and accumulated interest. Over long periods, the difference is dramatic.
  • Confusing APR and APY. A 12% APR compounded monthly is actually 12.68% APY. Always check which rate you are using.
  • Ignoring taxes, fees, and inflation. The calculator shows nominal returns. After taxes, investment fees, and inflation, your real return is lower. These factors can significantly reduce actual gains.
  • Treating assumed returns as guaranteed. This calculator uses a constant rate you provide. Real investment returns fluctuate and are not predictable. A projected 8% does not mean you will earn 8%.
  • Overestimating the impact of compounding frequency. Switching from monthly to daily compounding makes a small difference compared to changes in rate, time, or contributions. Focus on what matters most.
  • Confusing nominal rate with APR/APY. Banks may quote APY while you enter a nominal annual rate. Align the definition with your source before comparing results.

When This Calculator Is Useful

  • Understanding how compound interest works mathematically
  • Comparing the long-term impact of different contribution levels
  • Seeing how compounding frequency affects projected returns
  • Evaluating the benefit of starting to invest now vs. later
  • Running sensitivity checks with different assumed rates

Limitations

  • Assumes a constant interest rate — real investments have variable returns
  • Does not account for taxes, fees, or inflation
  • Does not predict future performance or guarantee any return
  • Does not model withdrawals or irregular contribution schedules
  • Not suitable for precise planning with volatile assets like individual stocks
  • Does not constitute investment, tax, or financial advice

Frequently Asked Questions

What is compound interest?

Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. Unlike simple interest, which only earns on the principal, compound interest lets your earnings generate their own earnings over time.

How does compounding frequency affect returns?

More frequent compounding (daily vs. monthly vs. annually) produces slightly higher returns because interest is calculated and added to the balance more often. However, the difference is usually small compared to the impact of the interest rate, time horizon, and contribution amount.

What is the difference between APR and APY?

APR (Annual Percentage Rate) is the stated annual rate without compounding. APY (Annual Percentage Yield) includes the effect of compounding. A 12% APR compounded monthly yields about 12.68% APY.

Does this calculator account for inflation?

No. The results are nominal (not adjusted for inflation). To estimate real purchasing power, subtract the expected inflation rate from your interest rate. Past inflation rates do not predict future inflation.

Is compound interest guaranteed?

No. Compound interest is a mathematical concept. In practice, investment returns vary and are not guaranteed. Fixed-income products (like savings accounts or CDs) may offer a stated rate, but stock and bond returns fluctuate. This calculator assumes a constant rate for modeling purposes only.

How do monthly contributions change the result?

Monthly contributions significantly increase the final value because each contribution starts earning compound interest from the moment it is added. Over long periods, regular contributions can account for a large portion of total growth. This is sometimes called dollar-cost averaging when applied to variable-rate investments.

Educational Disclaimer

This calculator is for educational and informational purposes only. It does not provide investment, financial, tax, or legal advice. The results are based on the inputs and assumptions you provide and may not reflect real market conditions, fees, taxes, or risks. Always do your own research or consult a qualified professional before making financial decisions.