How to Calculate Unrealized PnL in Crypto Futures

Who This Is For

This guide is for beginner crypto traders who want to understand how unrealized profit and loss (PnL) works in futures trading, using a real-world example with a Bitcoin perpetual contract.

💡
Ready to Trade with AI?
Join thousands trading smarter on Aivora — the AI-powered crypto exchange. Spot trading, futures, and AI-driven market predictions.
Open Free Account →

What You’ll Need

  • A basic understanding of what a crypto futures contract is
  • Access to a futures trading platform (like Binance, Bybit, or dYdX)
  • A calculator or spreadsheet to follow along with the numbers
  • Knowledge of your leverage setting and position size
  • The current mark price and entry price for your position

Key Takeaways

  1. Unrealized PnL shows the paper profit or loss on an open position, calculated using the current mark price vs. your entry price.
  2. The formula for a long position is: (Current Price – Entry Price) × Contract Size × Quantity.
  3. Leverage multiplies both gains and losses, so your unrealized PnL percentage changes faster than the underlying asset’s price.

Step 1: Understand the Core Formula

Before we plug in numbers, let’s lock in the formula. For a long position (you bought expecting the price to rise), unrealized PnL is calculated as:

Unrealized PnL = (Current Mark Price – Entry Price) × Contract Size × Number of Contracts

The “contract size” depends on the exchange. On Binance, one Bitcoin perpetual contract is typically 0.001 BTC. On Bybit, one contract equals 1 USD. For this example, we’ll use a standard setup where one contract equals 0.001 BTC, and the mark price is the fair price used to calculate PnL and prevent manipulation.

For a short position (you sold expecting the price to fall), the formula flips: Unrealized PnL = (Entry Price – Current Mark Price) × Contract Size × Number of Contracts. The logic is the same — you want the difference to be positive for profit.

Step 2: Set Up a Real-World Example

Let’s say you open a long position on Bitcoin futures. Your entry price is $30,000. You buy 10 contracts, where each contract represents 0.001 BTC. So your total position size is 0.01 BTC. You use 10x leverage.

Now, the mark price moves to $31,500. That’s a $1,500 increase in Bitcoin’s price. But because you’re leveraged, your PnL percentage will be larger than 5% — we’ll calculate the exact numbers in the next steps.

Here’s the key: unrealized PnL is a paper number. It changes every second as the mark price updates. It’s not real money until you close the position. But it’s critical for risk management because it determines whether you’ll get liquidated.

Step 3: Calculate the Dollar PnL

Using the long formula: (Current Price – Entry Price) × Contract Size × Number of Contracts

Plug in the numbers: ($31,500 – $30,000) × 0.001 BTC × 10 contracts

That’s $1,500 × 0.001 × 10 = $15. So your unrealized PnL is +$15.

But wait — that’s the absolute profit. Your initial margin was the position value divided by leverage. Position value = $30,000 × 0.01 BTC = $300. With 10x leverage, your margin was $30. So your unrealized return is $15 / $30 = 50%. That’s a massive 50% gain on your margin, even though Bitcoin only moved 5%.

This is the power — and danger — of leverage. A 5% price move gave you a 50% paper gain. But if the price had dropped 5% to $28,500, your unrealized loss would be -$15, which is 50% of your margin. You’d be dangerously close to liquidation.

Step 4: Account for Fees and Funding Rate

Your unrealized PnL on most exchanges does not include trading fees or funding rate payments. This is a common beginner trap. You might see +$15 in unrealized PnL, but after you close the position, the exchange deducts a taker fee (often 0.04% to 0.06% of the position value).

In our example, the position value is $300. A 0.05% fee is $0.15. That’s small, but on larger positions it adds up fast. More importantly, funding rates for perpetual futures can eat into your PnL significantly if you hold a position for days or weeks.

Funding is a periodic payment between long and short traders. If funding is positive, longs pay shorts. If you hold a long position during positive funding, your unrealized PnL doesn’t reflect those payments. Your actual realized PnL after closing will be lower than the paper number.

So always check the funding rate history and factor in at least 0.1% to 0.2% for fees and spreads when estimating your net profit.

Step 5: Use the Percentage View for Risk Management

Most trading platforms show unrealized PnL both in dollar terms and as a percentage of your margin. The percentage view is more useful for risk management because it tells you how close you are to liquidation.

For example, if your exchange has a 5% maintenance margin requirement (common for 10x leverage), and your unrealized PnL percentage drops to -95%, you’re one tick away from liquidation. The dollar amount alone doesn’t tell you that.

