Why impermanent loss happens
An AMM pool always holds its two tokens by a formula. In the usual x·y=k pool that means equal value of both. When one token's price rises on the market, traders buy it out of the pool until the pool's price catches up. The pool ends up with less of the token that rose and more of the one that did not. In effect it keeps selling the winner and buying the loser on the providers' behalf.
So a Liquidity provider who withdraws later gets back a different mix than they put in, and that mix is worth less than the original tokens would be worth today. The gap is the impermanent loss. Direction does not matter, only the ratio: a price that quadruples costs the same as one that falls to a quarter, and a price that doubles the same as one that halves.
"Impermanent" means the loss disappears if the prices return to where they were when you deposited. It becomes permanent the moment you withdraw at a different ratio.
A worked example
You deposit 100 TOKEN and 100 USD₮ while TOKEN costs $1: $200 in all, and your share of the pool has k = 100 × 100 = 10,000.
TOKEN rises to $4. Arbitrage moves the pool to the reserves that keep k and match the new price: √(10,000 / 4) = 50 TOKEN and √(10,000 × 4) = 200 USD₮.
- Your share is now worth 50 × $4 + 200 = $400.
- Had you just held, you would have 100 × $4 + 100 = $500.
- The impermanent loss is $100, or 20%.
You still made money in dollars. You just made less than holding. If TOKEN had fallen to $0.25 instead, the pool would hold 200 TOKEN and 50 USD₮, worth $100 against $125 for holding: again 20% less. Fees paid into the pool over that time offset part of the gap.
The formula and a table
For a constant-product pool, with r the ratio of the new price to the price when you deposited:
impermanent loss = 2 × √r / (1 + r) − 1
- price ×1.25 (+25%): −0.6%
- price ×1.5 (+50%): −2.0%
- price ×2 (+100%) or ×0.5 (−50%): −5.7%
- price ×3: −13.4%
- price ×4 or ×0.25 (−75%): −20.0%
- price ×5: −25.5%
- price ×0.1 (−90%): −42.5%
The loss is small for small moves and grows fast for big ones, which is why Volatility is the provider's enemy. Other curves behave differently: a stable pool of two tokens holding the same peg, such as two dollar stablecoins, sees little loss while the peg holds; a weighted pool such as 80/20 loses less than a 50/50 one for the same move; a concentrated-liquidity pool loses more for the same move inside a narrow range.
How DYOR shows impermanent loss on TON pools
Each pool in the Markets table of a token page has its own page on DYOR, and its "What are the risks?" answer names impermanent loss first. On volatile STON.fi and DeDust pools that you can add to or withdraw from on DYOR, the Provide liquidity block runs the formula above for you: if one token moves +50% or −50% against the other, the deposit is about −2% or −5.7% against holding. On a deep pool it adds how many days the pool's fees, at the pace of the last 30 days (or since launch for a younger pool) and today's liquidity, would take to make up the −50% loss. That is an estimate, not a forecast, and DYOR does not offer an impermanent loss calculator for other moves: use the formula.
The fee APR on a pool page is shown before impermanent loss: it counts what fees earn, not what the price moves cost. Read the two together. A pool with a 40% fee APR whose token then halves has, by the table, lost 5.7% against holding: about 53 days of those fees, if volume and liquidity hold.