Skip to content

Stock Return Calculator

A stock’s total return combines the change in price with any dividends received, minus trading costs. Enter your buy and sell prices, shares, dividends and commissions to see your profit and percentage return.

  • Private — runs in your browser
  • Formula explained

Enter your details

$
$
$
$
$
years

Calculated in your browser. Your numbers are never sent or stored.

Total return

$1,610

Return on investment
32.17%
Capital gain
$1,490
Dividends
$120
Total cost (incl. fees)
$5,005
Annualized return
14.96%
Sources of return

How to use the Stock Return Calculator

  1. 1Enter the price you paid and the price you sold at (or today’s price).
  2. 2Enter the number of shares.
  3. 3Add dividends received and any commissions or fees.
  4. 4Optionally add the holding period — the result updates instantly.

Formula

Total return = (Sell price × Shares − Selling costs) − (Buy price × Shares + Buying costs) + Dividends

Return %
Total return ÷ Total cost × 100
Annualized
(1 + Return %)^(1 ÷ years) − 1

Trading costs are part of your cost basis and reduce your proceeds, so they lower the return. Dividends are added as cash received (reinvestment is not modelled).

Example calculation

Buying 50 shares at $40.00 costs $2,000. Selling at $52.00 returns $2,600, a capital gain of $600. Adding $60 of dividends gives a total return of $660, or 33%.

Assumptions and limitations

  • Taxes on gains and dividends are not deducted.
  • Dividends are not reinvested.

Frequently asked questions

What is total return?

Total return includes both the change in share price and income such as dividends, which gives a truer picture of performance than price change alone.

Are taxes included?

No. Capital gains and dividend taxes depend on your country and holding period. Deduct them separately for an after-tax figure.

Are these returns guaranteed?

No. The calculator assumes a constant rate of return every year. Real investments rise and fall, and past performance does not guarantee future results. Try a conservative rate as well as an optimistic one.