AI CalculatorAI Calculator

    Stock Return Calculator

    Calculate stock investment returns

    Result

    $2,700.00

    Total Return (54.00%)

    Capital Gain

    $2,500.00

    Dividends

    $200.00

    Cost Basis

    $5,000.00

    How It Works

    Overview

    A stock return calculator measures how much money you actually made on a stock position by combining capital gains (the change in share price) and dividends (cash payouts received while holding). The result, expressed as both a dollar figure and a percentage of your cost basis, is the standard way to evaluate the full economic outcome of a single trade.

    The percentage return shown here is the total return on cost — it does not annualize across years. For a multi-year position you'll want to also calculate CAGR or IRR to see the annualized rate. This calculator is most useful for evaluating completed positions, comparing trades, and figuring out tax-relevant numbers like capital gain and total proceeds.

    The Formula

    Total Return = (Sale Proceeds − Cost Basis) + Dividends Received

    Where:

    • Cost Basis = Buy Price × Number of Shares (+ commissions, if any)
    • Sale Proceeds = Sell Price × Number of Shares (− commissions)
    • Dividends = total cash dividends paid during the holding period
    • Capital Gain = Sale Proceeds − Cost Basis (can be negative)
    • % Return = Total Return / Cost Basis × 100

    If you reinvested dividends into more shares, those shares are part of your current holdings — you'd include their sale proceeds in the calculation rather than counting the dividends as cash. Either approach gives the same total return; just don't double-count.

    Worked Example

    Suppose you bought 50 shares of a stock at $100 each, sold them later at $150 each, and collected $200 in dividends along the way:

    • Cost basis: 50 × $100 = $5,000
    • Sale proceeds: 50 × $150 = $7,500
    • Capital gain: $7,500 − $5,000 = $2,500
    • Dividends: $200
    • Total return: $2,500 + $200 = $2,700
    • % return: $2,700 / $5,000 = 54%

    Note how dividends added 4 percentage points — modest in a single trade, but significant if you held for years and reinvested. Over a 20-year holding period, a 2% dividend yield reinvested can almost double the final value compared to price-only return.

    When to Use This

    • Reviewing closed trades — see what each position actually returned, not just the price chart.
    • Tax preparation — separates capital gain (Schedule D) from dividend income (Schedule B) for US filers.
    • Comparing strategies — was the high-dividend stock a better trade than the growth stock once everything is included?
    • Performance attribution — split your gain into how much came from price appreciation versus dividends.
    • Investor education — illustrate to a beginner why dividends shouldn't be ignored in stock picking.

    Common Mistakes to Avoid

    • Forgetting dividends. A stock that traded sideways for 5 years but paid 4% dividends actually returned ~22% — easy to miss if you only look at price.
    • Ignoring taxes. A 50% pre-tax return becomes about 42.5% after a 15% long-term capital gains tax. After-tax return is what funds your goals.
    • Not annualizing. A 50% total return is excellent in 1 year, average in 5 years, mediocre in 10. Pair this calculator with CAGR for context.
    • Skipping commissions and spreads. Even with $0 commissions, bid-ask spreads on small caps can cost 1–2% per round trip.
    • Comparing to the wrong benchmark. A single stock's 30% return looks great until you notice the S&P 500 returned 35% in the same period.

    Frequently Asked Questions