Stock Return Calculator
Stock Return Calculator is a free calculator that finds the profit, the total return and the yearly return on shares, with dividends and fees counted.
Work out the profit, the total return and the return per year on shares, with dividends and trading fees counted. It runs in your browser.
Also searched as: stock profit calculator · stock calculator · share return calculator · annualized return calculator
Updated November 16, 2026
Loading the tool…
How to use it
- 1
Enter the prices and shares
Type the buy price, the sell price and the number of shares.
- 2
Add dividends and fees
Enter the dividends you received and the trading fees you paid, as totals.
- 3
Add the years held
Enter how long you held the shares to see the return per year.
Questions about Stock Return Calculator
How do I calculate the return on a stock?
Add what you received, the sale plus dividends, subtract what you paid, the shares plus fees, and divide by what you paid. 100 shares bought at 50 and sold at 65, with 150 in dividends and 20 in fees, return 32.47%.
What is an annualized return?
The steady yearly rate that gives the same result. A total return of 32.47% over 3 years is about 9.8% a year, which lets you compare holdings of different lengths.
Are dividends included?
Yes. Enter the total dividends you received while you held the shares and they are added to what you received.
Can I use it for shares I have not sold?
Yes. Enter the price today as the sell price to see the return so far.
Does it include tax?
No. Tax on gains and dividends depends on where you live and the type of account, so the result is before tax.
Total return and return per year
Total return compares everything you received with everything you paid. 100 shares bought at 50 and sold at 65, with 150 in dividends and 20 in fees, cost 5,020.00 and brought in 6,650.00. The profit is 1,630.00, a total return of 32.47%.
Total return says nothing about time. The yearly figure is the steady rate that turns the cost into the amount received over the years held: 9.83% a year for 3 years. The table shows how the same profit looks over other holding periods.
| Years held | Total return | Return per year |
|---|---|---|
| 1 | 32.47% | 32.47% |
| 2 | 32.47% | 15.10% |
| 3 | 32.47% | 9.83% |
| 5 | 32.47% | 5.78% |
| 10 | 32.47% | 2.85% |
Dividends, fees and shares you still hold
Enter dividends as the total received while you held the shares, and fees as the total for buying and selling. Fees are added to the cost and dividends to the amount received, so both change the return. Leaving dividends out can understate the return on a share that pays them every year.
For shares you have not sold, enter the price today as the sell price to see the return so far. The tool handles one purchase at one price. If you bought in several lots, work out each lot on its own or use the average price paid. Tax on gains and dividends is not included.