Stock Profit / Loss Calculator
See exactly what a trade made or lost. Enter your shares, your buy and sell price, and any fees — and get the net profit or loss in dollars, the return on the capital you put in, and the gain per share.
- Free, no signup
- Calculated in your browser, not on our servers
- Formula shown with your numbers
Your trade
Profit / loss
(57.00 − 50.00) × 100 − 0.00 = $700.00
Taxes aren't included. Sold short? Enter the cover price as the buy and the short sale as the sell. The dollars are right, and the % is on the cover cost.
For education and planning. Results are estimates that leave out taxes and may leave out fees and slippage. Not investment advice. Check the numbers against your broker before you trade.
Add this calculator to your site
Free for any blog, course or community. Paste this into your page's HTML.
<iframe src="https://stocksetups.com/embed/light/profit-loss-calculator" title="Profit / Loss Calculator" width="100%" height="980" style="border:0;max-width:760px" loading="lazy" allow="clipboard-write"></iframe>
<p style="font-size:13px">Profit / Loss Calculator by <a href="https://stocksetups.com/tools/profit-loss-calculator">StockSetups</a></p>How it works
Your profit on a stock trade is simple in principle — (sell price − buy price) × shares — but two things trip people up: fees and the difference between dollars and percent. This calculator nets out your commission/fees and shows both the raw dollar result and the return on capital, so a $700 gain on $5,000 (14%) doesn't look the same as a $700 gain on $50,000 (1.4%).
Return on capital is the number that lets you compare trades fairly. A big dollar win that tied up most of your account isn't necessarily a better trade than a smaller one that risked far less. Tracking the percent return — and pairing it with your risk on each trade — is how you tell a genuinely good trade from a lucky large position.
On StockSetups, every setup ships with an entry, stop and target, so before you ever take the trade you can drop those numbers in here (or into the position-size and risk/reward calculators) and know the math up front.
Frequently asked
How do you calculate profit on a stock?
Profit = (sell price − buy price) × number of shares, minus any commissions or fees. For example, 100 shares bought at $50 and sold at $57 is (57 − 50) × 100 = $700 gross, less fees.
What is return on capital?
Your net profit divided by the amount you invested, as a percent. It lets you compare trades of different sizes fairly — a $700 gain on $5,000 invested is a 14% return, while the same $700 on $50,000 is only 1.4%.
How do I calculate commission from stock trades?
Add the commission on the buy to the commission on the sell, plus any per-share or regulatory fees your broker lists. Enter that total as fees here and the net profit accounts for it.
Should I include fees and commissions?
Yes. Even with $0-commission brokers there can be regulatory, spread and slippage costs. Enter your total round-trip fees so the net profit reflects what actually lands in your account.
Use it with
Get daily signals & real-time alerts.
StockSetups scans ~12,300 US stocks & ETFs after every close and sorts every long setup into four ranked lanes — each with a trade plan — plus an always-on engine firing 35+ real-time intraday alerts. Free for 7 days, no credit card.
Start free — 7-day trial, no card →Free daily signals by email. Top 3 setups per lane after every close. No account needed.
Unsubscribe anytime · Privacy