A forex trade makes or loses money according to how far the price moves, in which direction, and how big the position is. This lesson follows a winning long trade and a losing short trade step by step, shows how costs turn gross profit into net profit, and explains balance, equity and why the size of wins and losses matters more than how often you win.
A short visual tour of this lesson.
The life of a trade
Every trade goes through the same four stages:
- Open. You buy or sell a pair. A buy opens at the ask; a sell opens at the bid (Lesson 3).
- Open position. While the trade is running, its result changes with every price move. This running result is called floating or unrealized profit or loss. It is not yet real money.
- Close. You end the trade by doing the opposite: a buy is closed by selling at the bid, and a sell is closed by buying at the ask. You can close it yourself, or an order such as a stop loss or take profit can close it automatically.
- Realized. Once the trade is closed, the result becomes realized profit or loss and is added to, or taken from, your account balance.
Many beginners treat a floating profit as money already earned, or refuse to close a floating loss in the hope that it will come back. Remember that nothing is final until the trade is closed.
A winning long trade
Anna expects the euro to strengthen. With EUR/USD quoted at 1.0848 / 1.0850, she buys 1 standard lot at the ask, 1.0850. One standard lot is 100,000 euros, and for a pair ending in USD each pip is worth $10 (Lesson 4).
Over the next two days the euro rises. When the bid reaches 1.0910, Anna closes the trade by selling at that price.
- Price change: 1.0910 − 1.0850 = 0.0060, which is 60 pips.
- Profit: 60 pips × $10 = $600.
- The same result without pips: 0.0060 × 100,000 euros = 600 US dollars.
Notice that the spread is already included: Anna bought at the higher ask price and sold at the lower bid price. The only costs that can still be added are commission and overnight financing, which you will see below.
A losing short trade
John expects the Japanese yen to strengthen against the dollar, so he sells 0.50 lot of USD/JPY, which is 50,000 US dollars, at the bid, 150.40. He places a stop loss above a recent high to limit his loss if he is wrong.
Instead of falling, USD/JPY rises. His stop loss closes the trade by buying at the ask, 151.10.
- Price change against him: 151.10 − 150.40 = 0.70, which is 70 pips.
- In yen: 0.70 × 50,000 = 35,000 yen, because USD/JPY is quoted in yen.
- In dollars: 35,000 ÷ 151.10 = about $231.63.
For a short trade, profit comes when the price falls, and loss when it rises. John's analysis was wrong, but his stop loss did its job: it kept the loss to a size he had chosen in advance. A loss like this is a normal part of trading. Lesson 12 shows how to decide how much to risk on each trade.
One formula for every trade
Both examples follow the same simple rule. The result of a trade, in the quote currency, is:
- For a long trade (buy): (close price − open price) × units
- For a short trade (sell): (open price − close price) × units
"Units" means the trade size in the base currency: 100,000 for 1 lot, 50,000 for 0.50 lot and so on. A positive answer is a profit, a negative answer a loss.
The answer comes out in the quote currency, the second currency of the pair. If that is the same as your account currency, you are done. If not, the platform converts it at the current rate, just as John's 35,000 yen became about $231.63. That is why the same number of pips can be worth slightly different amounts depending on the pair and on the exchange rate at the moment you close.
From gross profit to net profit
The result from the formula is the gross profit or loss. What lands in your account, the net result, can be reduced by two other costs:
- Commission. On raw spread accounts the broker charges a fee per lot traded, for example $7 per standard lot for opening and closing (Lesson 3).
- Swap. If a trade is still open at the daily rollover, 5 p.m. New York time, it is charged or paid a small overnight financing amount called a swap or rollover fee. It depends on the interest rates of the two currencies and on the direction of the trade. It can be a cost or, sometimes, a small credit. On Wednesdays many brokers charge three days of swap to cover the weekend. Swaps are covered in more detail in the Intermediate level.
Suppose Anna traded on a raw spread account and held her trade over two nights. Her gross profit of $600, minus a $7 commission and $3 of swap, leaves a net profit of $590. For a single trade the difference is small. Over hundreds of trades, or for positions held for weeks, costs can decide whether a strategy makes money at all.
Balance, equity and floating profit
Your trading platform shows a few numbers at the bottom of the screen. Two of them are especially important:
- Balance is the money in your account from deposits, withdrawals and closed trades only. It does not change while a trade is open.
- Equity is your balance plus or minus the floating profit or loss of all open trades. It shows what your account would be worth if you closed everything right now.
Imagine Anna's account has a balance of $10,000. While her EUR/USD trade is open and 32 pips in profit, her floating profit is $320, so her equity is $10,320. If the price fell back, her equity would fall too, but her balance would stay at $10,000 until she closed the trade.
Equity is the number that really matters. Your broker uses it, not the balance, to decide whether you have enough money to keep trades open. Lesson 10 explains margin and what happens when equity falls too far.
Winning often is not the same as making money
New traders often focus on how many of their trades win, called the win rate. But the money result depends just as much on how big the wins and losses are.
Look at ten trades: six winners of $100 each and four losers of $200 each. The win rate is 60%, which sounds good. But the six winners make $600 and the four losers cost $800, so the trader is down $200. Another trader who wins only four times out of ten, but makes $300 on each winner and loses $100 on each loser, finishes $600 ahead.
This is why professional traders think about the relationship between their average win and their average loss, usually called the risk-to-reward ratio, as well as their win rate. A common beginner habit, closing winning trades quickly to "lock in" profit while leaving losing trades open in the hope they recover, produces exactly the losing pattern above. Lesson 12 shows how to plan both sides of a trade before you open it.
Why this matters for traders Trader's angle
- Know the result before you trade. With the formula and the pip value, you can work out what a trade will make or lose at your target and at your stop before you click buy or sell.
- Watch equity, not balance. Open trades can change your equity quickly. A balance that looks healthy can hide large floating losses.
- Count every cost. Spread, commission and swap all come off your result. For trades held over many nights, check the swap rates on your platform.
- Judge your trading by size as well as frequency. Keep a record of your average win and average loss, not just how often you win. The trading journal in Lesson 15 makes this easy.
Key terms
- Floating (unrealized) profit or loss
- The running result of a trade that is still open. It changes with every price move.
- Realized profit or loss
- The final result of a closed trade, added to or taken from the account balance.
- Gross profit
- The result of a trade from the price move alone, before commission and swap.
- Net profit
- The result after all costs have been taken off.
- Swap (rollover fee)
- A small overnight financing charge or credit for trades held past the daily rollover, based on the two currencies' interest rates.
- Balance
- Account money from deposits, withdrawals and closed trades. It does not include open trades.
- Equity
- The balance plus or minus the floating profit or loss of all open trades.
- Take profit
- An order that closes a trade automatically when the price reaches a chosen profit level.
- Win rate
- The share of trades that end in profit.
- Risk-to-reward ratio
- The size of the possible loss on a trade compared with the size of the possible gain.
Key takeaways
- A trade is opened, floats while it is running, and becomes realized profit or loss only when it is closed.
- For a long trade the result is (close − open) × units; for a short trade it is (open − close) × units, in the quote currency.
- If the quote currency is not your account currency, the result is converted at the current exchange rate.
- Commission and swap turn gross profit into a smaller net profit; the spread is already included in the buy and sell prices.
- Balance includes only closed trades, while equity includes open ones; the size of wins and losses matters as much as the win rate.
Test yourself
Choose an answer for each question. You will see the correct answer and a short explanation right away.
Sources
For education only. Nothing on this page is financial advice.