Stock Return Calculator

Calculate stock investment profit or loss, total return percentage, and annualized return including dividends and fees.

Note

Important Financial Disclaimer

This calculator provides estimates based on standard financial formulas from verified references. Results are for informational and educational purposes only and should not be considered as professional financial, investment, or tax advice.

For important financial decisions such as loans, investments, mortgages, retirement planning, or tax matters, please consult with qualified financial advisors, certified financial planners, or licensed tax professionals who can review your specific situation.

Calculations may not account for all variables specific to your circumstances, local regulations, or current market conditions. Always verify results and consult professionals before making financial commitments.

Not a substitute for professional financial advice

Enter Details

$
$
$
$
$

Total Return

$5,000.00

Profit of 50.00%

📈Return %
+50.00%
📅Annualized Return
+50.00%
💵Total Invested
$10,000.00
💰Total Value
$15,000.00

Transaction Breakdown

Purchase (100 shares @ $100)$10,000.00
Total Cost= $10,000.00
Sale (100 shares @ $150)$15,000.00
Net Proceeds= $15,000.00
Net Return$5,000.00

What Is a Stock Return?

A stock return measures the total gain or loss on a share investment relative to the original amount invested. It captures two distinct sources of profit: capital appreciation (the change in share price from purchase to sale) and income from dividends paid while you held the position. Understanding your actual return—after accounting for brokerage commissions on both sides of the trade—gives you an honest picture of investment performance.

Most investors focus on the raw dollar gain or loss, but the percentage return is far more useful because it enables direct comparison across investments of different sizes and time periods. A $500 gain on a $1,000 investment is far better than the same $500 gain on a $50,000 investment. The stock return calculator on this page computes both figures automatically.

Professional investors go one step further and look at the annualized return, which translates a multi-year holding period into an equivalent yearly growth rate. A 50% cumulative return over five years sounds impressive, but the annualized equivalent is roughly 8.45% per year—useful context when comparing to index fund benchmarks or bond yields.

This free stock return calculator handles all three outputs—total dollar return, percentage return, and annualized (CAGR-style) return—and lets you factor in dividends received and brokerage fees paid on both the buy and sell side for a fully realistic net result.

Stock Return Formulas

The calculator uses the following sequence of formulas, applied in order. Every field you enter feeds directly into these equations.

Step 1 — Total Amount Invested

Total Invested = (Buy Price × Shares) + Buy Fees

This is your true cost basis: the cash that left your account when you opened the position.

Step 2 — Total Amount Received

Total Received = (Sell Price × Shares) + Dividends − Sell Fees

This is every dollar that came back to you: sale proceeds plus any dividends collected during the holding period, minus the commission paid to close the trade.

Step 3 — Total Return in Dollars

Total Return = Total Received − Total Invested

Step 4 — Return Percentage

Return % = (Total Return / Total Invested) × 100

Step 5 — Annualized Return (CAGR)

Annualized Return = ((1 + Return% / 100) ^ (1 / Years) − 1) × 100

This is equivalent to the Compound Annual Growth Rate (CAGR) formula and represents the constant yearly return that would produce the same cumulative result over the holding period.

Annualized Stock Return (CAGR)

Annualized Return = ((1 + Return% / 100)^(1 / Years) − 1) × 100

Where:

  • Return%= (Total Received − Total Invested) / Total Invested × 100
  • Total Invested= Buy Price × Shares + Buy Fees
  • Total Received= Sell Price × Shares + Dividends − Sell Fees
  • Years= Holding period in years (can be fractional)

Understanding Each Input

Getting accurate results from the stock return calculator depends on entering each field correctly. Here is what each input means and where to find the numbers.

Input What to Enter
Buy Price per Share The price you paid per share, not including fees. Check your brokerage confirmation or trade history.
Sell Price per Share The price at which you sold each share. For a hypothetical projection, enter your target exit price.
Number of Shares Total shares bought and sold in the same position. Fractional shares are supported.
Dividends Received Total cash dividends collected during the entire holding period (not per share). Leave at $0 if none.
Buy Fees / Commission Total brokerage commission or platform fee paid at purchase. Many modern brokers charge $0, but some charge per-trade fees.
Sell Fees / Commission Total brokerage fee paid at sale. Deducted from proceeds.
Holding Period (Years) Time between purchase and sale in years. Use decimals for partial years (e.g., 0.5 for six months, 2.25 for 27 months).

If your broker uses foreign currency, convert all amounts to the same currency before entering values. The calculator works in any currency as long as all inputs are consistent.

Why Annualized Return Matters

The annualized return—sometimes called the CAGR (Compound Annual Growth Rate)—is arguably the single most useful number produced by this stock profit calculator. Here is why it matters more than the raw percentage in most situations.

