Stock Return Calculator

Calculate stock CAGR, total return, and dividend-reinvested value for any investment period.

Investing 🌍 Global ✅ Free · No sign-up
📂 Category Investing
🌐 Market Global
🎯 Formula Expert-verified
🔒 Privacy No data stored
⚡ Updates Real-time
📱 Device Any screen size

Stock Return Calculator

Calculate CAGR, total return, dividend reinvestment, and benchmark comparison.

Stock Return Calculator: Measure True CAGR, DRIP Compounding & S&P 500 Alpha

Brokerage apps love flashing green “+85% All-Time Return” badges without mentioning how many years your capital sat tied up—or whether a boring S&P 500 index fund quietly beat your stock pick by 3% a year over the exact same stretch. Earning +85% in three years is a market-crushing 22.8% annualized victory; earning +85% over ten years is a sluggish 6.35% CAGR that lagged passive indexing by thousands of dollars. Our stock return calculator computes exact annualized CAGR, models automatic dividend reinvestment (DRIP) with dividend growth, and benchmarks your alpha head-to-head against the S&P 500 and US Treasury bonds.

What Is a Stock Return Calculator?

A stock return calculator is an equity performance analyzer designed around the three questions serious investors ask about every position: What was my true annualized growth rate after trading commissions? How much extra wealth did reinvested dividends create? and Did picking this individual stock actually outperform a passive index ETF? To answer each cleanly without clutter, our calculator organizes analysis into three specialized tabs: Price Return, With Dividends (DRIP), and vs Benchmark.

Consider Rachel, who bought 100 shares of an industrial blue-chip at $120.00 six years ago (paying a $5 fee) and sees it trading today at $235.00 ($5 exit fee). Her total cost basis is $12,005 and net proceeds are $23,495—a +$11,490.00 gain (+95.71% total return). Plugging 6 years into the Price Return tab reveals an 11.84% CAGR. Switching to the Benchmark tab against the S&P 500’s 10.0% historical average shows Rachel generated +1.84% annual alpha—and if she also reinvested a 2.5% growing dividend in the DRIP tab, her true annualized total return climbs past 14%.

How the Stock Return Calculator Formula Works (Step-by-Step Example)

Unlike arithmetic averages, equity compounding follows geometric math across holding period t (in years, including fractional years like 3.5):

Total Cost Basis = (Buy Price × Shares) + Buy Commission
Net Proceeds = (Sell Price × Shares) − Sell Commission
Total Return % = [(Net Proceeds − Total Cost Basis) ÷ Total Cost Basis] × 100
CAGR = (Net Proceeds ÷ Total Cost Basis)(1 ÷ Years) − 1

Let’s walk through both a Price Return trade and a 20-year DRIP compounding projection:

  1. Price Return Example: Buy 100 shares at $100.00 ($0 commission = $10,000 cost) and hold for 5 years to $185.00 ($18,500 value). Total Return = +$8,500 (+85.00%). Exact CAGR = ($18,500 ÷ $10,000)1/5 − 1 = (1.85)0.20 − 1 = 13.09% per year—not 85% ÷ 5 = 17%!
  2. DRIP vs. Price-Only Example: Invest $10,000 for 20 years in a dividend aristocrat appreciating 8.0%/year in share price, paying a 2.5% initial dividend yield that grows by 5.0%/year. Without dividends, price appreciation alone reaches $10,000 × (1.08)20 = $46,609.57 (8.00% CAGR). With dividends reinvested annually via DRIP, compounding share count plus rising yield propels your portfolio to $100,664—a +$54,054 DRIP Advantage (12.24% CAGR)!

Why Dividend Reinvestment & Drawdown Math Dominate Long-Term Equity Wealth

Investors scanning headline stock charts routinely underestimate reliable dividend-growth companies (like Microsoft, Visa, Broadcom, or Procter & Gamble) because price charts erase quarterly cash distributions the morning a stock goes ex-dividend. Compare how $10,000 compounds over 20 years across five realistic equity return profiles:

Stock / Index Profile Annual Price Appreciation Starting Yield (Div. Growth) 20-Yr Value (Price Only) 20-Yr Value (With DRIP) Effective Total CAGR
High-Yield Stagnant Utility / Telecom 2.0% 5.5% (0% growth) $14,859 $41,659 7.40%
US S&P 500 Broad Market Historical 8.3% 1.5% (5% growth) $49,268 $78,020 10.81%
Dividend Aristocrat Compounder 8.0% 2.5% (5% growth) $46,610 $100,664 12.24%
Zero-Dividend Hyper-Growth Tech 12.0% 0.0% (No dividend) $96,463 $96,463 12.00%
Underperforming Stock Pick (Negative Alpha) 6.5% 1.0% (0% growth) $35,236 $42,740 7.54% (Lags S&P by $35k+)

