The Stock Profit Formula
To find your net profit, use the formula:
((Sell Price - Buy Price) × Shares) - Commissions - Taxes.
Many investors forget to include the "round-trip" commission (buying and selling fees), which can eat into small margins.