Tuesday, June 6, 2023

What is profit and loss (PnL) and how to calculate it

189
SHARES
1.5k
VIEWS

Related articles


Anybody who has handled buying and selling in conventional finance is doubtless to concentrate on profit and loss (PnL). However is PnL within the cryptocurrency world the identical? The flexibility to comprehend phrases like mark-to-market (MTM), realized PnL and unrealized PnL will assist develop a greater understanding of the cryptocurrency an individual holds.

And not using a well-defined course of to get perception into profit or loss, cryptocurrency trading could also be overwhelming, and merchants could wrestle with what they’re doing. PnL displays the change within the worth of a dealer’s positions over a particular interval. 

To achieve a clearer understanding, let’s study it within the context of cryptocurrency buying and selling.

Understanding the fundamentals of PnL

PnL in crypto refers to the calculation of the profit or loss made on a cryptocurrency funding or buying and selling place. It is a metric used to consider the monetary efficiency of a dealer or investor within the crypto market.

To start, listed below are some key phrases in PnL terminology:

MTM

MTM refers to the method of valuing an asset or monetary instrument primarily based on its present market value or truthful worth. For instance, within the context of crypto buying and selling, if an investor holds a specific amount of Bitcoin (BTC), the worth of that Bitcoin will fluctuate primarily based on the present market value.

The final method for calculating PnL is:

Suppose the MTM value for Ether (ETH) right now is $1,970, whereas the MTM value yesterday was $1,950. On this case, the PnL is $20. It signifies a profit of $20. Quite the opposite, if the MTM value of ETH was $1,980 yesterday, it signifies a loss of $10.

Future worth

Future worth signifies the worth of a digital coin at a future cut-off date.

For instance, if a dealer stakes Tron (TRX) price $1,000 with a 4% yearly reward, how a lot will the particular person get again after a yr? The reply is $1,040. On the time of staking, the current worth will likely be $1,000, whereas the long run worth will likely be $1,040.

There will likely be a gift worth on the level when the dealer stakes, but when the particular person considers the long run as a complete, there may very well be numerous future values.

There is a distinct method to use future worth as nicely. Merchants may ask how a lot to stake to get $1,040 in a yr. In the event that they know the current and future values, they might calculate the low cost issue. The method for calculating the low cost issue is:

For the instance given above, the low cost issue will likely be:

Realized PnL

Realized PnL is calculated after merchants have closed their place (offered the cryptocurrency they maintain). Solely the executed value of the orders is taken into consideration in realized PnL, and it has no direct relation to the mark value.

The mark value is the worth at which a derivatives contract is valued primarily based on the present market value of the underlying asset somewhat than the worth at which the contract is being traded.

The method for realized PnL is:

An instance will assist perceive how to calculate realized PnL. If the entry value for getting X variety of Polkadot (DOT) is $70 and the exit value is $105, the PnL for the interval is $35, which refers to a profit of $35. Nonetheless, if the closing value of the commerce was $55, the PnL will likely be $15, however it will replicate a loss.

Unrealized PnL

Unrealized PnL refers to the profit or loss that is at present held in open positions however has not but been realized by means of closing the place. The method for figuring out unrealized PnL is:

Donald has bought ETH contracts with a median entry value of $1,900. The mark value of ETH is at present $1,600. The unrealized PnL for Donald is the distinction between the typical entry value and the mark value.

Unrealized PnL = $1,900 – $1,600 = $300

How to do PnL calculation

To find out PnL in cryptocurrency, a dealer wants to discover the distinction between the preliminary price of buying a digital coin and the present market worth of the identical coin. Varied strategies to calculate PnL in cryptocurrency are as follows:

First-in, first-out (FIFO) technique

The FIFO technique requires the vendor to use the worth of the asset from when it was first purchased. Right here is the method to calculate PnL utilizing the FIFO technique:

1) To choose the preliminary price of the cryptocurrency, multiply the acquisition value per unit by the variety of models offered.

2) To find out the present market worth of the asset disposed of, multiply the present market value per unit by the variety of models offered.

3) To seek out the PnL, deduct the preliminary price from the present market worth.

Suppose Bob first purchased 1 ETH at $1,100 and just a few days later purchased 1 ETH at $800. A yr later, he offered 1 ETH at $1,200. As he had first purchased ETH at $1,100, this value will likely be thought of the preliminary price. Making use of the FIFO technique, Bob may calculate PnL as follows:

Bob’s preliminary price = (1 ETH x $1,100) = $1,100

Present market worth = (1 ETH x $1,200) = $1,200

PnL = $1,200 – $1,100 = $100 (profit)

Final-in, first-out (LIFO) technique

The LIFO technique requires the vendor to use the latest buy value of an asset within the calculation. The opposite facets are similar to the FIFO technique. Right here is the PnL utilizing the LIFO technique utilizing the identical instance as above:

