Margin and account mechanics
What unrealised profit and loss is
A position is open and nothing has been bought or sold since. The figure beside it still changes several times a second. That figure is unrealised profit and loss: what the contract would settle for if it closed at the price quoted right now, recalculated on every tick, and not yet money that has moved anywhere.
8 min read, Reviewed
What you will be able to do
- Define unrealised profit and loss and state when it becomes realised
- Calculate unrealised profit and loss from contract size and price movement
- Explain why unrealised losses affect margin availability immediately
- Explain why an unrealised loss is not smaller than a realised one
The figure that moves
On the row that reports an open position, beside the instrument, the direction and the size, sits a figure that will not sit still. It changes while nothing about the position changes: no instruction has been sent, no contract closed, no money moved. It moves because it is not a record of something that happened. It is the answer to a question the platform asks again every time the price updates: if this contract were closed at the price quoted at this instant, what would the difference come to?
The arithmetic is the arithmetic of the contract itself, unchanged since the foundations module. The opening and closing prices are subtracted one from the other, in the order the direction dictates, and the difference is multiplied by the units the contract covers. Only the closing price differs. Instead of a price that has been agreed and executed, the calculation uses the price currently on the screen, and a live input produces a live output.
Key term
- Unrealised profit and loss
- Unrealised profit and loss is the running result on positions still open, revalued at the price each could be closed at now, so it moves on every tick without touching the balance.
Which price the position is valued at
A position is valued at the price it could be closed at, which is neither the price it was opened at nor the middle of the quote. A long position is closed by selling, so it is valued at the bid. A short position is closed by buying, so it is valued at the ask. One consequence is visible the instant any position opens: it opens showing a small loss, roughly the width of the spread, because it was opened on one side of the quote and is immediately valued on the other. No charge has been applied. The cost of crossing the spread is not billed later, it is present in the valuation from the first tick.
Revaluing an open contract against the current market price, rather than carrying it at the price it was struck at, is called marking to market. It is not a retail platform habit but the standard basis on which derivative positions are accounted for, and on a trading platform it happens continuously rather than once a day.
Key term
- Mark to market
- Marking to market revalues an open position at the current market price, which is how unrealised profit and loss on a running position is kept up to date.
One position, valued on the current quote, in both directions
- Direction of the position
- Long
- Price at which the contract opened
- 1.1000
- Units of the base currency the contract covers
- 100,000
- Current price used for the valuation, favourable case
- 1.1050
- Unrealised result, favourable case
- 0.0050 × 100,000 = 500.00 credit
- Current price used for the valuation, adverse case
- 1.0950
- Unrealised result, adverse case
- 0.0050 × 100,000 = 500.00 debit
- Adverse case, after a further move to
- 1.0900
- Unrealised result at that price
- 0.0100 × 100,000 = 1,000.00 debit
- Amount transferred between the parties so far
- 0.00, in every row above
The prices are round figures chosen to keep the arithmetic legible, and the unit convention of one hundred thousand units of the base currency is stated here as an assumption. Contract conventions are published per instrument in its specifications. Spread, commission, financing and currency conversion are excluded. Every result above is a valuation of an open contract, so nothing has settled, which is what the last row records.
Why it is called floating
Floating profit, floating loss, open profit and loss, running profit and loss: the vocabulary varies by platform and by locale, and each phrase names the same object. Floating describes a property of the number rather than a category of trade. The figure has no fixed value while the contract is open, because every tick discards the previous answer and writes a fresh one, and no version of it is more official than another until the contract ends.
Key term
- Equity
- Equity is an account's balance adjusted for the running profit or loss on every open position, so it states what the account would be worth if all positions closed at the current quotation.
When it stops floating
It stops at one moment only: when the contract is closed. The subtraction runs a final time, using the price at which the closing trade executed rather than a price merely quoted, and the result is written to the balance. From that instant the figure is fixed. It stops being a valuation of something outstanding and becomes a fact about something finished. That transition is the entire distinction between unrealised and realised, and it is a distinction about settlement, not about size.
Key term
- Realised profit and loss
- Realised profit and loss is the amount written to an account balance when a position is closed, being the difference between the opening and closing prices on the size traded, after the costs charged to that position.
This is why the balance behaves as the previous lesson described. It moves only on realised events: a closed position, a deposit, a withdrawal, and the charges the firm applies. It does not move on a valuation. An account can hold a balance unchanged since yesterday while the value of what it holds has changed all day, and neither figure is wrong. They answer different questions.
How a contract comes to be closed makes no difference to the calculation. A position closed by an instruction sent by hand, one closed by a resting order reaching its level, one that reaches an instrument's expiry, and one closed by the counterparty because the margin held against it no longer meets the requirement all run the same subtraction. The reason changes who initiated the closure and when. It never produces a gentler number. Closing part of a position realises the proportion closed and leaves the remainder floating, valued on the same basis as before.
Key term
- Open position
- An open position is a contract entered and not yet closed, so it still moves with the market, still holds collateral and still attracts financing for each night it survives.
Why an unrealised loss affects margin straight away
The natural assumption is that a loss which has not been realised has not happened yet, and has therefore cost nothing yet. On an account panel the opposite holds, and the reason is which figure the requirement is tested against. A margin requirement is not tested against the balance. It is tested against a running figure that takes the balance and adds the unrealised result of every open position, and that running figure is recalculated on the same tick as the valuation. The instant a price moves against a position, the collateral the account can demonstrate has already fallen, before anything is closed and before the balance has moved at all.
The lessons that follow name that running figure, name the portion of it already committed, and work the requirement through step by step. The mechanism to carry forward from here is the ordering alone. The valuation changes first, and everything derived from it changes in the same instant.
The balance is unchanged and the available collateral is not
- Balance at the start
- 10,000.00
- Assumed collateral committed against the open position
- 2,000.00
- Unrealised result while the price is unchanged
- 0.00
- Running value of the account including the open position
- 10,000.00
- Amount left over to support further positions
- 8,000.00
- Adverse move, unrealised result
- 1,500.00 debit
- Running value after the adverse move
- 8,500.00
- Amount left over after the adverse move
- 6,500.00
- Favourable move of the same distance, unrealised result
- 1,500.00 credit
- Running value after the favourable move
- 11,500.00
- Amount left over after the favourable move
- 9,500.00
- Balance in every row above
- 10,000.00
The balance and the committed collateral are assumptions chosen to keep the arithmetic legible, and they are not terms offered anywhere. Margin requirements are set by the counterparty as a percentage of contract value and differ by instrument. Spread, commission and financing are excluded. The last row is the point of the block: the balance is identical in the favourable, adverse and unchanged cases, because nothing has been closed in any of them, while the amount left over differs in all three.
One further consequence follows from the arithmetic rather than from any policy. The valuation is computed on the full value of the contract while only a percentage of that value is posted as collateral against it, so an adverse valuation is measured against the whole contract. A loss can therefore exhaust the collateral posted, and it is not limited to the amount deposited. A favourable valuation is computed on the same basis and to the same degree, which is why the two cases in the block above are mirror images.
An unrealised loss is not a smaller loss
There is a widespread intuition that a loss is not real until the position is closed. It does not survive contact with the arithmetic. The number written to the balance at the close is the number the valuation was already showing an instant earlier, because both come from the same subtraction from the same opening price, and nothing is discounted for having gone unsettled. The section above supplies the other half of the answer: the capacity of the account has already changed, so the consequence has arrived even though the settlement has not.
One genuine difference does exist, and it is worth stating precisely. An open position's figure is not final, so it can still move, while a realised figure cannot move at all. That is a statement about uncertainty, not about magnitude, and it points both ways with equal force: an unrealised loss can be smaller at a later tick and it can equally be larger, the position consumes collateral for as long as it remains open, and any financing adjustment continues to accrue against it.
The tendency to treat the two categories asymmetrically has a name in the behavioural finance literature. Hersh Shefrin and Meir Statman called it the disposition effect, in a paper on the observed tendency of traders to close positions showing a gain sooner than positions showing a loss. The term names a tendency that has been observed, not a rule that holds, and its explanation is disputed: some accounts attribute it to the way results are framed relative to the price a position opened at, others to a belief that prices revert to levels they have traded at before, others to considerations such as tax treatment. This page reports the term and the dispute, and puts forward no position on how any trade ought to be handled.
Where the displayed figure differs
The definition is settled but the presentation is not, and the number is not assembled the same way everywhere. Practice differs on three points, and none of them makes one platform wrong.
- Commission. Some platforms report the valuation gross and show commission in its own column, others deduct it so the figure on the position row is closer to what a close would produce net.
- Financing. Adjustments accrued for holding a position past the daily cut off appear as a separate running line on some platforms and are folded into the same figure on others.
- Currency. Where an instrument is denominated in a currency other than the account currency, the valuation is converted at the current exchange rate, so the figure moves when that rate moves even while the instrument's own price sits still.
Two truthful platforms can therefore display different figures for the same position at the same moment. Reconciling them is a matter of reading which components each figure includes, published in the platform's own documentation, rather than deciding which one to believe. The underlying object is identical in every case: an open contract, revalued against the current price, settling nothing until it closes.
In summary
- Unrealised profit and loss is an open contract valued against the price it could be closed at right now, recalculated on every tick. Nothing has settled, so the balance has not moved.
- It stops floating at one moment only, when the contract closes and the final result is written to the balance. What closed the position never changes the arithmetic.
- A margin requirement is tested against a running figure that already includes unrealised results, so an adverse move reduces the collateral an account can demonstrate immediately, before anything is closed.
- An unrealised loss is not a smaller loss. The only genuine difference is that it is not yet final, so it can move in either direction, and the position keeps consuming collateral while it does.
Get started
Open your account in four steps.
A clear path from sign-up to your first trade, in four steps.
No depositNo documents
01/ 04step 1 of 4
Register
A few details to get started.
No deposit to open
02/ 04step 2 of 4
Verify
Confirm your identity, securely.
ID and proof of address
03/ 04step 3 of 4
Fund
Add money by bank transfer or card.
From $0
04/ 04step 4 of 4
Trade
Go live on the platform you already know.
MetaTrader 5



