investvana.

Master the mechanics of wealth building.

A column by Nathaniel Prescott

Nathaniel Prescott, Lead Wealth Strategist & Solo Columnist

August 17, 2026 · 15 min read

Impermanent loss: My costly lesson in DeFi yield farming

A 50/50 liquidity pool can lose 5.72% versus simply holding the same tokens after one asset doubles in price. At a 5x move, the relative shortfall reaches 25.46%.

Impermanent loss: My costly lesson in DeFi yield farming

That is before gas, taxes, slippage, smart-contract risk, or the opportunity cost of locking capital in a strategy you may not fully understand.

This is the part of DeFi yield farming that APY dashboards tend to hide. They display fees and incentives in large numbers. They do not place the counterfactual next to them: what would your portfolio be worth if you had done nothing and held the tokens in a wallet?

That comparison is the entire point of impermanent loss.

The phrase sounds harmless. The mechanism is not. We are not dealing with a conventional deposit that pays interest while preserving the asset mix. We are supplying liquidity to an automated market maker, allowing its formula to rebalance our position whenever traders move the relative price of the two assets.

If the price ratio moves, the pool sells some of the asset that is rising and accumulates more of the asset that is falling. The pool remains functional. The liquidity provider absorbs the rebalancing cost.

Impermanent loss is not a mysterious DeFi penalty. It is the opportunity cost of letting an algorithm trade your portfolio against a changing market.

The hidden math of automated market makers

A standard constant-product automated market maker uses a simple relationship:

x × y = k

Here, x and y represent the quantities of the two tokens in the pool. k is the invariant the pool attempts to preserve after each trade.

That formula is elegant. It is also indifferent to your investment thesis.

Suppose a pool contains equal dollar values of ETH and USDC. You deposit both assets. If ETH rises sharply, arbitrage traders buy ETH from the pool because the pool’s internal price is now lower than the broader market. Each arbitrage transaction pushes the reserves toward a new ratio.

By the time you withdraw, you own less ETH than you would have owned by simply holding your original ETH and USDC. You may own more USDC, but that does not automatically make the result attractive. The pool has systematically sold part of the asset that appreciated.

This is why the correct benchmark is not the original deposit amount. It is the value of the liquidity position compared with a wallet holding the same tokens in the same starting proportions.

The standard formula for a 50/50 pool is:

IL = 2 × √r / (1 + r) − 1

r is the price ratio change of one token relative to the other.

If ETH doubles against USDC, r = 2. The formula produces an impermanent loss of approximately -5.72% relative to holding.

That does not mean the pool necessarily loses 5.72% in absolute dollar terms. If ETH doubles, the pool may still be worth more in dollars than when you entered. The problem is that it is worth less than the alternative of holding the original assets without providing liquidity.

That distinction matters. Calling impermanent loss a direct loss of deposited token units is inaccurate. The loss is benchmark-relative. The market can rise, your position can rise, and you can still underperform.

The risk is symmetrical as well. A 2x increase and a 50% decrease in the relative price produce the same approximate impermanent loss of -5.72%. The AMM does not care whether the divergence comes from the first asset rising or the second asset falling. It only responds to the ratio.

A yield farming impermanent loss example

Let us use a clean example rather than a promotional APY screenshot.

You deposit $10,000 into a 50/50 pool:

  • $5,000 in Token A
  • $5,000 in Token B

Token A then doubles in price relative to Token B. The pool rebalances through trading activity. When you withdraw, the value of your liquidity position may be higher than $10,000 because the market moved up. But compared with holding the original $5,000 of Token A and $5,000 of Token B, the liquidity position is approximately 5.72% worse before fees and incentives.

If the pool generated enough trading fees, those fees could offset the shortfall. If the pool offered token incentives, those rewards could also help. But the conclusion depends on the net result, not the advertised yield.

The price move is doing most of the damage. The fee income has to keep up.

Quantifying the damage as prices diverge

The phrase “impermanent” creates a second misunderstanding. The loss is only reversible if the price ratio returns to its starting relationship before you withdraw. If you exit while the divergence remains, the underperformance becomes realized relative to the holding strategy.

There is no special recovery mechanism after withdrawal. The word describes the condition before you remove liquidity, not a promise that the gap will close.

