Stocks

Stock Profit / Loss Calculator

Net P&L after commissions for a stock trade.

Loading calculator…

How the calculation works

Gross P&L is (exit − entry) × shares. Net P&L subtracts the commissions/fees you enter. Return on cost divides net P&L by (entry × shares + commissions) so fees reduce both profit and the capital base used for the percentage.

Formula & example

Net P&L = (exit − entry) × shares − commissions

200 shares $25 → $28.50 with $5 fees → gross $700, net $695.

Why use this calculator

Commission-free marketing still leaves spreads, SEC fees, and occasional commissions. Netting them prevents celebrating a gross winner that is flat or negative after costs.

When to use it

Use for round-trip stock or ETF trades when you care about net outcome after friction — planning or post-trade review.

Tips for accurate results

  • Include SEC/exchange fees if material.
  • Shorts: swap entry/exit accordingly.

FAQ

Does this handle short sales?

Enter the sell price as entry and buy-to-cover as exit, or invert the prices so (exit − entry) reflects your direction.

Related calculators