🇺🇸 United States

Stock Return Calculator

What was your total return including dividends? Calculate capital gains, total return with income, annualized CAGR, and benchmark comparison.

All amounts displayed in selected currency
$
Price paid per share when you bought
$
Price received per share when you sold
Total shares bought and sold
Estimates only. Results are before tax. Past performance does not guarantee future results.

Try a scenario

Found an issue? Send feedback

How to Use This Calculator

Tab "Total Return"

Enter your buy price per share, sell price per share, and number of shares. The result shows your total capital gain or loss, percentage return, amount invested, and sale proceeds. Works for any stock, ETF, or fund — in any currency.

Tab "With Dividends"

Add your total dividends received over the holding period and the holding period in years. The calculator combines capital gain and dividend income into a true total return, then annualizes it (CAGR) so you can compare investments held for different durations.

Tab "Benchmark Comparison"

Enter your annualized return, the benchmark annual return (e.g. 8% for a long-run market index average), and the number of years. The calculator shows your annual alpha (outperformance or underperformance) and the cumulative gap compounded over the full period.

The Formulas

Capital gain / loss:
Gain = (Sell price − Buy price) × Shares
where Sell price and Buy price are per-share amounts

Percentage return (capital only):
Return % = (Sell − Buy) / Buy × 100

Total return (including dividends):
Total Return % = (Capital gain + Dividends) / (Buy × Shares) × 100
where Dividends = total cash income received over holding period

Annualized return (CAGR):
CAGR = (1 + Total Return as decimal)^(1 / years) − 1
e.g. 45.6% over 2 years → (1.456)^0.5 − 1 = 20.7%/yr

Annual alpha (benchmark comparison):
Alpha = Your annualized return − Benchmark return

Cumulative advantage over N years:
Yours cumulative = (1 + your rate)^N − 1
Benchmark cumulative = (1 + benchmark rate)^N − 1
Cumulative gap = Yours cumulative − Benchmark cumulative

All calculations use standard investment mathematics. No country-specific tax rates, transaction costs, or inflation adjustments are applied. Results are gross pre-tax estimates.

Worked Examples

Example 1 — Capital Gain: 100 shares at $45, sold at $62

An investor buys 100 shares of a company at $45 each and sells them later at $62 each.

Buy price$45.00 / share
Sell price$62.00 / share
Shares100
Amount invested$4,500.00
Sale proceeds$6,200.00
Capital gain$1,700.00
Return %37.8%

Calculation: Gain = ($62 − $45) × 100 = $17 × 100 = $1,700. Return % = $17 / $45 × 100 = 37.8%. A solid capital gain — but the full picture also includes any dividends received.

Example 2 — With Dividends: Same position + $3.50/share over holding period

The same investor held those 100 shares for 2 years and received $3.50 per share in total dividends ($350 total).

Capital gain$1,700.00
Total dividends$350.00
Total gain$2,050.00
Total return %45.6%
Holding period2 years
Annualized (CAGR)20.7% / yr

Total return = ($1,700 + $350) / $4,500 × 100 = 45.6%. Annualized: (1.456)^(1/2) − 1 = 20.7%/yr. The dividends added 7.8 percentage points to total return — meaningful income that capital-only figures miss.

Example 3 — Benchmark: 12.5%/yr vs S&P 500 average 8%/yr over 3 years

An investor achieved 12.5% annualized over 3 years. How does this compare to an 8% benchmark?

MetricYour portfolioBenchmark (8%/yr)
Annual return12.5%8.0%
Annual alpha+4.5% per year
Cumulative (3 yr)42.4%25.9%
Cumulative advantage+16.5% over 3 years

Your 12.5%/yr outperformed the 8%/yr benchmark by 4.5 percentage points per year. Compounded over 3 years, the cumulative advantage grows to +16.5% — because outperformance compounds just like returns do.

Understanding Stock Returns: Key Concepts

Capital Gain vs Total Return

