Intermediate

How Liquidity Pools Price Assets Without an Order Book

🕐 7 min read · Updated 2026-10-10 · Not financial advice

There is nobody holding an order and waiting for you to match it. A liquidity pool prices assets with a formula and a pair of balances. Understanding that mechanism explains slippage, why large trades cost more, and why providing liquidity means accepting a specific kind of loss.

The core idea

A pool holds two assets. The price of one in terms of the other comes from their ratio: more of token A relative to token B means A is priced higher. Swapping changes the ratio, which changes the price. That is the entire pricing mechanism. There is no counterparty, no bid, and no ask.

The classic model keeps the product of the two balances constant. When a trader swaps in, the ratio shifts against them, so the execution price is slightly worse than the price before the trade. The size of that gap depends on how large the trade is relative to the pool.

Why larger trades get worse prices

Price impact grows with trade size relative to pool depth. A small trade barely moves the ratio. A large one moves it a lot, and the further it moves, the more the next unit costs. This is why a quoted price is not a promise.

There are two ways to think about the cost of getting into and out of a position:

  • Price impact, which depends on pool depth. Deep pairs like major pairs on established venues are cheap to trade. Thin pairs are expensive, and the cost applies in both directions.
  • Fees, which are a fixed share of the trade and are usually far smaller. They scale with size, but they do not worsen as the trade grows.

Most people underestimate the first and over-focus on the second. On a thin pair the price impact dominates entirely.

Fees pay providers, and arbitrage keeps prices honest

Every swap pays a fee to the pool. That fee goes to the providers, which is where the yield comes from.

Arbitrageurs keep the pool aligned with the rest of the market. If a pool prices an asset too high relative to elsewhere, a bot buys from the pool and sells elsewhere. If it prices too low, the reverse. That flow pushes the pool back toward the external price, which is why a healthy pool's price tracks the wider market closely despite having no order book.

What providers give up

Providing liquidity means the pool trades on your behalf. When one asset rises, the pool sells some of it to keep the ratio balanced. You end up holding more of the asset that fell. That outcome is structural, not a mistake in the design.

Two further risks sit on top:

  • Incentive tokens. Extra rewards paid for depositing usually arrive in the protocol's own token, which is frequently falling while you earn it. A high headline rate can be a falling price paid to you.
  • Contract risk. The pool is code. A bug in the contract can lose the deposit, and audits reduce that risk without removing it.

A reasonable check before depositing: estimated fees plus incentives, minus the loss you would take against simply holding both assets over the same period. If the result is thin, the position is not worth the effort.

Frequently asked questions

Why did my swap fill at a worse price than the quote showed?

The quote is the price before your trade moves the pool. Your own trade moves it, and it moves more the larger the trade relative to the pool. On a small pool, that gap can be several percent.

Does providing liquidity guarantee a profit?

No. Fees and incentives can exceed the loss from holding, but there is no guarantee, and the reward token itself may fall faster than the yield accrues. It is an active position with real risk on both sides.

Why do different pools for the same pair show different prices?

Each pool has its own balances and fee tier, so each quotes its own price, and arbitrage between them is what keeps the gap small. A large persistent gap usually means one pool is illiquid or its arbitrageur cannot move funds in and out cheaply.

↑ Back to top

Keep reading