Stock Investment Calculator

See approximately what a past investment in 10 major stocks and indexes — including Apple, Microsoft, Tesla, Nvidia, and the S&P 500 — would be worth today, and compare it to simply holding cash adjusted for inflation. All prices are approximate split-adjusted year-end figures for educational illustration only and are not investment advice.

Stock Investment Calculator

⚠ Important Disclaimer: Stock prices used in this calculator are approximate split-adjusted year-end closing prices intended for educational illustration only. They are NOT exact transaction prices and have not been individually verified against a primary data source. Do not use this calculator for investment decisions. For exact historical prices, use Yahoo Finance or a licensed data provider.

How Does the Stock Investment Calculator Work?

The calculator estimates what would have happened if you had invested a lump sum in a particular stock or index at the start of a given year and held it through the end of the most recent year in the dataset. It does this using two simple formulas.

Step 1 — Shares purchased (approximate):

Shares = Investment Amount ÷ Price in Start Year

Step 2 — Ending value:

Ending Value = Shares × Price in End Year

The total return is then: Return = (Ending Value ÷ Investment) − 1

And the Compound Annual Growth Rate (CAGR), which smooths out year-to-year volatility into a single annualized figure, is:

CAGR = (Ending Value ÷ Investment)1 ÷ Years − 1

The calculator also shows how much your original investment would be worth if it had simply kept pace with consumer price inflation (using BLS CPI-U data), letting you see the real purchasing-power advantage — or disadvantage — of the stock investment versus holding cash.

It is critical to note: the prices used are approximate, split-adjusted year-end closing figures compiled for educational purposes. They do not include dividends, brokerage commissions, or taxes. Real investor returns would differ — sometimes meaningfully — from the numbers shown.

What Does "Split-Adjusted" Mean?

Companies occasionally execute stock splits to keep their share price in a more accessible range for retail investors. In a 2-for-1 split, every existing shareholder receives one additional share for each share they hold, and the price is halved. For example, if a stock is trading at $200 and does a 2-for-1 split, it will trade at $100, but each investor now holds twice as many shares. The total market value of their holding is unchanged.

The most famous recent example is Apple, which has split its stock five times since its 1980 IPO: 2-for-1 splits in 1987, 2000, and 2005, a 7-for-1 split in 2014, and a 4-for-1 split in 2020. Without adjustment, Apple's pre-split historical prices would be tiny fractions of a penny, making them useless for calculating returns.

Split-adjusted prices retroactively apply every subsequent split to earlier data. So Apple's IPO price in 1980, in split-adjusted terms, works out to approximately $0.10 per share — not the $22 face price at the time. This allows a consistent return calculation across the entire history of the stock.

This calculator uses approximate split-adjusted prices. Minor discrepancies from the precise adjusted prices found on Yahoo Finance or Bloomberg are possible and expected.

Worked Example: $1,000 in the S&P 500 in 2000

Let's walk through a complete example using the S&P 500 data in this calculator.

  • Investment: $1,000
  • Start year: 2000 (approximate S&P 500 level: 1,320.28)
  • End year: 2024 (approximate S&P 500 level: 5,934.30)

Shares purchased (units of the index):
$1,000 ÷ $1,320.28 = 0.7574 units

Ending value:
0.7574 × $5,934.30 = approximately $4,494

Total return:
($4,494 − $1,000) ÷ $1,000 = +349.4%

CAGR over 24 years:
($4,494 ÷ $1,000)1/24 − 1 ≈ +6.5% per year

Now compare to inflation-adjusted cash. The CPI-U rose from 172.2 in 2000 to 314.2 in 2024. So $1,000 in real 2000 dollars would need to be $1,826 in 2024 to have the same purchasing power. The S&P 500 investment at $4,494 outperformed inflation-adjusted cash by approximately $2,668 — a real (after-inflation) gain of about 146% over 24 years.

This example spans a notably challenging starting point: the dot-com peak in 2000 was quickly followed by a 49% index decline by 2002, then the 2008 financial crisis drop of another 57%. Despite two of the worst bear markets in modern history, a patient investor who simply held the index from 2000 to 2024 still roughly quadrupled their money nominally and more than doubled it in real terms.

Why Past Returns Don't Guarantee Future Results

Every regulated financial disclosure you will ever read contains the phrase "past performance does not guarantee future results" — and for good reason. The historical returns shown in this calculator reflect very specific conditions: the explosive growth of the US technology sector, unprecedented corporate profit margins, a decades-long decline in interest rates that boosted equity valuations, and the global dominance of the US economy.

None of these factors are guaranteed to persist. A future investor could face a prolonged bear market, a structural decline in corporate profitability, rising interest rates that permanently compress price-to-earnings multiples, or the rise of competing economies. Academic research shows that even professional fund managers, armed with teams of analysts and sophisticated models, fail to consistently beat the broad market index after fees.

This calculator is best used to understand how compounding works over long time horizons and how dramatically inflation erodes the purchasing power of cash — not to project what a specific stock or index will return in the future.

Inflation Comparison: Why Real Returns Matter More Than Nominal

