Liquidity
How readily an asset can be traded at available prices
What is Liquidity?
Liquidity describes how readily an asset can be bought or sold at available prices. In an order book, offers at each price determine execution. Automated market makers use pool-specific pricing rules. A total asset value alone does not determine price impact.
How it works
Fictional example · EXAMPLE token / USD
See how depth changes a buy
Both books start at the same sell price. The deeper book has ten times as many units at each price. Change the buy size to see which sell offers it uses.
Static example: 8 units in the thin book. Controls become available when JavaScript loads; without it, the calculation and tables stay on this example.
Enter zero or a positive quantity. Fractions are allowed; very small values use scientific notation.
Full example fill within displayed depth
- Units filled
- 8
- Units still unfilled
- 0
- Cost of filled units (USD)
- $815.00
- Average fill price (USD)
- $101.875
- Average price impact vs first ask
- 1.875%
- First ask (USD)
- $100.00
| Price (USD) | Units at price | Cumulative units |
|---|---|---|
| 2 | 2 | |
| 3 | 5 | |
| 5 | 10 | |
| 10 | 20 |
| Price (USD) | Units at price | Cumulative units |
|---|---|---|
| 2 | 2 | |
| 3 | 5 | |
| 5 | 10 | |
| 10 | 20 |
Focus or hover a price to inspect cumulative depth.
| Price (USD) | Units taken | Cost (USD) |
|---|---|---|
| $100.00 | 2 | $200.00 |
| $101.00 | 3 | $303.00 |
| $104.00 | 3 | $312.00 |
Impact = (average fill price ÷ first ask − 1) × 100. A buy consumes sell offers from the lowest price upward.
This fixed example excludes fees, new orders and cancellations. Any unfilled units remain unpriced; the displayed cost and average cover filled units only. It uses no live market data.
Key takeaways
-
Specify market mechanism, order size, and fees.
-
Keep liquidity, TVL, price impact, and slippage distinct.
Illustrative example
In the fictional thin order book, eight units fill as two at $100, three at $101, and three at $104. Total cost is $815, averaging $101.875. The deeper example fills eight at $100. Both exclude fees.
Spread, depth, and slippage tolerance
The spread separates best bid and ask; depth measures available quantities across prices. Price impact concerns how a trade changes or consumes available pricing. Slippage concerns a difference from an expected execution price; tolerance sets an acceptable limit in the relevant interface. AMM reserves and protocol TVL are different measures from order-book depth.