The stock profit calculator gives you the exact net profit or loss on any stock trade after accounting for broker commissions. Simply enter your buy price, sell price, number of shares, and commission fees on both sides of the trade — the calculator instantly shows your gross profit, total commission cost, net profit, return on investment (ROI), and percentage gain or loss. Use this before every trade to set realistic profit targets and after every trade to accurately track your performance.
This free stock profit calculator works directly in your browser — no download, no registration, and no delay. All calculations are performed client-side, so your trading data is never transmitted to a server.
The formula used is: Net Profit = (Sell Price − Buy Price) × Shares − Total Commission | ROI = Net Profit ÷ Total Cost × 100. This is the same formula used by professional traders and institutional risk managers worldwide.
Supported asset classes include: Stocks. Each asset class applies the correct unit conventions so results are always accurate regardless of the market you are trading.