Stock Investment Calculator

Stock Investment Calculator

Popular AI Skill PRO

Enter Calculation

Formula

FV=P(1+r)n+∑i=0n−1C(1+r)n−iwhere{P=Initial InvestmentC=Monthly Contributionr=Annual Return (%)1200n=12×Years\begin{gathered} FV = P\,(1+r)^{n} + \sum_{i=0}^{n-1} C\,(1+r)^{\,n-i} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} P &= \text{Initial Investment} \\ C &= \text{Monthly Contribution} \\ r &= \dfrac{\text{Annual Return (\%)}}{1200} \\ n &= 12 \times \text{Years} \end{aligned} \right. \end{gathered}
Show calculation steps (2)
  1. Total Contributions

    Contributions=Initial Investment+Monthly Contribution×12×Years\text{Contributions} = \text{Initial Investment} + \text{Monthly Contribution} \times 12 \times \text{Years}

    Sum of principal plus all monthly deposits over the period.

  2. Total Earnings

    Earnings=FV−Total Contributions\text{Earnings} = FV - \text{Total Contributions}

    Final balance minus total contributions.

Usage stats

Advertisement

Results

Final Balance: $107,143.85
Total Earnings: $37,143.85
Initial Investment $10,000.00
Monthly Contribution $500.00
Annual Return 7.0%
Investment Period 10 years
Total Contributions $70,000.00

Report an error on this page

What the Stock Investment Calculator Does

This calculator projects how a stock investment could grow over time when you start with a lump sum and keep adding money every month. It combines compound growth on your initial deposit with regular monthly contributions, then shows you the final balance, how much you actually put in, and how much of the result is pure investment earnings. It also builds a year-by-year breakdown so you can see the balance climb over the investment period. The dollar sign and percentages are generic, so you can use it in any country.

Bar chart of an investment portfolio growing over time with a rising curve
The calculator projects how an investment grows over time from contributions and compounding returns.

The Inputs You Provide

  • Initial Investment ($): the lump sum you invest on day one.
  • Monthly Contribution ($): the amount you add at the end of each month.
  • Annual Return (%): your expected average yearly return, which the tool divides by 12 to get a monthly rate.
  • Investment Period (Years): how long you stay invested; this is multiplied by 12 to get the number of compounding months.

The Formula Explained

The calculator first converts your annual return into a monthly rate: \(\text{monthlyRate} = \text{annualReturn} / 12 / 100\), and works out \(\text{numberOfMonths} = \text{years} \times 12\).

The complete projection is given by:

$$ FV = P\,(1+r)^{n} + \sum_{i=0}^{n-1} C\,(1+r)^{\,n-i} $$ $$ \text{where}\quad \left\{ \begin{aligned} P &= \text{Initial Investment} \\ C &= \text{Monthly Contribution} \\ r &= \dfrac{\text{Annual Return (\%)}}{1200} \\ n &= 12 \times \text{Years} \end{aligned} \right. $$

Your initial investment compounds for the full term: \(\text{initial} \times (1 + \text{monthlyRate})^{\text{months}}\). Each monthly contribution is then compounded for the remaining months and added on. Total contributions are simply your initial deposit plus every monthly payment, and total earnings are the final balance minus those contributions.

$$ \text{Contributions} = \text{Initial Investment} + \text{Monthly Contribution} \times 12 \times \text{Years} $$ $$ \text{Earnings} = FV - \text{Total Contributions} $$
Advertisement
Diagram showing initial lump sum plus repeated monthly contributions compounding into a final balance
Final balance combines the compounded initial investment with each monthly contribution growing at rate r.

Worked Example

Suppose you start with $5,000, add $200 per month, expect an 8% annual return, and invest for 10 years.

  • Monthly rate = \(8 / 12 / 100 = 0.006667\); months = \(120\).
  • Total contributions = \(5{,}000 + (200 \times 120) = \mathbf{29{,}000}\) dollars.
  • Final balance \(\approx\) $48,000 after compounding.
  • Total earnings \(\approx\) $19,000 — the growth on top of what you contributed.
Advertisement

Historical Long-Run Stock Market Returns

The annual return input is yours to choose. The figures below are published long-run averages that are often used as reference points. Note that the most-quoted series are United States data in US dollars; they are not global averages and do not describe any other national market.

Index / Asset Period Covered Nominal Annualized Total Return Real (Inflation-Adjusted) Annualized Return Source
S&P 500 (with predecessor US large-cap series before 1957) 1928–2023 (96 years) ≈9.8% (geometric mean) ≈6.5% (derived — see note) A. Damodaran, NYU Stern, “Annual Returns on Stock, T.Bonds and T.Bills: 1928–Current”
US 10-year Treasury bonds (for contrast) 1928–2023 (96 years) ≈4.9% (geometric mean) ≈1.7% (derived — see note) A. Damodaran, NYU Stern, same dataset
US equities (broad long-history series) 1802–2021 not reported on this basis ≈6.7% J. Siegel, Stocks for the Long Run (6th ed., 2022)
US long-term government bonds (same study, for contrast) 1802–2021 not reported on this basis ≈3.6% J. Siegel, Stocks for the Long Run (6th ed., 2022)

Note on the derived real figures. The Damodaran dataset publishes nominal returns; the real column for those two rows is obtained by deflating the nominal figure by the average annual US CPI inflation over the same span (roughly 3.1% per year, 1928–2023), using \(\frac{1+\text{nominal}}{1+f}-1\). The Damodaran series is updated and lightly revised every January, so the exact decimals change with each release — check the current file before quoting it.

Global benchmarks. MSCI publishes since-inception annualized returns for its global indices — including the MSCI World and MSCI EAFE, both of which carry a 31 December 1969 base date — on the monthly index factsheets at msci.com. Those figures are restated every month as new data arrives, so they should be read from the current factsheet rather than from a static article. The same applies to the S&P 500's own published returns, which S&P Dow Jones Indices maintains on its index factsheets.

These are historical averages, not expected future returns. A long-run average conceals enormous variation at shorter horizons: US large-cap stocks returned roughly 18% a year during the 1990s but delivered a slightly negative annualized total return over the 2000–2009 decade, and single years have ranged from losses of more than 40% to gains of more than 50%. Entering a historical average into this calculator produces a mid-path projection; it does not bound the range of outcomes, and past results do not predict future ones. This is general information, not investment advice.

Frequently Asked Questions

Are the monthly contributions compounded? Yes. Each contribution earns growth for the months remaining until the end of the period, so earlier contributions grow more than later ones.

Is the 8% return guaranteed? No. Stock returns vary year to year and can be negative. The calculator assumes a steady average rate for planning purposes, so treat the result as an estimate, not a promise.

Does it account for taxes or fees? No. The figures are gross. Reduce your assumed annual return to roughly factor in fund fees, and remember investment gains may be taxed depending on your country.

Last updated:

Most popular in Financial

View all Financial calculators