A liquidity pool is a smart contract holding a reserve of two tokens that anyone can trade against. When you swap on a decentralized exchange (DEX), there is usually no person on the other side. You put one token into the pool and take the other out, and a formula called an automated market maker (AMM) sets the price from the pool's balances.

That design explains the price impact warnings, the slippage setting and the swaps that cost more than the quote. This guide covers how pools work and what to check before trading against one. Not every swap uses a pool: on the SwapRocket exchange you send a normal transfer and a licensed liquidity provider executes the swap.

Quick summary
  • A liquidity pool is a shared reserve of two tokens, such as ETH and USDT, that you trade against.
  • An AMM sets the price from the pool's balances instead of an order book.
  • Price impact is how far your own trade moves the pool price. It grows with trade size and shrinks with pool depth.
  • Slippage tolerance is the limit you set on how much worse than the quote you will accept.
  • Pool fees go to liquidity providers and are paid by traders.

Liquidity pools 101: what you are trading against

Think of a currency exchange booth at an airport. Nobody is waiting to take your dollars. The booth already holds euros, hands them over, and adjusts its price according to what is left in the drawer. A liquidity pool works the same way, with a formula in place of the clerk.

What a liquidity pool is

It is a smart-contract vault that holds two tokens, sometimes more. Liquidity providers (LPs) deposit both tokens, for example ETH and USDT, and earn a share of the fees traders pay. Each pool has a pair of assets, a pricing rule and a fee rate, normally a fraction of a percent of each trade.

Why pools exist

An order book needs active market makers. Without them, spreads are wide or there is nothing to trade against. A pool makes liquidity available at all times for as long as LPs keep it funded. The price of that convenience is price impact.

How an AMM sets the price

How an AMM sets the price in a liquidity pool

In the classic design the pool keeps the product of its two balances constant. Buying ETH from the pool makes ETH scarcer inside it, so each further unit costs more. The larger your trade relative to the pool, the further you push the price against yourself.

A worked example

These are made-up numbers, and the pool fee is ignored.

A pool holds 1,000 ETH and 3,000,000 USDT, so the starting price is 3,000 USDT per ETH.

  • You sell 1 ETH. The pool pays out about 2,997 USDT. You gave up roughly 0.1% to price impact.
  • You sell 10 ETH. The pool pays out about 29,703 USDT, not 30,000. Price impact is roughly 1%.

It is the same pool and the same formula. Only the size of the trade relative to the pool has changed.

Why some pairs trade smoothly and others do not

Execution is usually best on major pairs with deep pools and on stablecoin pairs, which use formulas designed to trade close to one dollar. It is usually worst on new tokens, on meme coins and other long-tail assets with thin pools, and on pairs whose liquidity is split across many chains and venues.

Liquidity providers: who funds your swap

LPs earn the trading fees charged by their pool, and sometimes extra token rewards from the DEX. In return they take a specific risk.

Impermanent loss

When prices move, the pool rebalances, and LPs end up with a different mix of tokens from the one they deposited: more of the token that fell and less of the one that rose. On withdrawal that mix can be worth less than if they had simply held both tokens. The difference is called impermanent loss.

Traders do not pay impermanent loss directly, but it shapes the market. LPs need fees high enough to make the risk worthwhile, and pools that do not pay enough stay shallow and expensive to trade.

Fee, price impact and slippage: what decides your final rate

Fee, price impact and slippage in a DEX swap

People blame "fees" for everything, but the result of a DEX swap comes from three separate things.

The pool fee. A fixed percentage of the trade, set per pool. Deep pools for major pairs tend to charge the least, and pools for risky or long-tail tokens the most.

Price impact. How far your own trade moves the pool price. It rises with trade size, a small pool and high volatility.

Slippage tolerance. A setting you choose. It tells the DEX to cancel the swap if the result would be worse than the quote by more than your limit. Too low and swaps fail. Too high and you can be filled at a poor rate in a volatile moment.

Why a DEX swap can cost more than the fee suggests

The pool fee is only one line. Add the price impact, the network gas fee and sometimes MEV, where bots reorder transactions to profit from yours. A swap advertised at a small fee can cost several times that once everything is counted. The full breakdown is in crypto swap fees and their hidden costs.

AMM DEX, order book or deposit-address swap

