Stock Return Calculator
Calculate total return, CAGR, and dividend income for any stock using live AlphaVantage prices and a curated stock database.
Stock Return Calculator
Live prices via AlphaVantage · Stocks from MoneyFlock database
Stock & Investment
Total dividend is calculated over the full holding period
Return Results
—
No stock selected yet
Search for a stock, fetch its live price, then enter your buy details to calculate returns
Search for a stock by name or ticker symbol
Click "Fetch Live Price" to auto-fill the current price
Enter your buy price, number of shares, and buy date
See your total return, CAGR, and holding-period analysis
Complete Guide to Calculating Stock Returns
Types of Stock Returns
Capital Gain
The profit earned from selling a stock at a higher price than you bought it. Calculated as (Sell − Buy) × Shares.
Dividend Income
Regular cash payments distributed by the company from its profits. Adds to total return regardless of price movement.
Key Formulas
Total Return % = (Profit + Dividends) ÷ Investment × 100
CAGR = ((End Value ÷ Start Value)^(1÷Years)) − 1
Annualised Return = Total Return % ÷ Years
CAGR = Compound Annual Growth Rate — the most accurate way to compare returns across different holding periods
Why CAGR Matters
Example: Two stocks both returned 50% total, but one took 3 years and another took 10 years.
| Investment | Total Return | Years | CAGR |
|---|---|---|---|
| Stock A | 50% | 3 yrs | 14.5% |
| Stock B | 50% | 10 yrs | 4.1% |
| Stock C | 200% | 10 yrs | 11.6% |
Investing Tips
Tip 1: Always calculate CAGR, not just total return, when comparing stocks held over different periods — a 100% return in 1 year is far better than 100% in 10 years.
Tip 2: Reinvesting dividends (DRIP) significantly boosts long-term returns through compounding. A 3% dividend yield reinvested for 20 years adds approximately 80% additional return.
Tip 3: Factor in inflation — a 7% CAGR in a 3% inflation environment gives a real return of ~4%. True wealth growth is real CAGR minus inflation.
Related tools
Browse allDividend Yield Calculator
Calculate dividend yield and annual income for any stock. Fetch live prices, calculate yield on cost, and see your monthly/yearly payout breakdown.
OpenDividend Reinvestment Calculator
Project your long-term wealth through automated dividend reinvestment (DRIP). Calculate compounding effects with custom annual contributions and tax rates.
OpenStock Volatility Calculator
Estimate annualized volatility, daily expected moves, and confidence intervals for any stock using 52-week high/low data, ATR, and Beta.
OpenCompound Interest Calculator
Calculate compound interest with daily, weekly, monthly or annual compounding. Includes first-30-days daily table, EAR calculation, and additional deposit support.
OpenFrequently Asked Questions
How is total stock return calculated?
Total Return = (Ending Price − Starting Price + Dividends Received) ÷ Starting Price × 100. It captures both capital appreciation and dividend income. Most people quote only price appreciation but ignore dividends — total return is the honest measure for long holdings.
What is CAGR and why is it different from average return?
CAGR (Compound Annual Growth Rate) = (Ending ÷ Starting)^(1/years) − 1. It's the smoothed annual rate that produces the same final result as the actual volatile path. Average return overstates real performance because it doesn't penalize losses correctly. A stock that goes +50% then −50% has 0% average return but the actual outcome is −25% (CAGR ≈ −13%).
Should I include dividends in my return calculation?
Always — dividends contribute 2–4% per year on average for the S&P 500, and reinvested dividends compound dramatically over decades. The calculator pulls dividend history alongside price data so total return reflects what actually happened to a buy-and-hold investor.
Why does the calculator use AlphaVantage?
AlphaVantage provides free, reliable historical price + dividend data via API. The calculator caches responses for 60 seconds and falls back gracefully if the API rate-limits. For tax-grade reporting, always cross-check against your broker's transaction history (the calculator shows market-quoted prices, not your actual fill prices).
Is past return a good predictor of future return?
No — and SEC disclaimers exist for this reason. Past performance reflects history; future returns depend on company fundamentals, valuation at purchase, market conditions, and macro factors. The calculator is best used to understand what HAPPENED, not to project what WILL happen. Use SIP and Compound Interest calculators for forward planning.
What's a 'good' annual stock return?
Long-term S&P 500 averages ~10% nominal (~7% real after inflation). Individual stocks can do dramatically better or worse. Beating the index requires either luck or genuine edge; most professional fund managers underperform after fees. For DIY investors, matching the index via low-cost ETFs is the realistic baseline.