All articles
BeginnerDeFi

Liquidity Pools Explained Without the Jargon

A liquidity pool is a smart contract holding two tokens that traders swap against. Here is how the pricing formula works, how liquidity providers actually earn, and where impermanent loss quietly eats the profit.

July 31, 2026
6 min read

Dive Deeper with AI

Click → prompt copied → paste in AI chat

A liquidity pool is a smart contract that holds two tokens and lets traders swap one for the other. There is no buyer waiting to match a seller. Instead, an automated market maker (AMM) sets the price with a formula, and people called liquidity providers deposit both tokens to fill the pool. They earn a cut of every trade's fee, but they take on a risk called impermanent loss.

That is the whole idea in one paragraph. The rest of this page explains why the formula works, what liquidity providers actually take home, and where the profit quietly disappears.


Why there is no order book

On a traditional exchange, an order book lists people willing to buy and people willing to sell. A trade happens only when two of them agree on a price. That works well for busy markets and badly for small tokens that nobody is actively quoting.

An AMM removes the matching problem. The pool always has both tokens on hand, so a trade can happen instantly at whatever price the formula returns. You are not trading against another person. You are trading against the pool.


The formula that sets the price

Most pools use the constant-product formula: x times y equals k. Here x is the amount of one token in the pool, y is the amount of the other, and k is a fixed number that must stay the same after every trade.

Say a pool holds 10 ETH and 30,000 USDC. Then k equals 300,000. If you buy ETH, you add USDC and remove ETH. To keep k constant, removing ETH forces the USDC side up and the price of ETH rises as you buy. The bigger your trade relative to the pool, the more the price moves against you. That price movement is slippage.

This is the key intuition: price is just the ratio of the two token amounts, and every trade shifts that ratio along a curve. A deep pool barely moves. A shallow pool lurches.


LP tokens and where the fee comes from

When you deposit both tokens, the contract mints you LP tokens. They are a receipt proving what share of the pool you own. Hold 1% of the pool and your LP tokens redeem for 1% of whatever is inside when you withdraw.

Every swap charges a small fee, often around 0.3%, and that fee is added back into the pool. So the pool slowly grows, and your fixed share is now a slice of a bigger pie. You do not get paid out separately. Your earnings show up as more tokens waiting when you finally redeem your LP tokens.


Order book vs liquidity pool

Order bookLiquidity pool (AMM)
Who provides liquidityIndividual buyers and sellers posting ordersLiquidity providers depositing both tokens
How price is setMatching the best bid and askA formula based on the token ratio (x·y=k)
Best suited forHigh-volume, actively quoted marketsLong-tail tokens and always-on, permissionless trading

What providing liquidity actually earns

Three forces decide whether you come out ahead.

Fees are the income. More trading volume relative to the pool size means more fees flowing to your share. A quiet pool earns almost nothing.

Impermanent loss is the cost. When the two tokens' prices drift apart, the formula quietly rebalances your holdings toward the token that fell. Withdraw at that point and you end up with less value than if you had simply held both tokens in your wallet. The loss is "impermanent" only because it reverses if prices return to where you started. If they do not, it becomes permanent. See impermanent loss for the full mechanics.

Token risk is the wildcard. If one token in the pair loses most of its value, your position follows it down no matter how many fees you collected.

Two practical details. First, pool depth drives slippage: a deeper pool gives traders better prices and therefore attracts more volume and more fees. Second, be suspicious of eye-catching APYs. A pool advertising a very high yield is usually paying you in freshly minted governance tokens, not in organic trading fees. Those emissions can drop or the token can crash, and the "yield" evaporates.


The honest limits

  • Impermanent loss can exceed fees. In a volatile pair, the rebalancing loss can outrun everything you collected. You can be busy all month and still finish behind a simple hold.
  • Smart-contract risk is real. A bug in the pool contract can let an attacker drain it. Your LP tokens are only worth what the contract still holds.
  • A rug can empty the pool. If the project controls the token or the pool's admin keys, they can pull the liquidity and leave you holding a worthless receipt. Prefer established protocols and locked liquidity.

Providing liquidity is not passive income with no strings. It is a trade: you rent out your tokens for fees and accept price and contract risk in return.


FAQ

How do liquidity providers make money? They earn a share of the trading fee charged on every swap in their pool. The fee is added back into the pool, so their fixed ownership share is worth a little more each time someone trades. Some pools add extra token rewards on top, but those are separate from the organic fee income.

What is impermanent loss in simple terms? It is the gap between what your deposited tokens are worth inside the pool versus what they would be worth if you had just held them. It appears whenever the two tokens' prices move apart, because the formula keeps rebalancing your position toward the weaker token. It reverses if prices return, which is why it is called impermanent.

Is providing liquidity profitable? Sometimes. You profit when fees over your holding period beat impermanent loss and any token drop. That is most likely in high-volume pools of two closely correlated tokens, like two stablecoins. In volatile pairs with thin volume, holding the tokens outright often wins.

What is an LP token? It is the receipt the pool gives you when you deposit. It records your share of the pool and is what you hand back to withdraw your tokens plus accumulated fees. Lose the LP token and you lose the claim on your deposit.


Before you deposit into any pool, understand exactly how the pricing curve punishes large trades. Read how an order book differs from an AMM to see which model fits the token you are trading.

Read also

Liked this article? Follow me!

@t0tty3
#liquidity-pools#amm#defi#impermanent-loss#liquidity-providers

Dive Deeper with AI

Click → prompt copied → paste in AI chat