Calculate your total and annualized return on a stock trade — including capital gain, dividends, and fees — and see how much each contributed.
Enter Your Trade Details
Fill in shares, buy/sell price, dividends, fees, and holding period to calculate your return.
A stock return calculator measures the real return on a stock trade — not just how far the share price moved, but the complete picture once dividends received and brokerage fees paid are folded in. Enter the number of shares, your buy and sell price, dividends collected, fees paid, and how long you held the position, and NeftCal's calculator returns your total return percentage, an annualized (CAGR-style) return, and a clear breakdown of how much of your profit came from capital gain versus dividend income.
Two trades with identical price movement can produce very different outcomes once dividends and fees are counted — and two trades with the same total return can represent very different investment quality once you annualize for holding period. This stock profit calculator turns those raw numbers into figures you can actually compare, whether you're reviewing a single closed trade or checking in on a position you still hold.
This tool is useful for individual investors reviewing a closed trade, active traders comparing performance across multiple positions, long-term holders checking an unrealized gain on a stock they still own, and anyone trying to separate how much of their return came from price appreciation versus dividend income. It's equally useful as a quick post-trade sanity check or as part of a broader portfolio review.
Looking only at price change hides two things that matter: dividends, which can meaningfully boost returns even on a flat or falling stock, and fees, which quietly eat into profit on every trade — especially smaller or frequent ones. Annualizing your return also matters for planning, since it lets you compare a 6-month trade against a 5-year holding, or against other goals like a target retirement growth rate, on the same footing. Getting this comparison right helps you judge which holdings, or which strategies, are actually working.
Combining price change, dividends, and fees into one clear return figure
Capital gain comes purely from the price change; dividends are separate cash income paid out while you held the shares. Total return combines both, which is why it's usually a fuller picture than price change alone.
A 40% total return means very different things over 6 months versus 5 years. Annualizing converts total return into a steady yearly rate, letting you compare trades of any length fairly.
From trade details to total and annualized return in seconds
Input the total number of shares you bought and later sold (or are evaluating as if sold today, for an unrealized position).
Input the price you paid per share and the price you sold (or could sell) per share. These drive the capital gain calculation directly.
Enter total dividend income collected while holding the shares, and the combined buy + sell brokerage or commission fees — both are optional but improve accuracy.
Use a decimal like 1.5 for 18 months or 0.5 for six months — this drives the annualized return calculation.
See net profit, total return %, annualized return %, and a full breakdown of invested, proceeds, capital gain, dividends, and fees, plus charts comparing return components.
A realistic stock trade calculation, step by step
Suppose you bought 100 shares of illustrative Stock XYZ at $50 per share, later sold them at $68 per share, collected $150 in dividends along the way, and paid $20 total in brokerage fees, over a 2-year holding period.
Explanation: Of the $1,930 net profit, $1,800 came from capital gain (the price moving from $50 to $68) and $150 came from dividends, with $20 in fees trimmed off the top. The 38.45% total return looks large, but it was earned over 2 years — annualizing brings it down to a more comparable 17.66% per year, which is the figure you'd want to use when comparing this trade against a different investment or a different holding period.
What your annualized return actually tells you
Annualized return is the most useful single number for judging a trade, because it puts any holding period on the same yearly footing. There's no official pass/fail threshold, but the general reference ranges below are a reasonable starting point for a rough read.
| Annualized Return | General Read | Typical Context |
|---|---|---|
| Below 0% | Loss after all costs | Price decline outweighed dividends and fees |
| 0% – 8% | Modest return | Below typical long-term diversified equity expectations |
| Above 8% | Solid to strong return | In line with, or above, typical long-term equity expectations |
Reading total return: total return tells you the overall outcome of the trade but says nothing about how long it took to get there — a 20% total return is excellent over 6 months and mediocre over 10 years. Always pair it with the annualized figure before drawing conclusions.
Reading the capital gain vs. dividend split: a return driven mostly by dividends tends to be steadier and less dependent on the exact timing of your sale; a return driven mostly by price appreciation is more sensitive to when exactly you bought and sold.
Risk considerations: this calculator reports what already happened (or an unrealized snapshot), not a forecast. It doesn't measure volatility, downside risk, or the likelihood of repeating this return in the future.
Stock market returns are inherently uncertain, and past performance is not indicative of future results. This tool provides mathematical estimates based on figures you enter, for educational purposes only, and does not constitute investment advice. Consult a licensed financial advisor before making investment decisions.
Where this stock return calculator earns its keep
Check the real return on a stock you already sold, including dividends and fees.
Enter today's price as the sell price to see your return on a position you still hold.
Use annualized return to compare a short-term trade against a multi-year holding.
See exactly how much of your total return came from dividends versus price change.
Cross-check a broker or portfolio app's reported return with an independent calculation.
Compare a trade's annualized return against a personal target growth rate.
Run each holding through the calculator individually to see which positions are actually performing.
See how much brokerage fees are quietly reducing your net profit on smaller trades.
Learn how capital gain, dividends, and fees combine into a single return figure.
Revisit an old trade from your records to see what it actually returned once fully accounted for.
What this stock return calculator does well, and where it can't replace professional advice
How stock return relates to other growth measures on NeftCal
| Metric | Total Return | Annualized Return | CAGR |
|---|---|---|---|
| What it measures | Overall gain/loss, whole period | Equivalent steady yearly rate | Steady yearly growth rate, any metric |
| Best for | Single-trade summary | Comparing trades of different lengths | Comparing investments/portfolios over years |
| Includes dividends/fees | Yes (on this calculator) | Yes (on this calculator) | Depends on inputs used |
| Where to calculate | This calculator | This calculator | CAGR Calculator |
Common questions about stock returns
Official guidance to complement this calculator — not a substitute for licensed financial advice
Other investment and growth tools