Understanding how profit and loss (PnL) are calculated in expiry futures contracts is essential for any trader navigating the dynamic world of cryptocurrency derivatives. Whether you're trading coin-margined or U-stablecoin-margined futures, knowing the precise formulas and concepts behind PnL helps you make informed decisions, manage risk effectively, and optimize your trading strategy.
This guide breaks down the core components of PnL calculations—entry price, floating PnL, realized PnL, settlement PnL, and more—with clear explanations and practical examples. We’ll also cover key differences between contract types and margin modes to ensure you can confidently interpret your positions.
Key Concepts in Futures PnL Calculation
Before diving into formulas, let’s define the foundational terms used across all calculations.
Size
The size refers to the number of contracts or the crypto/fiat value held in a position. In One-way mode, long positions have a positive size, while short positions are negative. In Hedge mode, both long and short positions are represented with positive values, allowing independent management of directional exposure.
👉 Learn how to calculate your real-time PnL with precision using advanced trading tools.
Entry Price
Your entry price is the average price at which your position was opened. It changes when you add to or reverse your position. After settlement, it’s replaced by the settlement price.
For U-stablecoin-margined contracts, the formula is:
(Current Size × Entry Price + Added Size × Added Size’s Entry Price) / (Current Size + Added Size)
For coin-margined contracts, the formula adjusts for inverse pricing:
(Current Size + Added Size) / (Current Size / Entry Price + Added Size / Added Size’s Entry Price)
Note: All sizes used in these formulas are treated as positive values.
Floating PnL: Measuring Unrealized Gains or Losses
Floating PnL reflects the unrealized profit or loss of an open position based on current market conditions, specifically the difference between your entry price and the mark price—a fair value estimate designed to prevent manipulation.
For U-Stablecoin-Margined Contracts
- Long positions:
Face value × |Size| × Multiplier × (Mark price – Entry price) - Short positions:
Face value × |Size| × Multiplier × (Entry price – Mark price)
For Coin-Margined Contracts
Due to their inverse structure (quoted in USD but settled in BTC), calculations use reciprocal pricing:
- Long positions:
Face value × |Size| × Multiplier × (1/Entry price – 1/Mark price) - Short positions:
Face value × |Size| × Multiplier × (1/Mark price – 1/Entry price)
Example: Floating PnL Calculation
Suppose you hold a long BTC-USDT futures position:
- Face value: 0.01 BTC
- Size: 10 contracts
- Entry price: $100,000
- Mark price: $160,000
Floating PnL = 0.01 × 10 × 1 × (160,000 – 100,000) = 6,000 USDT
This means your position has an unrealized gain of 6,000 USDT.
Floating PnL Ratio: Assessing Performance Relative to Margin
The floating PnL ratio shows how much profit or loss you’ve generated relative to the margin allocated to the position.
Formula: (Floating PnL / Position's margin) × 100%
Using the previous example:
- Floating PnL: 6,000 USDT
- Position margin: 1,600 USDT
(6,000 / 1,600) × 100% = 375%
A high ratio indicates strong performance but may also signal elevated risk if the market reverses.
👉 Maximize your margin efficiency with smart leverage strategies on a trusted platform.
Closed PnL: Realizing Gains or Losses on Exit
When you close part or all of a position, closed PnL captures the actual profit or loss based on the close price.
U-Stablecoin-Margined Contracts
- Long:
Face value × |Size| × Multiplier × (Close price – Entry price) - Short:
Face value × |Size| × Multiplier × (Entry price – Close price)
Coin-Margined Contracts
- Long:
Face value × |Size| × Multiplier × (1/Entry price – 1/Close price) - Short:
Face value × |Size| × Multiplier × (1/Close price – 1/Entry price)
Settlement PnL: Final Adjustment at Contract Expiry
At expiry, open positions are settled at the settlement price. The resulting profit or loss is known as settlement PnL.
Formulas mirror those of closed PnL but substitute “Close price” with “Settlement price.” This final adjustment ensures all outstanding obligations are cleared based on the official reference rate.
Realized PnL: Total Profit or Loss After Fees
Realized PnL combines all gains and losses from:
- Closed PnL
- Settlement PnL
- Trading fees
Formula: Closed PnL + Settlement PnL + Trading Fee
Trading fees reduce net profit, so they must be accounted for in performance analysis. Note that fee structures vary by platform and user tier.
The realized PnL ratio evaluates efficiency:
(Realized PnL / Closed position's margin) × 100%
This metric helps assess whether your strategy delivers returns proportional to capital risked.
Frequently Asked Questions (FAQ)
What is the difference between floating and realized PnL?
Floating PnL reflects unrealized gains or losses on open positions based on current market prices. Realized PnL is the actual profit or loss recorded after closing or settling a position, including fees.
How does margin mode affect PnL calculation?
In One-way mode, long and short positions offset each other, affecting net size and entry price. In Hedge mode, long and short are treated independently, enabling separate PnL tracking for each direction.
Why do coin-margined contracts use reciprocal pricing?
Because these contracts are quoted in USD but settled in cryptocurrency (e.g., BTC), their valuation depends inversely on the asset’s price. As BTC rises, fewer coins are needed to repay USD-denominated obligations, hence the use of 1/price in formulas.
Does leverage impact PnL directly?
Leverage doesn’t change the PnL formula but amplifies both gains and losses relative to your margin. Higher leverage increases volatility in your floating PnL ratio.
Can I have negative realized PnL?
Yes. If the market moves against your position or fees exceed profits, realized PnL can be negative—indicating a net loss.
Is mark price the same as last traded price?
No. The mark price is a smoothed average derived from index prices and funding rates to prevent liquidation due to short-term spikes. It protects traders from volatility and manipulation.
Core Keywords for Clarity and SEO
To align with search intent and enhance visibility, this article integrates the following keywords naturally:
- expiry futures contracts
- futures profit and loss calculation
- floating PnL
- realized PnL
- settlement PnL
- entry price formula
- U-stablecoin-margined contracts
- coin-margined contracts
These terms reflect common queries among traders seeking clarity on derivatives performance metrics.
👉 Access real-time analytics and precise PnL tracking for all your futures trades today.
Final Thoughts
Accurately calculating profit and loss in expiry futures contracts empowers traders to maintain control over their risk exposure and performance evaluation. By mastering entry price adjustments, interpreting floating vs. realized metrics, and understanding settlement mechanics, you can trade with greater confidence—even in volatile markets.
Always remember: derivatives trading involves significant risk, especially with leverage. Use these formulas not just to chase profits, but to build disciplined strategies grounded in transparency and data.
This article is for informational purposes only and does not constitute financial advice.