Close half at 2,100 0.5 ETH long from 2,000 USDT Realised +25 USDT 0.25 ETH sold Fixed Stays, whatever ETH does Unrealised +25 USDT 0.25 ETH still open Still moves At mark 2,100. Gone at 2,000.
Close half at 2,100 0.5 ETH long from 2,000 USDT Realised Fixed +25 USDT 0.25 ETH sold Stays, whatever ETH does Unrealised Still moves +25 USDT 0.25 ETH still open At mark 2,100. Gone at 2,000.

Close half, and half the PnL is fixed. The rest still moves.

PnL: realised and unrealised

Unrealised PnL is the profit or loss of an open position at the mark price. Realised PnL is fixed when you close all or part of it. Fees and funding come on top.

Lesson 6 of 116 min3 parts

Updated . Cryptathon rules checked on .

PnL means profit and loss. Unrealised (or unrealized) PnL is an open position's profit or loss at the mark price. Realised PnL is fixed at the fill price when you close all or part of it. A 0.5 ETH long from 2,000 USDT shows +40 USDT unrealised at a mark price of 2,080. Fees and funding are counted apart.

By the end, you can

  1. 1Work out the unrealised PnL of an open position
  2. 2Work out the realised PnL of a full or partial close
  3. 3Work out the average entry price and the net result after fees

1 of 3

What is unrealised PnL?

Unrealised PnL is the profit or loss of a position that is still open. It values the position at a reference price, and your real closing price can be a little different. It moves with the price, and it is not in your free balance until you close.

On Cryptathon it is measured at the mark price, not at the last trade. It is (mark price − entry price) × coin quantity for a long, and (entry price − mark price) × coin quantity for a short. It also counts in your margin left, so a loss brings the position closer to liquidation.

Worked example

An ETH long, still open

You are long 0.5 ETH, bought at 2,000 USDT. The mark price is now 2,080 USDT. What is your unrealised PnL?

  1. 1
    Find the price moveThe mark price is above your entry.
    2,080 − 2,000 = 80 USDT
  2. 2
    Work out the PnLQuantity times move.
    0.5 × 80 = 40 USDT
  3. 3
    Find the move in %The price move from your entry.
    80 ÷ 2,000 = 4%

Answer+40 USDT of unrealised PnL. If the mark price falls back to 2,000, it is 0 again.

ETH mark price, USDTUnrealised PnL, USDT 2,080+40 2,060+30 2,040+20 2,020+10 2,0000 Entry 2,000 +80 × 0.5 = +40 USDT
ETH mark, USDTUnrealised PnL, USDT 2,080+40 2,060+30 2,040+20 2,020+10 2,0000 Entry 2,000 +80 × 0.5 = +40 USDT
Figure 1 A long of 0.5 ETH from 2,000 USDT. Each 20 USDT on the mark price is 10 USDT of unrealised PnL, so at 2,080 it shows +40 USDT.
Your turn You are short 2 SOL, sold at 150 USDT. The mark price is 156 USDT. What is your unrealised PnL?
  1. +12 USDT

    A short loses when the price rises. SOL is above your entry.

  2. −12 USDT

    Right. 2 × (150 − 156) = −12 USDT.

  3. −6 USDT

    That is the move for one SOL. You are short 2 SOL.

  4. 0, until you close

    Unrealised PnL moves with the mark price while the position is open.

Show the answer

B: −12 USDT. 2 × (150 − 156) = −12 USDT.

2 of 3

What is realised PnL?

Realised PnL is fixed when a closing order trades. On Cryptathon it is closed quantity × (fill price − entry price) for a long, and closed quantity × (entry price − fill price) for a short. It uses the fill price of the close, not the mark price.

You can close part of a position. Only the closed part is realised. On Cryptathon a partial close keeps the entry price, and frees the same share of the margin. The part you keep still has unrealised PnL that moves with the price.

Worked example

Close half of the ETH long

You hold the 0.5 ETH long from 2,000 USDT. ETH reaches 2,100 USDT, and you sell 0.25 ETH there. The mark price is also 2,100. What is realised, and what is still open?

  1. 1
    Find the price moveThe close fills at 2,100.
    2,100 − 2,000 = 100 USDT
  2. 2
    Work out the realised PnLOnly the 0.25 ETH you sold.
    0.25 × 100 = 25 USDT
  3. 3
    Find what is leftStill open, entry still 2,000.
    0.5 − 0.25 = 0.25 ETH
  4. 4
    Work out the unrealised PnLAt the mark price of 2,100.
    0.25 × 100 = 25 USDT

