DeFi Basics
What Is a Liquidity Pool in DeFi?
Learn what liquidity pools are in DeFi, how they work, why they matter for decentralized trading and lending, and the risks and rewards of providing liquidity.
Learn what impermanent loss is, how it affects liquidity providers in DeFi, and strategies to minimize its impact on your crypto holdings.
If you have ever explored decentralized finance (DeFi) or considered providing liquidity to a liquidity pool, you have likely come across the term "impermanent loss." It is one of the most important concepts for anyone thinking about earning yield by depositing assets into an automated market maker (AMM). Understanding impermanent loss is essential before you commit any capital to a DeFi protocol.
At its core, impermanent loss refers to the difference in value between holding tokens in a liquidity pool versus simply holding them in your wallet. When the price of tokens in a pool changes relative to each other, the pool automatically rebalances, and the resulting value of your deposited tokens can be less than if you had just held them. The loss is called "impermanent" because it only becomes permanent if you withdraw your tokens while the price ratio has diverged. If the prices return to their original ratio, the loss disappears.
Impermanent loss is a direct consequence of how automated market makers work. Most AMMs — such as Uniswap, Curve, or SushiSwap — use a mathematical formula to maintain the balance between the two (or more) tokens in a pool. The most common formula is the constant product formula: x * y = k, where x and y represent the quantities of the two tokens and k is a constant.
When the price of one token rises on external markets, arbitrage traders step in to buy the cheaper token from the pool (or sell the more expensive one into the pool) until the pool's price matches the wider market. This rebalancing changes the composition of the pool — you end up with more of the token that has dropped in relative value and less of the one that has risen. The net effect is that your position is worth less than if you had simply held the original token amounts.
Suppose you deposit 1 ETH and 2,000 USDC into a liquidity pool when 1 ETH is worth $2,000. Your total deposit is $4,000. Now imagine the price of ETH doubles to $4,000. Due to the constant product formula, the pool rebalances so that you now have approximately 0.707 ETH and 2,828 USDC. The total value of your pool position is about $5,656.
However, if you had simply held your original 1 ETH and 2,000 USDC, they would now be worth $6,000 (1 ETH at $4,000 plus 2,000 USDC). The difference of roughly $344 is your impermanent loss. You still made money compared to your initial deposit, but you made less than you would have by just holding.
The magnitude of impermanent loss depends on how much the price ratio between the paired tokens changes. Small price movements cause minimal impermanent loss, while large divergences create substantial losses. Here is a rough guide:
These percentages represent how much less your position is worth compared to simply holding. As the divergence grows, impermanent loss accelerates.
A critical distinction is that impermanent loss is only realized when you withdraw your liquidity. If the price ratio reverts to the original ratio, the impermanent loss shrinks back toward zero. This is why it is called "impermanent" — it is a paper loss that fluctuates with market conditions.
However, in practice, prices often do not revert. Many liquidity providers who deposit tokens into volatile pools end up realizing this loss when they withdraw. For highly volatile token pairs, the impermanent loss can outweigh the trading fees earned, resulting in a net loss.
Yes, and this is the main reason liquidity providers participate despite the risk. Every time someone swaps tokens through a liquidity pool, a small fee (typically 0.3%) is distributed proportionally to all liquidity providers. In high-volume pools, these fees can more than compensate for impermanent loss.
The key calculation for any prospective liquidity provider is whether the expected trading fee income exceeds the expected impermanent loss. Pools with high volume relative to their total liquidity, and pools with tokens that do not diverge much in price, tend to be the most profitable.
There are several approaches liquidity providers use to reduce their exposure to impermanent loss:
Pools consisting of two stablecoins (such as USDC/USDT or DAI/USDC) experience very little price divergence, which means impermanent loss is minimal. These pools typically offer lower fees, but the trade-off is much lower risk.
Some pools pair assets that tend to move in the same direction, such as wBTC/BTC derivatives or various wrapped versions of the same token. Since the prices stay close together, impermanent loss remains small.
Some AMMs like Uniswap v3 allow you to concentrate your liquidity within a specific price range. This can increase your fee income substantially, but it also amplifies impermanent loss if the price moves outside your chosen range. It requires active management.
Active liquidity providers regularly check their positions, and withdraw or rebalance when price divergence becomes too large. Some use automated tools or vaults that handle rebalancing.
Some protocols offer single-sided staking or lending mechanisms that avoid impermanent loss entirely. If you hold Bitcoin and want to earn yield without impermanent loss risk, platforms like Borrow by Sats Terminal let you use your BTC as collateral to borrow stablecoins, giving you access to liquidity without selling or pooling your Bitcoin.
Not all AMMs create the same impermanent loss profile. The constant product formula (x * y = k) used by Uniswap v2 produces one level of impermanent loss. Other designs handle it differently:
Understanding which AMM design you are using is important for estimating your risk.
For Bitcoin holders, impermanent loss is a particularly important consideration. If you deposit BTC into a BTC/ETH or BTC/USDC pool and the price of BTC rises significantly, you will end up with less BTC than you started with. For someone who values their Bitcoin holdings above all else, this can be a painful outcome.
This is one reason why many Bitcoin holders prefer lending or borrowing strategies over liquidity provision. By using your BTC as collateral on a platform like Borrow by Sats Terminal, you can access stablecoins without giving up any of your Bitcoin — and without any impermanent loss risk. Borrow aggregates rates from multiple lending protocols to help you find the best terms for your loan.
Impermanent loss is a fundamental cost of providing liquidity in DeFi. It is not a bug — it is a mathematical consequence of how automated market makers keep prices in balance. Before you become a liquidity provider, make sure you understand the trade-off between fee income and impermanent loss, and choose pools and strategies that align with your risk tolerance and investment goals.
For those who want to earn yield on their crypto without the complexity of impermanent loss, exploring lending-based yield strategies through platforms like Borrow by Sats Terminal can be a simpler alternative. You can borrow against your Bitcoin holdings at competitive rates aggregated across multiple protocols, keeping your BTC intact while accessing the capital you need.
Common Questions
Impermanent loss is the difference between the value of tokens held in a liquidity pool versus simply holding them in your wallet. When the price of one token in the pool changes relative to the other, the pool rebalances automatically, and you end up with less value than if you had just held your tokens. It is called "impermanent" because the loss reverses if prices return to their original ratio.
Related Questions
DeFi Basics
Learn what liquidity pools are in DeFi, how they work, why they matter for decentralized trading and lending, and the risks and rewards of providing liquidity.
DeFi Basics
Learn what yield farming is in DeFi, how it works, the strategies involved, and the risks and rewards of farming crypto yields across decentralized protocols.
DeFi Basics
Learn what decentralized finance (DeFi) is, how it works, and why it matters. Understand the core concepts of DeFi including smart contracts, blockchain, and permissionless financial services.
DeFi Basics
Learn what a DeFi protocol is, how decentralized finance protocols work, the different types of DeFi protocols, and how they are governed by their communities.