TIOmarkets

Forex Profit Loss Calculation: How to Work Out Net P&L

BY TIOmarkets

|December 2, 2026

Profit and loss in forex is the change in value of a currency position between its opening and closing prices, earned in the pair's quote currency and then converted into the currency of the trading account. A forex profit loss calculation therefore needs two prices, the position size, a conversion rate taken at the time of valuation and the costs of opening and holding the trade.

The article follows one position from order to account statement: the formula for long and short trades, the three conversion cases, and the spread, commission and swap that separate gross from net. It is written for traders who know what a pip is and want to reconcile their own figure with the platform's to the cent.

Forex Profit Loss Calculation: Why One Rate Is Not Enough

Three layers, applied in sequence, set the amount that reaches a trading account. The price result always arises in the quote currency, the second currency of the pair. An exchange rate then turns it into the account currency, and costs are deducted or credited along the way. Every calculation starts from the split between base and quote currency: a EUR/USD position makes or loses US dollars whether the account is held in dollars, euros or sterling.

Single-figure pip-value calculators compress the first two layers into one number, which holds only at the conversion rate used to compute it and says nothing about costs. Where the account currency differs from the quote currency, the relevant rate is the one prevailing when the result is valued, not the one at which the trade was opened.

The euro reference rate of the European Central Bank (ECB) for the US dollar was 1.0990 on 20 November 2026 and 1.0894 on 30 November 2026. Taken as entry and exit prices for illustration, a one-lot EUR/USD short makes 96 pips, or USD 960 before costs. In a sterling account, at the 30 November rate of 0.83490 pounds per euro, the same result is worth GBP 735.73. The two figures describe one outcome; the gap between them is the conversion layer. The move between those dates is history, not a reliable indicator of future results.

A long position over the same dates would have lost USD 960, or GBP 735.73. Because leverage permits exposure far larger than the deposit, it magnifies such a loss in the same proportion as it would a gain. A loss of that scale can accumulate within a few sessions and can absorb all the money a trader has deposited.

What Is Profit and Loss in a Forex Trade?

Profit and loss exists in two states, and figures drawn from different states do not reconcile. Floating P&L is the unrealised result of an open position, revalued with every quote at the price at which the position could be closed. Realised P&L is the result fixed at the close and booked to the balance. Either can be stated gross, as the price result alone, or net of spread, commission and swap; only the net figure in account currency matches the statement.

The distinction matters because of equity, the balance plus all floating P&L. Margin, the deposit required to keep positions open, is measured against equity, so an open loss reduces free margin and the margin level before any trade closes. A margin call flags the account at one level, while a stop out closes positions automatically at a lower one, converting floating losses into realised ones.

On the one-lot EUR/USD short from 1.0990, a price of 1.0894 gives floating P&L of USD 960 before costs, which is converted and added to equity. A renewed rise in EUR/USD would reduce it. Once the position closes, the converted amount less costs moves to the balance as realised P&L, and later movements in either rate no longer affect it.

Because floating losses pass straight into equity, a leveraged position moving against the trader erodes the margin level at a pace set by the position size, not by the deposit. Leverage magnifies losses as it magnifies gains. A run of adverse quotes can take an account from margin call to stop out quickly, and all the money deposited can be lost.

How Do You Calculate Profit on a Short Position?

The price result follows one formula, with the sign set by direction. For a long, P&L in the quote currency equals (close price − open price) × contract size × lots. For a short, the order reverses to (open price − close price) × contract size × lots, so a falling price gives a positive figure. The contract size of a standard lot is 100,000 units of the base currency, and for most pairs one pip is a move in the fourth decimal place, 0.0001.

Applied to EUR/USD at 1.0990 and 1.0894, the two versions are symmetrical. The long gives (1.0894 − 1.0990) × 100,000 × 1 = −USD 960. The short gives (1.0990 − 1.0894) × 100,000 × 1 = +USD 960. Each pip on one lot is worth 0.0001 × 100,000 = USD 10. The result is in dollars because the price is a number of dollars per euro: a dollar price difference multiplied by a quantity of euros leaves dollars.

