Stock Return Calculator

Find the total return on a stock with dividends and fees, the profit or loss, and the annualized return.

Loading calculator...

Stock return calculator in short
On this page

How to use the stock return calculator

1

Enter the purchase and selling price

Use the current price if you still hold the stock.

2

Enter the number of shares

For example 100.

3

Enter dividends and years held

Total dividends received and how long you held the shares.

4

Add fees (optional)

Commissions and other costs.

How stock return is calculated

Total return counts both the change in the share price and any dividends you received. The annualized return turns that total into an average yearly rate, so you can compare holdings over different lengths of time.

Stock return formulas

Total return = (final value + dividends − cost) ÷ cost

Annualized return = ((final value + dividends) ÷ cost)^(1 ÷ years) − 1

Cost = shares × purchase price + fees

Example: 100 shares bought at $50, now $75

$400 of dividends over 3 years.

  • Amount invested $5,000
  • Capital gain $2,500 (50.00%)
  • Dividend return 8.00%
  • Total return 58.00% ($2,900 profit)
  • Annualized return 16.47% a year

Why total return matters

Compare stocks fairly

A high-dividend stock and a growth stock can be compared on total return.

Judge past decisions

See how a holding really performed.

Compare with an index

Check your annualized return against the market.

Plan taxes

Know your gain before you sell.

Related tools

Find the yearly growth rate between two values with the CAGR calculator, plan dividend income with the dividend calculator, or project future growth with the investment calculator.

Stock return calculator FAQ

Add the final value and dividends, subtract what you paid, then divide by what you paid.

Total return is the whole gain over the holding period; annualized return is the equal yearly rate that gives the same result.

Yes. Dividends are part of your return, and leaving them out understates it.

Broad stock markets have historically averaged roughly 7% to 10% a year over long periods, but returns vary widely.

No. Capital gains and dividend taxes depend on your situation.

Yes. Enter the price per unit and the number of units.

Embed this calculator on your website

Free to use on any site. Copy the code below and paste it into an HTML block on your page. Please keep the credit link under the calculator.

Show the embed code

Works with WordPress, Wix, Squarespace, Webflow and most site builders that allow HTML. How embedding works.

Estimates, not advice

PureCalculate’s calculators give estimates for planning and education. They aren’t financial, tax or legal advice. Fees and tax rules change, so check the official source before making a decision. Spotted a mistake? Please tell us through the contact page.

Scroll to Top