The forex profit and loss calculation is simple: profit or loss equals the number of pips gained or lost, multiplied by the pip value, multiplied by the lot size, then reduced by spread, commission and swap. On EUR/USD one standard lot is worth $10 per pip, so a 50 pip gain on 1 lot is $500 before costs. This guide shows the formula, the pip value for different pairs, three worked examples and the costs that most calculators forget.
How do you calculate profit and loss in forex?
Every forex profit and loss calculation has the same three parts. You measure how far price moved in your favour or against you, you convert that distance into money using the value of one pip, and you scale the result by the size of the position.
Profit or loss = pips moved x pip value per lot x lots traded
Net result = profit or loss minus spread cost, commission and swap.
For a buy trade, pips moved is the exit price minus the entry price. For a sell trade it is the entry price minus the exit price. A negative answer is a loss. If you are new to the unit itself, read what a pip is in forex first.
Step 1: Measure the move in pips
For most pairs a pip is the fourth decimal place (0.0001). For pairs quoted in yen it is the second decimal place (0.01). Many brokers show a fifth or third decimal as well, called a pipette, which is one tenth of a pip. See what a pipette is if your platform shows an extra digit.
- EUR/USD buy at 1.1000, exit at 1.1050: 1.1050 – 1.1000 = 0.0050, which is 50 pips.
- USD/JPY sell at 150.00, exit at 149.40: 150.00 – 149.40 = 0.60, which is 60 pips.
- GBP/USD buy at 1.2700, exit at 1.2660: 1.2660 – 1.2700 = -0.0040, which is a loss of 40 pips.
Step 2: Find the pip value
Pip value is the money one pip is worth for one lot, and it depends on the pair and your account currency. When the quote currency is also your account currency, it is easy: one standard lot is 100,000 units, so one pip of 0.0001 equals 100,000 x 0.0001 = 10 units of the quote currency. That is where the $10 per pip for EUR/USD comes from.
| Position size | Units | EUR/USD pip value (USD account) |
|---|---|---|
| 1 standard lot | 100,000 | $10.00 |
| 0.5 lot | 50,000 | $5.00 |
| 0.1 lot (mini) | 10,000 | $1.00 |
| 0.01 lot (micro) | 1,000 | $0.10 |
For pairs where the quote currency is not your account currency, you convert the pip value at the current exchange rate. The full method is in how to calculate pip value, and there are pair-specific pages for EUR/USD and USD/JPY. For the lot sizes themselves, see micro, mini and standard lots.
Step 3: Multiply by the lot size
With the pip value per standard lot known, scale it by the number of lots. A 0.3 lot position on EUR/USD is worth 0.3 x $10 = $3 per pip. Multiply by the pips moved and you have the gross result.
Worked example 1: EUR/USD buy trade
Hypothetical trade. Account in USD. Buy 1 lot of EUR/USD at 1.1000 and close at 1.1050.
- Pips moved: 50
- Pip value: $10 per lot
- Gross profit: 50 x $10 x 1 = $500
- If the account balance was $10,000, the trade returned 5% before costs.
Worked example 2: EUR/USD sell trade at a loss
Hypothetical trade. Sell 0.3 lot of EUR/USD at 1.1000. Price rises and the stop is hit at 1.1040.
- Pips moved against you: 1.1040 – 1.1000 = 0.0040, or 40 pips
- Pip value: 0.3 x $10 = $3
- Loss: 40 x $3 = $120
This is exactly the kind of loss you plan before you enter. See the position size formula.
Worked example 3: USD/JPY trade on a USD account
On yen pairs the pip is 0.01 and the profit is first produced in yen. One standard lot moves 100,000 x 0.01 = 1,000 yen per pip.
Hypothetical trade. Buy 0.5 lot of USD/JPY at 150.00 and close at 150.60.
- Pips moved: 60
- Yen per pip: 0.5 x 1,000 = 500 yen
- Profit in yen: 60 x 500 = 30,000 yen
- Convert at the closing rate: 30,000 / 150.60 = about $199.20
How do you calculate profit on gold (XAU/USD)?
Gold is quoted in dollars per ounce and a standard lot is commonly 100 ounces, although contract sizes vary by broker, so always check your platform specification. With 100 ounces per lot, a $1.00 move in the price is worth $100 per lot.
Hypothetical trade. Buy 0.2 lot of gold. Price rises by $5.00 from entry to exit.
- Ounces: 0.2 x 100 = 20
- Profit: $5.00 x 20 = $100
More detail is in gold lot sizes explained.
What costs reduce your forex profit?
The gross figure is not what lands in your account. Three costs reduce every result.
| Cost | What it is | Effect on the calculation |
|---|---|---|
| Spread | Difference between bid and ask, paid on entry | Starts the trade slightly negative |
| Commission | Fee per lot charged by some account types | Subtract per lot, often round trip |
| Swap | Interest for holding past the daily rollover | Added or subtracted per night held |
Hypothetical costs on a 0.5 lot EUR/USD trade with a 1.2 pip spread and a commission of $7 per round-trip lot.
- Spread cost: 1.2 pips x $5 = $6.00
- Commission: 0.5 x $7 = $3.50
- Total cost: $9.50 per trade, whatever the result
Read the spread guide, how to calculate spread cost, broker commissions and swap and rollover to see how each is set.
Realised versus floating profit and loss
A trade that is still open has a floating (unrealised) result that changes every tick. It only becomes a realised result when you close the position. Your equity is balance plus floating profit or loss, and your free margin depends on equity, so open losses reduce what you can still trade with. The relationship is explained in equity, balance and free margin and in what margin is.
Profit as a percentage of the account
Dollars alone say little. Divide the net result by the account balance before the trade. A $120 loss on a $10,000 account is 1.2%; the same $120 on a $1,000 account is 12%. This is why risk is set as a percentage. See the one percent rule and risk to reward ratio.
Quick calculation checklist
- Write the entry and exit price and the direction.
- Convert the difference into pips, using the correct pip size for the pair.
- Look up the pip value for your account currency.
- Multiply: pips x pip value x lots.
- Subtract spread, commission and swap.
- Divide by the starting balance to get the percentage.
- Record the figures in your trading journal.
Common mistakes in profit and loss calculation
- Using $10 per pip for every pair. It only holds for pairs quoted in USD on a USD account.
- Counting pipettes as pips, which makes the result ten times too big.
- Ignoring spread and commission, so that a small win is really break even.
- Forgetting that a different lot size changes the pip value in direct proportion.
- Reading a calculator result without checking the contract size, especially on gold and indices.
Use an online calculator for speed, but know the arithmetic so you can spot a wrong input. A practical habit is to calculate the loss at your stop before you place the order, so the result is a known number and not a surprise.
Forex and CFD trading carries a high risk of loss, and you can lose more than you expect when leverage is used. The examples here are hypothetical and are not predictions or results you should expect.
Frequently asked questions
What is the formula for profit in forex?
Pips moved multiplied by pip value per lot multiplied by lots traded, then minus spread, commission and swap. For a buy, pips are exit minus entry; for a sell, entry minus exit.
How much is 1 pip worth on 1 lot?
On EUR/USD with a USD account it is $10 for a standard lot of 100,000 units. On other pairs it varies with the quote currency and the exchange rate.
How much can you make with a 0.01 lot?
A 0.01 lot on EUR/USD is worth about $0.10 per pip, so a 50 pip move is about $5 before costs. Results can equally be losses.
How do I calculate a loss in forex?
Use the same formula with the pips moved against you. A 40 pip loss on 0.3 lot is 40 x $3 = $120.
Do swaps affect profit and loss?
Yes. If a position is open at the daily rollover, a swap is credited or debited, and it can be positive or negative depending on the pair and direction.
Is floating profit real money?
No. Floating profit only becomes yours when the trade is closed and can disappear if price reverses first.
Why does my broker show a different profit?
Differences usually come from the spread, commission, slippage, the contract size or the exchange rate used to convert the pip value to your account currency.
Trading leveraged products carries a high level of risk and may not suit every investor. This article is news and general information, not financial advice. Any decision to trade is yours alone.