Trade P&L Calculator
Quickly calculate the profit or loss on any completed long or short trade.
Trading Fees (optional)
Fee Type
For educational purposes only. Not financial advice.
More Free Calculators
Frequently Asked Questions
How do you calculate profit or loss on a stock trade?
Long trade: Net P&L = (Exit Price − Entry Price) × Shares − Total Fees. Short trade: Net P&L = (Entry Price − Exit Price) × Shares − Total Fees.
Example (long): bought 200 shares at $50.00, sold at $53.50, $5 round-trip commission → Gross P&L = $3.50 × 200 = $700, Net P&L = $700 − $5 = $695. This calculator handles both long and short trades, applies fees automatically, and shows gross vs. net results side by side.
What is the difference between gross P&L and net P&L in trading?
Gross P&L is the price difference times shares, before any fees. Net P&L deducts commissions, exchange fees, and platform charges.
The distinction matters most for frequent traders and small-profit trades. A $30 gross profit on a 100-share trade evaporates with a $15 round-trip commission. Always evaluate your trading edge on net P&L — many apparent strategies disappear once commissions are properly accounted for, especially in high-frequency scalping where individual trade profits are small.
How do broker fees reduce a trade's return percentage?
Fee drag percentage = Total Fees ÷ (Entry Price × Shares) × 100. On a $5,000 position ($50 entry × 100 shares) with a $5 round-trip fee: fee drag = 0.10%. The stock must move 0.10% just to break even.
For scalp traders targeting $0.05–$0.10 moves on 500 shares ($25–$50 gross P&L), a $5 commission eats 10–20% of gross profit. This calculator shows the fee drag percentage automatically so you can evaluate whether your intended target move is large enough to cover costs.
How is profit calculated on a short trade differently than a long trade?
On a short trade you sell borrowed shares at the entry price and buy them back (cover) at the exit price. Profit per share = Entry − Exit. A short at $55 covered at $51 = +$4/share profit. A short at $55 covered at $59 = −$4/share loss.
Unlike a long trade where maximum loss is capped at your invested capital, short trade losses are theoretically unlimited because the stock price can rise without a ceiling. The calculator flips the formula automatically when you select the Short direction.
How do you calculate return on investment (ROI) for a single trade?
Trade ROI = Net P&L ÷ Capital Deployed × 100, where Capital Deployed = Entry Price × Shares for cash accounts.
Example: $500 net profit on a $10,000 position = 5% trade ROI. For leveraged trades, ROI on deployed capital overstates returns relative to your actual account equity — a $500 profit on a $10,000 leveraged position backed by only $5,000 in margin is a 10% return on equity. Use account equity as the denominator for consistent performance measurement across leverage levels.
Is it possible to have a winning trade direction but still lose money?
Yes — when fees exceed gross profit. Example: stock moves $0.03 in your favor on 300 shares = $9 gross profit, but your round-trip fee is $10 → net P&L = −$1. You correctly predicted price direction but paid more in commission than you earned on the move.
This 'fee loser' scenario is common in scalping with flat per-trade fees on small share counts or tiny price targets. Solutions: switch to per-share pricing, target larger moves, increase share count, or use a zero-commission broker for small-lot trades.
