A stock that rises $15 a share feels like a win, but the real profit depends on how many shares you bought and what the broker took in commissions. Enter your buy and sell prices, share count and commissions above, and the calculator shows your true profit or loss, the percentage return, and the break-even price.
How stock profit is calculated
Profit is not just (sell price − buy price) × shares. Commissions come off both ends:
Proceeds = (sell price × shares) − sell commission
Profit = proceeds − total cost
Return % = profit ÷ total cost × 100
Example: buy 100 shares at $50 with a $5 commission, sell at $65 with a $5 commission. Total cost is $5,005, proceeds are $6,495, so the profit is $1,490 and the return is 29.77%. Ignoring the $10 of commissions would overstate the gain.
Why commissions matter more than you think
On large trades commissions are rounding error, but on small or frequent trades they dominate. Compare a 10-share trade of the same stock:
| Shares | Gross gain | Commissions | Net profit | Return |
|---|---|---|---|---|
| 100 | $1,500 | $10 | $1,490 | 29.77% |
| 10 | $150 | $10 | $140 | 27.45% |
| 10, $0 commission broker | $150 | $0 | $150 | 30.00% |
This is why frequent small trades at full-service brokers were wealth destroyers, and why zero-commission brokers changed the game for retail investors. Always include every fee the broker charges: commissions, regulatory fees and any account fees tied to the trade.
The break-even price
The break-even sell price is the price at which you neither gain nor lose after all costs:
In the example: ($5,005 + $5) ÷ 100 = $50.10. Any sale above $50.10 locks in a profit; anything below locks in a loss. Knowing this number before you trade keeps hope from masquerading as a plan.
Percentage return vs dollar profit
Dollars pay bills, but percentages let you compare trades fairly. A $1,490 profit on a $5,005 investment (29.77%) is a far better trade than a $2,000 profit on a $50,000 investment (4%). Professionals judge every position by return on capital, and you should too, especially when deciding whether an active trade beat simply holding an index fund. Annualizing the return makes comparisons even sharper: 30% in three months is a very different achievement than 30% over three years.
What this calculator doesn’t include
The result is pre-tax. In the US, gains on assets held one year or less are taxed as ordinary income (short-term capital gains), while longer holds get preferential long-term rates. Dividends received while holding the stock, stock splits, and the bid-ask spread are also outside the calculation. For tax planning, keep records of every buy and sell price plus commissions: your broker’s year-end statement is the authoritative source.
Frequently asked questions
How do I calculate profit on a stock trade?
Subtract the total cost (buy price × shares + buy commission) from the proceeds (sell price × shares − sell commission). Divide by the total cost and multiply by 100 for the percentage return.
What counts as a good return on a stock?
The long-run US stock market returns roughly 7–10% per year after inflation. A single trade beating that annualized is solid; anything consistently above it is exceptional. Compare against a benchmark like the S&P 500 over the same period.
Do trading commissions really matter?
On small trades, absolutely: $10 of commissions on a $500 trade is a 2% hurdle before you make a cent. On large trades they fade into the background. Zero-commission brokers removed the issue for most retail trades.
What is the break-even price of my trade?
The sell price where profit equals zero after all costs: (total cost + sell commission) ÷ shares. The calculator shows it for every trade you enter.
Are stock profits taxed?
Yes, in most countries. In the US, short-term gains (held one year or less) are taxed as ordinary income; long-term gains get lower preferential rates. Losses can offset gains, and up to $3,000 of net losses can offset ordinary income per year.
Should dividends count in my return?
Yes, for a complete picture. Total return equals price appreciation plus dividends received. This calculator focuses on the trade itself; add dividends to the proceeds mentally if you held through payout dates.
References
Investor education: Investor.gov — U.S. SEC. Background: Stock — Investopedia, Capital gains tax in the United States — Wikipedia.