Look closely at Rows 3 and 4: an “unexciting” company growing its share price at 8% while paying a 2.5% rising dividend reinvested via DRIP actually beats a zero-dividend hyper-growth stock compounding at 12% over twenty years!

Evaluating Benchmark Alpha, Stock Splits & Taxable DRIP Nuances

Every individual stock carries idiosyncratic risk—earnings misses, CEO turnover, regulatory lawsuits, or technological disruption—that a 500-stock index ETF diversifies away for 0.03% a year. Use the vs Benchmark tab ruthlessly once a year: if a stock you have held for five years has delivered a 7.8% CAGR while the S&P 500 delivered 10.5% (−2.7% annual alpha), ask whether your thesis genuinely justifies keeping capital locked in an underperformer. For multi-deposit portfolios where you add new cash monthly, complement single-lot CAGR here with our investment calculator.

Two practical bookkeeping details keep your inputs accurate. First, always use split-adjusted buy prices: if you bought 10 shares of Nvidia or Apple before a 10-for-1 stock split at $900 per share, enter 100 shares at $90.00 (your brokerage tax-lot screen adjusts this automatically). Second, remember that inside a US taxable brokerage account, reinvested DRIP dividends are still taxed annually—typically at the 15% qualified dividend rate—even though no cash touched your checking account. Inside a Roth IRA or 401(k), 100% of your DRIP dividend compounds tax-free.

Common Mistakes People Make With the Stock Return Calculator

  • 1. Comparing your stock’s Total Return (with DRIP) against the S&P 500 Price Index: Financial television quotes the S&P 500 price index (excluding ~1.5%–2.0% historical dividends). Always benchmark against the S&P 500 Total Return (~10% nominal, ~7% inflation-adjusted) preset in our Benchmark dropdown.
  • 2. Using arithmetic average annual returns instead of geometric CAGR: A volatile stock that surges +60% in Year 1 ($10,000 → $16,000) and drops −40% in Year 2 ($16,000 → $9,600) has an arithmetic “average” return of (+60% − 40%) ÷ 2 = +10%, yet you actually lost $400 (−2.02% true CAGR)!
  • 3. Ignoring capital gains tax before rotating out of a winner: Selling a $50,000 long-term winner with a $10,000 cost basis triggers $6,000 in 15% federal LTCG tax (estimate yours in our capital gains tax calculator), leaving only $44,000 to reinvest—meaning your new stock must outperform by +13.6% just to catch back up to the shares you sold.

Enter your share basis, holding years, or dividend parameters above to see your exact CAGR and benchmark alpha—and check our compound interest calculator to model how reinvesting portfolio gains builds multi-decade wealth.

Related Calculators: Capital Gains Tax Calculator · Investment Calculator · Compound Interest Calculator

How to Use This Calculator

Formula: Total Return % = [(Proceeds − Cost Basis) ÷ Cost Basis] × 100 | CAGR = (Ending Value ÷ Beginning Value)^(1 / Years) − 1
  1. Choose one of the three analysis tabs at the top: 'Price Return' for specific share trades, 'With Dividends (DRIP)' to model reinvested dividend compounding, or 'vs Benchmark' to measure alpha against the S&P 500 or T-Bonds.
  2. In 'Price Return' mode, enter your 'Buy Price ($)', 'Current / Sell Price ($)', 'Number of Shares' (supports fractional shares down to 0.001), 'Holding Period (years)', and any Buy/Sell commissions.
  3. Switch to 'With Dividends (DRIP)' and enter your Initial Investment, expected Annual Price Appreciation (%), starting Annual Dividend Yield (%), Investment Period, and Annual Dividend Growth (%) to see your DRIP Advantage.
  4. Open the 'vs Benchmark' tab, enter your stock's CAGR alongside a benchmark (10% S&P 500 nominal, 7% inflation-adjusted S&P 500, 4.5% US T-Bonds, or Custom) to calculate exact annual Alpha and dollar outperformance.
  5. Click 'Year-wise Growth' beneath the summary cards to inspect annual portfolio compounding across your entire holding period.

Frequently Asked Questions