Stock Return Calculator
Estimate your profit/loss, total return, and annualized return (CAGR) from an investment.
Assumes contributions happened over the period and are treated as part of your total invested amount.
What this stock return calculator helps you measure
When people ask, “How did my stock do?”, they usually mean one of several things: how much money they made, what percent they gained, or how quickly their money grew each year. This calculator gives all three so you can evaluate your portfolio in a practical way.
- Net profit/loss: Dollars earned (or lost) after comparing final value plus dividends to total invested capital.
- Total return (%): Overall percentage gain or loss across the full holding period.
- CAGR: Compound annual growth rate, showing average annualized growth.
- Real CAGR: Annualized return adjusted for inflation.
How to use the calculator correctly
1) Enter your initial investment
This is the money you originally put into the stock or portfolio.
2) Add any extra contributions
If you bought more shares later, include that amount in “Additional contributions.” This prevents overestimating returns.
3) Input ending value and dividends
Enter the current market value (or sale value) of your holdings and any dividends received. Dividends are part of total return, so leaving them out understates performance.
4) Enter the years held
Time matters. A 50% total gain in 2 years is very different from 50% over 10 years. CAGR solves this by annualizing growth.
The formulas used in this calculator
- Total Invested = Initial Investment + Additional Contributions
- Total Ending Amount = Ending Value + Dividends
- Profit/Loss = Total Ending Amount − Total Invested
- Total Return (%) = (Profit/Loss ÷ Total Invested) × 100
- CAGR (%) = ((Total Ending Amount ÷ Total Invested)^(1 ÷ Years) − 1) × 100
- Real CAGR (%) = (((1 + CAGR) ÷ (1 + Inflation)) − 1) × 100
Example stock return calculation
Suppose you invested $10,000, added another $2,000 over time, and now your investment is worth $15,500. You also collected $700 in dividends, and you held it for 4 years.
- Total invested = $12,000
- Total ending amount = $16,200
- Profit = $4,200
- Total return = 35.00%
- CAGR ≈ 7.79% per year
This tells you both the absolute gain and the annual growth pace, which is much more useful for comparing investments.
Common mistakes investors make when calculating returns
- Ignoring dividends: This can materially understate results, especially for dividend stocks.
- Using simple averages instead of CAGR: CAGR reflects compounding; averages do not.
- Forgetting added capital: Contributions should be counted so returns aren’t inflated.
- Skipping inflation: A nominal 8% return may be much lower in real purchasing power.
- Confusing account growth with investment skill: Large contributions can grow account size even with weak returns.
What this calculator does not include
This quick tool is ideal for fast estimates, but it does not model every detail of portfolio performance.
- Broker commissions and transaction fees
- Taxes on dividends or capital gains
- Exact timing of each contribution (money-weighted return/IRR)
- Currency conversion effects for international stocks
For advanced analysis, use this calculator first, then move to a spreadsheet or portfolio software for deeper modeling.
Final thoughts
A stock return calculator helps turn vague performance into clear numbers. Use it regularly to review your decisions, compare strategies, and keep expectations grounded in data. Consistent measurement is one of the best habits long-term investors can build.