Consider two investments: Investment A returned 30% in 18 months; Investment B returned 20% in 10 months. Investment A looks better on a headline basis, but when you annualize both, Investment B actually delivered a higher yearly rate of return (~24% vs ~20% annualized). Without annualizing, comparing investments held for different lengths of time is misleading.

The annualized return also lets you benchmark against well-known reference points. The S&P 500 has historically delivered roughly 10% per year on average before inflation (approximately 7% after inflation). If your stock returned 6% annualized over five years, you underperformed the index. If it returned 15%, you outperformed significantly. These comparisons are only meaningful when time periods are normalized.

Keep in mind that annualized return does not account for taxes on capital gains or dividends, which can significantly reduce your real after-tax return. It also does not adjust for inflation. For a complete financial picture, consider your after-tax, inflation-adjusted return when comparing equity investments to bonds, real estate, or savings accounts.

For very short holding periods (under one year), the annualized figure can appear extreme. A stock that gains 5% in a single week annualizes to over 1,000%. This is mathematically correct but should be interpreted with caution—it assumes compounding at that rate all year, which rarely happens in practice.

How Fees Affect Your Stock Investment Return

Brokerage commissions and trading fees might seem trivial, but they have a measurable impact on investment returns, especially for smaller positions or frequent traders. The stock return calculator lets you model exactly how much fees cost you in percentage terms.

On a $1,000 investment with a $9.99 buy commission and a $9.99 sell commission, you are starting $19.98 in the hole—roughly a 2% drag before your stock has moved at all. That means your stock must rise at least 2% just to break even. For active traders making many trades per year, fee drag compounds into a serious headwind.

Modern zero-commission brokers (available in the US for most equity trades) have eliminated this friction for many retail investors. However, fees still appear in other forms: exchange fees embedded in spreads, currency conversion charges for international stocks, per-contract options commissions, and annual management fees for ETFs or mutual funds. This calculator focuses on explicit buy/sell commissions and is best suited for individual stock trades.

A useful rule of thumb: if your total fees (buy + sell) exceed 0.5% of your invested capital, reconsider whether the trade is cost-effective relative to your expected holding period and return. Short-term trades in small positions are especially vulnerable to fee erosion.

Worked Examples

Simple Growth Stock — No Fees, No Dividends

Problem:

You bought 50 shares of a tech stock at $120 per share and sold them 2 years later at $180 per share. No dividends were paid and no brokerage fees were charged.

Solution Steps:

  1. 1Total Invested = $120 × 50 + $0 = $6,000
  2. 2Total Received = $180 × 50 + $0 − $0 = $9,000
  3. 3Total Return = $9,000 − $6,000 = $3,000
  4. 4Return % = ($3,000 / $6,000) × 100 = 50.00%
  5. 5Annualized Return = (1 + 0.50)^(1/2) − 1 = 1.2247 − 1 = 22.47% per year

Result:

Total profit of $3,000 (50% total return, 22.47% annualized over 2 years).

Dividend-Paying Stock With Brokerage Fees

Problem:

You bought 200 shares at $45.00 each, paying a $9.99 buy commission. Over 3 years you received $360 in total dividends. You then sold all 200 shares at $52.50 each, paying a $9.99 sell commission.

Solution Steps:

  1. 1Total Invested = $45.00 × 200 + $9.99 = $9,000 + $9.99 = $9,009.99
  2. 2Total Received = $52.50 × 200 + $360 − $9.99 = $10,500 + $360 − $9.99 = $10,850.01
  3. 3Total Return = $10,850.01 − $9,009.99 = $1,840.02
  4. 4Return % = ($1,840.02 / $9,009.99) × 100 = 20.42%
  5. 5Annualized Return = (1 + 0.2042)^(1/3) − 1 = 1.0641 − 1 = 6.41% per year

Result:

Net profit of $1,840.02 (20.42% total, 6.41% annualized over 3 years).

Loss Scenario — Stock Declined

Problem:

You bought 100 shares at $75.00 per share (no fees) and sold them 1.5 years later at $60.00 per share. You received $150 in dividends during the holding period.

Solution Steps:

  1. 1Total Invested = $75.00 × 100 + $0 = $7,500
  2. 2Total Received = $60.00 × 100 + $150 − $0 = $6,000 + $150 = $6,150
  3. 3Total Return = $6,150 − $7,500 = −$1,350
  4. 4Return % = (−$1,350 / $7,500) × 100 = −18.00%
  5. 5Annualized Return = (1 − 0.18)^(1/1.5) − 1 = (0.82)^(0.6667) − 1 = 0.8774 − 1 = −12.26% per year

Result:

Net loss of $1,350 despite dividends (−18.00% total, −12.26% annualized). The dividend income partially offset the capital loss but was not enough to prevent an overall loss.

Short-Term Trade — 6 Months