Answer25 USDT is realised and fixed. The other 25 USDT is unrealised: if ETH falls back to 2,000, it is gone.

0.5 ETH long from 2,000, half closed at 2,100 0.25 ETH sold at 2,100 +25 USDT realised Fixed 0.25 ETH kept, mark 2,100 +25 USDT unrealised Moves with the price Entry 2,000 for both halves
0.5 ETH long from 2,000,half closed at 2,100 0.25 ETH sold at 2,100 +25 USDT realised Fixed 0.25 ETH kept, mark 2,100 +25 USDT unrealised Moves with the price Entry 2,000 for both halves
Figure 2 The 0.5 ETH long, half closed at 2,100 USDT. 25 USDT is realised on the 0.25 ETH you sold. The 0.25 ETH you kept shows 25 USDT unrealised, which still moves with the price.
Your turn You are long 0.01 BTC from 100,000 USDT. You sell 0.004 BTC at 103,000 USDT. What is your realised PnL?
  1. 30 USDT

    That is the PnL on the full 0.01 BTC. You closed only 0.004 BTC.

  2. 12 USDT

    Right. 0.004 × 3,000 = 12 USDT. The other 0.006 BTC is still open.

  3. 18 USDT

    That is the unrealised PnL on the 0.006 BTC you kept, at 103,000.

  4. 0, until you close it all

    A partial close realises the PnL on the part you closed.

Show the answer

B: 12 USDT. 0.004 × 3,000 = 12 USDT. The other 0.006 BTC is still open.

3 of 3

How do adding and fees change your result?

When you add to a position, you buy at a new price. On Cryptathon when you add to a position, the entry price becomes the average of the fills, weighted by quantity. Your PnL from then on is measured from that average entry price.

The PnL in this lesson is before costs. On Cryptathon trading fees and funding are booked apart from the realised PnL. Each fill pays a taker fee of 0.05% with a market order, and funding is paid or received every 8 hours. Your net result is the PnL less the fees, plus or minus the funding.

Worked example

Two buys and one close

You buy 0.002 BTC at 100,000 USDT, then another 0.002 BTC at 104,000 USDT, both with market orders. Later you sell all 0.004 BTC at 105,000 USDT with a market order. No funding falls in between. What is your net result?

  1. 1
    Value the first buyWhat you paid for the first fill.
    0.002 × 100,000 = 200 USDT
  2. 2
    Value the second buyWhat you paid for the second fill.
    0.002 × 104,000 = 208 USDT
  3. 3
    Find the average entryTotal paid divided by total quantity.
    408 ÷ 0.004 = 102,000 USDT
  4. 4
    Work out the realised PnL105,000 − 102,000 is 3,000 for each BTC.
    0.004 × 3,000 = 12 USDT
  5. 5
    Add up the feesThe taker fee on each fill. The close is 0.004 × 105,000 = 420 USDT.
    200 × 0.05% + 208 × 0.05% + 420 × 0.05% = 0.414 USDT
  6. 6
    Take the fees offPnL less fees.
    12 − 0.414 = 11.586 USDT

AnswerThe realised PnL is 12 USDT, and the net result is about 11.59 USDT after 0.414 USDT of fees.

BTC price, USDT 105,000 104,000 103,000 102,000 101,000 100,000 Average entry 102,000 Buy 0.002 BTC at 100,000 Buy 0.002 BTC at 104,000 Close 0.004 BTC at 105,000 +3,000 × 0.004 = +12 USDT
BTC price, USDT +3,000 × 0.004 = +12 USDT 105,000 104,000 103,000 102,000 101,000 100,000 Average entry 102,000 Buy 0.002 BTC at 100,000 Buy 0.002 BTC at 104,000 Close 0.004 BTC at 105,000
Figure 3 Two buys of 0.002 BTC, at 100,000 and at 104,000 USDT, give an average entry of 102,000. The close at 105,000 realises 3,000 USDT on each BTC: 12 USDT in all, before fees.
Your turn You buy 1 SOL at 140 USDT, then 3 SOL at 160 USDT. What is your average entry price?
  1. 150 USDT

    That is the middle of the two prices. You bought more SOL at 160, so it counts more.

  2. 155 USDT

    Right. 140 + 3 × 160 = 620 USDT, and 620 ÷ 4 = 155.

  3. 160 USDT

    That is the price of the last fill. The entry is the average of all your fills.

  4. 140 USDT

    That is the first fill. Adding at 160 moves the entry up.

