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.
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
| Scenario | Buy | Sell | Shares | Divs/Share | Years | CAGR |
|---|---|---|---|---|---|---|
| S&P 500 index fund (typical) | $400 | $560 | 100 | $28 | 3 | ~14.9% |
| Dividend stock (long hold) | $30 | $45 | 200 | $12 | 5 | ~12.7% |
| Growth stock (no dividends) | $25 | $120 | 50 | $0 | 7 | ~25.2% |
| Underperformer | $60 | $52 | 100 | $6 | 4 | ~-0.5% |
| Bond ETF | $100 | $105 | 50 | $16 | 4 | ~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.