Profit & Loss Calculator
Calculate your potential profit or loss for any trade, including leveraged positions.
Free — no signup, no ads, instant results
Inputs
Results
Profit / Loss
+$100.00
ROI
+10.00%
P&L with 1x Leverage
+$100.00
ROI with Leverage
+10.00%
Who Is This For?
Traders who want to quickly calculate the profit or loss on a trade before or after execution. Works for stocks, forex, crypto, and futures with optional leverage.
Calculating Trading P&L
Understanding your potential profit and loss before entering a trade is fundamental to good risk management. This calculator shows both the dollar amount and percentage return of any trade.
When using leverage, both profits and losses are amplified. A 10x leveraged position turns a 1% price move into a 10% gain or loss on your margin. Always factor leverage into your risk calculations.
Combine this with the Position Size Calculator and GrandAlgo indicators for a complete trade planning workflow. See also our guide on managing leverage in prop firm challenges.
P&L Formulas
Spot P&L: P&L = (Exit Price - Entry Price) × Position Size
With leverage: P&L = (Exit Price - Entry Price) × Position Size × Leverage
Return on investment: ROI = P&L / Initial Investment × 100
For short positions, reverse the entry and exit prices in the formula. A short trade profits when the exit price is lower than the entry price.
How to Use This Calculator
1. Enter entry and exit prices
Input the price at which you entered (or plan to enter) the trade and the price at which you exited (or plan to exit).
2. Enter position size
Input the number of units or contracts in your position. For crypto, this is the number of coins. For stocks, the number of shares.
3. Enter leverage
Set leverage to 1x for spot trades with no leverage. For margin or futures trades, enter your actual leverage multiplier.
4. Read P&L in dollar terms and as ROI percentage
The calculator displays your profit or loss in absolute dollars and as a percentage return on your invested capital.
Worked Example
Step 1: Buy 500 shares at $25, sell at $27.50.
Step 2: Profit = (27.50 - 25) × 500 = $1,250.
Step 3: With 5x leverage on $2,500 margin.
Result: ROI = $1,250 / $2,500 = 50%.
Assumptions & Edge Cases
- Does not include commissions, fees, or overnight swap charges.
- Leverage calculation assumes no margin call during the trade.
- For forex, use the Pip Value Calculator for more precise results.
Frequently Asked Questions
Subtract entry price from exit price and multiply by position size. For leveraged positions, multiply the result by leverage. For short trades, subtract exit from entry. This gives you gross P&L — subtract commissions and fees for net P&L.
Leverage multiplies both profits and losses by the same factor. A 2% price move with 10x leverage produces a 20% return on your margin — or a 20% loss. Leverage does not change your P&L in absolute dollar terms if the position size stays the same; it changes how much capital you need to hold the position.
Return on Investment measures your profit as a percentage of the capital deployed. If you invest $1,000 and make $150, your ROI is 15%. For leveraged trades, ROI is calculated on the margin posted, not the total position value, which is why leveraged returns appear amplified.