Forex Profit & Loss Calculator
A forex profit/loss calculator converts a trade's entry and exit prices into pips and money. The core method: Profit = (Close − Open) × Units for a buy, or (Open − Close) × Units for a sell, where Units = lots × lot multiplier × the pair's contract size. Raw profit lands in the quote currency, then converts to your account currency.
- Buy profit = (Close − Open) × Units; sell profit reverses to (Open − Close) × Units. Units = lots × lot multiplier (standard 1, mini 0.1, micro 0.01, nano 0.001) × the pair's contract size.
- Pips moved = price difference ÷ pip size (0.0001 for most pairs, 0.01 for JPY pairs). A 50-pip EUR/USD move on 1 standard lot = $500.
- Raw P&L is denominated in the pair's quote currency. If your account currency equals the quote it needs no conversion; if it equals the base, divide by the exchange rate; otherwise (a cross) the tool shows P&L only in the quote currency.
- Optional ROI = (Profit ÷ Account Size) × 100, so a $500 profit on a $10,000 account is 5%.
- When a trade is a loss, the tool also shows the breakeven price needed to recover, and results cover lots, mini, micro, nano, and metals like XAU/XAG with correct contract sizes.
Calculate your trade's profit or loss in pips and in your account currency before you enter — or after you exit.
Trade Log
How to Use the Profit/Loss Calculator
Select Your Currency Pair
Choose the forex pair from the dropdown. All major, minor, exotic pairs, and metals are available with the correct pip sizes applied automatically.
Choose Buy or Sell
Select whether your trade is a buy (long) or sell (short). This determines how profit and loss are calculated — buy profits when price rises, sell profits when price falls.
Enter Open & Close Prices
Input your entry price and exit price. You can use this before a trade to estimate outcomes at different price targets, or after a trade to log actual results.
Set Your Position Size
Enter the number of lots and select the lot type. Toggle to "By Position Value" if you prefer to enter the total units directly (e.g. 50,000 units).
Review Results & Save
Results update in real time. You can optionally enter your account size to see ROI percentage. Click "Save Trade" to log the result to your browser's local storage for future reference.
Understanding Forex Profit & Loss
In forex trading, profit and loss are determined by the direction of your trade and the price movement between your entry and exit. Unlike stocks where you only profit when prices rise, forex allows you to profit in both directions — buying when you expect prices to rise and selling when you expect them to fall.
Your actual monetary profit depends on three factors: the size of the price move (measured in pips), the size of your position (measured in lots or units), and the pip value for that specific pair and lot size. A 50-pip move is meaningless on its own — it could represent $5 or $5,000 depending on your position size.
The quote currency of the pair determines what currency your raw profit is denominated in. If you trade EUR/USD, your profit is in USD. If you trade EUR/GBP, your profit is in GBP. When your account is in a different currency, an additional conversion step is needed — this is why exchange rates matter for accurate profit calculations.
Key Concept
Profit in pips is universal and easy to compare across trades. Profit in currency depends on position size. Always think in terms of risk-to-reward ratio rather than raw pip counts when evaluating trade quality.
Profit Formula Explained
Buy (Long) Trade
Sell (Short) Trade
Worked Example: Buy EUR/USD
Buy 1 standard lot at 1.0800, close at 1.0850
Profit = (1.0850 − 1.0800) × 1 × 100,000 = 0.0050 × 100,000 = $500 USD
Pips = 0.0050 ÷ 0.0001 = +50 pips
Worked Example: Sell USD/JPY
Sell 1 standard lot at 150.00, close at 149.50
Profit = (150.00 − 149.50) × 1 × 100,000 = 0.50 × 100,000 = ¥50,000
Convert to USD: ¥50,000 ÷ 150.00 = $333.33 USD
Pips = 0.50 ÷ 0.01 = +50 pips
Pips Calculation
A positive result means pips gained for a buy trade. For a sell, the formula reverses (Open − Close). The calculator handles this direction automatically.
Long vs Short — How Profits Work in Both Directions
Buy (Long)
You profit when the price rises above your entry. The higher it goes, the more you make. Your maximum loss occurs if the price drops to zero (theoretically).
Sell (Short)
You profit when the price falls below your entry. The lower it goes, the more you make. Your loss is theoretically unlimited since price can rise indefinitely.
In forex, going long means buying the base currency and selling the quote currency. Going short means selling the base currency and buying the quote currency. Both directions are equally accessible in the forex market — there are no restrictions on short selling like there can be in equities.
The calculation is symmetrical: a 50-pip gain on a buy trade and a 50-pip gain on a sell trade produce the same profit for the same lot size. The only difference is the direction of the price movement that generates that profit.
Common Mistakes When Calculating Forex Profits
Forgetting the Spread
The spread is a hidden cost. When you buy, you enter at the ask but pip movement is measured from the bid. Your real entry is effectively worse by the spread amount. A 2-pip spread on a 20-pip trade target means you actually need 22 pips of movement.
Ignoring Swap/Rollover Fees
Holding positions overnight incurs swap charges (or credits). On multi-day trades, swap fees can meaningfully reduce your net profit, especially on exotic pairs with high interest rate differentials.
Wrong Account Currency Conversion
A $500 profit in quote currency is not $500 in your account if your account is in EUR or GBP. Always convert to your account currency for accurate P&L tracking.
Confusing Lot Sizes
50 pips on a micro lot ($0.10/pip) = $5 profit. The same 50 pips on a standard lot ($10/pip) = $500. Always confirm you're calculating with the correct lot size.
Not Accounting for Slippage
In volatile markets, your actual fill price may differ from your intended price. Factor in 1-3 pips of potential slippage when estimating profits on market orders.
Frequently Asked Questions
-
For a buy trade: Profit = (Close Price − Open Price) × Lot Size × Contract Size. For a sell trade, reverse the prices: (Open − Close) × Lots × Contract Size. The result is in the quote currency of the pair. Convert to your account currency using the current exchange rate if they differ.
-
Pips measure the size of a price movement. Profit is the monetary result of that movement applied to your position size. A 50-pip gain with 1 standard lot of EUR/USD equals $500 profit, but the same 50 pips with a micro lot equals only $5. Pips are universal; profit depends on how much you're trading.
-
Pips = (Close Price − Open Price) ÷ Pip Size. For most pairs, pip size is 0.0001, so a move from 1.0800 to 1.0850 equals 50 pips. For JPY pairs where pip size is 0.01, a move from 150.00 to 149.50 equals 50 pips. The sign (positive or negative) depends on your trade direction.
-
With leveraged trading, losses can theoretically exceed your deposit. However, most regulated brokers in the EU, UK, and Australia now offer negative balance protection, which prevents your account from going below zero. Regardless, you should always use stop-loss orders and proper position sizing to manage risk. Never trade without a predefined maximum loss.
-
Leverage lets you control a larger position with less capital but it doesn't change the pip value or the raw profit calculation. What it does change is the return relative to your margin. With 1:100 leverage, a 1% price move equals a 100% gain or loss on your margin deposit. This magnification works equally in both directions — amplifying profits and losses identically.
-
ROI (Return on Investment) measures your trade's profit as a percentage of your total account size. The formula is: ROI = (Profit ÷ Account Size) × 100. For example, a $500 profit on a $10,000 account equals 5% ROI. This metric helps you evaluate trade performance relative to your capital, making it easier to compare results across different account sizes.
-
For a sell trade, swap the price order: Profit = (Open Price − Close Price) × Units. You profit when the price falls below your entry. If you sell EUR/USD at 1.0850 and buy it back at 1.0800, you gained 50 pips. With 1 standard lot, that is $500 profit. If the price rises instead, the same calculation produces a negative result — a loss.
-
Yes, the spread is an implicit transaction cost. When you open a buy trade, you pay the ask price but the market mid-price is lower. Your trade immediately starts at a small loss equal to the spread. A 1.5-pip spread on a standard lot costs $15 upfront. This calculator shows raw profit based on prices entered — subtract your broker's spread for a more realistic estimate.
Compare Top Forex Brokers
Trading CFDs carries significant risk of loss. Broker information is for comparison purposes only.

