We Are Calculator logoWe Are Calculator

Stock Return Calculator

ROI on stock trades.

Email me this result

Get a PDF of your numbers to keep or share.

We'll email your PDF to the address above and use it only for that purpose unless you also opt in below. See our Privacy Policy.

We Are Calculator
We Are Calculator

Free financial calculators. Where an official rule applies, the calculator shows the source it was checked against. No sign-up, and every calculation runs entirely in your browser — nothing you type is ever sent to us.

Share this tool

What Is a Stock Return Calculator?

A stock return calculator measures the total return on an investment in stocks or ETFs, accounting for both capital appreciation (the increase in share price) and dividend income — including the compounding effect of dividend reinvestment (DRIP). Total return is the only complete measure of investment performance. Price-only returns can be dramatically misleading: for a broad index, reinvested dividends make up a meaningful part of the long-run total return.

The impact of dividend reinvestment over long periods is staggering. S&P Dow Jones Indices research shows that over long periods, total return with dividends reinvested far exceeds price-only return. The difference comes entirely from reinvesting dividends into additional shares, which then generate their own dividends, compounding over decades.

This calculator handles multiple use cases:

  • Historical stock return — compute the actual total return on a holding purchased at a known price on a known date, with dividends tracked.
  • Forward projection — project the future value of a stock or portfolio given assumed annual price appreciation and dividend yield.
  • DRIP vs. cash dividend comparison — show the compounded value difference between reinvesting dividends vs. taking them as cash.
  • After-tax return — compute net returns accounting for capital gains tax (0/15/20%) and qualified dividend tax rates.

The calculator applies to individual stocks, ETFs, mutual funds, and any asset with a known yield and price history. It is appropriate for Canadian investors as well, using similar mathematics with dividend tax credit adjustments for eligible Canadian dividends taxed at preferential rates under the CRA dividend tax credit regime.

Stock Total Return Formula with DRIP Calculation

Total stock return combines price return and dividend return. When dividends are reinvested, the compounding effect requires a more sophisticated calculation than simple addition.

Simple Total Return (no DRIP):

Total Return = ((End Price − Start Price + Total Dividends Received) / Start Price) × 100%

Example: Bought 100 shares at $50 = $5,000 invested
Current price: $75 per share
Total dividends received over holding period: $400
Total Return = (($7,500 − $5,000 + $400) / $5,000) × 100%
= ($2,900 / $5,000) × 100% = 58.0%

Annualized Return (CAGR):

CAGR = ((End Value / Start Value)^(1/Years) − 1) × 100%

Example: $5,000 invested, grew to $7,900 over 5 years
CAGR = (($7,900 / $5,000)^(1/5) − 1) × 100%
= (1.58^0.20 − 1) × 100% = 9.60% per year

DRIP Calculation (per dividend period):

New Shares = (Shares Held × Dividend per Share) / Share Price at Payment
Total Shares += New Shares

Repeat each quarter until end date.

Final Value = Total Accumulated Shares × Final Share Price

Example: 100 shares at $50, $0.50/share quarterly dividend, 10 years
Annual dividend yield: ($0.50 × 4) / $50 = 4.0%

Assuming 7%/yr price growth: ~133 shares × $98.36 = $13,107 (DRIP)
vs. 100 shares × $98.36 + $2,000 cash dividends = $11,836 (cash, dividends not reinvested)
Note: DRIP outperforms cash here because reinvested dividends buy additional shares that then also benefit from the 7%/yr price growth — the advantage widens the longer prices rise.

The SEC's investor education guides emphasize that total return — not price return alone — is the correct performance measure, as it captures all income distributions and their reinvestment impact.

How to Calculate Your Stock's Total Return