AMM DEX (liquidity pools)Order book (typical CEX)Deposit-address swap (such as SwapRocket)
Who you trade againstA pool held in a smart contractOther traders and market makersA licensed liquidity provider
PricingFormula, moves with pool balancesBids and asksA live estimate at a floating rate
Identity checksNoneUsually requiredNo account. No KYC for standard swaps; a flagged transaction can, rarely, be held for verification
CustodyYour wallet, connected to the contractThe exchange holds fundsYou send from your wallet and receive to your address
What to watchPrice impact, slippage, gas, MEV, token approvalsAccount risk, withdrawal limitsThe floating rate can move while the deposit confirms

How to read a pool before you swap

Depth (TVL). Total value locked is the size of the reserve. The deeper the pool, the smaller your price impact. If your trade is more than a small fraction of the pool, expect to move the price noticeably.

Volume. A pool can be large and still inactive. Steady volume means arbitrage traders are keeping its price in line with the wider market, and that LPs earn enough to stay.

Fee tier. Major DEXs often run several pools for the same pair at different fee rates. The cheapest tier gives the better result only if it has enough liquidity for your trade.

Route. A swap is sometimes two or three swaps. SOL to ETH on a DEX might go from SOL to USDC and then from USDC to ETH, and each hop adds a fee and more price impact. If the two tokens sit on different chains, a bridge is involved as well. See crypto swap vs bridge.

Why ETH to USDT and XRP to USDT behave differently on a DEX

ETH and USDT are among the most liquid assets in crypto, and both exist natively on Ethereum. There are several deep pools, competitive fees and constant arbitrage.

XRP lives on its own ledger. On an Ethereum or Solana DEX you only find wrapped versions of it, in far smaller pools, so a direct on-chain swap usually means a bridge, extra hops and worse execution for larger amounts.

For a pair like that, a deposit-address swap is simpler: you send native XRP and receive USDT on the network you choose. On SwapRocket the pages are the XRP to USDT exchange and the ETH to USDT exchange.

Four common mistakes with DEX swaps

Treating the quote as a guarantee

An AMM quote is a snapshot. Before your transaction executes, someone else can trade first and change the pool ratio.

Setting a huge slippage tolerance to force a swap through

This is how people overpay. If a swap keeps failing, reduce the size, wait for a calmer moment or choose a more liquid route.

Ignoring network fees

On some chains gas is negligible. On others, during congestion, it can outweigh the pool fee on a small trade.

Assuming all stablecoins are identical

USDT, USDC and others can trade slightly away from one dollar in stressed markets. See when swapping to stablecoins is smart and when it is risky.

Where SwapRocket fits

SwapRocket does not use liquidity pools. There is no wallet connection, no token approval and no slippage setting, and no smart contract is involved in how it executes a swap.

  • You choose a pair, enter your receiving address and send an ordinary transfer from your own wallet.
  • One licensed liquidity provider executes the swap at a floating rate. The estimate shown before you send already includes the fee and the payout network fee.
  • The swapped coins are sent to your address. A typical swap takes 5 to 30 minutes, depending mostly on how fast the deposited coin confirms.
  • There is no account. There is no KYC for standard swaps, although the provider screens transactions and can, rarely, hold a flagged one and ask for verification.

The trade-off is different from a DEX. You do not manage routes, pools or approvals, and the swap works across chains without a bridge. In exchange, you rely on the provider to execute the swap, and the final amount follows the market until your deposit confirms. For designs that remove that reliance, see non-custodial swaps, HTLCs and atomic swaps.

FAQ

What is a liquidity pool in simple terms?

It is a smart contract holding reserves of two tokens. Traders swap one token for the other against the reserve, and a formula sets the price from the balance between them.

Are liquidity pools the same as staking?

No. Staking helps secure a proof-of-stake network. Providing liquidity funds trading and earns fees. The risks and rewards are different.

Can a liquidity pool run out?

Under the classic formula a pool never reaches zero, but it can become so unbalanced that the price is very poor. Arbitrage traders normally correct that by trading the pool back toward the market price.

Why do some DEX swaps fail?

The usual causes are a slippage tolerance set too low, network congestion, or the pool's liquidity changing between the quote and the execution.

What is the difference between slippage and price impact?

Price impact is the movement your own trade causes in the pool. Slippage is the difference between the quoted and the executed price from any cause, including other trades landing before yours. The slippage tolerance setting caps how much of it you will accept.

To exchange coins without pools, approvals or a wallet connection, start on the SwapRocket exchange, or check a live estimate on the SOL to ETH exchange page. How a swap works is described in the FAQ.