Understanding how profit and loss (P&L) are calculated in cryptocurrency delivery contracts is essential for traders aiming to manage risk and optimize returns. Whether you're trading U-margined or coin-margined futures, knowing the core metrics—such as position size, entry price, floating P&L, and realized gains—can significantly improve your trading decisions. This guide breaks down each key concept with clear formulas and real-world examples, helping you master delivery contract calculations in a structured way.
Understanding Key Terms in Delivery Contracts
Before diving into calculations, it’s crucial to define the foundational terms used in futures trading. These metrics form the backbone of your trading performance analysis.
Position Size
Position size refers to the number of contracts held in your portfolio. It can be expressed in contract units or its equivalent value in cryptocurrency or USD.
- In one-way mode, long positions are positive numbers, while short positions are negative.
- In hedge mode, both long and short positions are treated as positive values, allowing independent management of each direction.
Entry Price (Average Open Price)
The entry price is the average cost at which your current position was opened. This value changes when you add to your position or reverse your trade.
There are two formulas based on margin type:
For U-Margined Contracts:
Entry Price = (Current Position × Current Entry Price + Additional Position × New Entry Price) / (Current Position + Additional Position)For Coin-Margined Contracts:
Entry Price = (Current Position + Additional Position) / (Current Position / Current Entry Price + Additional Position / New Entry Price)👉 Learn how real-time position tracking simplifies complex margin calculations.
This dynamic adjustment ensures accurate profit tracking across multiple entries.
Floating Profit and Loss (Unrealized P&L)
Floating P&L reflects the current gain or loss of an open position based on market conditions. It fluctuates with the mark price, not the last traded price, to prevent manipulation.
U-Margined Contracts:
- Long Position:
Face Value × |Position Size| × Contract Multiplier × (Mark Price – Entry Price) - Short Position:
Face Value × |Position Size| × Contract Multiplier × (Entry Price – Mark Price)
Coin-Margined Contracts:
- Long Position:
Face Value × |Position Size| × Contract Multiplier × (1/Entry Price – 1/Mark Price) - Short Position:
Face Value × |Position Size| × Contract Multiplier × (1/Mark Price – 1/Entry Price)
Note: The absolute value of position size (|Position Size|) ensures consistent calculation regardless of direction.Floating Profit Rate
This percentage shows how much your unrealized gain or loss is relative to your position margin:
Floating Profit Rate = (Floating P&L / Position Margin) × 100%A high floating rate indicates significant exposure—positive or negative—and should prompt risk reassessment.
Closed Position P&L (Realized from Closing)
When you close part or all of a position, the realized profit or loss is locked in using the exit price.
U-Margined:
- Long:
Face Value × |Closed Size| × (Exit Price – Entry Price) - Short:
Face Value × |Closed Size| × (Entry Price – Exit Price)
Coin-Margined:
- Long:
Face Value × |Closed Size| × (1/Entry Price – 1/Exit Price) - Short:
Face Value × |Closed Size| × (1/Exit Price – 1/Entry Price)
This metric helps evaluate the success of individual trades.
Settlement P&L
At contract expiration, open positions are settled at the final settlement price. Any difference between entry and settlement prices becomes settlement P&L.
The formula mirrors floating P&L but uses settlement price instead of mark price. This is especially important for quarterly or bi-weekly delivery contracts.
Realized P&L and Realized Return Rate
Realized P&L combines:
- Closed position gains/losses
- Settlement gains/losses
- Minus transaction fees
Realized P&L = Closing P&L + Settlement P&L – Trading FeesThen, calculate return on the portion of margin used for closed positions:
Realized Return Rate = (Realized P&L / Margin Used for Closed Positions) × 100%Practical Examples of Delivery Contract Calculations
Let’s apply these formulas with realistic scenarios to clarify their use.
Example 1: Recalculating Entry Price After Adding to a Position
U-Margined Contract (BTC-USDT)
You hold 10 contracts of BTC-USDT delivery futures long at $100,000 each. You add 5 more contracts at $160,000.
New Entry Price = (10 × 100,000 + 5 × 160,000) / (10 + 5) = 1,800,000 / 15 = $120,000Your average cost per contract rises due to the higher add-on price.
Coin-Margined Contract (BTC-USD)
You have a short position of 10 contracts at $100,000. You add 5 more shorts at $80,000.
New Entry Price = (10 + 5) / (10/100,000 + 5/80,000) = 15 / (0.0001 + 0.0000625) = 15 / 0.0001625 ≈ $92,307The lower add-on price pulls your average down, improving potential profit if BTC drops further.
Example 2: Calculating Floating P&L
U-Margined Long Position (BTC-USDT)
- Face Value: 0.01 BTC
- Contracts: 10
- Entry: $100,000
- Mark Price: $160,000
Floating P&L = 0.01 × 10 × (160,000 – 100,000) = $6,000You’re sitting on a $6,000 unrealized gain.
Coin-Margined Short Position (BTC-USD)
- Face Value: $100
- Contracts: 1,000
- Entry: $100,000
- Mark Price: $80,000
Floating P&L = 100 × 1,000 × (1/80,000 – 1/100,000) = 100,000 × (0.0000125 – 0.00001) = 100,000 × 0.0000025 = 0.25 BTCYour unrealized profit is ¼ of a Bitcoin.
Example 3: Floating Profit Rate
With a $6,000 floating gain and $1,600 margin posted:
Floating Profit Rate = (6,000 / 1,600) × 100% = 375%Such high returns signal strong performance—but also high leverage risk.
👉 See how professional traders balance high yield with risk control strategies.
Frequently Asked Questions
Q: What is the difference between floating and realized P&L?
A: Floating P&L applies to open positions and changes with market prices. Realized P&L is locked in when you close a trade or settle a contract.
Q: Why does mark price affect floating P&L instead of last price?
A: Mark price prevents price manipulation by using a fair value derived from spot indices and funding rates, ensuring accurate liquidation and profit calculations.
Q: How do I reduce slippage when closing large positions?
A: Use limit orders or split large orders into smaller ones. Consider trading during high-liquidity periods for tighter spreads.
Q: Does funding rate impact delivery contract P&L?
A: No. Funding rates apply only to perpetual swaps. Delivery contracts expire at a set time with no ongoing funding payments.
Q: Can I calculate P&L manually if my platform shows incorrect data?
A: Yes—use the formulas above with accurate entry, exit, mark, and settlement prices. Always verify inputs like face value and contract multiplier.
Q: Is leverage included in P&L calculations?
A: Leverage isn’t directly in the formula but affects margin size. Higher leverage increases both potential returns and risks.
Core Keywords for Search Optimization
- Delivery contract profit calculation
- Futures trading P&L formula
- Unrealized vs realized profit crypto
- U-margined vs coin-margined futures
- How to calculate entry price in futures
- Mark price vs last price futures
- Settlement P&L crypto futures
These keywords naturally support search intent around understanding derivatives performance metrics in digital asset markets.
Final Thoughts
Mastering delivery contract P&L calculations empowers traders to make informed decisions based on precise data rather than assumptions. From recalculating entry prices after adding positions to interpreting floating and realized gains, each metric plays a role in shaping your overall strategy.
Remember that while high returns are attractive—like a 375% floating rate—they often come with elevated risk due to leverage. Always assess your risk tolerance and use stop-losses or take-profit levels to manage exposure.
👉 Access advanced analytics tools that automate complex P&L tracking across all contract types.
By combining solid mathematical understanding with disciplined risk management, you can navigate the volatile world of crypto futures with greater confidence and clarity.