Cointime

Download App
iOS & Android

What is Impermanent Loss?

Validated Venture

Impermanent Loss is the difference in asset value between holding assets in the wallet (HODL) and holding assets in the liquidity pool.

Impermanent Loss is most common in traditional pools where the liquidity provider (LP) must provide both assets in equal proportions and one of the assets is volatile in comparison to the other.

Impermanent Loss is exemplified by Uniswap’s DAI/ETH liquidity pool, where both tokens are represented in a 50:50 ratio:

  1. Stake in a pool of 1 ETH and 1,000 DAI.
  2. After a week, 1 ETH is equal to 2,000 DAI.
  3. If we had stored 1 ETH and 1000 DAI, the profit would be 50% (the value of 1000 DAI would not change, but the price of 1 ETH would increase to 2000 DAI).
  4. Staking tokens in the AMM pool on Uniswap yields less than 50% profit than simply storing assets.

Impermanent or unrealized losses are so named because they are not fixed until the liquidity tokens are withdrawn from the pool. In the preceding example, there are no impermanent losses if the price of ETH returns to the original 1,000 DAI and funds are withdrawn thereafter.

Uniswap, SushiSwap, and other similar AMMs use a simple formula:

x ∗ y = k

x is the number of tokens for asset A;

y is the number of tokens for asset B;

k is the so-called constant product of the pool — this value does not change.

Example of the Uniswap exchange DAI/ETH liquidity pool. Data: The Chain Bulletin.

The contract held tokens with an approximate value of $153.5 million — 29,116.6 WETH and 76.7 million DAI.

Using the formula above, we calculate the value of k for this pool at this time:

29 116,63 ∗ 76 737 921,22 ≈ 2,23 ∗ 10¹²

k changes only when users add or withdraw liquidity, or when transactions are charged a fee (for example, 0.3% in the case of Uniswap). These funds are added to the total liquidity in the pool.

Impermanent Loss in the classic pools

Example of Uniswap exchange DAI/ETH liquidity pool:

  1. When we stack 1 ETH and 100 DAI, the liquidity provider’s share is 10%.
  2. The pool contains 10 ETH and 1000 DAI.
  3. A week later 1 ETH trades for 200 DAI.
  4. There are no commissions in the pool.
  5. We calculate the non-permanent losses.

To determine the exact share in the pool (in each token), you can use Uniswap Analytics and SushiSwap Analytics platforms or third-party tools Croco Finance, Growing and APY.vision

Why should pool commissions be considered?

Commissions are an integral element of the economics of AMM-based platforms.

The higher the commission, the lower the non-permanent loss. When a certain amount of trading fees is reached, participation in the pool generates more profit than holding assets.

Let’s take the preceding example above and add a component in the form of commission:

  1. We steak in a pool of 1 ETH and 100 DAI;
  2. Our steak share is 10% (in a pool of 10 ETH and 1000 DAI);
  3. After a week, 1 ETH trades for 200 DAI;
  4. Commissions: 1 ETH and 100 DAI.

The non-permanent loss, excluding trading commissions, is 17.179 DAI. Because we have a 10% stake in the pool, we are entitled to 0.1 ETH and 10 DAI of the accumulated commissions. Given that ETH is currently trading at 200 DAI, 0.1 ETH is worth 20 DAI, and the total profit from commissions is 30 DAI. The total is thus $312,821 ($282,821 + $30).

Insert these new numbers into the formula — stackingUSD/storageUSD — 1:

312,821/300–1 ≈ 0,042 ≈ 4,2%

In this example, the non-permanent loss is -12,821 DAI (17,179–30). This is not a loss but a 4.2% gain because assets are held in the pool rather than held individually.

Does Impermanent Loss work in other pools?

Curve is a decentralized stabelcoin and tokenized bitcoin exchange based on an automated market maker mechanism. Its pools contain only assets that must have the same or comparable value: stabelcoins (USDC, DAI) or tokenized bitcoins (renBTC, wBTC). The risk of volatile losses in such pools is minimal.

