· 5 min read
How to Calculate Net Profit on a Stock Trade
Heshan Fernando
Co-founder & COO
A trade’s raw price difference — buy at one price, sell at a higher one — feels like the profit, but the real number is smaller once trading fees on both the buy and sell sides get subtracted out. It’s an easy detail to skip when eyeballing a trade’s outcome, but fees on both legs of a trade can meaningfully eat into what looked like a solid gain on paper.
Getting the actual net profit, not just the gross price difference, matters for honestly evaluating whether a trade — or a broader trading strategy — is genuinely working.
What goes into an accurate stock profit calculation
Net profit on a trade is the sell value minus the buy value, minus fees paid on both the purchase and the sale — not just the difference between buy and sell price per share. Share count matters as a multiplier across the whole calculation, since fees and price differences scale with how many shares were actually traded. Return on investment (ROI) expresses that net profit as a percentage of the original amount invested, which is often a more useful comparison figure than a raw dollar profit, since it lets you compare trades of very different sizes on equal footing.
Fees specifically are the detail most likely to get glossed over in a rough mental calculation — a trade that looks like a solid percentage gain based on price alone can look meaningfully less impressive once both buy-side and sell-side fees are actually subtracted out.
Why people get stuck here
- Fees on both sides of a trade are easy to forget when doing quick mental math. Only accounting for the price difference, without subtracting buy-side and sell-side fees, overstates the actual profit.
- Raw dollar profit doesn’t tell you how a trade compares to others of different sizes. Without converting to ROI, it’s hard to fairly compare a large trade’s profit against a smaller trade’s profit on the same footing.
- Share count as a multiplier is sometimes applied inconsistently. Getting the math right across price difference, fees, and share count together, rather than mixing up per-share and total figures, takes careful, consistent calculation.
- People sometimes evaluate a trade’s success by price movement alone, without factoring in the real cost of trading. A trade that “made money” on price movement can still be a weaker outcome once fees are properly subtracted.
What a good stock profit calculator looks like
Accounts for fees on both the buy and sell sides
Since fees on both legs of a trade meaningfully affect the real outcome, a calculator that only considers price movement misses a genuine part of the actual profit picture.
Converts the result into both dollar profit and ROI
Showing both figures together lets you evaluate a single trade’s outcome and fairly compare it against other trades of different sizes.
Handles share count as a real multiplier across the whole calculation
Correctly scaling price difference and fees by share count avoids the mixing-up of per-share and total figures that’s easy to get wrong doing quick mental math.
Common mistakes to avoid
- Calculating profit from price difference alone, forgetting to subtract fees paid on both the buy and sell sides of the trade.
- Comparing raw dollar profits across trades of different sizes without converting to ROI for a fair, like-for-like comparison.
- Mixing up per-share and total figures when manually calculating across price difference, fees, and share count together.
- Judging a trade’s success purely by price movement without factoring in the real cost of the fees involved in executing it.
How to do it with Stock Profit Calculator
Online Tool Store’s Stock Profit Calculator calculates net profit and ROI for a stock trade, including buy/sell prices, share count, and trading fees, entirely in your browser.
- Enter your buy price, sell price, and share count.
- Enter the trading fees for both the buy and sell sides.
- Review the calculated net profit and ROI.
- Use the fee-adjusted numbers to honestly evaluate the trade.
Because it accounts for fees on both sides and converts to both dollar profit and ROI, you get an honest, comparable picture of a trade’s real outcome, not just a raw price-difference estimate.
Frequently asked questions
Why does my calculated profit look smaller than just the price difference suggested?
Because trading fees on both the buy and sell sides get subtracted from the raw price difference to arrive at the actual net profit — a trade that looks like a solid gain based on price alone is often smaller once real fees are factored in.
Why is ROI a more useful figure than raw dollar profit?
ROI expresses profit as a percentage of the amount invested, which lets you fairly compare trades of very different sizes on equal footing, rather than comparing raw dollar amounts that don’t account for how much capital was actually put in.
Does share count really matter much for the calculation?
Yes — both the price difference and the fees scale with share count, so getting this multiplier right across the whole calculation is necessary for an accurate total, not just a per-share estimate.
Final thought
A stock trade’s real profit is smaller than the raw price difference once fees on both sides are honestly subtracted out. Calculate the net number and its ROI, and evaluate your trades on the real outcome, not the optimistic gross figure.