What Is PnL? Meaning, Formula, and How to Calculate It
PnL stands for profit and loss. It's the number that tells you whether a trade, position, or portfolio made or lost money, and it shows up the moment you glance at your balance. That green or red figure next to your holdings on a crypto exchange is your PnL. Traders who actually understand what drives it manage risk; traders who just watch it tick up and down don't. This guide breaks down the pnl meaning in plain terms, walks through the formula step by step, and shows you exactly where your PnL can quietly diverge from what you'd expect. If you've ever wondered how to calculate pnl the way an exchange does, or why two dashboards show slightly different numbers for the same trade, the answer is below.
The same core logic applies whether you're closing a spot trade, holding a leveraged futures position, or running a perpetual contract. Once it clicks, every dashboard from Binance to a DeFi perp exchange makes a lot more sense.
What Does PnL Mean in Trading and Crypto?
In trading, PnL is the difference between what you paid for an asset and what it's currently worth or what you sold it for. A positive number means you're up; a negative number means you're down. It sounds simple, but the number displayed on your exchange screen is actually a live calculation pulling together your entry price, current market price, position size, and any fees along the way.
The term shows up everywhere in crypto: spot wallets, margin accounts, futures dashboards, even DeFi trading interfaces. It's used outside crypto too. Accountants use "P&L" to describe a company's profit and loss statement, a summary of revenue minus expenses over a period. The core idea is identical in both worlds, money in minus money out, but this guide sticks to PnL as traders use it, at the position level.
Two things make crypto PnL trickier than a simple subtraction. Prices move fast, so unrealized PnL can swing by double digits within minutes. Leverage then multiplies both the gains and the losses relative to your actual capital.
How Is PnL Calculated? The Basic Formula
At its core, learning how to calculate PnL comes down to comparing what you paid against what you received, then subtracting costs. For a standard long spot trade, the formula is:
PnL = (Exit Price − Entry Price) × Quantity − Fees
If you're still holding the asset, "Exit Price" becomes the current market price, and the result is your unrealized PnL rather than a locked-in gain.
Here's how to work through it step by step:
- Note your entry price — what you paid per unit when you opened the position.
- Note your exit price (or current market price if the position is still open).
- Calculate the price difference: exit price minus entry price.
- Multiply that difference by the quantity you're holding.
- Subtract any trading fees, funding payments, or other costs.
- The result is your PnL — positive means profit, negative means loss.
Say you buy 1 ETH at $2,400. A week later, ETH trades at $2,700 and you sell. Your gross PnL is ($2,700 − $2,400) × 1 = $300. If the exchange charged $6 in combined trading fees, your net PnL is $294.
Now flip it. You buy 1 ETH at $2,400, but the market drops to $2,250 and you cut your losses. Your PnL is ($2,250 − $2,400) × 1 = −$150 before fees, a bit worse after them. Same formula, opposite outcome. That's the entire mechanic behind every PnL figure you'll ever see.