Many investors focus only on share price movement — the capital gain. But for dividend-paying stocks, this misses a substantial portion of actual returns. Historically, dividends have contributed roughly 40% of total stock market returns over the long run. Total return — capital gain plus income — is the correct measure of investment performance.

Annualized Return (CAGR)

The Compound Annual Growth Rate (CAGR) converts any multi-year total return into an equivalent annual rate. This is essential for comparing investments held for different lengths of time. A 45% total return sounds great — but it means very different things held for 2 years (20.7%/yr) versus 10 years (3.8%/yr). Always convert to annualized figures before comparing.

What Counts as a "Good" Return?

Context matters. A common benchmark is the long-run average return of a broad market index: roughly 7–10% per year in real terms for developed market equities, historically. Consistently beating this is difficult even for professional fund managers. The key questions are: (1) Did you beat your chosen benchmark? (2) Were you taking more risk to do so? (3) Is the return sustainable?

Alpha and Benchmark Comparison

Alpha is the excess return above a benchmark. If your portfolio returned 12% and the benchmark returned 8%, your alpha was +4%. Positive alpha over a long period (5–10+ years) is evidence of genuine skill or edge. Over short periods, alpha can easily be random variation. The benchmark you choose matters: compare equity returns to an equity index, not to cash or bonds.

What This Calculator Does Not Include

For simplicity and universality, this calculator does not account for: broker commissions and transaction fees; capital gains tax (which varies by country, holding period, and income level); inflation (real vs nominal returns); currency fluctuations on foreign stocks; reinvestment of dividends (which would increase effective CAGR further). For a complete after-tax, after-fee return, deduct your actual costs from the gross figures shown.

Frequently Asked Questions

Total return = (Capital gain + Dividends received) / Amount invested × 100. Capital gain = (Sell price − Buy price) × Shares. For example: 100 shares bought at $45, sold at $62, with $350 dividends gives total gain = $1,700 + $350 = $2,050; total return = $2,050 / $4,500 × 100 = 45.6%.
CAGR (Compound Annual Growth Rate) is the annualized return: (1 + Total Return as decimal)^(1/years) − 1. A 45.6% total return over 2 years annualizes to (1.456)^0.5 − 1 = 20.7%/yr. Use CAGR to compare investments held for different durations on equal terms.
Yes — total return including dividends gives the most accurate picture. For income-focused stocks and REITs, dividends may represent the majority of return. Historically, dividends have contributed approximately 40% of total stock market returns. Capital gain alone understates true performance for dividend-paying positions.
Enter the total cash dividends received over the entire holding period — not per share or annualized. If you held 100 shares and received $1.75/share per year for 2 years, enter 100 × $1.75 × 2 = $350. The calculator uses total dividends to compute the combined capital + income return and its annualized equivalent.
Use an index that represents your investment universe. For US stocks: S&P 500 (~10% long-run nominal, ~7% real). For global equities: MSCI World (~8-9% long-run). For a 60/40 portfolio: ~7%. Compare equity to equity, not to cash. The most honest benchmark is the one you could actually have invested in as an alternative.
No — all results are gross, pre-tax estimates. Capital gains tax and dividend withholding tax vary significantly by country, holding period, account type, and personal circumstances. To find your after-tax return, deduct the estimated tax liability from your total gain. Use the country links below for jurisdiction-specific calculators.
A capital loss occurs when you sell for less than you paid: Gain = (Sell − Buy) × Shares is negative. The calculator handles losses correctly — enter a sell price lower than the buy price. In many countries, capital losses can be offset against capital gains to reduce your tax bill, but rules vary by jurisdiction.

Related Calculators

Embed This Calculator

Add the sum.money Stock Return Calculator to your website. Free, responsive, always up to date.

<iframe src="https://sum.money/embed/stock-return-calculator" width="100%" height="700"></iframe>

Calculate for Your Country

For country-specific calculators that account for local capital gains tax, dividend withholding tax, and investment account rules: