Skip to content

Stocks calculator

Stock Return Calculator

Calculate total return, capital gains, and annualized returns for stock investments. Analyze your investment performance with dividends included.

Educational use only. Not financial advice. Results are estimates. Trading involves risk. Read full disclaimer.

Understanding your investment returns is essential for evaluating performance and making informed decisions. This calculator helps you determine your total return, capital gains, dividend yield, and annualized return for stock investments. Whether you're analyzing a completed trade or evaluating an ongoing position, this tool gives you a clear picture of your investment performance.

Stock Return Calculator

Results

Total Return

$+1,000.00

Total Return %

+20.00%

Capital Gain

$+1,000.00

Capital Gain %

+20.00%

0

Estimates only.

How to Use This Calculator

  1. Enter purchase price: The price per share when you bought the stock.
  2. Enter sale price: The price per share when you sold (or current price if still holding).
  3. Enter number of shares: How many shares you bought.
  4. Enter dividends (optional): Total dividends received during the holding period.
  5. Enter holding period (optional): Number of years you held the stock for annualized return calculation.
  6. Review results: See total return, capital gain, dividend yield, and annualized return.

Formula

Initial Investment = Purchase Price × Shares

Final Value = Sale Price × Shares

Capital Gain = Final Value - Initial Investment

Capital Gain % = (Capital Gain ÷ Initial Investment) × 100

Total Return = Capital Gain + Dividends

Total Return % = (Total Return ÷ Initial Investment) × 100

Dividend Yield = (Dividends ÷ Initial Investment) × 100

Annualized Return = ((1 + Total Return %) ^ (1 ÷ Years)) - 1) × 100

Common Mistakes to Avoid

  • Forgetting about dividends: Many investors only look at price appreciation, but dividends can significantly boost total returns, especially for dividend-paying stocks.
  • Not accounting for commissions: Trading fees reduce your actual return. If you paid $10 to buy and $10 to sell, subtract $20 from your total return.
  • Comparing apples to oranges: Don't compare a 6-month return to a 5-year return without annualizing. Use annualized returns to compare investments with different holding periods.
  • Ignoring taxes: Pre-tax returns look better than after-tax returns. Factor in capital gains taxes and dividend taxes when evaluating real performance.

Frequently Asked Questions

What is total return?

Total return includes both capital gains (price appreciation) and dividends. It's the complete picture of your investment performance. For example, if you bought a stock at $50, sold it at $60, and received $2 in dividends, your total return is $12 ($10 capital gain + $2 dividends).

What's the difference between capital gain and total return?

Capital gain is the profit from selling the stock at a higher price than you bought it. Total return includes capital gains plus any dividends you received. If you're comparing investments, total return gives you the complete picture of performance.

How do I calculate annualized return?

Annualized return shows what your return would be on an annual basis, accounting for the holding period. If you held a stock for 2 years and made 20%, your annualized return is approximately 9.5% (not 10% per year). The calculator does this automatically when you enter your holding period.

What is dividend yield?

Dividend yield is the percentage return from dividends alone, calculated as (Total Dividends ÷ Initial Investment) × 100. If you invested $5,000 and received $250 in dividends, your dividend yield is 5%. This is separate from capital gains.

Can I use this for multiple purchases?

This calculator is designed for a single purchase and sale. For multiple purchases at different prices, you'd need to calculate each separately or use a weighted average purchase price. For complex scenarios, consider using a portfolio tracking tool.

What if I haven't sold the stock yet?

You can use the current market price as the sale price to see your unrealized gains. This shows you what your return would be if you sold today. Keep in mind that prices can change, so this is just a snapshot in time.

How do taxes affect my return?

This calculator shows pre-tax returns. Your actual after-tax return depends on your tax bracket, how long you held the stock (short-term vs long-term capital gains), and whether dividends were qualified. Always consult a tax professional for tax-related questions.

What's a good return on stocks?

Historical stock market returns average around 7-10% annually over long periods. However, individual stock returns can vary widely. A good return depends on your goals, risk tolerance, and time horizon. Compare your returns to relevant benchmarks like the S&P 500.

Related Tools