How to Calculate Trade Profit (Stocks, Crypto & Futures)
A clear, worked guide to calculating trade profit and loss — including fees, percentage return, and the difference between long and short positions.
Educational content, not financial advice. Trading involves risk — always verify figures and consult a professional before trading.
Working out the profit on a trade sounds trivial — sold price minus bought price — but the version that matters is your net profit, after commissions, and your percentage return, which is what actually tells you whether the trade was any good. This guide covers both, for long and short positions, across stocks, crypto and futures.
The basic formula
For a long position (you buy first, hoping the price rises):
Gross profit = (exit price − entry price) × quantity
Multiply the per-share gain by how many shares (or units, or contracts) you held. Then subtract fees to get your net profit:
Net profit = gross profit − fees
A worked example
Say you buy 100 shares at $10 and sell at $12, paying $15 in total commissions (entry + exit):
- Cost basis = 100 × $10 = $1,000
- Proceeds = 100 × $12 = $1,200
- Gross profit = $1,200 − $1,000 = $200
- Net profit = $200 − $15 = $185
Your Trade Profit Calculator does this instantly — type the four numbers and the net P&L, percentage return, cost and proceeds update live.
Percentage return is the number that matters
A $185 profit means little without context. Divide it by the capital you put at risk — your cost basis — to get the return:
Return % = net profit ÷ cost basis × 100
Here: $185 ÷ $1,000 = 18.5%. Percentage return lets you compare a $185 win on a $1,000 trade against, say, a $185 win on a $10,000 trade (1.85%). Same dollars, very different quality.
Short positions: the sign flips
When you short, you sell first and buy back later, profiting when the price falls. The formula mirrors the long case:
Gross profit (short) = (entry price − exit price) × quantity
Short 100 shares at $12, cover at $10: (12 − 10) × 100 = +$200. If the price rises instead, you lose. The profit calculator handles the sign automatically via the Long / Short toggle, so you never have to remember which way it goes.
Crypto and futures differ in the details
- Crypto trades in fractional units and tiny prices. Buying 0.25 BTC or 1,000,000 of a meme coin works the same way — quantity can be a decimal.
- Futures use a contract multiplier. One E-mini S&P 500 contract is worth 50 × the index, so a 10-point move on 2 contracts is 10 × 2 × 50 = $1,000, not $20. Set the multiplier so dollar P&L is correct.
Why fees change the picture
Most quick profit calculators ignore commissions, which quietly overstates your results. On small or frequent trades, fees can turn a “winner” into a net loss. If your gross profit was $200 but you paid $250 in round-trip costs, you actually lost $50. Always check your true break-even price before assuming a trade is in profit.
All the costs that eat into “profit”
Commissions are the obvious one, but several costs quietly shrink your real P&L. Account for the ones that apply to you:
- Commissions — per-trade or per-contract fees. Many stock brokers are now $0, but futures and options still charge per contract.
- The spread — you usually buy at the ask and sell at the bid. On illiquid names or wide-spread crypto pairs, this hidden cost can exceed commissions.
- Slippage — the gap between your expected fill and your actual fill, especially on market orders in fast conditions.
- Exchange / regulatory fees — small per-share or per-contract charges.
- Financing / borrow — overnight funding on leveraged or short positions.
Roll the ones you can quantify into the fees field so the net number reflects reality, not a best case.
Realized vs. unrealized profit
A position showing ”+$500” on your screen is unrealized — it isn’t yours until you close the trade and lock it in (realized). Unrealized gains swing with every tick and can evaporate. When you plan, calculate against the price you’d actually exit at, not the current quote, and treat open profit as a moving target rather than money in the bank.
A quick note on taxes
Profit on your trades is generally taxable, and how it’s taxed often depends on your holding period — many jurisdictions tax short-term trades (held briefly) at a higher rate than long-term holdings. This calculator shows your pre-tax trading profit; your after-tax result will be lower. Tax rules vary by country and situation, so treat the figures here as gross and consult a tax professional for your own circumstances. (This is general information, not tax advice.)
Common profit-calculation mistakes
- Forgetting the round trip. Fees apply on the way in and out — budget for both, not just the entry.
- Confusing dollars with percentage. A big dollar gain on a big position can be a small percentage return; judge trades on % against cost basis.
- Using the wrong futures multiplier. Skipping the multiplier understates futures P&L by the contract size — often 50× or more.
- Counting unrealized gains as profit. It’s not profit until it’s closed.
Key takeaways
- Net profit = (exit − entry) × quantity − fees; flip the sign for shorts.
- Percentage return (net ÷ cost basis) is how you compare trades fairly.
- Futures need a contract multiplier; crypto needs fractional quantities.
- Fees matter — include them, or your numbers lie to you.
Next steps
- Run the numbers in the Trade Profit Calculator.
- Find the exit you need for a target gain with the Target Price Calculator.
- See your true break-even price once fees are included.