Stock Return Calculator

Stock return is the total profit or loss from holding a stock, including both the change in share price (capital gain/loss) and any dividends received — expressed as a dollar amount or percentage of your initial investment.

Use this stock return calculator to calculate your exact return from any stock investment. Enter buy price, sell price, shares, dividends, and holding period to get total return, annualized CAGR, and a complete breakdown.

Use this calculator to calculate stock return accurately — including dividends — and compare performance across different investments on an annualized basis.

Investment Return Summary
Total Return ($)
Total Return (%)
Annualized Return (CAGR)
Capital Gain / Loss
Total Dividends Received
Dividend Yield (annual)
Return Breakdown

How to Calculate Stock Return

A stock return calculator measures the actual performance of your investment by combining two sources of return: price appreciation (capital gain) and income distributions (dividends). Most investors check only the price — but for dividend-paying stocks, income can represent 30–40% of total return over multi-year holding periods.

The Total Return Formula

Total Return (%) = [(Ending Value − Beginning Value + Dividends) / Beginning Value] × 100

Where Beginning Value = Buy Price × Shares, Ending Value = Sell Price × Shares, and Dividends = total dividends received during the holding period. This is the same formula institutional investors and index providers use to calculate "total return" indices.

Why Annualized Return (CAGR) Matters More

A 60% total return sounds great — but it means something very different if it took 3 years versus 15 years. Annualized return (CAGR) normalizes performance to a per-year rate, making investments across different time periods directly comparable. Formula: CAGR = (Ending Value / Beginning Value)^(1/Years) − 1.

Example: 60% total return over 3 years = 16.96% CAGR. Over 15 years = 3.2% CAGR. A very different story.

Real Stock Return Scenarios

ScenarioBuySellSharesDivs/ShareYearsCAGR
S&P 500 index fund (typical)$400$560100$283~14.9%
Dividend stock (long hold)$30$45200$125~12.7%
Growth stock (no dividends)$25$12050$07~25.2%
Underperformer$60$52100$64~-0.5%
Bond ETF$100$10550$164~5.2%

Key Insight: The S&P 500's price return since 1926 averages ~7.3% annually. With dividends reinvested (total return), that rises to ~10.7% — a difference of more than 3 percentage points per year that compounds massively over decades. Never evaluate a dividend-paying stock by price alone.

Capital Gain vs. Dividend Yield: Which Is Better?

Growth stocks (like many tech companies) typically pay little or no dividends — they reinvest profits to grow faster, and return comes primarily through price appreciation. Dividend stocks (utilities, REITs, consumer staples) deliver consistent income but often grow more slowly. Neither is inherently better; the right mix depends on your time horizon, tax situation, and income needs. For most long-term investors in tax-advantaged accounts, total return is what matters — the form it takes is secondary.

Our guide to dollar-cost averaging explains how consistent monthly investing amplifies these returns over time, regardless of whether you hold growth or dividend stocks.

Taxes on Stock Returns

In the US, how your return is taxed depends on the holding period: Short-term capital gains (held under 1 year) are taxed as ordinary income — up to 37%. Long-term capital gains (held over 1 year) are taxed at preferential rates: 0%, 15%, or 20% depending on your income. Qualified dividends are also taxed at long-term capital gains rates. Tax-advantaged accounts (IRA, 401k) defer or eliminate these taxes entirely, significantly increasing effective returns.

Using This Calculator for Index Funds and ETFs

This calculator works for any security. For index funds and ETFs, enter your average purchase price per share, current NAV as the sell price, total shares held, and cumulative distributions received. The annualized CAGR output lets you compare your fund's actual performance directly against its benchmark.

To model future growth from regular investing, use our dollar-cost averaging calculator. To keep your portfolio balanced as it grows, use the portfolio rebalancing calculator.

Stock Return Calculator — FAQs

Total return = (Capital Gain + Total Dividends) / Initial Investment × 100. Capital gain is (Sell Price − Buy Price) × Shares. Dividends are any cash distributions received. Total return gives the complete performance picture — important because dividends account for roughly 30–40% of long-term stock market returns.
CAGR (Compound Annual Growth Rate) is the annualized return — the constant yearly growth rate that would produce your actual total return over the holding period. It lets you compare investments held for different time periods on an equal basis. A 100% return over 2 years is a 41.4% CAGR; over 10 years it's only 7.2% CAGR. CAGR tells the real story.
Always include dividends for accuracy. The S&P 500's price return since 1926 averages about 7.3% annually; with dividends reinvested (total return) it averages about 10.7%. For a dividend-paying stock held for 5+ years, excluding dividends can understate your actual return by 20–40%.
The S&P 500 averages about 10% annually (total return, before inflation) over long periods. Consistently beating that by 2–3% is exceptional for most investors. For individual stock picks, anything above 12–15% CAGR over 10+ years is outstanding. Short-term returns are noisy — annualized returns over 5+ years are more meaningful.
ROI (Return on Investment) is the total percentage gain or loss, without accounting for time. CAGR (annualized return) adds time to the calculation, making performance comparable across holding periods. Both are useful: ROI shows total gain; CAGR shows average annual rate. This calculator shows both, plus dollar amounts for each component.
Formula sources & accuracy standards: Calculator Methodology · Editorial Policy