Crypto · 2026-08-21 · 7 min read · By StockPilot

Automated Market Makers and Impermanent Loss: How Crypto Liquidity Pools Work

How automated market makers price trades without an order book, why impermanent loss happens, and when providing liquidity actually pays off.

Automated market makers replaced the traditional buyer-meets-seller order book with a mathematical formula and a pool of locked tokens, and that single design choice is what made permissionless token trading on-chain possible at scale.

Anyone can supply tokens to an AMM pool and earn a share of trading fees, but that yield comes with a specific, often misunderstood cost called impermanent loss, one that catches many first-time liquidity providers off guard when they finally withdraw.

This guide breaks down how AMMs price trades without an order book, why impermanent loss happens, and how to decide when providing liquidity actually makes sense for a crypto portfolio.

How an Automated Market Maker Prices a Trade

Instead of matching a buyer's bid against a seller's ask, an AMM holds two or more tokens in a pool and prices trades using a formula, most commonly the constant product formula where the multiplication of both token quantities stays fixed before and after each trade.

When a trader buys one token from the pool, the contract raises the price along a fixed curve as the pool's supply of that token shrinks, so large trades relative to pool size move the price more, an effect known as slippage.

Every AMM pool therefore has an implied price at any moment, derived purely from the ratio of the two token balances it holds, which is why a pool's depth matters as much as the tokens it contains when judging how reliable that price is.

The takeaway: an AMM prices trades through a formula tied to pool balances, not through matched orders, which is why trade size relative to pool depth directly drives slippage.

Why Liquidity Providers Earn Fees

Every trade executed against a pool pays a fee, typically a fraction of a percent, distributed proportionally to everyone who has supplied tokens to that pool, which is the core incentive that gets liquidity providers to lock capital into the contract in the first place.

Fee income scales with trading volume, not with total value locked, so a smaller pool on a heavily traded pair can generate a higher return for its liquidity providers than a much larger pool sitting on a quiet, low-volume pair.

Some protocols layer additional liquidity mining rewards, paid in the protocol's own governance token, on top of trading fees, which can meaningfully boost the headline yield but adds exposure to that token's own price volatility as a separate variable in the total return.

  • Fee tier, commonly 0.01% to 1%, depending on the pair's volatility
  • 24-hour and 7-day trading volume relative to pool size
  • Whether liquidity mining rewards are layered on top of trading fees

The takeaway: compare fee income to pool size and trading volume, not pool size alone, before assuming a large pool is the more profitable place to supply liquidity.

What Impermanent Loss Actually Is

Impermanent loss is the difference between the value of holding two tokens in a liquidity pool versus simply holding the same two tokens in a wallet, and it appears whenever the price ratio between the two pooled tokens changes after deposit.

The AMM formula automatically rebalances the pool as prices move, selling the token that is rising and buying the token that is falling, which means a liquidity provider systematically ends up with more of the underperforming asset and less of the outperforming one compared to simply holding both.

The size of the loss depends only on how far the price ratio has moved from the deposit point, not on which direction either token moved individually, which is a distinction that trips up many first-time liquidity providers.

The takeaway: impermanent loss comes from the AMM's automatic rebalancing mechanic, so it grows with price divergence between the pooled tokens regardless of which one is rising.

When Impermanent Loss Becomes Permanent

The loss is called impermanent because it can shrink or disappear if token prices return to the ratio that existed at deposit, but it becomes a real, realized loss the moment a provider withdraws while prices remain diverged.

For stablecoin pairs or pegged-asset pairs where the ratio rarely moves far from parity, impermanent loss is typically minimal, while volatile pairs, especially a stable asset paired against a fast-moving token, can produce impermanent loss that fee income never fully offsets.

Some liquidity providers deliberately hold through volatility, betting the price ratio will mean-revert before they need to exit, which can work for pairs with a history of trading in a range but is a much riskier bet for a token without an established price relationship to its pair.

The takeaway: impermanent loss only stays theoretical while you remain in the pool, so withdrawal timing relative to the price ratio at deposit is what turns it into a realized cost.