Follow these steps to compute the complete return on any stock position, including the impact of reinvested dividends.

  1. Identify your purchase date and price. For historical positions, use your brokerage confirmation or cost basis report. Example: 200 shares purchased at $75.09 per share (split-adjusted). Total invested: $15,018.
  2. Enter the current or end price, and adjust for any splits. If the stock split after you bought it and your purchase price isn't already split-adjusted, enter the split ratio (2 for a 2-for-1 split, 0.5 for a 1-for-2 reverse split) — the calculator adjusts your share count and per-share cost basis automatically. Per the IRS, your total cost basis never changes in a split — only how it's divided across shares.
  3. Add any commissions or fees. Enter what you paid to buy and what you'll pay (or paid) to sell — even $0 at most modern brokerages, but relevant for older positions or fee-based accounts.
  4. Enter total dividends received OR an assumed annual yield. If you have exact dividend data from your brokerage 1099-DIV, enter the total received. If projecting forward, enter the current annual yield.
  5. Choose DRIP or cash dividends. Select "reinvest dividends" to simulate quarterly compounding into more shares. Select "cash" to model taking dividends as income instead. Run the calculator once each way to compare the two side by side — for most long-term accumulation investors, DRIP adds meaningfully to final wealth through automatic share accumulation, though the advantage depends on how the share price moves over the holding period.
  6. Specify your tax situation for the after-tax estimate. Enter your filing status, income, and whether you held long enough to qualify for long-term rates. Qualified dividends (domestic stocks held 60+ days) and long-term gains are taxed at 0/15/20% rates; short-term gains are taxed as ordinary income. This is an estimate — it doesn't include state tax or the Net Investment Income Tax, so verify with a tax professional before filing.
  7. Review your results. Outputs include:
    • Total dollar gain and total return percentage
    • Annualized return (CAGR)
    • Capital gain and dividend income broken out separately
    • Estimated tax on the sale and your after-tax gain
    • Real (inflation-adjusted) CAGR, using actual BLS CPI-U data for your specific holding period rather than an assumed rate
  8. Compare to a benchmark yourself. The calculator doesn't include a live index feed. Any given decade can run well above or below an index's long-run average — run your own numbers for the index over your exact holding period at a source like Slickcharts or your brokerage before concluding you under- or over-performed.

Understanding Your Stock Return Results

Stock return calculations reveal key insights about wealth creation, tax efficiency, and the real cost of different dividend strategies.

Price Return vs. Total Return — Why It Matters: A utility stock priced at $45 today that was $45 five years ago "went nowhere" in price terms — but if it paid $2.25/year in dividends (5% yield), the investor collected $11.25/share over five years, for a total return of 25% even with flat price. Overlooking dividend income causes investors to systematically underestimate returns on high-yield equities.

The Real Cost of Taking Dividends as Cash in Taxable Accounts: A 4% annual dividend yield on a $100,000 portfolio generates $4,000 in dividends and a federal tax bill of approximately $600 at the 15% qualified rate — every year. In a tax-deferred account (IRA, 401(k)), this tax drag disappears entirely, making high-dividend strategies far more efficient inside retirement accounts.

Sequence of Returns Effects: For accumulation-phase investors, DRIP is most powerful when prices are low, because each dividend buys more shares at a discount. For retirees spending dividends, dividend income partially funds spending without forcing share sales in down markets — naturally reducing sequence-of-returns risk.

Inflation-Adjusted (Real) Return: An investment returning 8% annually over 20 years appears to grow $10,000 to $46,610. But at 3% average inflation, the real purchasing power of $46,610 is only $46,610 / (1.03)^20 = $25,763 in today's dollars — a real CAGR of 4.86%, not 8%. The Federal Reserve's historical return data confirms that real returns are the only honest long-run performance benchmark.

Tax-Loss Harvesting Opportunity Identification: A stock 20% below cost basis after a market decline can be sold to realize the loss, generating a tax credit of (loss × tax rate). A $15,000 unrealized loss in the 15% LTCG bracket generates a $2,250 tax saving if harvested, while immediately reinvesting in a similar security maintains market exposure — subject to the 30-day wash-sale rule under IRS Publication 550.

