Realized vs Unrealized P&L in Crypto, Explained (with Examples)
By the Holdy team · Published November 10, 2026
Most crypto apps open with one big number: your balance. It tells you what your coins are worth right now — and nothing about whether you're actually making money. For that you need P&L (profit and loss), split into two parts: realized and unrealized.
Key takeaways
- Realized P&L is profit or loss you locked in by selling. It doesn't change after the sale.
- Unrealized P&L is the paper profit or loss on what you still hold. It moves with the price.
- Total P&L = realized + unrealized. Your balance is neither.
- The cost basis method (average cost or FIFO) changes how the total is split, not the total itself.
- Most wrong P&L comes from bad data, not bad math: transfers counted as trades, airdrops and dust with no purchase price, missing buys.
The two numbers in one sentence each
Realized P&L — what you made or lost on coins you've already sold: sale proceeds minus what those coins cost you.
Unrealized P&L — what you'd make or lose if you sold everything you hold right now: current value minus what those coins cost you.
Both are measured against your cost basis — what you paid for the coins, including fees.
A worked example (average cost)
Say you bought Bitcoin twice and sold once:
| Step | Action | Price | Coins held | Total cost of coins held |
|---|---|---|---|---|
| 1 | Buy 1 BTC | $60,000 | 1 | $60,000 |
| 2 | Buy 1 BTC | $80,000 | 2 | $140,000 |
| 3 | Sell 0.5 BTC | $90,000 | 1.5 | $105,000 |
| 4 | Today's price | $75,000 | 1.5 | $105,000 |
Average buy price after step 2: $140,000 ÷ 2 = $70,000.
Realized P&L at step 3: you sold 0.5 BTC for $45,000; those coins cost 0.5 × $70,000 = $35,000. Realized P&L = +$10,000. With the average cost method, the sale lowers how many coins you hold, but the average buy price of the rest stays $70,000.
Unrealized P&L today: 1.5 BTC × $75,000 = $112,500 in value, against $105,000 in cost. Unrealized P&L = +$7,500 (+7.1%).
Total P&L = $10,000 + $7,500 = +$17,500. Check: $112,500 value + $45,000 received − $140,000 spent = $17,500.
Now the price drops to $65,000. Your balance falls to $97,500 and the unrealized P&L turns red: −$7,500. But the $10,000 you realized is still there — your total is +$2,500. An app that shows only the balance and the day's change would make this look like a loss.
Average cost vs FIFO: same total, different split
The same trades with FIFO (first in, first out) — the oldest coins are sold first:
| Average cost | FIFO | |
|---|---|---|
| Cost of the 0.5 BTC sold | $35,000 (at $70,000 average) | $30,000 (from the $60,000 buy) |
| Realized P&L | +$10,000 | +$15,000 |
| Cost of the 1.5 BTC still held | $105,000 | $110,000 |
| Unrealized P&L at $75,000 | +$7,500 | +$2,500 |
| Total P&L | +$17,500 | +$17,500 |
The total is the same; only the split changes. That's why two apps can show different realized P&L for the same trades — check which method each one uses.
Which method matters for taxes depends on where you live: in the US, the IRS treats sales as FIFO unless you specifically identify the units; the UK pools tokens of the same kind at an average cost. For tax forms, use tax software or an accountant — a portfolio tracker shows the picture, not the tax bill.
Fees count
Fees are part of what the coins cost you. If each buy in the example had a $100 fee, your total cost would be $140,200 and the average buy price $70,100. Leave fees out and every P&L number looks slightly better than it really is.
Why P&L goes wrong (and how to keep it accurate)
The math is simple. The data usually isn't. The most common problems:
- Transfers counted as trades. Moving coins from an exchange to your wallet isn't a sale. If an app imports the withdrawal as a sell and the deposit as a new buy at today's price, both realized and unrealized P&L are wrong.
- Deposits with no purchase price. Coins that arrive from another wallet have no buy price attached. Without one, the app either guesses or counts them as free — and your profit looks huge.
- Airdrops, dust and spam tokens. Tiny unexpected transfers land in your history with a zero cost and inflate the numbers.
- Stablecoins. USDT or USDC parked between trades add noise to a coin-level P&L view.
- Missing trades. An exchange that wasn't connected, or history older than the API returns, leaves holes in your cost basis.
The fix is control over what gets into your portfolio — which is how Holdy is built.
How Holdy shows your P&L
Holdy is our iPhone app, and real P&L is what it's built around:
- Realized and unrealized P&L for every coin and every portfolio, plus the total across portfolios, with the average cost method — the one in the example above.
- Results by day, week, month and year, so you can see how a period actually went, not just today's change.
- Realized P&L by year — which year actually made you money.
- See it on the chart. Your own buys and sells are marked on the coin's chart (green and red markers), and the position chart shows your average buy price as a line — so you can see at a glance whether the price is above or below what you paid. You can set an alert for when the price crosses your average buy price or a support or resistance level.
- You decide what gets synced. Trades and transfers from 14 exchanges (read-only API keys) and wallets on 9 blockchains arrive as suggestions: accept them, skip what you don't want tracked — a transfer, an airdrop, dust — or turn on auto-accept for a connection you trust.
- Fix purchase prices and token types on imported transactions, so a deposit from another wallet gets the price you really paid.
- Exclude stablecoins per connection.
- Anything that isn't connected — any wallet, any platform, including DeFi protocols — can be added manually or by CSV with your own purchase price.
- Weekly, monthly and yearly summary notifications with your results.
No ads, no swaps, no trading: Holdy never holds or moves funds. Tax reports are planned but not available yet.
How other trackers handle P&L
| App | Realized and unrealized P&L | Cost basis method |
|---|---|---|
| Holdy | Yes, free | Average cost, documented |
| CoinStats | Yes, free | Not documented |
| CoinMarketCap | Yes, free | Average cost, including fees |
| Delta | Gains reporting on PRO+ | Weighted average / adjusted cost basis |
| CoinGecko | Unrealized + average buy price | Average buy price |
Checked November 2026; see our comparison of iPhone trackers for sources.
Frequently asked questions
What is the difference between realized and unrealized P&L?
Realized P&L is profit or loss you locked in by selling. Unrealized P&L is the paper profit or loss on coins you still hold, measured against what you paid for them. Realized P&L doesn't change after the sale; unrealized P&L moves with the price.
How do I calculate unrealized P&L in crypto?
Multiply the coins you still hold by the current price, then subtract what those coins cost you (quantity × average buy price, including fees). Example: 1.5 BTC bought at an average of $70,000 and now worth $75,000 each has an unrealized P&L of 1.5 × ($75,000 − $70,000) = $7,500.
Is my portfolio balance the same as my profit?
No. The balance is what your coins are worth now. Profit depends on what you paid and what you already sold. A $10,000 balance can mean a big gain or a loss, and a red day can hide a year in profit if you sold earlier at a higher price.
Does the cost basis method change my P&L?
It changes how total P&L is split between realized and unrealized, not the total. With average cost, every sale is compared with your average buy price; with FIFO, the oldest coins are sold first. Tax rules decide which method you must use for taxes.
Which app shows realized and unrealized P&L for crypto?
Holdy shows realized and unrealized P&L for every coin and every portfolio on iPhone, using the average cost method, with results by day, week, month and year and realized P&L by year. CoinStats and CoinMarketCap also show both for free; Delta includes gains reporting in PRO+.
Sources
Checked November 10, 2026. - IRS: Frequently asked questions on virtual currency transactions (identifying units sold, FIFO) - HMRC: Cryptoassets Manual — pooling - CoinMarketCap: how CMC calculates portfolio profits - Delta: how advanced metrics are calculated, App Store - CoinStats: pricing - Holdy: holdyapp.com, App Store
Keep reading
- Best crypto portfolio tracker apps for iPhone (2026)
- Holdy vs CoinStats: which crypto tracker fits you
- CoinStats alternatives (2026)
Examples are illustrative and use round numbers. Information about other apps comes from their public websites, help centers and App Store listings as of the date above and may be out of date or inaccurate; we update this page regularly but can't guarantee it and accept no liability for decisions based on it. Spotted a mistake? Let us know. Product names and trademarks belong to their owners; Holdy is not affiliated with the other apps. Not financial or tax advice.