Home/Stock Investment Return Calculator

Stock Investment Return Calculator

Calculate total return on a stock investment including dividends and capital gains.

What this calculator does

This calculator answers a specific question about a share position you actually own: what did it really return, once dividends are counted alongside the price change? Enter what you paid, what the position is worth now or what you sold it for, and how long you held it.

It returns three figures. Gain or loss is the dollar amount you are up or down. ROI expresses that as a percentage of what you originally committed. Annualized ROI converts the whole thing into a yearly compound rate, which is the only number that lets you compare a position held for eight months against one held for eleven years.

When to use it

Use it when reviewing a holding you have owned for a while and want a straight answer rather than the unrealized gain figure your broker shows, which ignores dividends already paid out to you. It is also the right tool when deciding whether to sell — knowing a position has compounded at 4 percent while the broad market did 10 percent reframes the decision.

It is equally useful after a sale, for judging whether a trade you feel good about actually beat what a simple index fund would have delivered over the same window. Feelings about a stock and its annualized return are frequently unrelated.

Understanding the inputs

Purchase price is your full cost basis — the share price multiplied by the number of shares, plus any commission. If you bought in tranches, add them together rather than using an average price you half remember.

Current or exit value is the position's market value today, or your net proceeds if you have sold. Add cash dividends received to this figure if you want a total return rather than a price return. Holding period is in years and accepts decimals, so nine months is 0.75. This field only affects the annualized figure, but it affects it a great deal.

How is this calculated?

Capital Gain = (Current Price − Purchase Price) × Shares. Total Return = Capital Gain + Dividends. Total Return % = Total Return / (Purchase Price × Shares) × 100.

A worked example

Suppose you bought 200 shares at $42, a cost basis of $8,400, and four years later the shares trade at $58.50, making the position worth $11,700. Over those four years the company paid $1.10 per share annually, so you also collected $880 in dividends.

Total value received is $12,580 against $8,400 invested — a gain of $4,180, or 49.8 percent. Annualized, that is 10.6 percent a year. Notice that the price alone rose 39.3 percent; the dividends added more than ten percentage points to the total. On a price chart, that contribution is invisible.

Limitations and assumptions

This is a backward-looking measure of one position. Past returns do not predict future ones, and a stock that compounded at 15 percent for four years has no obligation to repeat it. The calculator assumes a single flat return with no volatility, so it says nothing about the drawdowns you endured along the way or the risk you were carrying.

It also excludes taxes on dividends and realized gains, wash-sale complications, and the effect of reinvesting dividends into more shares. None of this is investment advice — for decisions involving a concentrated position or a large tax bill, speak to a licensed advisor or CPA.

Common Questions

How is total stock return calculated?
Take the current or exit value of the position, subtract what you paid, then add every dividend received while you held it. Divide that by your original cost and multiply by 100. Price movement alone is only part of the story — dividends have historically supplied roughly a third of long-run US equity returns.
What is the difference between total return and annualized return?
Total return is the whole gain across the entire holding period, whatever its length. Annualized return compresses that into an equivalent yearly compound rate. A 50 percent total return looks impressive until you learn it took nine years, which works out to about 4.6 percent a year — below what a savings account paid.
Why do dividends matter so much over long periods?
Because they compound. A stock yielding 3 percent that you reinvest adds roughly 34 percent to your share count over ten years before any price movement. Comparing two stocks on price charts alone systematically flatters the low-yield one. Always compare total return, which is what index providers mean by a total return index.
Does this account for reinvested dividends?
Only partially. The calculator treats dividends as cash received. If you reinvested them, your actual return is higher because those extra shares generated their own gains and dividends. To capture reinvestment properly, enter your total cost basis including reinvested amounts and the full current market value of all shares held.
Do I owe tax on a gain I have not sold?
No. In a taxable brokerage account, unrealized gains are not taxed until you sell. Dividends, however, are taxable in the year received — qualified dividends at 0, 15, or 20 percent depending on income, and ordinary dividends at your marginal rate. Inside an IRA or 401(k), neither is taxed currently.
How do stock splits affect the calculation?
They do not change your return at all, but they will wreck the arithmetic if you mix pre-split and post-split prices. After a 4-for-1 split you hold four times the shares at a quarter of the price. Use split-adjusted purchase prices, which most brokerages display automatically on your position history.
What return should I expect from a single stock?
There is no reliable expectation. The S&P 500 has averaged roughly 10 percent nominally over long periods, but that average hides enormous dispersion — most individual stocks underperform the index, and a small minority drive nearly all the gains. Concentrated single-stock positions carry risk that broad averages simply do not describe.
Should I subtract commissions and fees?
Yes, if you want an honest number. Enter your all-in cost including commissions in the purchase field and your net proceeds after fees in the exit field. Most US brokers now charge zero commission on stock trades, but SEC and FINRA transaction fees still apply on sales, and options or foreign shares carry real costs.
Why is my annualized return lower than I expected?
Compounding cuts both ways. Because annualization takes a root rather than dividing, a large total return spread over many years shrinks dramatically. Doubling your money sounds like 100 percent, but over ten years that is only 7.2 percent annually. The holding period field is what drives this — check it is accurate.
TheFinanceCalculators

Professional-grade financial calculators. Accurate, fast, and completely free. Not financial advice.

© 2026 TheFinanceCalculators. All rights reserved.