Your total stock return is everything you got back (sale proceeds plus every dividend received) minus everything you paid (purchase price plus commissions and other fees), divided by what you paid. Expressed as a formula: total return = (sale proceeds − fees + dividends − purchase cost) ÷ purchase cost.
Most people only look at the price change, which overstates the result when fees were high and understates it when the company paid a meaningful dividend. A share that rose 24 per cent can easily have delivered a 30 per cent total return, or a 20 per cent one, depending on what happened along the way. A stock return calculator handles the arithmetic, but it helps to understand which figures belong in each slot so the answer reflects what actually landed in your brokerage account.
The three pieces of a stock’s total return
Every holding produces return from up to three sources, and costs reduce it at two points.
- Price change: the difference between the price per share when you sold (or today, if you still hold) and the price when you bought.
- Dividends: the cash paid per share while you owned it, multiplied by the number of shares. Count only dividends with ex-dividend dates that fell while you held the stock.
- Costs: commissions, regulatory transaction fees, foreign-exchange spreads on overseas shares and, for funds, the ongoing expense ratio. Purchase costs are added to your cost basis; sale costs are subtracted from your proceeds.
Many US brokers now advertise zero-commission trading on listed stocks, but fees have not vanished everywhere. Broker-assisted trades, some international markets, over-the-counter shares and certain account types still carry charges, and the bid-ask spread is a cost you never see itemised.
Worked example: 100 shares held for three years
Suppose you bought 100 shares at $50 and paid a $10 commission. The company paid a quarterly dividend of $0.30 per share throughout the three years you held it, and you then sold at $62, paying another $10 commission. All figures are illustrative.
| Item | Calculation | Amount |
|---|---|---|
| Purchase cost (cost basis) | 100 × $50 + $10 | $5,010.00 |
| Dividends received | 100 × $0.30 × 12 quarters | $360.00 |
| Net sale proceeds | 100 × $62 − $10 | $6,190.00 |
| Capital gain after fees | $6,190 − $5,010 | $1,180.00 |
| Total gain | $1,180 + $360 | $1,540.00 |
| Total return | $1,540 ÷ $5,010 | 30.7% |
The share price alone moved from $50 to $62, a 24.0 per cent rise. Dividends added roughly seven percentage points, and the two $10 commissions trimmed about half a point: without them the total return would have been 31.2 per cent. On a smaller position, say ten shares, the same $20 in commissions would have cut the return by about four percentage points, which is why flat fees matter far more on small trades.
Try it with your own numbers: enter your buy price, sell price, share count, dividends and commissions in the free stock return calculator with dividends and fees to see your total and annualised return side by side.
Turning total return into an annual figure
A 30.7 per cent gain sounds strong, but it took three years. To compare it with a savings account or an index fund, convert it into a compound annual growth rate:
annualised return = (ending value ÷ starting value)1 ÷ years − 1
Here that is ($6,190 + $360) ÷ $5,010 = 1.3074, raised to the power of one-third, minus one, which gives about 9.3 per cent a year. This simple version treats the dividends as if they arrived at the end. Because they actually arrived earlier, the precise time-weighted figure is fractionally lower, but the difference is small for modest dividend yields.
What changes the answer
Whether you reinvested the dividends
If your broker bought extra shares with each dividend, do not add the dividends as cash as well. Instead, use your larger final share count when calculating sale proceeds, and add each reinvested amount to your cost basis. Counting both is the most common way investors double-count their returns. The dividend reinvestment calculator models how that compounding plays out over longer periods.
Buying in several lots
If you bought shares at different times and prices, your cost basis is the total amount you paid, including each purchase’s fees, not the price of your first purchase. Monthly investors can work out their blended entry price with the dollar-cost averaging calculator before measuring return.
Funds and their expense ratios
For ETFs and mutual funds, the expense ratio is deducted inside the fund, so it is already reflected in the price you see. It still matters. On a $10,000 investment growing at an illustrative 7 per cent a year for 20 years, a 0.5 per cent annual charge leaves about $35,006, while a 0.05 per cent charge leaves about $38,312. That gap of more than $3,300 never appears on a statement as a line item.
Taxes
A pre-tax total return is the standard way to compare investments, but your spendable return is lower in a taxable brokerage account. Qualified dividends and long-term capital gains on shares held for more than a year are generally taxed at lower federal rates than ordinary income in the US, while short-term gains are taxed as ordinary income. Inside a 401(k) or IRA the calculation is unaffected until withdrawal. Your broker reports dividends on Form 1099-DIV and sales on Form 1099-B, which are useful for checking your own figures.
Mistakes that distort a stock return calculation
- Ignoring dividends entirely. For steady dividend payers, income can account for a large share of the long-run return. Price charts on most finance sites exclude it.
- Leaving fees out of the cost basis. Commissions on the purchase raise your basis; commissions on the sale reduce your proceeds. Both reduce your return and both affect the capital gain you report to the IRS.
- Comparing returns over different periods. A 30 per cent gain over three years and a 20 per cent gain over one year are not comparable until both are annualised.
- Forgetting stock splits. After a split, your share count rises and the price falls proportionally. Use split-adjusted prices or the adjusted share count, or the return will look wildly wrong.
- Treating foreign withholding as a fee you can ignore. Dividends from some overseas companies arrive with tax already withheld. Use the net amount received unless you plan to claim a foreign tax credit.
Frequently asked questions
Does total return include unrealised gains?
It can. If you still hold the shares, use today’s market price, minus the commission you would pay to sell, as your notional proceeds. That gives an unrealised total return, which is useful for tracking performance, but it is only locked in when you sell. Taxes in a regular brokerage account are generally due only on realised gains, so your eventual after-tax figure may differ.
What is a good total return on a stock?
There is no universal benchmark, but a sensible comparison is a broad market index fund held over the same period, with its dividends included. If your stock returned 9 per cent a year while the index returned 10 per cent, you took on single-company risk without being paid for it. Always compare annualised figures, not raw totals.
How do I calculate stock return with dividends reinvested?
Add every reinvested dividend to your cost basis as a new purchase, then calculate proceeds using your final share count. Do not also add the dividends as separate income. Your broker’s cost basis records usually track reinvested lots automatically, so check them against your own figures.
Is the spread a fee I should include?
Strictly, yes, because buying at the ask and selling at the bid costs money. In practice, the spread on large, heavily traded US stocks is often a fraction of a cent per share and is already captured in the prices you paid and received. It becomes significant for thinly traded shares, so use your actual execution prices rather than quoted closing prices.
Knowing your real return tells you whether a holding has earned its place in your portfolio, and it keeps fees and dividends from quietly skewing your judgement. This article is general information rather than financial advice. When you are ready to check a position you own, put your purchase details, dividends and costs into the TechBullion stock return calculator and compare the annualised result with what a low-cost index fund would have delivered.
Previously in Fintech News: How to Calculate a Sale Price After Discounts and Sales Tax
