Introduction
The Stock Investment Calculator shows you what a past investment could have grown into. Pick a stock, choose a start date and an end date, and enter how much money you put in. The calculator does the math and shows your final value, your total gain or loss, and your yearly return.
You can also turn on dividend reinvestment (DRIP) to see how reinvested dividends buy more shares over time. Add regular deposits, like $250 each month, to see how steady saving builds your total. Turn on the inflation setting to see what your money would really be worth in today's buying power.
Want to compare? Add a second stock or a market index like the S&P 500 and see them side by side. You get a growth chart, a year-by-year table, plain-English insights, and the step-by-step math behind every number.
How to use our Stock Investment Calculator
Pick a stock, set your dates, and enter how much you invest. The stock investment calculator then shows your final portfolio value, total return, percent gain, annualized return (CAGR), dividends earned, and share count, plus a growth chart and year-by-year table.
Search for a stock: Type a ticker like AAPL or a company name like Apple. Then click the match you want, or use the arrow keys and press Enter.
Quick picks: Click a button like AAPL, TSLA, or SPY to choose a popular stock fast, with no typing.
Add Benchmark Index: Choose S&P 500 (SPY), NASDAQ-100 (QQQ), or Dow Jones (DIA) to see how your stock stacks up against the market. Pick "None" to skip it.
Compare With a Second Stock: Click this button to open a second search box and test two stocks side by side using the same dates and amount.
Investment Start Date: Enter the past date you would have bought the stock. Or click a shortcut like 1 Year Ago, 5 Years Ago, or 20 Years Ago.
Investment End Date: Leave it as today, or pick an earlier date to see what happens if you sold then.
Initial Investment Amount: Type the one-time dollar amount you put in on your start date. It must be at least $1.
Reinvest Dividends (DRIP): Turn this on to use dividends to buy more shares. Turn it off to hold dividends as cash.
Adjust for Inflation (Real Returns): Turn this on to also see your results in start-date dollars, so you know your real buying power.
Add Recurring Contributions: Check this box if you add money on a set schedule instead of investing just once.
Contribution Amount: Enter how many dollars you add each time you invest.
Contribution Frequency: Choose weekly, bi-weekly, semi-monthly, monthly, quarterly, or annually to match your saving habit.
Calculate Returns: Click this button to run the numbers and see your results, chart, insights, and step-by-step math.
Reset Calculator: Click this to clear your entries and start over with the default settings.
Stock Investment Returns Explained
When you buy a stock, you own a small piece of a company. Your money can grow in two main ways: the share price goes up, and the company pays you dividends. A stock investment return is how much money you made (or lost) from both of these things over time.
How Share Price Growth Works
You buy shares at one price and later they may be worth more. If you put $1,000 into a stock at $50 a share, you own 20 shares. If the price climbs to $75, your 20 shares are now worth $1,500. That is a $500 gain, or 50%. Prices can also fall, so you can lose money too.
What Dividends Are
Some companies share part of their profits with owners. These cash payments are called dividends. Most pay every three months. Some stocks, like many tech and growth companies, pay nothing at all and put the money back into the business instead.
Why Reinvesting Dividends (DRIP) Matters
A DRIP means Dividend Reinvestment Plan. Instead of taking dividend cash, you use it to buy more shares. Those new shares then earn dividends of their own. Over 10 or 20 years, this snowball effect can add a big chunk to your total value. This is compound growth at work, and the Compound Interest Calculator shows the same effect on plain cash savings.
Total Return vs. Annualized Return (CAGR)
- Total return is the full gain over the whole time period, shown in dollars and percent.
- Annualized return (CAGR) is the average yearly growth rate. It smooths out good years and bad years into one number, which makes it easy to compare two stocks held for different lengths of time.
Adding Money Over Time
Many people invest a set amount each week or month instead of all at once. This is called dollar-cost averaging. You buy more shares when prices are low and fewer when prices are high. It removes the need to guess the perfect day to buy.
Don't Forget Inflation
Prices for food, rent, and gas go up over the years. So $10,000 in the future does not buy as much as $10,000 today. A "real" return subtracts inflation to show your true gain in buying power. If your stock earned 8% and inflation was 3%, your real return was about 5%.
Comparing to a Benchmark
A benchmark is a market index used as a yardstick. The S&P 500 (SPY) tracks 500 large U.S. companies, the NASDAQ-100 (QQQ) leans toward tech, and the Dow (DIA) follows 30 big names. If a single stock earned less than the index, a simple index fund would have done better with less risk.
Things to Keep in Mind
Past growth does not promise future growth. Single stocks swing much harder than a broad index fund, so a big past winner can still drop sharply. Results here do not include broker fees or taxes on dividends and gains, which lower real-world returns. Spreading money across many companies lowers the risk that one bad pick hurts you.