Futures
Access hundreds of perpetual contracts
TradFi
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
GateRouter
Smartly choose from 40+ AI models, with 0% extra fees
Been trading crypto for a while and still confused about how to actually calculate your wins and losses? Yeah, I used to be there too. Most people coming from traditional finance think PnL is straightforward, but in crypto it's a bit more nuanced, and honestly, understanding what is pnl and how it works can completely change how you approach trading.
Let me break down the basics. PnL essentially shows you the change in value of your positions over time. But here's where it gets interesting - there are actually different types depending on whether you've closed your position or not.
First, there's realized PnL. This one's pretty straightforward. You close a position, you lock in your gains or losses. Say you bought Ethereum at $1,900 and sold at $2,400 - that's $500 profit, realized. The key thing about realized PnL is it only cares about the price you actually executed at, not the market price in between.
Then there's unrealized PnL, which honestly trips up more people than it should. This is the profit or loss you're currently sitting on in open positions. Let's say you're holding ETH that you bought at $1,900 but the current market price (what traders call the mark price) is $1,600. You're down $300 on paper - that's your unrealized PnL. It doesn't matter until you actually sell.
Now, if you want to get serious about tracking what is pnl in your portfolio, you need to know the different calculation methods. Most traders use one of three approaches.
The FIFO method (first-in, first-out) is the simplest. You assume you're selling the oldest coins first. If you bought 1 Bitcoin at $1,500, then another at $2,000, and later sold 1 BTC at $2,400, FIFO says you're using that $1,500 purchase as your cost basis. So your profit is $900.
LIFO (last-in, first-out) flips that - you're selling the most recent purchase first. Same scenario, but now your cost basis is $2,000, so your profit is only $400. On paper it sounds weird, but it matters for tax purposes in some jurisdictions.
Then there's the weighted average cost method, which is probably the most realistic for most people. You average out all your purchase prices. In the example above, your average cost would be $1,750 per Bitcoin, so selling at $2,400 gives you a $650 profit. This method smooths out the volatility of your entry points.
Here's something most beginners miss - understanding what is pnl calculation becomes way more important when you're dealing with perpetual contracts. With perps, you need to calculate both realized and unrealized PnL separately, then add them together. Realized PnL from funding rates and closed positions, unrealized from your current mark price versus entry price. It's the same concept, just more moving parts.
For tracking overall performance, a lot of traders look at year-to-date calculations. Just compare your portfolio value at the start of the year versus now. If you held $1,000 worth of Cardano on January 1st and it's worth $1,600 now, you've got $600 in unrealized gains. Simple but effective for the big picture.
One thing the textbooks don't really emphasize - calculating what is pnl in real life is messier than the examples. You've got trading fees, funding rates on perps, taxes depending on where you live, and market volatility that can swing your numbers around. Those nice round numbers in tutorials? Yeah, they rarely happen in actual trading.
The percentage profit method is useful too if you want to compare performance across different trades. If you bought BNB at $300 and sold at $390, that's $90 profit, but as a percentage it's 30% return. Helps you see which trades actually performed better relative to your risk.
Honestly, most serious traders use tools like spreadsheets or bots to track this stuff automatically. Once you understand the fundamentals of what is pnl and how different calculation methods work, you can set up a system that does the heavy lifting for you. Then you can actually focus on improving your strategy instead of doing math all day.
The real value of knowing your PnL isn't just about ego checking - it's about understanding whether your trading approach actually works. Are you consistently profitable? Where are you losing money? What trades moved the needle? That data drives better decisions going forward.