Estimating Whether Fees Cover the Risk

A rough rule of thumb is that impermanent loss grows meaningfully once one token in the pair moves 25% or more relative to the other, and it compounds further as that divergence widens, so the fee income needed to offset it rises quickly for volatile pairs.

Before providing liquidity, estimate expected impermanent loss at a few plausible price scenarios, then compare that to the pool's historical fee yield over a similar period, since a pool paying 40% in annualized fees can still leave a provider worse off than simply holding if the underlying pair moves sharply enough.

Simple impermanent loss calculators, widely available and free to use, let you plug in a hypothetical price change and see the resulting loss percentage before committing capital, which turns this from a mental estimate into an actual number worth checking each time.

The takeaway: model impermanent loss against a few realistic price scenarios before depositing, since headline fee yields alone do not tell you whether the position beats holding.

Concentrated Liquidity and Its Trade-Offs

Newer AMM designs let liquidity providers concentrate capital within a chosen price range instead of spreading it across the full price curve, which multiplies fee income earned within that range but means the position earns nothing once price moves outside it.

Concentrated liquidity also amplifies impermanent loss relative to standard pools when price does move outside the chosen range, since capital efficiency and risk exposure rise together, so this design rewards active management far more than passive, set-and-forget liquidity provision.

Managing a concentrated position well typically means monitoring price and rebalancing the range periodically, work that either the provider does manually or delegates to an automated vault strategy, and either approach adds a layer of cost or complexity beyond a standard full-range pool.

The takeaway: concentrated liquidity trades passive simplicity for higher potential fee income and higher potential loss, and it needs active range management to pay off.

Additional Risks Beyond Price Divergence

Impermanent loss is not the only risk in providing liquidity. Smart contract bugs, oracle manipulation, and protocol-level exploits have drained pools even when the underlying tokens themselves were sound, and liquidity provider funds sit directly exposed to that contract risk.

Newer or unaudited pools, and pools on smaller chains with thinner security budgets, carry meaningfully higher smart contract risk than pools on major protocols with a long track record and multiple independent audits.

  • Contract audit history and time since deployment without an exploit
  • Total value locked, as a rough proxy for how battle-tested the pool is
  • Whether the protocol has an active bug bounty program

The takeaway: treat smart contract risk as a separate line item from impermanent loss, since a well-audited pool with unfavorable price movement is a very different risk profile from an unaudited pool with favorable prices.

Deciding Whether Liquidity Provision Fits Your Portfolio

Liquidity provision suits investors comfortable holding both underlying tokens anyway and who can tolerate the position's value diverging from a simple buy-and-hold outcome in exchange for fee income, not investors looking for a passive yield with no price exposure.

Stick to pairs you would hold outright, size positions so a worst-case impermanent loss scenario would not meaningfully damage the portfolio, and revisit the position regularly rather than assuming a favorable entry fee yield will hold steady as market volatility changes.

Treat liquidity provision as an active portfolio decision reviewed on the same schedule as any other crypto position, not a set-and-forget yield source, since both fee income and impermanent loss risk shift as trading volume and price volatility change.

The takeaway: only provide liquidity for token pairs you are already willing to hold, and size the position around a worst-case impermanent loss, not the advertised fee yield.

  • Crypto
  • DeFi
  • Risk Management

← Back to blog

Related articles

  • Stablecoin De-Peg Risk: How to Evaluate Collateral, Redemption, and Counterparty Exposure
  • DeFi TVL Explained: How to Use Total Value Locked to Evaluate Crypto Protocols
  • Bitcoin and Ethereum ETF Flows: Reading Daily Inflows and Outflows as a Sentiment Gauge
  • Bitcoin ETF Options and Institutional Derivatives Flow: What Open Interest Reveals
  • Cumulative Volume Delta: Reading Crypto Order Flow to Spot Hidden Buying and Selling Pressure
  • Home
  • Features
  • Pricing
  • Blog
  • FAQ
  • About
  • Contact
  • Privacy Policy
  • Terms of Service
  • Investment Disclaimer