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

  • Russian Foreign Minister Lavrov: Meeting with U.S. Secretary of State Rubio Scheduled for Tomorrow

    On July 22, Russian Foreign Minister Lavrov stated that the meeting with U.S. Secretary of State Rubio has been scheduled for tomorrow.

  • Supermicro Surges Over 14% Pre-Market as Q4 Gross Margin Doubles Guidance, New Orders Exceed $60 Billion

    On July 22, AI server manufacturer Supermicro (SMCI.US) surged over 14% in pre-market trading to $29.17. On the news, the company released preliminary results for the fourth fiscal quarter ended June 30. The company's GAAP and non-GAAP gross margins are expected to be between 15% and 17%, nearly double the previously guided range of 8.2% to 8.4%. Management attributed this better-than-expected performance to favorable customer structure and product mix. Meanwhile, the company's total new orders for the quarter exceeded $60 billion, a record high.

  • US Optical Communication Stocks Fall in Pre-market, Marvell Down Over 2%

    On July 22, US optical communication concept stocks fell collectively in pre-market trading, with Astera Labs, Coherent, Credo Technology, Ciena, AXT Inc, and MaxLinear falling more than 3%, and Fabrinet, Lumentum, Corning, Applied Optoelectronics, Tower Semiconductor, Marvell Technology, POET Technologies, and GlobalFoundries falling more than 2%.

  • US AI chip stocks fall pre-market, Intel down 3%

    On July 22, US stock market AI chip stocks generally fell before the market open, with Intel down 3%, TSMC, AMD, and Qualcomm down over 2%, Broadcom down nearly 2%, and NXP and Nvidia down over 2%.

  • Russia Develops 150nm Lithography Machine, Performance Comparable to Pentium 4 from 20 Years Ago

    On July 22, according to Fast Technology, Russia's Green City Nanotechnology Center (ZNTC) has successfully developed a prototype of an electron beam lithography machine (ELL) with a design standard of 150nm. The project is a key research and development task under the framework of Russia's national plan for scientific and technological development, codenamed Progress ELL 150. This device is mainly used for manufacturing photomasks, and can also directly draw circuit patterns on substrates without using masks. The 150nm process roughly corresponds to the performance level of Intel's Pentium 4 from 20 years ago. In 2025, ZNTC demonstrated a similar device with 350nm resolution, and has now advanced to 90nm and 130nm technology nodes. Industry experts point out that such equipment is only suitable for small batch production of specialized chips in fields such as aerospace and defense.

  • Beijing State-owned Capital: Nearly 10 Billion Yuan Allocated to Stock Market from Own Funds

    On July 22, Beijing State-owned Capital Operation and Management Co., Ltd. announced that, as of now, it has allocated nearly 10 billion yuan from its own funds to invest in the stock market. Going forward, the company will continue to support listed company stocks using its own funds and through its subsidiaries, including securities firms and public funds, while also backing the development of the Beijing Stock Exchange. Rooted in its functional role as a state-owned capital operator, the firm is committed to safeguarding the strategic value of core assets of listed companies and contributing to the stable and healthy growth of the capital market through concrete actions, as a state-owned enterprise based in Beijing. (Beijing State-owned Capital)

  • U.S. Stock Futures Fall, Major Indices Decline

    U.S. stock futures are lower, with Nasdaq 100 futures down 1%, S&P 500 futures down 0.4%, and Dow futures down 0.3%.

  • Japan's Two-Year Government Bond Yield Rises to 1.47%, First Time Since 1995

    Japan's two-year government bond yield rose to 1.47%, the first time since 1995.

  • WTI and Brent Crude Surge Over 4%

    On July 22, international oil prices surged rapidly. WTI crude oil futures rose over 4% to $87.77 per barrel; Brent crude oil futures rose over 4% to $94.71 per barrel.

  • Bank of Japan Reportedly Willing to Raise Rates Faster Than Once Every Six Months

    On July 22, the Bank of Japan is reportedly willing to raise interest rates at a pace faster than once every six months.