Balancer provides token pools with arbitrary token ratios. For example, if a liquidity provider wants to supply a large number of specific tokens, it can select a pool in which those coins are weighted more heavily than others (the proportions can be 80/20 or even 98/2). In addition, this model minimizes non-permanent loss. The greater a token’s share of a pool, the smaller the difference in outcomes between holding a token and providing liquidity in that token.

Bancor version 2 pools automatically adjust token weights based on price oracle data. This allows you to reduce volatile losses even in pools containing volatile assets.

How to calculate Impermanent Loss easily?

Understanding Impermanent Loss is necessary for any user of AMM platforms. You can make your own IL calculations using the calculator at dailydefi.org (based on Uniswap formulas).

In general, regardless of price movements, AMM protocol users are always exposed to the risk of foregone costs. In comparison to custody, when asset prices rise, a participant’s position grows less; when prices fall, they lose more.

Trading commissions and income farming come to the rescue, helping to neutralize volatile losses so that participation in the AMM pool yields more profit than simply holding assets.

Get the latest news here: Cointime channel — https://t.me/cointime_en

Comments

All Comments

Recommended for you

  • DeepSeek Raises Financing Target from 50 Billion to 100 Billion Yuan, Potentially Paving the Way for Sci-Tech Board IPO

    On October 22, market sources reported that domestic large model company DeepSeek plans to raise approximately 100 billion yuan (about 15 billion USD) in its latest financing round. Tencent and CATL are the largest investors in this round, with the transaction expected to be officially completed in the coming days. As of now, neither DeepSeek nor the related investors, including Tencent, have publicly responded. Journalists have cross-verified the information with multiple sources close to the company and investors, confirming its accuracy. Sources revealed that the initial fundraising target was set at 50 billion yuan, which has since been raised multiple times to approximately 100 billion yuan, although it has not been officially announced and the final amount is still not fully determined. The funds will continue to be used for model training, computing power construction, and talent recruitment to support DeepSeek's participation in global competition. Some sources also speculate that this round of financing will pave the way for the company's upcoming IPO on the Sci-Tech Board. (Shanghai Securities Journal)

  • Ethereum Researchers Propose Reducing Final Transaction Confirmation Time from 16 Minutes to Approximately 4 Minutes

    On October 22, Ethereum researchers proposed a draft for a rapid finality mechanism aimed at reducing the final transaction confirmation time from the current approximately 16 minutes to about 4 minutes, targeting an enhancement of around 4 times. The draft was submitted on Wednesday by Ben Edgington, the coordinator of the rapid finality research, and is still in the early stages, with no activation timeline determined yet. The proposal plans to split the validator voting for determining new blocks and finalizing historical blocks into two separate mechanisms, allowing for a faster pace of finality.

  • Visa Negotiates Acquisition of Fireblocks Valued at Approximately $2.5 Billion

    On October 22, Bloomberg reported that Visa is in talks to acquire the cryptocurrency custody infrastructure company Fireblocks, with a transaction valuation of approximately $2.5 billion. If the deal is finalized, it will further expand Visa's presence in the digital asset custody and blockchain payment infrastructure sectors. This information is yet to be confirmed, and specific terms and progress of the acquisition negotiations have not been disclosed.

  • US Spot Ethereum ETF Sees Net Inflow of $14.98 Million Yesterday

    On October 22, according to monitoring by Trader T, the US spot Ethereum ETF recorded a net inflow of $14.98 million yesterday.

  • Sonic to Transfer 13 Million S Tokens via Strategic OTC Agreement in Next 24 to 48 Hours

    On October 22, Sonic announced on the X platform that approximately 13 million S tokens will be transferred in the next 24 to 48 hours under a strategic over-the-counter (OTC) agreement. The counterparty is a long-term partner of Sonic, and both parties will collaborate to expand Sonic's reach and enhance user engagement through the partner's network.

  • Bank of Korea Maintains Interest Rate as Expected

    On October 22, the Bank of Korea kept the policy interest rate unchanged at 3%, in line with market expectations. Previously, South Korea raised interest rates in consecutive meetings in July and August.

  • U.S. Treasury Secretary Becerra: GENIUS Act Establishes Federal Regulatory Framework for Stablecoin Payments

    U.S. Treasury Secretary Scott Becerra stated that the GENIUS Act is a milestone in the American financial sector, further solidifying the U.S. position as a global cryptocurrency hub. He compared the bill to the National Currency Act signed by President Lincoln in 1863, asserting that it establishes a federal regulatory framework for stablecoin payments in the digital age. Becerra also mentioned that the final rules issued by the Office of the Comptroller of the Currency (OCC) will facilitate the implementation of the bill, providing a clear and pragmatic institutional foundation for private sector innovation, market competition, and maintaining U.S. leadership in the digital asset space.

  • Kalshi to Support Crypto Asset-Backed Loans for Perpetual Futures Margin

    Prediction market platform Kalshi has reached a new arrangement with crypto asset custodian BitGo, allowing certain clients to use their custodial crypto assets as collateral for loans, which will be used for margin in leveraged perpetual futures trading on the Kalshi exchange. This arrangement is aimed at clients of Kalshi Prime, a futures commission merchant registered in the U.S. It employs a tri-party collateral management structure. Loans will be provided by its affiliated lending company, Kalshi Katalyst, with collateral assets held at BitGo Bank & Trust. Eligible collateral assets include Bitcoin, Ethereum, and stablecoins deemed compliant with the GENIUS Act, with plans to integrate additional custodians in the future.

  • Serious Security Vulnerability Discovered in PHP, Leading to Mass Shutdown of Government Websites in Europe

    On October 21, due to the discovery of serious security vulnerabilities in the widely used PHP programming language, multiple government websites across Europe and other regions were forced offline on Wednesday, prompting website operators to take urgent measures to protect system security. The PHP development team announced on Tuesday that two severe security flaws had been identified and urged users to update immediately after the release of the fix. On Wednesday, the PHP team confirmed that a new version addressing the vulnerabilities had been officially released. However, reports indicated that hackers were exploiting these vulnerabilities to breach websites, leading government agencies in countries such as the Netherlands and Finland to proactively shut down some sites before the patch was made available. PHP is one of the most widely used programming languages on the internet, supporting website platforms such as WordPress, Drupal, Joomla, and Magento. According to website technology statistics agency W3Techs, approximately 75% of websites that can identify their programming language use PHP. About 43% of websites globally are powered by WordPress, covering blogs, small business sites, government portals, e-commerce platforms, and news websites. This security incident has resulted in widespread disruptions to websites across multiple European countries, including the Port of Rotterdam, the government portal Overheid.nl, the Royal Netherlands Football Association, the websites of the country's five major political parties, and several hospital websites, all of which have been temporarily shut down.

  • US Stock Indices Open Slightly Higher; SpaceX Soars 8% After Earnings

    The three major US stock indices opened slightly higher, with the Dow Jones Industrial Average up 0.20%, the S&P 500 up 0.29%, and the Nasdaq Composite up 0.71%. SpaceX opened 8% higher, reporting third-quarter revenue of $14.6 billion, a year-on-year increase of 161%. Elon Musk stated that the annual recurring revenue (ARR) is expected to reach between $500 billion and $1 trillion by the end of 2027. Among other popular stocks, Nvidia rose 2.15%, Apple increased 0.09%, Google (Class A) fell 1.28%, Microsoft decreased 0.56%, Amazon was up 0.01%, TSMC rose 1.95%, SpaceX climbed 7.8%, Meta increased 0.24%, Broadcom rose 0.8%, Tesla was up 2.98%, SK Hynix increased 4.11%, Micron Technology rose 3.31%, AMD was up 2.25%, ASML increased 2.83%, Intel rose 2.01%, Cisco increased 0.67%, Oracle was up 1.55%, Dell Technologies (Class C) rose 7.81%, and ARM increased 2.78%.