Both prices are ECB euro reference rates, published for 29 currencies at around 16:00 CET each working day to reflect market conditions at 14:15 CET. They are averages of buying and selling rates, issued for information only and not intended for market transactions. They therefore suit an illustration but are not prices at which a position can be closed.

A live position is never valued at such an average. A long can be closed only by selling at the bid, the lower price, and a short only by buying at the ask, the higher price, so the convention is to mark each position at the side on which it could be exited. Marking at mid would overstate each open position by half the spread. The bid and ask price therefore enter the formula directly: a long opens at the ask and closes at the bid, and a short does the reverse.

The short formula also carries an asymmetry. A falling price cannot go below zero, but a rising price has no ceiling, so the price itself sets no limit on the loss on a short. Leverage magnifies that loss exactly as it would a gain; during a rally it can accumulate quickly and can take all the money deposited.

How to Convert Forex Profit to Account Currency

Conversion depends on where the account currency sits relative to the pair. If it is the quote currency, the formula's result is already in account currency. If it is the base currency, the quote-currency result is divided by the pair's own rate at valuation. If the account currency is neither the base nor the quote currency, a third rate linking quote and account currency is needed, as with USD/JPY in a GBP account or EUR/GBP in a USD account. A forex profit calculation for cross pairs follows the same rule: a cross currency pair is conventionally one without the US dollar, such as EUR/GBP, and it needs a third rate only when the account is held in neither of its currencies, so EUR/GBP in a GBP account needs none. Each case, along with the JPY-quoted pairs that change the pip size, carries a characteristic error:

What the chart or market showsThe approach traders use for itMain risk
Quote currency is the account currency (EUR/USD in a USD account)Price difference × units gives the account result directlyReading the gross figure as net before spread, commission and swap
Base currency is the account currency (EUR/USD in a EUR account, USD/JPY in a USD account)Quote-currency result divided by the pair's own rate at valuationDividing by the entry rate once the pair has moved
Neither is the account currency (EUR/GBP in a USD account)Result converted through a pair joining quote and account currency, such as GBP/USDMultiplying where the rate needs dividing, or using a stale rate
Quote currency is JPY (USD/JPY, EUR/JPY, GBP/JPY)Pip of 0.01, so one lot moves JPY 1,000 per pip before conversionApplying the 0.0001 pip size, understating the result by a factor of 100

Whether to multiply or divide follows from how the conversion pair is quoted. If it states account currency per unit of quote currency, the result is multiplied; if it states the reverse, the result is divided. EUR/USD quotes dollars per euro, so a EUR/USD result in a EUR account is divided: USD 960 ÷ 1.0894 = EUR 881.22 at the 30 November reference rate.

A USD/JPY result in a USD account is the same base-currency case. One pip on one lot is 0.01 × 100,000 = JPY 1,000, which at a USD/JPY rate of 160.00 equals USD 6.25. A 50-pip gain of JPY 50,000 therefore converts into USD 312.50.

The cross-pair case needs the third rate. A 40-pip EUR/GBP gain on one lot is GBP 400. In a USD account it is multiplied by GBP/USD, which quotes dollars per pound. The 30 November reference rates of 1.0894 dollars and 0.83490 pounds per euro imply GBP/USD of about 1.30483, so the result is GBP 400 × 1.30483 = USD 521.93.

The conversion rate is a second market price, moving independently of the trade. A trader long EUR/GBP in a USD account is therefore also exposed to GBP/USD, and a pip value computed at entry drifts for as long as the position stays open. The effect is symmetrical: an adverse conversion enlarges a loss in account currency, just as a favourable one enlarges a gain.

That exposure adds to the risk of the trade; it does not diversify it. Under leverage, a quote-currency loss is already magnified relative to the deposit, as a gain would be. An adverse conversion rate can deepen it further, losses of this kind can mount quickly, and the whole deposit can be lost.

Worked Example: Calculating Forex P&L Step by Step

The example follows a trader with a sterling account who trades one lot of EUR/USD, then one lot of USD/JPY. Reconciling any closed trade with the account takes six steps:

  1. Take the price difference between close and open, reversing the sign for a short so that a price fall shows as a gain.
  2. Multiply the lots by the contract size to obtain the position in units of the base currency.
  3. Multiply the price difference by the units to obtain the gross result in the quote currency.
  4. Find the rate joining the quote currency to the account currency at valuation, then multiply or divide according to how it is quoted.
  5. Deduct commission, add or deduct swap and, where mid prices were used, deduct the spread, all in account currency.
  6. Compare the net figure with the trade history and trace any residual to the prices or conversion rate used.

The procedure reproduces the platform's figure only when it uses the same fill prices and the same conversion rate; with reference rates or mid quotes, a residual remains.

In the profit case, the trader is short one lot from 1.0990 to 1.0894. Steps one to three give +0.0096 × 100,000 = +USD 960. Step four needs a pound-dollar rate. The 30 November reference rates imply GBP/USD of about 1.30483, quoted in dollars per pound, so the dollar result is divided: USD 960 ÷ 1.30483 = GBP 735.73.

In the loss case, a long at the same prices gives −USD 960 and, at the same conversion rate, −GBP 735.73. The magnitudes match only because both trades are converted on the same day. Closed on another date, the long would produce a different sterling loss for an identical pip count.

The question of how to calculate profit on JPY pairs affects only steps one and four. A long USD/JPY lot that rises by 0.50 yen moves 50 pips at a pip size of 0.01, and 0.50 × 100,000 = JPY 50,000. Neither currency is sterling, so a GBP/JPY rate is needed. The 30 November reference rates of 173.91 yen and 0.83490 pounds per euro imply about 208.30 yen per pound, and JPY 50,000 ÷ 208.30 = GBP 240.04 before costs.

Set side by side in sterling, the EUR/USD short and long give equal and opposite results of GBP 735.73, and the yen trade gives GBP 240.04, all before costs.

Column chart of the worked example in pounds: short EUR/USD +735.73, long EUR/USD -735.73, long USD/JPY +240.04, before costs.The same price move gives equal and opposite sterling results for a short and a long, while the yen trade comes to GBP 240.04.

Each variant moves several hundred pounds on a single lot, in either direction. Opened with leverage on a far smaller deposit, the position magnifies the loss case as fully as the profit case. Losses of that size can build within a single session and can wipe out the entire deposit.

Gross vs Net Profit on a Forex Trade

The spread, the difference between bid and ask, explains why a trade is negative as soon as it is opened. A long bought at the ask is marked at the bid, and a short sold at the bid is marked at the ask. Floating P&L therefore starts negative by the spread times the position size. On one lot of EUR/USD, each pip of spread is worth USD 10.

Commission per lot, where an account type charges it, is quoted per side or per round turn and scales with volume, not with the price move. A per-side charge is taken once on opening and again on closing. The way spreads, commissions and swaps combine differs across account types.

Swap is the overnight financing charge or credit applied when a position is held past the daily rollover. How swap affects forex profit and loss depends on direction and on the number of nights held. The swap rate is set separately for longs and shorts in the contract specification, so one side may be debited while the other is credited. In spot forex, a position held overnight on Wednesday incurs or earns two extra days of rollover interest, a triple swap, because of the weekend.

The example's cost figures are assumptions for illustration, not quoted market rates: a 1.0-pip spread, commission of USD 7 per lot round turn and a swap charge of USD 5 per day on the short. Opened on Friday 20 November and closed on Monday 30 November 2026, the position is held past six daily rollovers: 20, 23, 24, 25, 26 and 27 November. Wednesday 25 November carries the triple swap, so swap is charged for eight days. The USD 960 gross result loses USD 10 to the assumed spread, USD 7 to the assumed commission and USD 40 to the assumed swap, leaving a net profit of USD 903 before conversion. The EUR/USD move between those dates is history, and past performance is not a reliable indicator of future results.

