Forex Profit / Loss Calculator

Before you place a trade – or while you weigh closing one – it pays to know exactly what the move from entry to exit is worth. Enter your direction, lot size, entry and exit prices and the pip value, and this calculator returns the pips gained or lost and the resulting cash profit or loss on the position.

The calculator is loading. If it does not appear, enable JavaScript and reload this page.

Formula: direction = +1 for buy, −1 for sell; Pips = ((Exit − Entry) ÷ Pip size) × direction; Gross P&L = Pips × Pip value per lot × Lots. Net P&L = gross result − additional execution costs + whole-position financing. Spread and slippage are in pips, round-trip commission is per lot, and financing is signed: cost −, income +. Do not deduct costs already reflected in execution prices.

Know the P&L – now control the risk.Set your lot size from a fixed risk budget instead of guessing the exposure.
Open the Position Size Calculator →

How the profit / loss calculator works

Every forex trade resolves to a simple chain: how far price moved in pips, multiplied by what each pip is worth, multiplied by how many lots you held. The direction flips the sign – a long position profits when price rises, a short position profits when it falls – so the calculator applies +1 for a buy and −1 for a sell.

First it measures the raw move by subtracting your entry price from your exit price and dividing by the pip size to express it in pips. It then multiplies those pips by the direction so a favourable move always reads positive, multiplies by your pip value per lot and by the number of lots, and you get the cash profit or loss in your account currency.

Worked example

Before additional costs or financing, buy 1 lot of EUR/USD at 1.1000 and close at 1.1050, pip value $10 per lot. Pips = ((1.1050 − 1.1000) ÷ 0.0001) × 1 = +50 pips. P&L = 50 × $10 × 1 = +$500. Had you been short the same move, pips would read −50 and the P&L −$500.

Why pip value drives the result

The same 50-pip move is worth far more or far less depending on your lot size and the pair's pip value – that is why getting the pip value right is essential. Compute it for any pair and account currency with the Pip Calculator, then size the trade so the loss leg fits your plan using Risk per trade.

Frequently asked questions

How are pips calculated from prices?
Subtract your entry price from your exit price and divide by the pip size (0.0001 for most pairs, 0.01 for JPY pairs). A move of 0.0050 on EUR/USD is 50 pips.
Why does direction matter?
A long (buy) position gains when price rises and loses when it falls; a short (sell) position is the mirror image. The calculator multiplies the raw move by +1 for a buy and −1 for a sell so a favourable move always shows a positive result.
What pip value should I use?
For a USD account, USD-quoted majors are about $10 per standard lot. JPY pairs and crosses differ – work out the exact figure with the Pip Calculator and enter it here.

Gross result, costs and net result

A one-lot EUR/USD long from 1.1000 to 1.1050 at 10 USD/pip/lot gains 50 pips and 500 USD gross. If those prices exclude 1 pip of spread and 1 pip of slippage, round-trip commission is 5 USD/lot and financing is −2 USD, net profit is 473 USD. With actual execution prices, spread is usually already reflected in the ask/bid difference: do not deduct it again. Financing is entered for the whole position, whereas commission is per lot. Changing conversion rates, platform rounding and omitted costs can explain differences from the account statement.

← All forex tools

Jarosław Wasiński

Editor-in-chief, ForexMechanics.com • Macro & FX analyst

Independent analyst and practitioner with over 20 years of experience in financial markets. Actively involved in Forex since 2007, with a focus on fundamental analysis, OTC market structure, and disciplined capital risk management.

  • Creator and editor-in-chief of MyBank.pl, providing reliable financial education since 2004.
  • Author of hundreds of in-depth market commentaries, structural analyses, and educational materials for traders and investors.
  • Advocate for market transparency, promoting education grounded in hard data and institutional reports (BIS, ESMA, CFTC).

All content is educational and informational only – it does not constitute investment advice or a recommendation. Remember: leveraged trading (Forex/CFD) carries a high risk of rapid capital loss.