Verified Tool

Stock Return Calculator

Calculate total returns on stock investments including capital gains, dividends, and splits. Compare performance against benchmarks like the S&P 500.

By Marko Šinko
Updated 2026-07-01
2 min read

Stock Return Calculator

Enter your details below to calculate

Investment Details

Set to 0 for a non-dividend stock

S&P 500 long-run avg ≈ 10%

Total Return

+91.94%

+$4,597

13.93% annualized (CAGR)

Initial Investment

$5,000

Final Value

$9,597

Capital Gain

$3,500

Dividends (reinvested)

$1,097

What makes up your $9,597 final value

Principal
Capital
Dividends
Principal $5,000Capital gain $3,500Dividends $1,097

Your Stock vs. Benchmark (10% / yr)

Your stock (total return)$9,597
Benchmark (e.g. S&P 500)$8,053

Your stock beat the benchmark by $1,544 over 5 years.

Estimates assume steady annual price growth from your purchase to current price and level dividend growth. Real markets are volatile; actual reinvestment prices vary each period.

How to Use This Calculator

Follow these simple steps

1

Enter your shares and purchase price

Input how many shares you own and the split-adjusted price you paid per share. This sets your cost basis — for example, 100 shares at $50 is a $5,000 investment.

2

Add the current or sale price

Enter today's price (or the price you sold at) and the number of years you've held. The calculator uses these to work out capital gains and the annualized growth rate.

3

Enter the dividend details

Add the annual dividend per share at purchase and an expected dividend growth rate (mature payers often raise 5–8% a year). Set the dividend to $0 for a non-dividend stock.

4

Toggle dividend reinvestment

Check 'Reinvest dividends' to model a DRIP, where payouts buy more shares that compound. Uncheck it to see the result if you took dividends as cash instead.

5

Set a benchmark and compare

Enter a benchmark return (10% is a fair S&P 500 long-run proxy). The calculator grows the same money at that rate so you can see whether your stock beat or trailed the index.

6

Review total return and breakdown

Read your total return, annualized CAGR, and the composition bar showing principal, capital gain, and dividends. Expand the year-by-year table or export it to CSV.

Key Features

Accurate stock return calculations
Clear inputs and visual results
Mobile-friendly, privacy-first
Free to use, no signup
Stock return calculator showing total return from capital gains and reinvested dividends versus a benchmark
Written by Marko ŠinkoJuly 1, 2026

Stock Return Calculator: Total Returns From Capital Gains and Dividends

A stock return calculator measures your totalreturn — not just the price change on the screen. And that distinction matters more than most investors realize: since 1930, reinvested dividends have generated roughly 40% of the S&P 500’s total return. If you only track the ticker price, you’re quietly ignoring almost half the story. This tool folds capital gains, dividend income, dividend growth, and reinvestment into a single number, then stacks it against a benchmark so you can see whether your pick actually earned its keep.

Capital appreciation

The gain from a rising share price — usually the piece investors overweight.

Dividend income

Cash paid to shareholders — reinvest it and it compounds into more shares.

Annualized (CAGR)

Smooths total return into a per-year rate you can compare across holdings.

Price Return Isn’t Total Return

Price return only asks one question: did the share price go up? Total return asks the better question: how much money did the whole position make? The formula is straightforward:

Total Return % = (Ending Value + Dividends − Purchase Cost) ÷ Purchase Cost × 100

For a dividend payer, ignoring the income line understates your result badly. A stock that rises 20% while paying a 3% yield over three years didn’t return 20% — with reinvestment it returned closer to 30%. That gap is exactly what this calculator is built to catch.

The Total Return Formula, Worked Out

Say you bought 100 shares at $50 (a $5,000 investment). Five years later the price is $85, and the stock paid a $1.50 dividend that grew about 6% a year. Here’s the math, step by step, without reinvestment:

  • Capital gain: 100 shares × ($85 − $50) = $3,500
  • Dividends collected: roughly $1.50 growing at 6% for 5 years on 100 shares ≈ $846
  • Total profit: $3,500 + $846 = $4,346
  • Total return: $4,346 ÷ $5,000 = 86.9%
  • Annualized (CAGR): ($9,346 ÷ $5,000)1/5 − 1 ≈ 13.3% per year

Track only the price and you’d record a 70% return. Add the dividends and the real figure is nearly 17 points higher. On larger positions that difference is thousands of dollars. To isolate just the income side of a holding, our dividend calculator breaks down yield and annual payout in detail.

Why Reinvesting Dividends Changes Everything

Reinvesting (a DRIP) uses each dividend to buy more shares, which then pay their own dividends. Over a long horizon that snowball is the difference between a good result and a great one. Watch how the same 100-share, $50 position diverges over 20 years at an 8% price growth and a 3% starting yield:

StrategyEnding ValueTotal ReturnAnnualized
Price only (no dividends)$23,300366%8.0%
Dividends taken as cash$31,600532%9.7%
Dividends reinvested (DRIP)$37,900658%10.7%

Same stock, same 20 years — but reinvesting added roughly $6,300 over simply pocketing the checks, and about $14,600 over ignoring dividends entirely. Toggle the DRIP checkbox in the calculator to see this split on your own numbers. For a deeper compounding view, the dividend reinvestment calculator models share accumulation year by year.