Composition of a USD 960 gross result on one lot of EUR/USD short, 20 to 30 November 2026: USD 10 spread, USD 7 commission, USD 40 swap and USD 903 net profit.On the example's assumed costs, swap of USD 40 for eight days, including the Wednesday triple, is the largest deduction from the USD 960 gross result. Past performance is not a reliable indicator of future results.

On the same illustrative terms, with an assumed swap credit of USD 2 per day on the long side, eight days over the same dates would add USD 16, while spread and commission still apply: −USD 960 − USD 10 − USD 7 + USD 16 = −USD 961. Costs reduce a gain and deepen a loss, unless a swap credit partly offsets them.

Against a 96-pip move the costs are small, but they recur on every trade, whereas the price result can fall on either side of zero. A leveraged position carries them on its full size, so they add to losses that leverage magnifies just as it magnifies gains. Across a run of trades, those losses can build quickly and consume all the money deposited.

Price Move, Conversion Rate and Costs Compared

The three layers differ in size and frequency. On the one-lot EUR/USD short held from 20 to 30 November 2026 and valued at the 30 November reference rate of 1.0894, the price move produced EUR 881.22 (USD 960) and the example's assumed costs EUR 52.32 (USD 57). The conversion effect, the difference between valuing USD 960 at the 20 November rate of 1.0990 and at the 30 November rate, came to EUR 7.70. That is less than 1% of the price result and about one-seventh of those assumed costs. The price move dominates a single trade, costs recur on every trade, and the conversion effect scales with the result and with the move in the conversion pair.

USD 960 converts into EUR 873.52 at the 20 November rate and into EUR 881.22 at the 30 November rate. A yen result shows the same mechanism on a smaller scale: JPY 50,000 is EUR 286.78 at 174.35 yen per euro on 20 November and EUR 287.51 at 173.91 yen on 30 November.

Paired bars of the ECB USD per euro reference rate: 1.0990 on 20 November and 1.1205 on 22 October, against 1.0894 on 30 November 2026 in both cases.The euro bought fewer dollars on 30 November than on 20 November or 22 October, so a dollar result converts into more euros. Source: European Central Bank, 30 November 2026 Past performance is not a reliable indicator of future results.

Over a longer holding period the effect widens. At the 22 October rate of 1.1205, USD 960 converts into EUR 856.76, which is EUR 24.46 less than at 30 November. These rates, like the November ones, are history and not a reliable indicator of future results.

Each shift in conditions acts through one channel, appears on one line of the statement and can be confirmed against one piece of data:

ConditionChannelFigure on the statement that changesData that confirms it
If the account currency strengthens against the quote currency before valuationEach unit of quote currency converts into less account currencyConverted profit or loss; the quote-currency result is unchangedThe conversion pair's rate at close
If the account currency weakens against the quote currencyEach unit of quote currency converts into more account currencyConverted profit or loss, larger for gains and losses alikeThe conversion pair's rate at close
If the position is held for more nightsSwap accrues per night, with a triple charge or credit on WednesdaySwap entry and net P&LSwap rate in the contract specification
If the spread widens at the open or the closeThe fill sits further from midOpen or close price, and so the price resultFill prices in the trade history

Between 20 and 30 November 2026, the conversion layer moved the result by EUR 7.70, less than the assumed spread and commission combined at EUR 15.60 (USD 17 at 1.0894). Between 22 October and 30 November 2026, it moved the result by EUR 24.46, more than those two assumed costs. Conversion alters the size of a result but not its sign, whereas costs can turn a small gross gain into a net loss.

With leverage, every layer is computed on the full position. A loss is magnified exactly as a gain would be, can grow quickly when the price and the conversion rate move against the trader together, and can exhaust all the money deposited.

Common Profit and Loss Calculation Mistakes