For a standard 50/50 constant-product pool, the relationship looks like this:

Relative price moveApproximate impermanent loss versus holding
1.25x-0.62%
1.50x-2.02%
2x-5.72%
3x-13.40%
4x-20.00%
5x-25.46%

The curve is non-linear. That is the operational issue.

A modest divergence may look manageable. A large move can overwhelm months of fees. At 1.25x, the relative drag is only 0.62%. At 2x, it is 5.72%. At 5x, it is 25.46%. The risk does not scale politely with the price movement.

This is why volatile pairs are structurally different from stablecoin pairs. A pool containing two assets designed to remain close in value may experience less price-ratio divergence under normal conditions. A pool containing ETH and a smaller, highly volatile token has a different risk profile entirely.

The token pair is not a minor detail. It is the strategy.

A pool can offer a high nominal yield because it is compensating liquidity providers for taking inventory risk. That yield is not necessarily free income. It may be the market’s payment for standing on the other side of volatility.

Three variables determine whether the strategy works

When we stress-test a liquidity position, we should separate three forces:

1. Relative price movement.

This creates the impermanent loss. The larger and faster the divergence, the greater the portfolio drag.

2. Trading fee generation.

Fees depend on actual trading volume, the pool’s fee tier, and your share of liquidity. A high-volume pool can generate meaningful fees. A quiet pool cannot manufacture them from its APY display.

3. Incentive emissions.

Yield farming rewards may increase the return, but they can also be paid in a token that declines sharply. A reward denominated in a collapsing asset is not equivalent to stable income.

The relationship is straightforward:

Net LP Return = Trading Fees + Yield Incentives − Impermanent Loss

That equation is not sophisticated. It is simply more honest than looking at APR in isolation.

The yield farming trap: when fees fail to cover portfolio decay

The most common error is to treat the advertised APY as the investment return. It is not. It is usually a forward-looking annualized estimate based on recent activity, current incentives, or both.

Those inputs can change.

Trading volume can leave the pool. Liquidity can enter, diluting your share of fees. Incentive programs can end. The reward token can lose value. The volatile asset can move far enough that the position underperforms a passive wallet even while the dashboard shows positive earnings every day.

The dashboard may report that you earned $600 in rewards. The relevant question is whether you lost $1,000 in relative performance through rebalancing.

That is yield drag. It is not visible when rewards are considered without a benchmark.

A standard Uniswap v2-style pool charges a 0.3% swap fee per transaction, but the fee is not your personal return. It is distributed across liquidity providers according to pool rules and position size. If the pool contains substantial liquidity, your slice can be small. If volume declines, the annualized fee rate falls with it.

We should also distinguish trading volume from useful volume. A pool can see heavy activity because traders are rapidly arbitraging a sharp price move. That may generate fees, but the same price movement is also increasing the inventory imbalance that drives impermanent loss.

High volume is not automatically bullish for LP returns.

In fact, a volatile market can create the worst combination: impressive fee generation alongside even more impressive portfolio decay.

A simple stress test

Suppose your position earns 12% through trading fees and incentives over a period. That sounds acceptable until the relative price movement produces a 13.40% impermanent loss at a 3x divergence.

Before considering gas or taxes, your rough net result versus holding is already negative:

  • Trading fees and incentives: +12%
  • Impermanent loss: -13.40%
  • Relative result: approximately -1.40%

The calculation is simplified. Actual results depend on timing, compounding, reward-token prices, and how the pool rebalances. But the direction is correct.

Now change the assumptions:

  • Fees and incentives: +25%
  • Impermanent loss at a 5x move: -25.46%
  • Relative result: approximately flat before other costs

That is not an attractive outcome for taking smart-contract risk, liquidation-adjacent market risk, bridge risk, and potential tax complexity.

The opportunity cost becomes obvious. You took a complicated position and received the return of a cash-like asset or a passive token basket.

A high APY is not a margin of safety. It is often a higher-risk position wearing a clean interface.

The right question is not whether the pool pays yield. Almost every pool can display yield during a favorable window. The right question is whether the expected fee and incentive income compensates you for the range of price outcomes you are accepting.

If the answer depends on the token staying flat, you are not running a yield strategy. You are making a volatility forecast.

Uniswap liquidity provider risks are amplified by concentration

Concentrated liquidity changes the economics further. In a broad-range pool, your liquidity is generally available across a wide price curve. In a concentrated-liquidity design such as Uniswap v3, you select a price range where your capital is active.

This can improve capital efficiency. It can also make the risk less forgiving.

When the asset price moves inside your selected range, you may earn fees more efficiently than a passive full-range position. Your capital is working where trades occur. That is the attractive part.

When the price moves outside the range, the position stops earning fees completely. You are left with an inventory concentrated in one side of the pair, depending on the direction of the move. If the market later returns to the range, the position may become active again. Until then, the capital is idle from a fee-generation perspective.

This creates a three-part risk:

  • Range selection risk: you must choose a range that remains relevant.
  • Rebalancing risk: sharp price movements can push the position toward one asset.
  • Inactive-capital risk: outside the range, the position earns no fees while remaining exposed to market movement.

Concentrated liquidity does not eliminate impermanent loss. It amplifies both the fee opportunity and the inventory risk.

A narrow range can generate excellent fee income during stable, active trading. It can also become a poor position after one decisive market move. The narrower the range, the more often you may need to manage it. That introduces a practical question most yield tables ignore: how much of your return is consumed by active oversight, gas, repositioning, and taxes?

If you must constantly adjust the range, the strategy is no longer passive. You are managing a systematic trading position.

That may be appropriate for a professional market participant. It is not automatically appropriate for a long-term investor who wants to accumulate an asset.

The regulatory environment also affects the operating risk around digital assets. We should not treat protocol mechanics as isolated from market structure, exchange access, stablecoin rules, or jurisdictional changes. For broader context on business, technology, and policy developments outside the usual crypto feed, English-language Bangladesh business and economy coverage is one example of the wider news flow worth monitoring.

The pair determines the shape of the risk

There is no universal answer to whether providing liquidity is sensible. The pair matters more than the platform branding.

Consider the broad categories:

Pool typeMain return sourcePrimary risk
Stablecoin–stablecoinTrading fees and sometimes incentivesDepeg, protocol failure, fee compression
Major asset–stablecoinTrading fees and token exposureImpermanent loss during strong directional moves
Major asset–major assetFees and diversified crypto exposureRelative divergence between both assets
Major asset–small tokenFees and incentivesExtreme volatility, token collapse, severe inventory imbalance
Correlated assetsFees with potentially lower relative divergenceCorrelation breakdown, bridge and protocol risk

A correlated pair can reduce the frequency of severe divergence. It cannot guarantee safety. Correlations fail precisely when market conditions become disorderly.

A stablecoin pool may appear to minimize impermanent loss, but that shifts attention toward other risks: depegging, issuer exposure, oracle failures, liquidity fragmentation, and smart-contract vulnerabilities.

There is no risk-free yield. There are only different risk invoices.

Calculating the true return beyond the APY dashboard

Before entering a pool, I want the answer to five basic questions.

First: what is the benchmark?

If the alternative is holding the same two tokens in a wallet, calculate against that. If the alternative is holding only one token, define why. If the alternative is a short-duration government instrument or cash equivalent, include that opportunity cost too.

Second: what price divergence can the pair realistically experience?

Do not use the last week’s volatility as a permanent assumption. Look at the underlying assets. A pair that has remained close for several months may still diverge violently during a protocol event, market sell-off, or token-specific repricing.

Third: where does the fee income come from?

Trading fees are more credible when they are generated by persistent organic volume rather than temporary incentives or one-off arbitrage. The difference is important. Incentivized liquidity can disappear quickly when rewards decline.

Fourth: what happens if the reward token loses value?

An APR quoted in a volatile governance token is not comparable to a return paid in a stable asset. You need to model the reward in the unit that matters to you: dollars, BTC, ETH, or purchasing power.

Fifth: what is the exit plan?

If the position moves outside a concentrated range, will you rebalance? If the pair diverges 2x, will you continue holding? If incentives end, will you withdraw immediately or tolerate lower fees? A strategy without exit rules is just passive exposure with delayed decision-making.

A useful calculation can be kept simple:

1. Record the quantity and value of both assets at entry.

