DeFi & Earning

What Is a Liquidity Pool in Crypto? AMMs and DEXes Explained

By CryptoMarketDashboard Editorial Team Updated July 8, 2026 8 min read

Educational content · reviewed for accuracy · not financial advice

What Is a Liquidity Pool in Crypto? AMMs and DEXes Explained
Quick answer

A liquidity pool is a smart contract holding reserves of two or more tokens that enables automated trading on decentralized exchanges. Instead of matching buyers with sellers via an order book, an automated market maker (AMM) algorithm uses the pool's token reserves to determine prices. Liquidity providers deposit tokens to earn trading fees, but face impermanent loss when token prices diverge.

Live price right now

Prices update automatically every minute · data from CoinMarketCap.

On this pagetoggle

Traditional financial markets rely on order books: buyers submit bids, sellers submit asks, and trades happen when they match. This works well for deep, actively traded markets, but it breaks down in crypto — where thousands of tokens have too little trading volume to sustain a healthy order book at all times.

Liquidity pools solve this by replacing human market makers with an algorithm.

What a Liquidity Pool Is

A liquidity pool is a smart contract that holds reserves of two (or more) tokens and uses those reserves to facilitate trades automatically. Instead of matching a buyer to a seller, the pool itself is always available to trade — it will buy or sell from its reserves at a price determined by the ratio of tokens in the pool.

The people who deposit tokens into the pool are called liquidity providers (LPs). In return for providing these reserves, LPs earn a share of the trading fees generated by the pool.

Liquidity pools are the fundamental infrastructure behind most decentralized exchanges. Protocols like Uniswap — the largest DEX on Ethereum by trading volume — run entirely on this model. Every swap on Uniswap routes through one or more liquidity pools.

How the AMM Pricing Algorithm Works

The dominant AMM formula is the constant product formula: x * y = k

Where:

  • x = the quantity of token A in the pool
  • y = the quantity of token B in the pool
  • k = a constant that does not change (except when liquidity is added or removed)

When a trader swaps token A for token B, they add token A to the pool and remove token B. The product must remain equal to k, so the price adjusts automatically. The more token B you try to remove in a single trade, the worse the price becomes — this is called price impact or slippage, and it increases with trade size relative to pool depth.

Example: A pool holds 100 ETH and 200,000 USDC. k = 20,000,000. One ETH implicitly costs 2,000 USDC. A trader swaps 1 ETH in: they add 1 ETH (total 101 ETH). To maintain k = 20,000,000, USDC must be 20,000,000 / 101 = roughly 198,020 USDC. The trader receives approximately 1,980 USDC for their 1 ETH. The implied price has shifted slightly.

Large pools (deep liquidity) absorb trades with less price impact. Shallow pools move dramatically with each trade.

What Liquidity Providers Earn

When you provide liquidity, you receive LP tokens — a receipt representing your proportional share of the pool. Every swap through the pool charges a fee (typically 0.3% on Uniswap v2). This fee is added to the pool's reserves, so LP token holders collectively earn it in proportion to their share.

In DeFi terms, this is one of the most fundamental yield sources: it is based on real economic activity (trading demand) rather than token emissions. The fee income is sustainable as long as the pool has trading volume.

Some protocols also offer additional token rewards on top of trading fees to attract liquidity. These are more speculative and can diminish quickly.

Impermanent Loss

The main risk for liquidity providers is impermanent loss: the difference in value between providing liquidity and simply holding the same tokens in a wallet.

When the price of one token rises relative to the other, the AMM automatically rebalances by selling the appreciating token and accumulating the depreciating one. The LP ends up with a lower ratio of the winner — which means their position is worth less than it would be if they had just held both tokens.

The loss is only 'impermanent' if prices revert to the original ratio. In practice, they rarely do, and for highly volatile pairs, impermanent loss often exceeds fee income.

Practical rule: Liquidity pools with stablecoin pairs (e.g. USDC/USDT) carry minimal impermanent loss because prices do not diverge much. Pools with volatile assets carry higher impermanent loss risk.

Concentrated Liquidity

Uniswap v3 introduced concentrated liquidity: rather than spreading liquidity across all possible prices, LPs can specify a price range. Liquidity concentrated in the active trading range earns much higher fees per dollar deposited — but if the price moves outside your range, your liquidity earns nothing until it returns.

This makes v3 more capital-efficient for active LPs who manage their ranges, but more complex and potentially more loss-prone for passive participants.

Understanding Pools Before Providing Liquidity

Before depositing into any pool:

  • Understand which token pair you are providing and what drives their prices.
  • Check the pool's trading volume and fee income versus its total liquidity.
  • Model impermanent loss scenarios if one token appreciates significantly.
  • Verify the protocol's smart contract audit status.

The guide on yield farming covers the broader context of how liquidity provision fits into DeFi earning strategies.


This is educational information, not financial advice. Providing liquidity to DeFi pools involves smart contract risk, impermanent loss, and token price volatility. Always do your own research before committing capital.

Frequently asked questions

What is a liquidity pool in simple terms?+

A liquidity pool is a pot of two tokens locked in a smart contract that enables automatic trading on a decentralized exchange. Instead of matching buyers to sellers, the pool algorithm sets prices based on the ratio of tokens in the pool. Anyone can deposit tokens to earn a share of trading fees — this is called being a liquidity provider.

How do you make money from a liquidity pool?+

Liquidity providers earn a share of the trading fees generated by the pool, proportional to their share of total liquidity. For example, if you supply 1% of a pool's liquidity and the pool earns $10,000 in fees over a month, you earn $100. Some protocols also pay additional token rewards to attract liquidity. Against this income, you must weigh impermanent loss.

What is impermanent loss?+

Impermanent loss is the reduction in value a liquidity provider experiences compared to simply holding the same tokens outside the pool. When one token in a pair rises in price, the AMM rebalances by selling that token and buying the cheaper one. The LP ends up with less of the appreciating token than they would have by holding. The loss is called impermanent because it disappears if prices return to the original ratio.

What is Uniswap?+

Uniswap is the largest decentralized exchange on Ethereum by trading volume. It pioneered the automated market maker (AMM) model, allowing anyone to trade tokens or provide liquidity without a centralized intermediary. Uniswap v3 introduced concentrated liquidity price ranges for more efficient capital use. UNI is Uniswap's governance token, held by protocol participants who vote on changes.

Are liquidity pools safe?+

Liquidity pools carry smart contract risk — if the pool's code has a vulnerability, funds can be drained. They also expose providers to impermanent loss and token price volatility. More established protocols like Uniswap have been running for years and have extensive audit histories, but no smart contract is guaranteed to be bug-free. Newer or unaudited pools carry substantially higher risk.

CryptoMarketDashboard Editorial Team

Our editorial team covers cryptocurrency market data, on-chain metrics and beginner education. Every guide is fact-checked against live market data from CoinMarketCap and Binance and reviewed for accuracy. Content is educational only and not financial advice. Learn about our data & methodology →

Track the market live

Real-time prices, market cap and trends for the top 100 coins.

Open dashboard

Keep learning