Total Return vs. Annualized Return — Don’t Confuse Them

A total return of 87% sounds enormous until you learn it took 11 years to earn — that’s only about 5.8% a year. Total return tells you how much you made; annualized return (CAGR) tells you how fast. Always compare investments on the annualized figure, because it neutralizes different holding periods. A 40% gain in two years (18.3% annualized) crushes a 60% gain spread over eight years (6.0% annualized), even though the 60% looks bigger at a glance. If you want to compare an investment against a savings rate or a loan, the rate of return calculator puts everything on the same annualized footing.

Where Investors Get Total Return Wrong

Counting the price move only. On a 3%-yield stock held 10 years, forgetting dividends can understate your return by 40 percentage points or more.

Comparing raw percentages across different time spans. A 50% gain over two years is far better than 50% over six. Convert to annualized before you judge.

Ignoring taxes and fees.Dividends in a taxable account can lose 15–20% to tax, and trading costs eat into gains. A pre-tax 12% can become a 9.5% take-home return.

Forgetting to adjust for share splits. A 4-for-1 split turns 100 shares into 400 at a quarter of the price. Use your split-adjusted cost basis or the return will look catastrophically wrong.

Reading Your Result Against a Benchmark

A 60% total return feels great — but if the S&P 500 returned 90% over the same stretch, you actually lost ground on a risk-adjusted basis. That’s why the calculator grows the same starting dollars at a benchmark rate (10% is a reasonable long-run S&P 500 proxy) and shows the gap. Beating the index consistently is hard; if a single stock isn’t clearing that bar, a low-cost index fund may be the smarter home for the money. To weigh a stock against a broader portfolio, our investment growth calculator projects compounding across regular contributions.

When This Calculator Can Mislead You

The model assumes steady annual price growth from your purchase price to today and level dividend growth. Real markets don’t move in a straight line, so a few situations deserve caution:

  • Highly volatile stocks: when reinvestment prices swing wildly, actual DRIP share counts differ from a smooth model — treat the reinvested figure as an estimate.
  • Dividend cuts or suspensions: if a company slashes its payout, the level dividend-growth assumption overstates income. Set growth to zero or negative to stress-test.
  • Multiple purchase dates: if you dollar-cost-averaged in, use your weighted average cost. The stock average calculator computes that basis first.

Getting the Most Accurate Number

Use your split-adjusted purchase price, not the historical raw price.

Enter the dividend per share at the time you bought, then set a realistic growth rate — mature payers often raise dividends 5–8% a year.

Match the benchmark to your strategy: 10% for U.S. large caps, lower for bond-heavy portfolios.

For a clean profit-and-fees snapshot on a single sell, pair this with the stock profit calculator.

The takeaway is simple but easy to miss: your real return is capital appreciation plusdividends, compounded, measured against what an index would have done. Enter your numbers, flip the reinvestment toggle, and you’ll see in seconds whether a holding is genuinely pulling its weight — or just riding along.

About the Author

Marko Šinko

Financial Planning Expert with 15+ years in finance and investment management

Connect with Marko

Frequently Asked Questions

How do I calculate the total return on a stock?
Total return = (ending value + dividends received − purchase cost) ÷ purchase cost × 100. For 100 shares bought at $50 (a $5,000 cost) now worth $85, plus about $846 in dividends, the total return is ($8,500 + $846 − $5,000) ÷ $5,000 = 86.9%. This counts both price appreciation and income, not just the price change.
What's the difference between total return and price return?
Price return only measures the change in share price, while total return adds dividends and any reinvestment. On a stock yielding 3% held 10 years, price return can understate your actual gain by 40 percentage points or more. Since 1930, reinvested dividends have made up roughly 40% of the S&P 500's total return.
How much does reinvesting dividends actually add?
On a $5,000 position over 20 years at 8% price growth and a 3% starting yield, reinvesting dividends (DRIP) grows the position to about $37,900 versus $31,600 if you take dividends as cash — roughly $6,300 more. Compared to ignoring dividends entirely ($23,300), reinvesting adds about $14,600.
Is a 20% total return good?
It depends entirely on the time period. A 20% total return in one year (20% annualized) is excellent, but 20% spread over five years is only about 3.7% a year — below what a savings account or index fund might return. Always convert total return to an annualized (CAGR) figure before judging it.
How do I calculate annualized return (CAGR) from total return?
CAGR = (ending value ÷ starting value)^(1 ÷ years) − 1. If $5,000 grows to $9,346 over 5 years, CAGR = (9,346 ÷ 5,000)^(1/5) − 1 ≈ 13.3% per year. This is the constant yearly rate that would produce the same result and lets you compare investments held for different lengths of time.
How do stock splits affect my return calculation?
A split changes your share count and price but not your total value — a 4-for-1 split turns 100 shares at $200 into 400 shares at $50. Always use your split-adjusted cost basis. If you enter the pre-split price against a post-split share count, the return will look wildly wrong (often showing a huge fake loss).
Does this calculator account for taxes on dividends and gains?
No — it shows pre-tax total return. In a taxable account, qualified dividends and long-term gains are typically taxed at 15–20%, so a pre-tax 12% return might be closer to 9.5% after tax. Returns inside a Roth IRA or 401(k) grow tax-free, which is why account type matters as much as the stock you pick.

Share this Stock Return Calculator