Update: This feature is under beta testing and will be rolled out to all users gradually.
Namaste Tribe!
WazirX helps you track your crypto investments using Average Buy Price (ABP), Invested Value, and Profit & Loss (P&L). These metrics help you understand your investment cost, current portfolio value, and potential gains or losses.
How Does WazirX Calculate Average Buy Price (ABP)?
Average Buy Price (ABP) represents the average purchase cost of the cryptocurrency you currently hold.
WazirX uses the First In, First Out (FIFO) method, which assumes that the coins purchased first are sold first.
Here's an example of how ABP changes after buying and selling Bitcoin (BTC):
| Transaction | Average Buy Price (ABP) |
|---|---|
| Buy 5 BTC at 100 each | ABP = 100 |
| Buy 10 BTC at 150 each | ABP = (5 × 100 + 10 × 150) / 15 = 133.33 |
| Sell 3 BTC | The first 3 BTC purchased are considered sold. Remaining ABP = (2 × 100 + 10 × 150) / 12 = 141.67 |
| Sell 5 more BTC | The remaining 7 BTC are from the second purchase. ABP = 150 |
How Are Invested Value and Unrealized P&L Calculated?
Invested Value is the total purchase cost of the cryptocurrency you currently hold.
Unrealized P&L represents the profit or loss on your existing holdings based on their current market value.
| Metric | Calculation |
|---|---|
| Invested Value | ABP × Coin Balance |
| Current Value | Current Market Price × Coin Balance |
| Unrealized P&L | Current Value − Invested Value |
| Unrealized P&L % | (Unrealized P&L / Invested Value) × 100 |
Example: You hold 7 BTC with an ABP of 150, and the current market price is 180.
| Details | Value |
|---|---|
| Invested Value | 150 × 7 = 1,050 |
| Current Value | 180 × 7 = 1,260 |
| Unrealized P&L | 1,260 − 1,050 = +210 |
| Unrealized P&L % | (210 / 1,050) × 100 = +20% |
A positive P&L indicates a profit, while a negative P&L indicates a loss. Your portfolio-level Invested Value and Unrealized P&L are calculated by combining the corresponding values of your individual holdings.
How Is Realized P&L Calculated?
Realized P&L represents the profit or loss from cryptocurrency you have already sold. It is calculated by comparing the selling value with the purchase cost of the assets sold, using the FIFO method.
Example: You sell 5 BTC at 120 each. Under FIFO, these consist of 2 BTC purchased at 100 and 3 BTC purchased at 150.
| Details | Calculation |
|---|---|
| Average Cost of BTC Sold | (2 × 100 + 3 × 150) / 5 = 130 |
| Total Purchase Cost | 130 × 5 = 650 |
| Total Selling Value | 120 × 5 = 600 |
| Realized P&L | 600 − 650 = −50 (Loss) |
Do Transactions Other Than Trades Affect P&L?
Yes. Your crypto balance can also change due to transactions such as referral rewards, airdrops, crypto deposits, and withdrawals.
These transactions may affect your Average Buy Price, Invested Value, and P&L. WazirX accounts for such events by assigning appropriate values when calculating portfolio metrics.
Refer to the table below for how different transactions are considered in P&L calculations:
Need assistance? Visit the WazirX Help Center .