What Is a Liquidity Pool in Crypto? How Pools Power Every Swap

Liquidity pool crypto guide DEX swaps providers fees impermanent loss explained

A liquidity pool is a shared pot of two tokens, locked in a smart contract, that lets people swap one coin for another without waiting for a matching buyer or seller. You trade against the pot, not against a person, and that pot is why a swap on a decentralised exchange, called a DEX for short, goes through in seconds even at 3 in the morning. No pot, no swap.

Key points:

  • A DEX has no order book, so it swaps from a pool of two tokens held by a smart contract.
  • The mix in the pool sets the price, and every trade shifts that mix a little.
  • People who fill the pool earn a cut of swap fees, but a sharp price move can leave them worse off than just holding both coins.

Why does a swap need a pool at all?

On a normal exchange, your buy waits until someone else wants to sell at your price. That works for big coins with crowds of traders, but it breaks down for a small token that only a few people trade. You could wait hours for a match, or get none at all.

A pool fixes that by flipping the deal around. Instead of matching two traders, the DEX holds both tokens itself. You put one token in, you take the other out, and the trade is done at once. The pool is the other side of every trade, day and night. That is the whole trick behind DEXs like Uniswap, which opened this model to the public in 2018.

How does the pool set the price?

Take a simple pool with ETH and USDC, a dollar-pegged stablecoin. Say the pool holds 10 ETH and 20,000 USDC. Divide one by the other, and each ETH is worth 2,000 USDC. That mix is the price.

Now you buy 1 ETH from the pool. It drops to 9 ETH, and the USDC you paid pushes its USDC pile up, so the next buyer faces a higher price per ETH. Sell ETH into the pool, and the price ticks down the same way. Big trades move the price more than small ones. That slide on a big trade is called slippage, and it is why a huge order on a small pool can cost far more than the headline price suggests.

Who puts coins in the pool, and what do they get?

Anyone can fill a pool. These people are called liquidity providers, and they deposit both tokens in the pool's current ratio. Put in ETH and USDC at the going mix, and the smart contract hands you pool tokens, sometimes called LP tokens, as a receipt for your share. Your share decides your share of the fees.

Every swap on that pool pays a small fee, often around 0.3% on older Uniswap-style pools, and that fee goes to the providers in proportion to their share. A provider with 10% of the pool takes 10% of the fees. When you want out, you hand your pool tokens back and take your share of both tokens, plus the fees you earned.

Read also: What Is Crypto Swapping? A Simple Guide to DEXs

What kinds of pools will you meet?

Three designs cover most of what you will see.

Pool typeHow it worksBest forMain risk
Constant-product poolTwo tokens, price moves with the mixNormal coin-to-coin swapsBig price swings hit providers
Stable-swap poolTuned for tokens meant to hold the same priceStablecoin-to-stablecoin swapsA coin that loses its peg
Concentrated poolProviders pick a price range to coverBusy pairs with tight pricesEarnings stop if the price leaves your range

Curve built its name on stable-swap pools, and Uniswap v3, which launched in 2021, brought concentrated pools.

Is providing coins just free money from fees?

This is the wrong idea most beginners walk in with, so let me say it straight. Fees are real, but they are not free. The catch has an ugly name, impermanent loss, and here is what it means in plain terms.

Say you put 1 ETH and 2,000 USDC into a pool when ETH trades at 2,000 USDC. Then ETH doubles to 4,000 USDC. Traders keep buying cheap ETH out of your pool until its price matches the outside market, and by the end your share holds less ETH and more USDC than you started with. Compare that share with simply holding the same 1 ETH and 2,000 USDC untouched. In a sharp move like this, the held coins come out ahead, even after fees, unless the pool was very busy. The loss is called impermanent because it shrinks back if the price returns to where you started, but if you pull out while the price is far away, it locks in for good.

My own read is blunt. A pool is a small shop, not a savings account. You earn when traders pass through, and you wear the risk when prices run. If you would not be calm watching your ETH share shrink while ETH rallies, do not join the pool. Fees pay you for taking that risk, not for avoiding it.

One honest caveat on the numbers here. Fee rates like 0.3% are typical for one pool design, not a fixed rate for all pools. Treat any fee figure on a pool page as that pool's own rate on that day, not a promise that holds everywhere.

What should you check before you touch a pool?

First, check the pool's size. A small pool moves a lot on one trade, so your slippage can sting. Second, look at what the pool actually holds, and skip pools built on coins you have never heard of. Third, read the fee rate and the lock rules, since some pools add extra steps or waiting times to pull out.

Before your first deposit, write down four numbers — the fee rate, the pool's total size, the price of each coin that day, and the amount you put in. Those four numbers are your baseline. A month later, compare your pool share with what those same coins would be worth if you had just held them. That one check tells you the truth about whether the fees beat the loss, instead of leaving you to guess from vibes.

Next time you tap swap on a DEX, pause for one second and picture the pool behind the button. Two piles of coins, a smart contract doing the maths, and strangers like you keeping it full. Once you see that, a swap stops looking like magic. It is a trade with a pot, not a person, on the other side.

Read also: What Is DeFi? A Simple Guide for Beginners

— BitByLine News Desk

This guide is just for learning. BitByLine only explains and teaches here, this is not financial advice, and we never tell you to buy or sell any coin. Whether you buy or not is your own call, and the risk sits with you, so do your own research first before you put any money in.

Read our full Disclaimer.

Want the next guide in your inbox? Subscribe to the BitByLine newsletter.

Sources: Uniswap, CoinDesk, Investopedia

Comments