Skip to content

Stock Return Calculator

Calculate your total stock return including price appreciation and dividends. Estimate annualized returns, compare investments, and understand real vs. nominal performance with our free calculator.

Loading calculator

Preparing Stock Return Calculator...

Reviewed & Methodology

Every calculator is built using industry-standard formulas, validated against authoritative sources, and reviewed by a credentialed financial professional. All calculations run privately in your browser - no data is stored or shared.

Last reviewed:

Reviewed by:

Written by:

How to Use the Stock Return Calculator

  1. 1. Enter your purchase details - input the share price you paid and the number of shares purchased.
  2. 2. Enter the current or sale price - input the current share price or the price at which you sold.
  3. 3. Add dividends received - include total dividends received per share over your holding period for a complete total return picture.
  4. 4. Set your holding period - specify the number of years you held (or plan to hold) the investment.
  5. 5. Review total and annualized returns - see your price return, dividend return, total return, and annualized performance.

Stock Return Calculator

When you sell a stock — or want to evaluate a position you still hold — this calculator tells you the full picture: total dollar gain, percentage return, and the annualized rate that makes comparisons across different holding periods fair. Enter your purchase price per share, number of shares, total dividends received, and the current or sale price to get all three figures at once. It is useful for personal performance tracking, comparing how two different stocks performed over different time frames, and separating price appreciation from dividend income in your overall return.

How Stock Returns Are Calculated

Total return combines the capital gain (or loss) with any dividends received over the holding period:

Total Return % = (Ending Price - Beginning Price + Dividends per Share) / Beginning Price x 100

Total Dollar Gain = (Ending Price - Beginning Price + Dividends per Share) x Number of Shares

Because raw total return does not account for how long you held the position, the annualized return converts it to a per-year equivalent so you can compare a 3-year investment against a 10-year investment on equal footing:

Annualized Return = [(1 + Total Return)^(1/years)] - 1

For example, a 50% total return over 5 years annualizes to 8.45%, while a 50% total return over 3 years annualizes to 14.47% — a very different result despite the identical headline percentage.

Worked Examples

Scenario 1 — Growth stock held through volatility: You bought 100 shares of a technology company at $45 per share and sold 6 years later at $98 per share. The stock paid $4.50 per share in cumulative dividends over that period. Total return is ($98 - $45 + $4.50) / $45 = 127.8%. Dollar gain on 100 shares is $5,750. Annualized return is (1 + 1.278)^(1/6) - 1 = 14.6% per year.

Scenario 2 — Dividend stock where price barely moved: You invested $8,000 in a utility stock at $40/share (200 shares) and sold after 8 years at $44/share. The stock paid $2.10/share annually — a total of $16.80/share in dividends over 8 years. Price return is only 10%, but total return is (($44 - $40) + $16.80) / $40 = 52%. Annualized total return is 5.4% per year. Without including dividends, you would have massively understated this investment’s actual performance.

Scenario 3 — Loss recovered by dividends: You purchased a bank stock at $60/share and sold 4 years later at $51/share after a sector downturn. However, the stock paid $3.00/share per year — $12.00 total over 4 years. Price return is -15%, but total return is ($51 - $60 + $12) / $60 = -5%. Annualized return is -1.3% per year. A steep loss was partially offset by dividends, turning what looked like a wipeout into a modest underperformance.

Stock Return Reference Table

Buy PriceSell PriceDividends/ShareHolding PeriodPrice ReturnTotal ReturnAnnualized
$40.00$44.00$16.808 years10.0%52.0%5.4%
$45.00$98.00$4.506 years117.8%127.8%14.6%
$50.00$75.00$5.003 years50.0%60.0%17.0%
$60.00$51.00$12.004 years-15.0%-5.0%-1.3%
$80.00$60.00$16.004 years-25.0%-5.0%-1.3%
$100.00$130.00$12.005 years30.0%42.0%7.2%
$25.00$40.00$8.0010 years60.0%92.0%6.7%
$120.00$180.00$18.005 years50.0%65.0%10.6%
$200.00$500.00$30.007 years150.0%165.0%14.9%
$35.00$90.00$12.008 years157.1%191.4%14.1%

When to Use This Calculator

  • You are evaluating whether a specific stock position performed better or worse than your other holdings and need annualized returns to make the comparison fair across different holding periods
  • You are considering selling and want to calculate your exact dollar gain, total return, and annualized performance before making a tax decision
  • You want to separate price appreciation from dividend income to understand which driver has been more important for a particular holding
  • You are reviewing a stock that fell in price but paid significant dividends, and want to know whether dividends rescued the total return
  • You are building a personal performance record and want to compare your stock-picking results against an S&P 500 benchmark on an annualized basis