Bob’s preliminary price = (1 ETH x $800) = $800

Present market worth = (1 ETH x $1,200) = $1,200

PnL = $1,200 – $800 = $400 (profit)

Weighted common price technique

The weighted common price technique requires merchants to decide the typical price of all models of a digital foreign money of their portfolio to arrive on the preliminary price. Listed below are the steps to calculate PnL utilizing this technique:

1) Decide the full price of all models of the cryptocurrency. Multiply the acquisition value per unit for every transaction by the variety of models of the asset and add the numbers.

2) To reach on the weighted common price per unit of the digital coin, divide the full price of all models by the variety of models.

3) Discover the present market worth of the cryptocurrency offered. Multiply the present market value per unit by the variety of models offered.

4) To find out PnL, subtract the typical price per unit from the present market worth.

Suppose Alice purchased 1 BTC at $1,500 and just a few days later purchased 1 BTC at $2,000. She later offered 1 BTC at $2,400. Right here is the PnL utilizing the weighted common price technique:

Whole price = (1 BTC x $1,500) + (1 BTC x $2,000) = $3,500

Weighted common price = $3,500 / 2 BTC = $1,750

Present market worth = (1 BTC x $2,400) = $2,400

PnL = $2,400 – $1,750 = $650 (profit)

Income/losses from opening and closing positions

Analyzing open and closed positions at common intervals is an environment friendly method to monitor efficiency. An preliminary buy an individual makes out there is an open place, whereas promoting the cryptocurrency is termed closing the place. If a dealer buys 10 DOT, it is an open place. When the dealer sells these DOT, the place will get closed.

For instance, if a dealer purchased 10 DOT for $70 and offered them for $100, the particular person’s PnL can be $30 ($100 – $70). Common evaluation of trades according to open and closed positions helps an individual commerce in an organized method.

Yr-to-date (YTD) calculation

YTD is a method to measure the efficiency of investments made in cryptocurrency from the beginning of the yr to the present date. Traders who repeatedly purchase and maintain cryptocurrencies for years can know their unrealized income with a YTD calculation. The dealer simply wants to calculate the worth of the portfolio at first and finish of a yr and examine these values. This may very well be a calendar yr or fiscal yr, relying on the particular person’s desire or necessities.

Suppose somebody holds $1,000 price of Cardano (ADA) on Jan. 1, 2022 and $1,600 of ADA on Jan. 1, 2023. On this case, $600 is the unrealized profit. Unrealized profit denotes returns that haven’t but been transformed into money or money equivalents comparable to time period deposits.

Transaction-based calculation

A transaction-based calculation requires an individual to calculate the PnL for every particular transaction. As an example, if an individual purchased 1 ETH for $1,000 and offered it for $1,500, the PnL for the transaction can be $500 profit ($1,500 – $1,000). If the variety of transactions is small and a dealer wants to calculate PnL for these transactions individually, a transaction-based calculation is a super technique.

Share profit

The proportion profit technique displays the PnL as a proportion of the preliminary price. An instance will assist perceive higher. Suppose a dealer buys 1 Binance Coin (BNB) for $300 and sells it for $390. On this case, the particular person’s PnL can be $90 profit ($390 – $300). To reach on the proportion profit, the dealer wants to divide the PnL by the acquisition value and multiply the quantity by 100 (($90 / $300) x 100). This quantities to 30%.

Nonetheless, please observe that these are simplified examples that don’t consider variables comparable to taxes, buying and selling charges paid to the platform, market volatility, and so forth. In real-life conditions, a dealer will want to consider the particular context when calculating PnL.

How to calculate PnL of perpetual contracts

Perpetual contracts are a sort of futures contract with no fastened settlement time or expiration date. Merchants can maintain their lengthy or quick positions indefinitely, offered they’ve enough upkeep margin, which is the minimal quantity of collateral wanted for sustaining open buying and selling positions.

When merchants calculate the PnL of perpetual contracts in cryptocurrencies, they want to calculate each realized and unrealized PnL and then add them to decide the full PnL.

Listed below are the steps to measure PnL of perpetual contracts:

Once more, this is a simplified method to clarify the idea of calculating PnL for crypto perpetual contracts. When calculating whole PnL in actual life, a dealer wants to consider elements like buying and selling charges and funding charges.

PnL calculations and related instruments

Understanding crypto PnL helps individuals know if their cryptocurrency portfolio is in profit or in loss. Gaining an perception into key parameters like price foundation, amount, value of every commerce and profitability of the portfolio helps merchants assess the effectivity of their methods and make mandatory changes. Exact information of the funds they’ve made or misplaced on a selected commerce influences their upcoming buying and selling choices for the higher.

Aside from PnL calculations, there are instruments like specialised spreadsheets and automated trading bots that might assist merchants analyze their performances and zero in on worthwhile buying and selling alternatives, no matter their expertise.