Key Takeaways
- Stock Net Profit measures your real dollar return after subtracting both purchase costs and all trading commissions/fees:
Net Profit = Net Proceeds - Total Initial Investment. - Return on Investment (ROI %): Quantifies your percentage gain or loss relative to total capital deployed:
ROI% = (Net Profit / Total Initial Investment) × 100. - Break-Even Price: The exact minimum share price needed to cover purchase cost plus both buy and sell commissions without incurring a loss.
- Commissions & Trading Fees: Even small flat fees or trading percentages can turn a marginal price increase into a net cash loss on smaller positions.
- Supports capital gains tax calculations, dividend distributions, and long vs. short trade modeling.
How to Calculate Stock Profit and Return on Investment (ROI)
Calculating your true profit or loss on a stock trade requires evaluating both the investment side (your cost basis) and the revenue side (your net proceeds). Many novice investors make the mistake of looking only at the difference between the buy and sell share prices, overlooking brokerage transaction fees, exchange regulatory fees, and taxes that diminish net returns.
The Investment Side (Cost Basis)
Total Purchase Cost = Shares × Buy PriceTotal Initial Investment = Total Purchase Cost + Buy Commission- This total represents the actual cash out of your pocket on day one.
The Revenue Side (Exit Proceeds)
Gross Sale Revenue = Shares × Sell PriceNet Sale Proceeds = Gross Sale Revenue - Sell Commission- This is the net cash deposited back into your brokerage account upon exiting.
The Core Stock Profit Formulas
| Metric | Formula | Example (100 shares @ $50 buy, $65 sell, $5 fee each way) |
|---|---|---|
| Total Initial Investment | (Shares × Buy Price) + Buy Fee |
(100 × $50) + $5 = $5,005.00 |
| Net Sale Proceeds | (Shares × Sell Price) - Sell Fee |
(100 × $65) - $5 = $6,495.00 |
| Gross Profit | Shares × (Sell Price - Buy Price) |
100 × ($65 - $50) = $1,500.00 |
| Net Profit (Pre-Tax) | Net Proceeds - Total Initial Investment |
$6,495.00 - $5,005.00 = $1,490.00 |
| Return on Investment (ROI %) | (Net Profit / Total Investment) × 100 |
($1,490 / $5,005) × 100 = 29.77% |
| Break-Even Share Price | (Total Purchase Cost + Total Fees) / Shares |
($5,000 + $10) / 100 = $50.10 |
Gross Profit vs. Net Profit: Why Fees Matter
Gross profit shows the pure paper gain between your exit and entry prices. Net profit is the actual cash profit remaining after paying your broker and clearing exchange fees.
Consider buying 10 shares of a stock at $20 and selling at $21. Your gross profit is 10 × $1.00 = $10.00. However, if your brokerage charges $6.95 commission to buy and $6.95 to sell ($13.90 total fees), your net result is $10.00 - $13.90 = -$3.90. Even though the stock rose 5%, you experienced a net cash loss of $3.90. This calculator automatically computes your break-even selling price so you know exactly where profitable territory begins.
Accounting for Taxes and Dividends
- Dividend Income: If you held shares through an ex-dividend date, total dividend cash received should be added directly to your net trade profit, boosting your overall ROI.
- Short-Term vs. Long-Term Capital Gains: In many jurisdictions (including the United States), stocks held for one year or less are taxed at ordinary income rates (up to 37%), whereas shares held for longer than one year qualify for preferential long-term capital gains tax rates (0%, 15%, or 20%). Use the Advanced Options panel above to factor in estimated capital gains taxes.
Frequently Asked Questions (FAQ)
Net Profit = (Shares × Sell Price - Sell Fee) - (Shares × Buy Price + Buy Fee).
Break-Even = (Total Purchase Cost + Total Fees) / Shares.
Pro Tip: Bookmark this page (Ctrl+D / Cmd+D) for quick one-click access whenever you need fast, accurate calculations on the go!