Quick calculator

Forex Profit & Loss Calculator

Calculate a buy or sell trade's directional pips, position pip value and gross P&L from entered prices and quantity. The result is converted once into account currency; if you enter a total trading cost, the calculator also shows gross P&L less exactly that amount. It models a hypothetical or completed interval, not future profit.

Manual trade inputs Instrument metadata Three governed models

Trade inputs

Describe one completed or hypothetical price interval.

Entered

Supplies pip size, quote currency and stored standard contract size.

The currency used for the primary gross P&L result.

Trade direction

A buy gains when the closing price is above the opening price; a sell reverses that relationship.

The entry or opening fill used in this estimate.

The exit, target or closing fill used in this estimate.

Position-size input

Fractional lot counts are accepted.

Multiplier applied to the selected instrument's standard contract.

Enter one nonnegative account-currency total only if known. Do not enter price effects already represented by your opening and closing fills a second time.

ROI = gross account-currency P&L divided by this account size.

Trade P&L estimate

Derived with Pip Pricing, Trade P&L and Basket P&L models 1.0.0.

Derived
Complete the required inputs Enter the opening and closing prices, position size and any cross-currency rate shown.
Next: record the completed tradeKeep the estimate separate from your broker statement and actual costs.
Trade Journal

How forex profit and loss is calculated

The signed price move depends on direction. It is multiplied by the position quantity to produce gross P&L in the instrument's quote currency, then converted once into the selected account currency. Costs are a separate optional account-currency input.

Buy move = Closing price - Opening price
Sell move = Opening price - Closing price
Gross quote P&L = Signed price move x Position quantity
Directional pips = Signed price move / Pip size
Position pip value = Pip size x Position quantity x Quote-to-account rate
Gross account P&L = Gross quote P&L x Quote-to-account rate
Gross less entered costs = Gross account P&L - Entered total costs

Worked example: EUR/USD P&L and entered costs

Buy one standard lot from 1.0800 to 1.0850The signed move is 0.0050 ÷ 0.0001 = 50 pips. For 100,000 units, one pip is USD 10 and the move produces USD 500 gross P&L. If the trader enters USD 7 as a known total cost, gross less entered costs is USD 493. Against an optional USD 10,000 account size, gross ROI is 5% and adjusted ROI is 4.93%.

How to interpret the result

USD 500 is gross scenario P&L for the entered prices and quantity. USD 493 is only gross less the USD 7 entered—not a claim that every charge is included. Reconcile both figures with actual fills, commission, swap, slippage, conversion charges and the broker statement.

Account-currency conversion rules

Scroll horizontally to compare every account-currency relationship.
Transformation used for each account and instrument currency relationship
Account relationshipRate sourceTransformation
Account = quote currencyNo conversion requiredGross quote P&L is already in account currency
Account = base currencyThe entered closing priceDivide gross quote P&L by the closing price
Account is neither currencyManual account units per 1 quote unitMultiply gross quote P&L by the entered cross rate

For a one-standard-lot USD/JPY sell opened at 150.00 and closed at 149.50, gross quote P&L is JPY 50,000. A USD account uses the closing price: 50,000 / 149.50 = approximately USD 334.45.

Assumptions and limits

  • The calculator is deterministic and uses only your inputs plus this site's pip-size and contract-size metadata.
  • Cross-currency rates are manually entered and have no automatic timestamp or broker attribution.
  • The optional cost input is one account-currency total. Only the amount entered is subtracted; omitted charges remain outside the model.
  • Exact opening and closing fills may already reflect spread or slippage effects. Do not knowingly count the same price effect again in the cost input.
  • Broker-specific symbol specifications, CFD contract sizes and rounding rules can differ; verify them before relying on the estimate.
  • The output describes a hypothetical or completed interval. It is not a forecast, trade signal or position-size recommendation.

Sources and methodology

The route composes Pip Pricing 1.0.0, Trade P&L 1.0.0 and the one-row case of Basket P&L 1.0.0. This preserves gross arithmetic while keeping user-entered costs explicit and separate.

Frequently asked questions

  • For a buy, gross quote-currency P&L equals closing price minus opening price, multiplied by position quantity. For a sell, reverse the price order. The calculator then converts that result once into account currency.
  • Pips measure directional price movement. Pip value is the account-currency amount for one pip at the entered quantity. Monetary P&L applies the full move to that quantity. A +50-pip EUR/USD move produces USD 500 gross P&L on one conventional standard lot and USD 5 on one micro lot.
  • The calculator divides quote-currency P&L by the entered closing price. For example, a USD/JPY trade closed at 149.50 converts JPY P&L to USD using 149.50, not the opening price.
  • When the account currency is neither the base nor quote currency, enter how many account-currency units equal one quote-currency unit. The calculator multiplies gross quote P&L by that manual rate.
  • Only if you combine known charges into the optional account-currency cost input. The tool subtracts exactly that amount and labels the output gross less entered costs. Exact opening and closing fills may already reflect spread or slippage, so avoid counting the same effect twice.
  • Gross ROI equals gross account-currency P&L divided by the entered account size, multiplied by 100. Adjusted ROI uses gross less entered costs instead. Neither is return on margin or a performance forecast.
  • Yes. This site's XAU/USD metadata uses a 100-ounce standard contract and a 0.01 pip, while XAG/USD uses a 5,000-ounce standard contract and a 0.001 pip. Broker specifications can differ, so verify the symbol details.
  • Leverage does not change gross P&L for a fixed price move and position quantity. It changes the margin required to hold that position and therefore changes exposure relative to the capital committed.

Compare broker contract terms

Before reconciling an estimate with a trading statement, verify the contract specification and charges for the broker entity available in your jurisdiction.

XM

Verify contract size, quote precision, account conversion and all applicable trading charges.

Check XM terms

FBS

Check the symbol specification and account conditions that apply to your entity.

Check FBS terms

FXOpen

Confirm contract size, conversion method and volume rules before placing an order.

Check FXOpen terms

Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.