Tools
Profit/Loss Calculator — how much will I make or lose?
Dollar P/L, percent return, cost basis, and exit value from entry, exit, share count, and optional fees. Planning only — not financial advice.
Quick answer
Profit or loss = (Exit − Entry) × Shares − Fees. Example: 100 shares, buy $50, sell $55 → $500 gross before fees, about 10% return on the $5,000 entry cost.
Definition
P/L = (Exit − Entry) × Shares − Fees
Result
Enter prices and shares, then tap “Calculate profit / loss”.
When should you use it?
- •Planning a trade and estimating outcomes at different exit prices.
- •Comparing exit scenarios before you scale out or move stops.
- •Journaling completed trades with dollar and percent context.
- •Building intuition for how share count amplifies small price moves.
How it works
- 1
Enter prices
Use your buy (or planned buy) price and sell (or planned sell) price per share.
- 2
Set quantity
Enter share count. Fractional shares are allowed if your broker supports them.
- 3
See results
We show net P/L, return on cost basis, per-share P/L, and gross exit value.
Example
Scenario: Buy 50 shares of MSFT at $420.00, sell at $445.50 (fees $0 for simplicity).
Math: Per share = $445.50 − $420.00 = $25.50. Total = $25.50 × 50 = $1,275.00.
Result: About $1,275 profit on $21,000 cost → roughly 6.07% return. Exit value $22,275.
Frequently asked questions
For a simple long: multiply the price change per share (exit − entry) by the number of shares, then subtract commissions and fees. That is your net P/L in dollars.
Quick reference table
| Entry | Exit | Shares | Profit | Return |
|---|---|---|---|---|
| $50 | $55 | 100 | $500 | 10.0% |
| $120 | $132 | 50 | $600 | 10.0% |
| $200 | $240 | 25 | $1,000 | 20.0% |
| $75 | $70.50 | 40 | −$180 | −6.0% |
| $150 | $180 | 50 | $1,500 | 20.0% |
Swing trades that work out often play out over multiple sessions — but time in the trade does not change the P/L formula. Taxes depend on jurisdiction and holding period; this page is not tax advice.
Related tools
Related guides
Last updated: April 2026
FX13: AI Trading Signals offers free calculators and educational pages for traders and investors. Nothing here is personalized investment advice. Trading involves risk of loss. © 2026 Rakhimboy Rozmetov. FX13: AI Trading Signals
Operator: Rakhimboy Rozmetov. Questions? See Support.