A nominal return tells you how much your account balance grew in dollar terms. A real return tells you how much your purchasing power actually increased after accounting for inflation. The distinction matters enormously over long time horizons.

Consider: from 1970 to 1980, the US stock market returned roughly 75% in nominal terms — sounds decent. But inflation over that same decade ran at over 100%, meaning the nominal gain was actually a real loss of purchasing power. Stock investors in the 1970s were losing ground in real terms despite seeing their account balances nominally rise.

Conversely, the 1980s and 1990s delivered both strong nominal gains and declining inflation, producing exceptional real returns. Understanding this distinction is why this calculator always shows the inflation-adjusted cash equivalent alongside the stock value.

The rule of thumb: subtract the inflation rate from your nominal return to estimate your real return. At 3% average inflation, a 10% nominal return yields approximately a 7% real return. Compounded over 30 years, this difference between 10% and 7% annual growth is enormous in terms of final wealth.

When Should You Use This Calculator?

Understanding the cost of not investing: Many people keep large sums in savings accounts yielding less than inflation. This calculator helps visualize exactly how much purchasing power is lost by not participating in equity markets over long periods.

Educational context for financial discussions: Whether you're a student learning about investing, a teacher explaining compounding, or a parent helping a young adult understand how early investing works, this calculator provides concrete, real-world numbers to make the concepts tangible.

Historical research and curiosity: What would happen if you had invested $5,000 in Apple at the time of the iPhone launch? What would $10,000 in Nvidia in 2016 be worth today given the AI revolution? These are natural questions, and while the numbers are approximate, they illustrate the real power and risk of concentrated stock positions.

Motivating long-term thinking: One of the most consistent findings in behavioral finance is that people systematically underestimate the power of compound growth over long periods. Seeing that $1,000 in the S&P 500 in 1990 is worth tens of thousands of dollars in 2024 can be a powerful motivator for beginning an investment habit early.

Related Calculators and Articles

Frequently Asked Questions

The stock prices in this calculator are approximate split-adjusted year-end closing prices compiled for educational illustration. They have not been individually verified against a primary licensed data source such as a financial data terminal. Minor discrepancies from the exact prices you would find on Yahoo Finance or Bloomberg are possible. Do not use these numbers for investment decisions, tax calculations, or legal proceedings. For exact historical prices, use Yahoo Finance, your brokerage's historical data tools, or a licensed financial data provider.

When a company performs a stock split, the share price is divided by the split ratio and the number of shares outstanding is multiplied accordingly. Split-adjusted prices retroactively apply these adjustments to all historical prices, so return calculations remain accurate across the full history. Apple, for instance, has split its stock five times since its 1980 IPO. Without adjustment, comparing its 1980 price to its 2024 price would vastly overstate returns. All prices in this calculator are presented on a split-adjusted basis to provide consistent historical comparisons.

No. This calculator only reflects price appreciation (capital gains) and does not include dividends. For dividend-paying stocks like Apple, Microsoft, and Berkshire Hathaway, the actual total return to an investor who reinvested dividends would be meaningfully higher than the price return shown. Research consistently shows that dividend reinvestment can add 1–2 percentage points per year to long-term total returns. For the S&P 500, the dividend yield has historically averaged around 2% per year, so the true total return index (which reinvests dividends) grows significantly faster than the price-only index shown here.

The S&P 500 is a market-capitalization-weighted index of approximately 500 of the largest publicly traded US companies. It is maintained by S&P Dow Jones Indices and reviewed quarterly to add or remove companies that no longer meet the criteria. Each company's weight in the index corresponds to its market capitalization relative to the total, meaning larger companies like Apple, Microsoft, and Nvidia have an outsized influence on the index's daily moves. The S&P 500 is widely used as the benchmark for US large-cap equity performance, and the majority of actively managed US equity funds fail to beat it over 10+ year periods after fees.

CAGR stands for Compound Annual Growth Rate. It is the hypothetical steady annual growth rate that would take an investment from its starting value to its ending value over a given number of years. The formula is: CAGR = (Ending Value / Beginning Value)^(1/years) − 1. For example, if a $1,000 investment grew to $4,000 over 20 years, the CAGR is (4,000/1,000)^(1/20) − 1 = 4^0.05 − 1 ≈ 7.18% per year. CAGR is the standard way to compare investments held over different time periods on a consistent, annualized basis.

Comparing stock returns to inflation-adjusted cash quantifies the real opportunity cost of not investing. Money kept in a low-yield account or under a mattress loses purchasing power to inflation every year. By showing what your original investment would be worth in today's dollars if it had just kept pace with the CPI, the calculator lets you see the real premium the stock investment earned over simply preserving purchasing power. This framing is more honest than just showing the nominal return, because it reveals how much actual buying power you gained — or lost — relative to inflation.

No. This calculator is strictly for educational illustration. The prices are approximate, dividends are excluded, and past performance provides no guarantee of future results. Individual stocks can — and regularly do — decline dramatically in value or go to zero. Before making any investment decisions, consult a licensed financial advisor or investment professional who can assess your specific financial situation, risk tolerance, time horizon, and goals. This tool is designed to help you understand how compounding and inflation work mathematically — not to guide investment choices.