2. Estimate the value of holding those same quantities without providing liquidity.

3. Estimate the pool position after several price-ratio scenarios.

4. Add expected trading fees under conservative volume assumptions.

5. Add incentives only after discounting for reward-token volatility.

6. Subtract gas, withdrawal costs, taxes, and any management costs.

7. Compare the final result with the passive benchmark.

The scenario analysis should include at least:

  • A relatively stable price ratio.
  • A 1.5x move.
  • A 2x move.
  • A 3x move.
  • A sharp move that takes a concentrated position outside its range.

The point is not to predict the exact future. We cannot. The point is to find out whether the strategy remains acceptable when the market stops cooperating.

Why the benchmark must remain visible

Suppose your liquidity position increases from $10,000 to $11,500. That looks like a 15% return. But if holding the original assets would have produced $12,300, the strategy underperformed by $800.

The pool did not necessarily lose money in absolute terms. It lost relative to the alternative.

This is the psychological difficulty. Investors tend to compare the final balance with the starting balance. They do not compare it with the path not taken. In DeFi, that omission is expensive because the protocol is constantly altering your asset mix.

The AMM does not wait for you to approve each trade. It executes the rebalancing through the pool mechanism. When one token rises, your position gradually sells it into strength. When one token falls, your position accumulates it.

That can be a useful source of disciplined rebalancing. It can also be precisely the opposite of what you want during a sustained trend.

If your thesis is that ETH will outperform USDC dramatically, supplying ETH/USDC liquidity means selling some ETH as it rises. You are monetizing volatility, not maximizing exposure to the winner.

That is not a flaw. It is the product.

The mistake is using a liquidity position when your actual objective is directional appreciation.

The decision is binary once the assumptions are exposed

Liquidity provision can make sense when the pair is relatively stable, the trading volume is durable, the fee rate is sufficient, incentives are credible, and you understand the protocol risks. It can also be a rational way to monetize a portfolio you already intend to rebalance.

But if your conviction is strongly directional, the same pool may be a poor vehicle. You will be selling part of the outperforming asset into the move and accepting underperformance in exchange for fees.

That trade may still work. It just needs to be priced honestly.

My costly lesson from DeFi yield farming is not that impermanent loss makes liquidity pools useless. It is that yield is only one line in the calculation. The other line is what your capital would have done without you turning it into market-making inventory.

Use the formula. Stress-test the divergence. Treat incentives as uncertain. Value concentrated liquidity as an active strategy, not passive income. Keep the holding benchmark on the same screen as the APY.

Then make the binary choice:

If the expected fees and incentives compensate you for the likely relative price divergence, provide liquidity. If they do not, hold the assets and accept the simpler risk.

FAQ

What is impermanent loss in DeFi?
Impermanent loss is the relative underperformance of a liquidity position compared with holding the same tokens in the same starting proportions without providing liquidity. It occurs because an automated market maker rebalances the position as the relative token price changes.
How much is impermanent loss when one token doubles in price?
For a standard 50/50 constant-product pool, a 2x relative price increase produces approximately 5.72% impermanent loss versus holding. The pool may still increase in absolute dollar value, but it is worth less than the holding strategy.
Can trading fees offset impermanent loss?
Yes, trading fees and token incentives can offset impermanent loss if they are large enough. The outcome depends on the net result after fees, incentives, price divergence, reward-token volatility, gas, taxes, and other costs.
What happens when a concentrated-liquidity position moves outside its range?
The position stops earning fees while the price remains outside the selected range. Its capital becomes concentrated in one side of the pair, depending on the direction of the price move, and may become active again if the market returns to the range.
Are stablecoin liquidity pools free from impermanent loss?
Stablecoin pairs designed to remain close in value may experience less price-ratio divergence under normal conditions, but they still carry risks such as depegging, protocol failure, fee compression, issuer exposure, oracle failures, liquidity fragmentation, and smart-contract vulnerabilities.
How should I compare a liquidity pool with simply holding the tokens?
Compare the final liquidity position with the value of holding the same quantities of the original assets without providing liquidity. Add expected trading fees and discounted incentives, then subtract gas, withdrawal costs, taxes, and management costs.

Nathaniel Prescott