Realized vs. Unrealized PnL Explained
Not all PnL is created equal. Only one type actually affects your wallet balance, and mixing the two up is how traders talk themselves into bad decisions.
Unrealized PnL is the gain or loss on a position you haven't closed yet. Traders often call it "paper" profit or loss because it only exists on screen. It fluctuates with the market price every second and can vanish just as fast as it appeared. Realized PnL is different: it locks in the moment you close the trade or sell the asset. It becomes a permanent part of your trading history, and it's what tax authorities typically care about.
| Aspect | Unrealized PnL | Realized PnL |
|---|---|---|
| Status | Open position, not yet closed | Position closed or asset sold |
| Changes with market? | Yes, constantly | No, fixed once closed |
| Affects wallet balance? | No | Yes |
| Relevant for taxes? | Generally no | Yes, in most jurisdictions |
| Risk | Can decrease or disappear before you act | None — the outcome is locked |
A common trader mistake is treating unrealized PnL as guaranteed money. It isn't. A position showing +$500 unrealized can turn into a loss overnight if you don't close it. That's why experienced traders set take-profit and stop-loss levels instead of just watching the number and hoping.
Gross PnL vs. Net PnL: Why Fees Matter
Gross PnL is the raw result of a trade before any costs are deducted, just the price difference multiplied by quantity. Net PnL is what's left after trading fees, funding payments, and slippage are subtracted. The gap between the two is often bigger than traders expect, especially on smaller trades or high-frequency strategies.
Buy 0.5 BTC at $60,000 and sell at $60,600. Gross PnL is ($600) × 0.5 = $300. If your exchange charges 0.1% on each side, that's roughly $60 in combined fees on a $30,300 notional trade, which turns your $300 gross profit into a $240 net profit. Scale that across dozens of trades a month and fees alone can be the difference between a profitable strategy and a break-even one.
- Trading fees (maker/taker) apply on both entry and exit
- Funding fees apply to open perpetual futures positions, charged periodically
- Slippage eats into your effective entry or exit price during fast-moving markets
- Withdrawal or network fees can further reduce your final take-home amount
Always evaluate a strategy on net PnL, never gross. It's the only number that reflects what actually lands in your account.
How to Read Your PnL Percentage and PnL Ratio
A dollar figure only tells half the story. $300 sounds fine until you ask how much capital was tied up to make it. PnL percentage answers that by normalizing your result against the money you actually risked.
PnL Percentage = (PnL ÷ Capital Used) × 100
Put $3,000 into a trade and net $300, that's a 10% return. Put $30,000 into the same dollar profit and you're looking at 1%. Big difference, same $300. So when you're sizing up which trades actually worked, don't just glance at the dollar amount, check the percentage against what you put in.
Then there's the PnL ratio, or risk-reward ratio if you prefer that name. It compares your average win to your average loss. Get that ratio to 2:1 and you're making twice as much on winners as you're losing on losers, which means you can stay profitable even losing more trades than you win. Flip side: an 80% win rate means nothing if your two losing trades wipe out the gains from your eight winners. Win rate alone is a vanity metric. Ratio is what pays the bills.
PnL in Crypto Trading: Spot vs. Futures vs. Perpetuals
PnL mechanics shift depending on what kind of crypto product you're trading. Spot trading means you own the actual asset, so your PnL simply tracks its price against your cost basis. Futures and perpetual contracts add leverage and expiry mechanics on top, and that changes how PnL behaves.
- Spot trading: You own the coin outright. PnL is straightforward — current value minus what you paid, no leverage, no funding fees, no liquidation risk.
- Futures contracts: You trade a contract that tracks the asset's price with a fixed expiry date. PnL is amplified by leverage, and losses can exceed your margin if the market moves sharply against you.
- Perpetual contracts: Like futures, but with no expiry date. To keep the contract price aligned with the spot market, exchanges use a funding rate — a periodic payment between long and short traders that directly adds to or subtracts from your PnL.
Here's a subtlety that trips up newer traders. Exchanges calculate unrealized PnL using the mark price, not the last traded price. Mark price is a smoothed reference price meant to prevent manipulation and unnecessary liquidations, so your displayed PnL can differ slightly from what a plain last-price calculation would show. It's a small detail, but it's why your PnL sometimes doesn't match your own mental math down to the cent.
Common Mistakes That Distort Your PnL
Even traders who understand the formula get caught off guard by how many small factors chip away at their final number. Here's where PnL commonly leaks.
- Ignoring fees entirely — always calculate net PnL, not gross, when judging a strategy's real performance
- Forgetting funding payments — on perpetuals, funding can quietly erode PnL even while the position sits flat in price
- Confusing mark price and last price — a discrepancy here explains sudden, unexplained shifts in unrealized PnL
- Averaging entries without recalculating cost basis — partial buys and sells change your effective entry price, and PnL is meaningless without an updated basis
- Treating unrealized PnL as final — it isn't locked in until you close the position
- Overlooking slippage on large or fast trades — the executed price can differ meaningfully from the price you saw on screen
Track these factors consistently, ideally with a trading journal or portfolio tracker, and PnL stops being a vague vibe and turns into a metric you can actually improve on.

Why Tracking PnL Accurately Matters for Traders and Merchants
For active traders, accurate PnL tracking is the foundation of risk management. It's how you identify which strategies actually work, spot patterns in your losing trades, and decide when to scale a position size up or down. Without clean PnL data, you're trading on gut feeling.
The same principle extends beyond individual trading. Crypto-focused businesses, exchanges, trading platforms, e-commerce merchants accepting digital assets, all need reliable infrastructure to keep their own financial reporting accurate. Every payment, conversion, and settlement ultimately feeds into a broader profit and loss picture, and volatile price swings between the moment a payment arrives and when it's converted or settled can quietly distort a merchant's numbers if the underlying payment processing isn't built to handle it.
That's where a solution like Plisio fits in for businesses accepting crypto payments. It handles conversions and settlement with transparent, trackable records, so the numbers feeding into your own PnL and accounting stay accurate instead of turning into a reconciliation headache.
Final Thoughts
Strip away the jargon and PnL meaning comes down to what you put in versus what you got out. The rest, fees, funding, mark price, realized or not, just decides whether that headline number is telling you the truth. Look past it and it stops feeling like a source of anxiety. It's just a scoreboard. Read it right and it'll tell you exactly what your trading is actually doing.