Common Mistakes

  1. Evaluating stocks by price return only. A stock that stayed flat at $50 for 5 years while paying $3/year in dividends returned 30% in total — not zero. Price return alone misses the dividends entirely, and for high-yield stocks or long holding periods, dividends can account for more than half of total return.
  2. Comparing total returns without annualizing. A 100% return sounds twice as good as a 50% return, but if the 100% took 15 years and the 50% took 3 years, the shorter investment outperformed on an annualized basis (14.5% versus 4.7% per year). Always annualize when comparing stocks held for different durations.
  3. Forgetting to adjust for inflation. The S&P 500 has returned roughly 10-11% nominally per year since 1926, but only about 7-8% in real (inflation-adjusted) terms. Evaluating your portfolio at nominal returns and planning retirement spending in today’s dollars creates a gap that can result in undersaving by 20-30%.
  4. Anchoring to purchase price when making hold or sell decisions. Whether to sell a stock should depend on your current assessment of its future prospects, not on whether you are currently above or below your cost basis. A stock that has fallen 40% from your purchase price is not automatically cheap, nor is one up 200% automatically expensive.

Stock Returns in Context

The S&P 500’s annualized total return (including dividends reinvested) from 1990 through 2024 was approximately 10.7% per year, turning $10,000 into about $280,000. Individual stocks deviate enormously from this average: a top decile performer might return 20-30% annually for a decade, while bottom decile performers lose money entirely. This is why annualizing returns and comparing them honestly against a benchmark matters — it tells you whether your stock picks are adding value over simply holding a low-cost index fund.

Commission-free trading has made it easy to buy and sell frequently, but taxes on short-term capital gains (held under one year) are taxed as ordinary income at rates up to 37%, while long-term gains are taxed at 0%, 15%, or 20%. A trade that generates a 15% return in 8 months might net only 9-10% after taxes in a high bracket, while the same 15% held for 13 months might net 12-13%.

Tips

  • Always include dividends in your return calculation — for the S&P 500 historically, about 40% of total return came from dividends rather than price appreciation, so ignoring them consistently understates true performance
  • Use annualized return as your primary performance metric, particularly when comparing across positions you have held for different lengths of time
  • Subtract approximately 3% for inflation to convert your nominal annualized return into a real return, which tells you how much your purchasing power actually grew
  • Benchmark your results against the S&P 500’s annualized return over the same holding period; beating the index by 1-2% consistently over 10+ years is genuinely difficult and meaningful
  • Track your after-tax returns for taxable account positions — a 12% pre-tax return in a high bracket with frequent turnover may trail a 9% buy-and-hold strategy in after-tax terms
  • Do not overweight recent performance when evaluating a stock; a company that returned 50% last year because of a one-time event is unlikely to repeat the result, and overpaying based on trailing returns is one of the most common individual investor errors

Frequently Asked Questions

What is the difference between total return and price return?
Price return only measures the change in a stock's share price. Total return includes both price appreciation and dividends received, giving a complete picture of investment performance. For example, if you bought a stock at $50, it rose to $60, and you received $3 in dividends, your price return is 20% ($10/$50) but your total return is 26% ($13/$50). Over long periods, dividends can contribute 30-50% of total stock market returns, so using price return alone significantly understates actual performance.
How do reinvested dividends affect total stock returns?
Reinvesting dividends dramatically increases total returns over time through compounding. A $10,000 investment in the S&P 500 in 1990 would have grown to approximately $110,000 by 2020 based on price return alone. With dividends reinvested, that same investment would have grown to roughly $190,000 -- a difference of about $80,000 from reinvestment alone. Each reinvested dividend buys additional shares that generate their own dividends, creating an accelerating growth cycle that becomes increasingly powerful over decades.
What is the historical average annual stock market return?
The S&P 500 has returned an average of approximately 10-11% per year (nominal) since 1926, including both price appreciation and dividends. After adjusting for inflation (roughly 3% annually), the real return averages about 7-8% per year. However, returns vary enormously from year to year -- ranging from -37% (2008) to +53% (1954) in individual years. Over any 20-year rolling period, the stock market has always been positive, which is why long-term holding periods are essential for equity investing.
How do risk and volatility affect expected stock returns?
Higher expected returns come with higher volatility, which is the fundamental risk-return tradeoff in investing. The S&P 500 has a historical standard deviation of about 15-16% annually, meaning in any given year, returns typically range from roughly -5% to +25%. Small-cap stocks have higher historical returns (around 12% annually) but also higher volatility. Individual stocks are far more volatile than the market as a whole. Diversifying across many stocks reduces volatility without proportionally reducing expected returns.
What is the difference between real and nominal stock returns?
Nominal returns are the raw percentage change in your investment value, while real returns subtract inflation to show your actual gain in purchasing power. If your stock portfolio returned 10% in a year with 3% inflation, your real return was approximately 7%. This distinction is critical for long-term planning. A $1 million portfolio earning 8% nominally (5% real) over 20 years grows to $4.66 million in nominal terms but only $2.65 million in today's purchasing power. Always use real returns when evaluating whether your investments are meeting retirement goals.
Calculators