Show the answer

B: 155 USDT. 140 + 3 × 160 = 620 USDT, and 620 ÷ 4 = 155.

Common questions

What does the % next to my PnL mean?

It depends on the exchange. Some show the PnL as a share of your margin, often called ROE, which grows with leverage. On Cryptathon the % next to an open position in the app is the price move from your entry, without leverage. A 10x long from 2,000 USDT at a mark price of 2,040 shows +2%, while its PnL is 20% of the margin. Read the USDT PnL to know what you make.

Is unrealised PnL real money?

Not until you close. Unrealised PnL changes with every move of the mark price, and it can go back to 0 or below. It still counts for liquidation, because your margin left is your margin plus unrealised PnL. When a closing order trades, the PnL on the closed size is realised and goes to your free balance with your margin.

Does funding change my PnL?

Funding is paid or received apart from the trade PnL. On Cryptathon trading fees and funding are booked apart from the realised PnL. Funding still changes your net result: a 1,000 USDT long that pays +0.01% three times a day pays 0.30 USDT a day. On Cryptathon funding is paid out of, or into, the position's margin (if a payment is bigger than the margin, the rest comes from your free balance), so it also moves your liquidation price.

Check yourself

Three questions on the whole lesson.

Question 1 of 3 You are long 0.1 ETH from 2,000 USDT. The last trade is at 2,050, and the mark price is 2,040. What unrealised PnL does Cryptathon show?
  1. +5 USDT

    That uses the last trade. Cryptathon measures unrealised PnL at the mark price.

  2. +4 USDT

    Right. 0.1 × (2,040 − 2,000) = 4 USDT, at the mark price.

  3. +40 USDT

    That is the move for one whole ETH. You hold 0.1 ETH.

  4. 0, until you close

    Unrealised PnL moves with the mark price while the position is open.

Show the answer

B: +4 USDT. 0.1 × (2,040 − 2,000) = 4 USDT, at the mark price.

Question 2 of 3 You are short 4 SOL from 200 USDT. You buy back 1 SOL at 190 USDT. What happens?
  1. 10 USDT is realised, and 3 SOL stay open with an entry of 200

    Right. 1 × (200 − 190) = 10 USDT, and a partial close keeps the entry price.

  2. 40 USDT is realised

    That is the PnL on all 4 SOL. You bought back only 1.

  3. The entry price moves to 190

    A partial close keeps the entry price of what is left.

  4. Nothing is realised until all 4 SOL are closed

    A partial close realises the PnL on the closed size.

Show the answer

A: 10 USDT is realised, and 3 SOL stay open with an entry of 200. 1 × (200 − 190) = 10 USDT, and a partial close keeps the entry price.

Question 3 of 3 Your realised PnL on a trade is 20 USDT. You paid 1.20 USDT in trading fees and received 0.30 USDT of funding. What is your net result?
  1. 20 USDT

    That is the trade PnL alone. Fees and funding are counted apart from it.

  2. 18.50 USDT

    You took the funding off. You received it, so add it.

  3. 19.10 USDT

    Right. 20 − 1.20 + 0.30 = 19.10 USDT.

  4. 21.50 USDT

    Fees are a cost: take them off.

Show the answer

C: 19.10 USDT. 20 − 1.20 + 0.30 = 19.10 USDT.

What to remember

  1. What is unrealised PnL?Unrealised PnL is what an open position would make at the mark price now. It is not yours until you close.
  2. What is realised PnL?Realised PnL is fixed when a close trades, and only on the size you close. The rest stays unrealised.
  3. How do adding and fees change your result?Adding to a position moves the entry to the average of your fills. Net result = PnL − fees ± funding.
Next lessonIsolated and cross margin