Stock Return Calculator
Calculate stock investment profit or loss, total return percentage, and annualized return including dividends and fees.
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%
Transaction Breakdown
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)
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:
- 1Total Invested = $120 × 50 + $0 = $6,000
- 2Total Received = $180 × 50 + $0 − $0 = $9,000
- 3Total Return = $9,000 − $6,000 = $3,000
- 4Return % = ($3,000 / $6,000) × 100 = 50.00%
- 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:
- 1Total Invested = $45.00 × 200 + $9.99 = $9,000 + $9.99 = $9,009.99
- 2Total Received = $52.50 × 200 + $360 − $9.99 = $10,500 + $360 − $9.99 = $10,850.01
- 3Total Return = $10,850.01 − $9,009.99 = $1,840.02
- 4Return % = ($1,840.02 / $9,009.99) × 100 = 20.42%
- 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:
- 1Total Invested = $75.00 × 100 + $0 = $7,500
- 2Total Received = $60.00 × 100 + $150 − $0 = $6,000 + $150 = $6,150
- 3Total Return = $6,150 − $7,500 = −$1,350
- 4Return % = (−$1,350 / $7,500) × 100 = −18.00%
- 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:
- 1Total Invested = $25.00 × 300 = $7,500
- 2Total Received = $28.50 × 300 = $8,550
- 3Total Return = $8,550 − $7,500 = $1,050
- 4Return % = ($1,050 / $7,500) × 100 = 14.00%
- 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
Sources & References
Last updated: 2026-06-05
Help us improve!
How would you rate the Stock Return Calculator?
Related Calculators
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.
Formula Source: Fundamentals of Financial Management
by Brigham & Houston