Stock Return Optimization Strategies

  • Hold dividend-paying stocks in tax-deferred accounts. In a taxable account, a 3% dividend yield costs approximately 0.45% annually in federal taxes (at the 15% qualified rate). Moving dividend stocks into a traditional IRA or 401(k) eliminates this drag. Growth stocks with no dividends belong in taxable accounts — their returns defer until sale and qualify for LTCG rates. This "asset location" strategy improves after-tax returns by 0.5–1.0% annually.
  • Enroll in DRIP for all long-term holdings inside tax-advantaged accounts. Inside an IRA or 401(k), DRIP operates completely tax-free — dividends reinvest and compound without annual tax events. At 7% price growth + 2% yield, $100,000 grows to approximately $574,000 with full DRIP vs. $403,000 without over 20 years — a $171,000 difference driven by compounding alone.
  • Track cost basis meticulously after corporate actions. Stock splits, mergers, spin-offs, and return-of-capital distributions all adjust cost basis. A 2-for-1 split halves the per-share basis. Incorrect basis causes over- or under-reporting of capital gains on Form 8949. The IRS Publication 550 covers all cost basis adjustment rules for common corporate events.
  • Use CAGR, not absolute return, when comparing investments of different durations. A 50% total return is excellent over 3 years (CAGR: 14.5%) but mediocre over 10 years (CAGR: 4.1%). Always annualize before comparing. Compare a stock's CAGR with a broad index over the same dates — underperforming it over a decade means you would have done better with passive indexing.
  • Account for international withholding taxes on foreign dividends. Foreign dividends are typically subject to 15–30% withholding before reaching U.S. investors. The foreign tax credit (Form 1116) can offset this against U.S. taxes owed. Crucially, this credit is unavailable inside tax-deferred accounts — foreign dividend stocks may be most efficiently held in taxable accounts where the credit fully offsets the withholding cost.
  • Use the calculator before selling to compare LTCG vs. ordinary income rates. Selling one day before the one-year holding threshold converts a favorable 15% LTCG rate to a 22–37% ordinary income rate on the same gain. On a $50,000 gain, the difference between 15% and 22% is $3,500 in extra taxes — simply by waiting a few more days. The IRS Topic 409 details the holding period rules for capital gains treatment.

Frequently Asked Questions About Stock Returns

What is total return vs. price return for stocks?

Price return measures only the change in share price. Total return includes both price appreciation and all dividend income — including dividends reinvested into additional shares via DRIP. Dividends have historically made up a substantial share of broad-market total returns over long periods. A portfolio tracker showing only price change significantly understates actual investment performance and distorts decision-making. Always use total return when evaluating stocks, ETFs, or mutual funds.

What is a good average annual stock return?

A good return depends on the risk taken and the period measured; broad stock indexes have historically beaten inflation over long periods, but any single decade can be far above or below the long-run average. Individual stocks vary enormously: some compounds at 30%+ annually for a decade; others destroy capital. Benchmarking against the index is the clearest performance test.

How are stock dividends taxed?

Qualified dividends — from domestic corporations on shares held 60+ days — are taxed at preferential long-term capital gains rates of 0%, 15%, or 20% depending on your income. Non-qualified dividends (from REITs, some foreign stocks, money market funds) are taxed as ordinary income up to 37%. Your brokerage's Form 1099-DIV shows qualified dividends in Box 1b. Inside an IRA or 401(k), all dividends grow tax-deferred (traditional) or tax-free (Roth), eliminating annual dividend taxation entirely.

Does dividend reinvestment always outperform taking dividends as cash?

Not always — it depends on market conditions and your personal situation. DRIP outperforms in flat or declining markets because each dividend buys more shares at lower prices, magnifying the recovery. In steadily rising markets, DRIP underperforms slightly compared to taking dividends and buying at a fixed schedule, because shares accumulate at increasingly higher prices. For investors who need income in retirement, taking dividends as cash is rational. For accumulators who don't need the income, DRIP provides automatic, cost-free share accumulation inside tax-advantaged accounts.

How do I calculate the after-tax return on a stock sale?

After-tax return = (Net Proceeds − Cost Basis) × (1 − Tax Rate) / Cost Basis. For long-term capital gains (held 12+ months), the rate is 0%, 15%, or 20% depending on total taxable income. In 2026, the 15% LTCG rate applies to single filers with taxable income between $49,450 and $545,500. On a $50,000 gain in the 15% bracket, tax is $7,500, leaving $42,500 net gain. This means a 100% gross gain translates to an 85% after-tax gain. Qualified dividends received during the holding period are taxed separately at the same LTCG rates per IRS Topic 409.