Here’s a rule of thumb: if your unrealized loss exceeds 80% of your initial margin, you should strongly consider closing or adding margin. Many experienced traders set a mental stop at -70% unrealized loss to avoid forced liquidation, which often comes with additional penalties.

Also, remember that unrealized PnL is based on the mark price, not the last traded price. Exchanges use mark price to prevent manipulation from sudden spikes. But when you close, you’ll get the actual market price, which might be slightly different. This is called slippage.

Step 6: Calculate a Short Position Example

Now let’s flip it. You open a short position on Ethereum futures at $1,800. You sell 20 contracts, each representing 0.01 ETH (total 0.2 ETH). Leverage is 5x. Your entry price is $1,800.

The mark price drops to $1,710. That’s a $90 drop. For a short, unrealized PnL = (Entry Price – Current Price) × Contract Size × Number of Contracts.

So: ($1,800 – $1,710) × 0.01 ETH × 20 = $90 × 0.01 × 20 = $18. Your unrealized PnL is +$18.

Your initial margin was ($1,800 × 0.2 ETH) / 5 = $360 / 5 = $72. So your unrealized return is $18 / $72 = 25%. The asset moved 5% down, but your paper profit is 25% of margin.

If the price had risen to $1,890 instead, your unrealized loss would be -$18, or -25% of margin. At 5x leverage, a 20% adverse move would liquidate you.

The key insight: unrealized PnL percentage is your leverage multiplied by the asset’s percentage move (minus fees). In this case, 5x leverage × 5% move = 25% PnL percentage. This linear relationship holds for small moves but breaks down near liquidation due to the exchange’s margin mechanics.

Common Pitfalls and Risks

⚠️ Risk: Confusing unrealized PnL with realized profit. New traders often see a green number and think they’ve made money. But unrealized PnL can vanish in seconds if the market reverses. The only PnL that matters is what you have after closing the position. Mitigation: Never spend or count unrealized gains as real money.

⚠️ Risk: Ignoring funding rate costs on perpetual futures. Funding payments are deducted from your wallet balance, not from your unrealized PnL. If you hold a position for 24 hours with a 0.01% funding rate every 8 hours, that’s 0.03% per day. On a $10,000 position, that’s $3 per day in costs. Over a week, that’s $21 — real money that doesn’t show in the unrealized PnL column. Mitigation: Check the funding rate before opening a position and calculate the daily cost.

⚠️ Risk: Over-leveraging based on a small unrealized gain. Seeing a 50% paper gain on a 5% price move can make you feel invincible. This leads to increasing position size or adding more leverage. Then a 5% move against you wipes out your account. Mitigation: Use a maximum of 3x to 5x leverage as a beginner, and never increase leverage after seeing a winning trade.

This content is for educational and informational purposes only and does not constitute financial advice. Past performance does not guarantee future results.

What Next?

Practice calculating unrealized PnL on a demo account for at least 20 simulated trades before risking real capital, and study how different leverage levels affect your paper returns.

Sources & References

I Tested KuCoin Cross Margin — What I Learned
{“@context”:”https://schema.org”,”@type”:”Article”,”headline”:”How to Calculate Unrealized PnL in Crypto Futures”,”description”:”By Editorial Team · July 2026 Who This Is For This guide is for beginner crypto traders who want to understand how unrealized profit and loss (PnL).”,”author”:{“@type”:”Organization”,”name”:”Sciencerehashed Editorial Team”},”publisher”:{“@type”:”Organization”,”name”:”Sciencerehashed”},”mainEntityOfPage”:”https://www.sciencerehashed.com/?p=530″,”datePublished”:”2026-07-15T09:38:42+00:00″,”dateModified”:”2026-07-15T09:38:42+00:00″}

🚀
Trade Smarter with AI
AI-powered crypto exchange — BTC, ETH, SOL & more
Start Trading →
M
Maria Santos
Crypto Journalist
Reporting on regulatory developments and institutional adoption of digital assets.
TwitterLinkedIn

Related Articles

1. Article Framework: E = Process Journal
Jun 11, 2026
Everything You Need To Know About Eliza Os Ai Agent Framework
Jun 11, 2026
'
Jun 6, 2026

About Us

Exploring the future of finance through comprehensive blockchain and Web3 coverage.

Trending Topics

MiningBitcoinMetaverseLayer 2StablecoinsAltcoinsStakingDAO

Newsletter

BTC: ... ETH: ... SOL: ...