Realized vs Unrealized PnL: Reading Your Real Memecoin Profit
Your wallet says you're up 4x. The chart is green, the position card shows a fat number, and for a few hours you feel like a genius. Then the candle wicks down, liquidity thins out, and by the time you actually sell you walk away with a fraction of what the screen promised. That gap has a name. It's the difference between unrealized and realized PnL, and understanding it is the line between traders who keep their gains and traders who keep their screenshots.
What PnL actually measures
PnL is short for profit and loss. It answers one question: relative to what you put in, are you up or down, and by how much? On a memecoin trade, the inputs are simple. You spent some SOL to buy a token at a price. The token now has a price, or you sold it at a price. The math is just the exit value minus what you paid.
The trap is that "the exit value" can mean two completely different things. It can mean what your bag is theoretically worth right now if you could sell it instantly at the current market price. Or it can mean what you actually received in SOL when you hit the sell button. Those two numbers are rarely the same on a thin memecoin, and confusing them is the most expensive mistake new traders make.
Unrealized PnL: the paper number
Unrealized PnL is the gain or loss on a position you still hold. It's calculated against the current mark — the live price the market is quoting right now. Your position is open, the trade isn't finished, and the number floats up and down with every tick.
The formula is straightforward. Take the current price, subtract your cost basis (what you paid per token), multiply by how many tokens you hold. If you bought 1,000,000 tokens at 0.0001 SOL each and the price is now 0.0004 SOL, your unrealized profit reads as 300 SOL on paper. That's the number most bots and wallets show in green when you're up.
Here's the part that matters: unrealized PnL is a quote, not a promise. It assumes you could exit your entire position at the displayed price with zero friction. On a deep, liquid market that assumption is close enough to true. On a memecoin with a few thousand dollars of liquidity, it can be wildly optimistic. The "mark" reflects the last trade or the mid-price, not the price you'd actually get for dumping your whole bag into a shallow pool.
Realized PnL: the number that's actually yours
Realized PnL is the profit or loss you locked in by closing the position — partially or fully. The moment your sell transaction lands on-chain and SOL hits your wallet, that portion of the trade is settled. It can't be taken back by the next red candle.
The calculation uses your actual exit price, not the mark. Realized profit equals the SOL you received minus the SOL you spent on that portion, minus fees on both sides. If you sell half your bag, you realize the gain on that half and the rest stays unrealized. The distinction is everything: unrealized PnL can evaporate, realized PnL is money in hand.
A useful way to hold this in your head: unrealized is the score the game is showing while the clock is still running. Realized is the score after the whistle blows. Only one of them goes in the record book.
Why memecoin paper gains lie
On blue-chip markets the gap between mark and exit is small. On memecoins it can be the whole story, for three reasons.
Thin liquidity. A memecoin's price comes from a small pool. If the pool holds 20 SOL of liquidity and your bag is "worth" 15 SOL on paper, you cannot actually extract 15 SOL — selling that much moves the price against you hard before the order fills. The displayed mark assumes a tiny trade; your real exit is a large one.
Slippage and price impact. Every sell pushes the price down as it eats through the order book or drains the pool. The bigger your size relative to liquidity, the worse the fill. Your unrealized number is calculated at the top of that slide; your realized number lands somewhere at the bottom of it. On a low-liquidity token, the difference between the two can be 20%, 50%, or more.
The round trip. Buying and selling both cost you. There's the spread, the price impact on the way in and the way out, network fees, and the platform fee on each side. A token that "doubles" might barely break even once you account for what it cost to get in and out. Paper gains ignore all of this; realized PnL pays for it.
This is why the oldest rule in memecoin trading is also the truest: it's not real until you sell. A 10x that you never close is a story. A 2x that you actually banked is a profit. Traders who confuse the two ride green numbers all the way back to their entry, and sometimes below it.
Cost basis when you scale in
The whole PnL calculation hangs on your cost basis — the average price you paid per token. As long as you buy a position once, this is trivial. It gets interesting when you add to a position over time, which memecoin traders do constantly: a starter buy, then a second buy on a dip, then a third when the chart confirms.
Each buy at a different price shifts your average cost basis. The simplest method, and the one most tools use, is the weighted average: total SOL spent divided by total tokens held. Buy 1,000,000 tokens at 0.0001 SOL, then another 1,000,000 at 0.0003 SOL, and your average cost is 0.0002 SOL across 2,000,000 tokens. Every unrealized and realized calculation from that point measures against the blended number, not your first entry.
Why this matters in practice: a token can be trading well above your first buy but below your average if you aped more near the top. Your gut says you're winning because you remember that early entry; your real cost basis says otherwise. Reading your average — not your best fill — keeps you honest about whether the position is actually green. The same logic shapes how you size each add, which is a topic in its own right.
The tax angle, at a high level
The realized-versus-unrealized split isn't just a trading concept — in most places it's also the line that tax authorities care about. Broadly speaking, holding a token that's gone up is not usually a taxable event; selling it, or swapping it for another token, typically is. Unrealized gains tend to sit outside the calculation until you close the position and the gain becomes realized.
That has a real consequence for how you think about your numbers. The green unrealized figure on your screen is not what a tax form usually looks at; your realized sells across the year usually are. Tracking your closes — entry price, exit price, fees, and date — is what turns a chaotic year of trades into something you can actually account for.
This is general information, not tax advice, and the rules differ by country and by how you trade. If real money is involved, talk to a professional and keep clean records. We go deeper on the record-keeping side in the dedicated guide below.
Turning paper into profit on a plan
If unrealized gains aren't real until you sell, the skill that actually pays you is closing positions on purpose instead of hoping. A few habits do most of the work.
Take partial profit. You don't have to choose between holding everything and selling everything. Selling a portion at a level — enough to recover your initial stake, for example — converts part of your paper gain into realized SOL and de-risks the rest. The remaining bag rides as a "free" position, and whatever it does next, you've already banked something real.
Set a target before you're emotional. Decide your exit when you enter, not in the heat of a candle. A take-profit level and a stop-loss level turn a vague intention ("I'll sell when it feels right") into a rule that fires whether or not you're watching. The point of a TP or SL isn't to be precise — it's to make the realize decision automatic so greed and fear don't make it for you.
Have an exit strategy, not just an entry. Most blown trades come from people who planned how to get in and never planned how to get out. Knowing in advance which portions you'll sell, and at which levels, is what reliably moves the number from the unrealized column to the realized one.
How MoonHydra fits
MoonHydra is a non-custodial Solana trading bot that runs in Telegram. Your keys are encrypted with AES-256-GCM and stay yours — the bot is a tool you point at the market, not a custodian holding your funds. Swaps route through Jupiter for pricing, there are no custom contracts in the path, and the cost is a flat 1% per trade on the buy and the sell, with no subscription.
Where this article meets the product: every open position shows a card with your unrealized PnL marked against the live price, your average cost basis after scaling in, and the size you're holding — so the paper number is always in front of you instead of a guess. And because the bot supports take-profit and stop-loss, you can pre-set the levels that convert that unrealized gain into a realized one without sitting on the chart. The card tells you the score while the clock runs; TP/SL is how you bank it when the whistle blows.
Bottom line
Unrealized PnL is a quote against the current mark — useful for seeing how a trade is going, dangerous if you mistake it for cash, and especially unreliable on thin memecoins where liquidity, slippage, and the round-trip cost mean the screen number overstates what you'd actually receive. Realized PnL is the profit you locked in by selling, net of fees, and it's the only number that's truly yours. Read your average cost basis, not your luckiest fill; keep records of your closes; and the day you internalize "it's not real until you sell," you stop riding green numbers back to zero and start banking gains on a plan.
Next: learn the full memecoin exit strategy, see how limit orders compare to TP/SL for automating the realize decision, and read up on Solana trading bot taxes before year-end. When you're ready to put a position card and TP/SL to work, the bot lives at t.me/moonhydrabot.
Ready to put this into practice?
MoonHydra is a multi-wallet Solana memecoin trading bot on Telegram. 1% per trade. AES-256-GCM encrypted. Non-custodial.
Open MoonHydra