XT 博客

Position PnL: How It’s Really Calculated

Position PnL: How It’s Really Calculated

2026-09-16

Profit and Loss (PnL) is usually the first number a trader looks at after opening a position — and it’s often the most misunderstood. A green or red figure feels like a final answer, but in both Spot and Futures Trading, that number can shift constantly and mean something different depending on whether a position is open or closed. Understanding what PnL actually measures — and what it doesn’t — is one of the most useful things a beginner can learn before trading with real funds.

Position PnL: How It's Really Calculated

What Does PnL Mean?

PnL stands for Profit and Loss: the difference between what a position is worth now (or what it sold for) and what it cost to open, adjusted for fees. A positive PnL means the position is worth more than it cost; a negative PnL means it’s worth less.

That simple idea gets more nuanced with two things every active trader runs into: positions that are still open, and positions that use leverage. Both change how PnL should be read, which is what the rest of this article covers.

Realised vs. Unrealised PnL

The single most important distinction in PnL is between realised and unrealised.

Unrealised PnL is the profit or loss on a position that is still open. It’s a live estimate based on the current market price — it goes up and down constantly and isn’t “yours” yet in any final sense.

Realised PnL is the profit or loss that becomes final once a position (or part of it) is closed. At that point, the result is locked in and no longer changes with the market.

Simple hypothetical example (excludes fees for clarity): A trader buys 1 unit of an asset at $100. While the position is open and the price rises to $110, it shows an unrealised PnL of +$10. If the price then drops to $95, the unrealised PnL becomes -$5 — nothing has actually been gained or lost yet. If the trader sells at $105, the position closes and the result becomes realised PnL of +$5 — fixed and final.

This is why a position can show a profit one moment and a loss the next without the trader doing anything: only the market price is moving, not the trader’s actual outcome, until the position closes.

What Is Position PnL infographic
Unrealised vs Realised PnL infographic
How PnL Works Spot vs Futures infographic
What Changes the Final Result infographic

How Spot Trading PnL Works

Spot Trading PnL is the most straightforward to understand because there’s no leverage involved — you own the asset outright. Unrealised PnL is current market value minus purchase price (and the fee paid to buy). Realised PnL is actual sale proceeds minus purchase cost and the fees paid on both the buy and the sell.

The thing beginners often overlook is that fees apply on both sides of the trade. A position can show a small unrealised gain on paper, but after the entry fee and the still-pending exit fee, the actual realised result may be smaller than expected — or even break-even.

How Futures Position PnL Works

Futures Trading adds two elements that Spot Trading doesn’t have: the ability to go long or short, and leverage. Both change how PnL behaves.

Long positions

Long positions profit when the price rises and lose when the price falls: entry price below current price = profit; entry price above current price = loss.

Short positions

Short positions are the mirror image — they profit when the price falls and lose when the price rises, since the trader is effectively betting on a decline.

Entry price, mark price, and position size

Unrealised Futures PnL is typically calculated using the position’s entry price (or average open price) compared against the mark price — not necessarily the last traded price on the order book. Mark price is designed to reflect a fair, manipulation-resistant estimate of a contract’s value, and it’s used both for calculating unrealised PnL and for determining liquidation. Position size then scales that price difference into an actual PnL figure — the same price move produces a proportionally larger PnL on a larger position.

Leverage, margin, fees, funding, and liquidation risk

Leverage does not change how much the underlying market moved — it changes how much capital was required to hold the position, and therefore how large the percentage return or loss looks relative to that capital. Two traders can see the exact same dollar PnL on the same price move, but the one using higher leverage put up less margin to get there, so their percentage return — and their liquidation risk — is much larger.

A few costs apply specifically to leveraged Futures positions. Fees are charged on opening and closing, similar to Spot Trading. Funding fees are periodic payments exchanged between long and short holders (not the exchange) that keep a perpetual futures price aligned with spot — depending on the rate and direction, a trader may pay or receive funding at each settlement. Liquidation risk exists because leveraged positions have limited margin backing them: if losses erode available margin below what’s required, the position can be automatically closed, independent of the trader’s own decision to exit. This is why leverage amplifies risk, not just reward.

(Always confirm current fee schedules, funding rates, and liquidation rules in your exchange’s official documentation, since these can differ slightly between contract types.)

Why the PnL Number Can Change

The figure on screen isn’t static, and several factors can move it without a trader taking any action:

  • Mark-price movement — the primary driver; unrealised PnL updates continuously as it changes.
  • Volatility — fast price swings can cause PnL to swing widely within short periods.
  • Spread — the gap between buy and sell prices affects the realised result versus the last quoted price.
  • Funding — periodic payments factor into the net result of holding a Futures position.
  • Fees — every trade (entry, exit, or partial close) deducts a fee that reduces net PnL.
  • Partial closes — closing part of a position realises PnL on that portion while the rest stays unrealised.
  • Changing position size — adding to or reducing a position changes future PnL calculations and can shift the average entry price.

Common PnL Mistakes to Avoid

  • Confusing unrealised PnL with a completed result. It’s only a snapshot until the position closes.
  • Overlooking fees and funding. A profitable-looking headline number can look different once entry/exit fees and funding are subtracted.
  • Focusing only on PnL percentage. A large percentage move can come from a small price change on a highly leveraged position — it doesn’t show how much capital or risk is involved.
  • Misunderstanding leverage. It changes exposure and risk, not the size of the market’s actual move.
  • Failing to check position size and entry price. The same price move can mean a very different outcome depending on how large the position is and where it was opened.

A Simple PnL Checklist Before You Close a Position

  • Is this PnL figure realised or still unrealised?
  • Have entry and expected exit fees been accounted for?
  • For Futures, has funding been factored in?
  • Does the PnL percentage reflect leverage, or just the raw price move?
  • Is the position size and entry price still what you expect?
  • If closing only part of the position, do you know which portion becomes realised?

Key Takeaway: Pause Before You Trust the Number

PnL looks like a single, simple number, but it’s really a summary of several moving parts: whether a position is open or closed, what price it’s measured against, how large it is, and what fees and funding have already applied. The most useful habit for any trader is to pause before reacting to a PnL figure and ask what it actually represents at that moment. For a deeper walkthrough of leveraged position mechanics, see XT’s guide on leverage, margin, and liquidation in crypto futures trading.

About XT Exchange

Founded in 2018, XT Exchange is a leading global digital asset trading platform, serving over 12 million registered users across more than 200 countries and regions, with an ecosystem reach exceeding 40 million. XT Exchange supports 1,300+ tokens and 1,300+ trading pairs, offering a wide range of trading options, including spot, margin, and futures, alongside a secure RWA (Real World Assets) marketplace. Guided by the vision “Xplore Crypto, Trade with Trust,” the platform strives to provide a secure, trusted, and intuitive trading experience.

Join the XT Exchange Community: X (Twitter) | Telegram | Facebook | Instagram | LinkedIn | Medium | YouTube

Disclaimer: XT Exchange reserves the right, at its sole discretion, to modify, amend, or cancel this announcement at any time for any reason without prior notice.

分享貼子
🔍
guide
免費註冊,開啓你的加密交易之旅