Each slip that separates a manual figure from a statement belongs to one of the three layers, and can be traced there:

  • Pip value from entry, not exit. A pip value computed at the open assumes the conversion rate has not moved, whereas the booked figure uses the rate at valuation.
  • Ignoring the conversion side. Multiplying by a rate quoted as quote currency per unit of account currency inverts the conversion.
  • Mixing bid and ask. Valuing a long at the ask or a short at the bid, or using mid prices without deducting the spread, overstates the result.
  • Forgetting the JPY pip size. Treating a yen pip as 0.0001 rather than 0.01 shrinks the result by a factor of 100.
  • Counting pipettes as pips. A pipette is the fractional pip shown by quotes with an extra decimal place; reading it as a full pip inflates the move.
  • Omitting swap and commission. A gross figure will not reconcile with a net statement, and the gap widens with holding period and volume.

A miscalculated yen trade shows how two of these slips compound. A trader long one lot of USD/JPY records a 50-pip rise, applies a pip of 0.0001 and obtains 0.0050 × 100,000 = 500, read as USD 500. Correcting the pip size gives 0.50 × 100,000 = JPY 50,000. Correcting the currency means dividing by USD/JPY: at 160.00, the result is USD 312.50, or 50 pips at USD 6.25. The original figure was wrong by a factor of 100 in yen, then mislabelled in dollars.

An error of this size matters most when it shapes a trader's view of what is at stake. Under leverage, an understated loss is still magnified on the full position, just as a gain would be. It can build faster than the faulty figure suggests and can take all the money deposited.

Conclusion

A forex result is earned in the quote currency and becomes account-currency money only through a second exchange rate at the time of valuation, after spread, commission and swap. A single pip value conceals that rate and those costs, which is why a trader's figure and the statement can disagree while both are arithmetically sound. Reconciliation rests on three sources: the trade history for fill prices, commission and swap, the contract specification for contract size and swap rates, and the conversion pair's rate at close.

The calculation explains a result after the event and makes the next one no more predictable, and reference rates or mid prices always leave a residual against executable prices. Its value lies in separating exposure to price, to a second currency and to time in the market. Each exposure is carried on the full leveraged position, so losses are magnified as well as gains, can build quickly through both the pair and the conversion rate, and can amount to all the money deposited.

Symbols in this article

Trade EUR/USD and USD/JPY with TIOmarkets

Take your position on global markets via CFDs. Enjoy tight spreads, fast execution, and fast, flexible funding options.

Trading is risky

FAQ

  • How do you calculate profit and loss in forex?

  • What currency is forex profit paid in?

  • Why is my trade negative as soon as I open it?

  • Does the exchange rate at close change my profit?

  • Is commission included in forex profit?

Risk disclaimer: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money. Never deposit more than you are prepared to lose. Professional client’s losses can exceed their deposit. Please see our risk warning policy and seek independent professional advice if you do not fully understand. This information is not directed or intended for distribution to or use by residents of certain countries/jurisdictions including, but not limited to, USA & Countries included in the OFAC sanction list. The Company holds the right to alter the aforementioned list of countries at its own discretion.

TIOmarkets offers an exclusively execution-only service. The views expressed are for information purposes only. None of the content provided constitutes any form of investment advice. The comments are made available purely for educational and marketing purposes and do NOT constitute advice or investment recommendation (and should not be considered as such) and do not in any way constitute an invitation to acquire any financial instrument or product. TIOmarkets and its affiliates and consultants are not liable for any damages that may be caused by individual comments or statements by TIOmarkets analysis and assumes no liability with respect to the completeness and correctness of the content presented. The investor is solely responsible for the risk of his/her investment decisions. The analyses and comments presented do not include any consideration of your personal investment objectives, financial circumstances, or needs. The content has not been prepared in accordance with any legal requirements for financial analysis and must, therefore, be viewed by the reader as marketing information. TIOmarkets prohibits duplication or publication without explicit approval.

Join us on social media

Social Media
Social Media
Social Media
Social Media
Social Media
Social Media
Social Media
Social Media
Authors BIO
TIOmarkets
TIOmarkets

Behind every blog post lies the combined experience of the people working at TIOmarkets. We are a team of dedicated industry professionals and financial markets enthusiasts committed to providing you with trading education and financial markets commentary. Our goal is to help empower you with the knowledge you need to trade in the markets effectively.