Problem:

You bought 300 shares at $25.00 each, held for 0.5 years, and sold at $28.50 each. No dividends, no fees.

Solution Steps:

  1. 1Total Invested = $25.00 × 300 = $7,500
  2. 2Total Received = $28.50 × 300 = $8,550
  3. 3Total Return = $8,550 − $7,500 = $1,050
  4. 4Return % = ($1,050 / $7,500) × 100 = 14.00%
  5. 5Annualized Return = (1 + 0.14)^(1/0.5) − 1 = (1.14)^2 − 1 = 1.2996 − 1 = 29.96% per year

Result:

Profit of $1,050 (14.00% total). The annualized rate of 29.96% reflects the rapid pace of gains relative to the short holding period.

Tips & Best Practices

  • Use fractional years in the holding period field (e.g., 1.5 for 18 months) to get a more accurate annualized return for non-round holding periods.
  • Always include dividends received for a complete picture—over long holding periods, dividends can account for a significant portion of total stock market returns.
  • Benchmark your annualized return against a relevant index (S&P 500, Nasdaq 100) to evaluate whether you are beating or lagging the market.
  • For zero-commission brokers, leave buy and sell fee fields at $0—but remember that bid-ask spreads on thinly traded stocks can act like a hidden transaction cost.
  • To calculate a break-even sell price, experiment with different sell prices until the total return shows $0—useful for planning exit strategies.
  • If you entered a holding period of 0, the annualized return will show N/A. Always enter at least a small positive holding period (e.g., 0.01 years) if you want a projected annualized rate for a very recent trade.
  • For multi-lot purchases at different prices, calculate the weighted average buy price first: total cost divided by total shares.
  • Remember that past returns do not guarantee future performance. Use this calculator for analysis and planning, not prediction.

Frequently Asked Questions

Total return is the overall percentage gain or loss from start to finish, regardless of how long you held the investment. Annualized return (CAGR) converts that total return into an equivalent yearly rate, making it easy to compare investments held for different time periods. For example, a 50% total return over 2 years equals roughly 22.47% annualized, while the same 50% total return over 5 years equals only about 8.45% per year.
Yes, dividends are a real component of your total investment income and should always be included for an accurate return calculation. Ignoring dividends understates performance, especially for dividend-focused stocks or long holding periods. This calculator has a dedicated 'Dividends Received' field where you enter the total cash dividends collected across the entire holding period. Reinvested dividends (DRIP) are more complex to model and are not automatically handled here.
Brokerage fees increase your effective cost basis (buy fees add to total invested) and reduce your net proceeds (sell fees subtract from total received), both of which directly reduce your return percentage. Even seemingly small fixed commissions of $10 per trade can create a 1–2% drag on a small position. The calculator deducts sell fees from proceeds and adds buy fees to your cost so your final return % is the true net-of-fees figure.
Absolutely. To project a potential return, simply enter your current share price or target sell price in the 'Sell Price per Share' field. The calculator will show you your unrealized gain or loss as if you sold today at that price. This is useful for setting profit targets, evaluating stop-loss levels, or modeling scenarios before you decide to exit a position.
A negative annualized return means your investment lost value on a yearly basis over the holding period. For instance, −12% annualized means your portfolio shrank by approximately 12% per year on average. It is important to note that even if dividends partially offset a price decline, your overall return can still be negative if the capital loss exceeds the income received, as shown in Example 3 above.
Yes—when applied to a single lump-sum investment with no intermediate cash flows, the annualized return formula used here is mathematically identical to CAGR. It measures the steady compounding rate that would turn your initial investment into the final value over the specified number of years. The formula is: CAGR = (End Value / Start Value)^(1/Years) − 1, which is equivalent to the formula this calculator uses.
No—the calculator computes pre-tax returns. Tax treatment on stock gains depends on your country of residence, your income bracket, and whether the gain is classified as short-term (typically held under one year in the US) or long-term. In the US, long-term capital gains rates are 0%, 15%, or 20% depending on taxable income, while short-term gains are taxed as ordinary income. Consult a tax professional for personalized after-tax return analysis.

Sources & References

Last updated: 2026-06-05

💡

Help us improve!

How would you rate the Stock Return Calculator?

Sources

  • Reserve Bank of India (RBI) — Financial regulations, lending rates, and monetary policy guidelines. rbi.org.in
  • Consumer Financial Protection Bureau (CFPB) — Consumer finance guidelines, mortgage and loan disclosure standards. consumerfinance.gov
  • Securities and Exchange Board of India (SEBI) — Investment and securities market regulations. sebi.gov.in
  • Investopedia — Financial formulas, definitions, and educational content. investopedia.com

For a complete list of all references used across the site, visit our full sources page.

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Fundamentals of Financial Management

by Brigham & Houston

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.