Every trade on a crypto exchange starts in the order book, yet many traders glance past it on the way to the buy button. That is a costly habit. The order book shows how much it costs to trade right now, how much you can trade before the price moves against you, and how quickly those conditions can change. In fast markets such as this week’s, when XRP fell 9.5% in a single day and bitcoin’s weekend low came during heavy selling, the gap between the price on the screen and the price actually paid can widen sharply.
This guide explains how to read an order book step by step, using a hypothetical bitcoin order book and a hypothetical thinly traded token. All order book figures in the worked examples are invented for illustration and are not market data. The calculations are shown step by step.
In this article
- Key takeaways
- What an order book is
- A hypothetical bitcoin order book
- Step 1: find the spread and the mid price
- Step 2: check depth near the top
- Step 3: estimate what a market order will cost
- Step 4: compare with a limit order
- Effective spread: a better cost measure
- Thin markets: the same rules, bigger numbers
- How books change in volatile markets
- Signals the order book does not reliably give
- A pre-trade checklist
- Common mistakes
- Frequently asked questions
- Sources and research limits
Key takeaways
- An order book lists resting buy orders (bids) and sell orders (asks) at each price. The best bid and best ask define the spread.
- The mid price, halfway between the best bid and best ask, is a useful benchmark for measuring what a trade really costs.
- Depth is how much size sits near the top of the book. A market order larger than the size at the best price walks the book and fills at progressively worse prices.
- In the hypothetical bitcoin example, a 0.5 BTC market buy costs 0.0077% more than the mid price, while a 10 BTC buy costs 0.0444% more, almost six times as much per coin.
- In a thin market, the same habits matter far more: selling 40,000 units of a hypothetical $1 token costs 0.557% relative to the mid price.
- Limit orders control the price but not whether the order fills; market orders guarantee execution in normal conditions but not the price.
What an order book is
An order book is the live list of unexecuted limit orders for a trading pair. Buyers post bids, saying how much they will pay and for how much size. Sellers post asks, also called offers. When a new order arrives that can match a resting order on the other side, a trade occurs, and the matched size is removed from the book.
Most exchange interfaces show the book as two columns or two stacked panels: asks above in red, sorted from the lowest price upward, and bids below in green, sorted from the highest price downward. The prices closest to the middle are the most competitive. Many interfaces also show a cumulative total column and a depth chart, which plots that cumulative size as two sloping curves.
The U.S. Securities and Exchange Commission’s investor education site describes a stock’s liquidity as how rapidly shares “can be bought or sold without substantially impacting the stock price.” The same idea applies to crypto pairs. The order book is where that abstract idea becomes visible: a liquid market has many orders packed close to the middle; an illiquid one has fewer orders, spread farther apart.
A hypothetical bitcoin order book
The table below shows the top five levels on each side of an invented BTC/USDT book. Prices are in USDT and sizes in BTC.
| Side | Price | Size (BTC) | Cumulative (BTC) |
|---|---|---|---|
| Ask | 65,060.0 | 6.0 | 14.5 |
| Ask | 65,040.0 | 4.0 | 8.5 |
| Ask | 65,025.0 | 2.5 | 4.5 |
| Ask | 65,015.0 | 1.2 | 2.0 |
| Ask (best) | 65,010.0 | 0.8 | 0.8 |
| Bid (best) | 65,000.0 | 0.9 | 0.9 |
| Bid | 64,995.0 | 1.5 | 2.4 |
| Bid | 64,985.0 | 2.2 | 4.6 |
| Bid | 64,970.0 | 3.8 | 8.4 |
| Bid | 64,950.0 | 5.5 | 13.9 |
Step 1: find the spread and the mid price
The best ask is 65,010.0 and the best bid is 65,000.0. The spread is the difference: 10.0 USDT. The mid price is the average of the two: 65,005.0.
Expressed as a percentage of the mid price, the spread is about 0.0154%, or 1.54 basis points (one basis point is one hundredth of a percent). Percentages matter more than absolute numbers, because a 10-dollar spread on a 65,000-dollar asset is tiny, while a 10-cent spread on a one-dollar token would be enormous.
The spread is the cost of immediacy. Someone who buys at the best ask and immediately sells at the best bid loses the full spread, before any trading fees. That round trip is the minimum cost of changing your mind instantly.
Step 2: check depth near the top
Depth answers a simple question: how much can be traded before the price moves much? A common way to measure it is to add up the size within a band around the mid price. Within 0.05% of the mid in this hypothetical book, about 32.5 USDT either side, there are 4.5 BTC of asks and 4.6 BTC of bids. Across the five levels shown, there are 14.5 BTC of asks and 13.9 BTC of bids, worth about 943,000 and 903,000 USDT respectively.
Two features of depth are worth noticing. First, the best levels hold relatively little size, 0.8 and 0.9 BTC, and size grows further out. That shape is typical: market makers often post smaller orders at the most competitive prices and larger orders slightly farther away. Second, the two sides are roughly balanced. A heavily lopsided book, with much more size on one side, is sometimes read as a sign of buying or selling pressure, but that signal is unreliable, as discussed below.
Step 3: estimate what a market order will cost
A market order takes whatever liquidity is available, starting at the best price and moving outward until the order is filled. The SEC’s investor site summarizes the trade-off: as long as there are willing buyers and sellers, a market order is almost always executed, but “the price you pay when your order is executed may not be the price you expected.”
Here is what three market buy orders would cost against the hypothetical book above:
| Market buy size | Levels used | Average price | Worst price | Cost vs best ask | Cost vs mid |
|---|---|---|---|---|---|
| 0.5 BTC | 1 | 65,010.00 | 65,010.0 | 0.0000% | 0.0077% |
| 3 BTC | 3 | 65,017.00 | 65,025.0 | 0.0108% | 0.0185% |
| 10 BTC | 5 | 65,033.85 | 65,060.0 | 0.0367% | 0.0444% |
The 3 BTC order takes all 0.8 BTC at 65,010.0, all 1.2 BTC at 65,015.0 and 1.0 BTC of the 2.5 BTC at 65,025.0. The total cost is 195,051 USDT, an average of 65,017.00 per bitcoin. The 10 BTC order consumes the first four levels entirely and 1.5 BTC of the fifth, for a total of 650,338.5 USDT and an average of 65,033.85.
The key pattern is that cost per coin rises with order size. The 10 BTC buyer pays 0.0444% above mid; the 0.5 BTC buyer pays 0.0077%. This is what traders mean by price impact or walking the book. The difference between the expected price, usually the best ask or the last trade, and the average fill is what most people call slippage.
Step 4: compare with a limit order
A limit order sets the worst price you will accept. A buy limit at 65,015.0 for 3 BTC against the same book would immediately fill 2.0 BTC (0.8 at 65,010.0 and 1.2 at 65,015.0) and leave the remaining 1.0 BTC resting on the bid side at 65,015.0, where it would become the new best bid.
That outcome illustrates the trade-off. The limit order capped the price, but only part of it filled. If the market then moved higher, the remaining 1.0 BTC might never be bought. A limit order placed below the best ask, for example at 65,000.0, would not fill immediately at all; it would join the queue behind existing bids at that price and fill only if sellers came to it.
Orders that rest on the book add liquidity and are usually called maker orders; orders that execute immediately against the book remove liquidity and are called taker orders. Many exchanges charge different fees for each, a topic covered in the blog’s guide to maker fees, taker fees and funding rates.
Effective spread: a better cost measure
Regulators measure execution quality with a concept that traders can borrow. In March 2024, the SEC adopted amendments to Rule 605, which governs public reports of order execution quality in U.S. equities. The agency’s press release says the changes added “new statistical measures of execution quality, such as average effective divided by quoted spread (a percentage-based metric that represents how much price improvement orders received).”
The effective spread is commonly calculated as twice the distance between the execution price and the mid price. It captures what a trade actually cost, including price impact, rather than just what the screen showed. Applied to the hypothetical bitcoin book:
- The 0.5 BTC buy at 65,010.00 is 5.00 above mid, an effective spread of 10.00, equal to the quoted spread. The ratio of effective to quoted spread is 1.00.
- The 3 BTC buy, averaging 65,017.00, has an effective spread of 24.00, a ratio of 2.40.
- The 10 BTC buy, averaging 65,033.85, has an effective spread of 57.70, a ratio of 5.77.
A ratio below 1.00 would mean the trade executed inside the quoted spread, which is what the SEC calls price improvement. A ratio well above 1.00 means the order was large relative to displayed liquidity. Crypto exchanges are not subject to Rule 605, and the calculation here is the blog’s adaptation of the concept, but it is a useful habit: compare your average fill with the mid price at the moment you traded.
Thin markets: the same rules, bigger numbers
Now consider an invented token, ABC, quoted in USDT near $1.00 on a much thinner book:
| Side | Price | Size (ABC) |
|---|---|---|
| Ask | 1.0100 | 20,000 |
| Ask | 1.0060 | 12,000 |
| Ask | 1.0030 | 8,000 |
| Ask (best) | 1.0010 | 5,000 |
| Bid (best) | 0.9990 | 6,000 |
| Bid | 0.9970 | 9,000 |
| Bid | 0.9940 | 15,000 |
| Bid | 0.9900 | 25,000 |
The mid price is 1.0000 and the spread is 0.0020, or 0.20%, about 13 times wider in percentage terms than the bitcoin example. Selling at market:
| Market sell size | Proceeds (USDT) | Average price | Cost vs best bid | Cost vs mid |
|---|---|---|---|---|
| 5,000 ABC | 4,995.00 | 0.99900 | 0.000% | 0.100% |
| 20,000 ABC | 19,937.00 | 0.99685 | 0.215% | 0.315% |
| 40,000 ABC | 39,777.00 | 0.99443 | 0.458% | 0.557% |
A seller of 40,000 ABC, about $40,000 at the mid price, gives up about $223 relative to the mid. A seller of about $40,000 worth of bitcoin in the first book, roughly 0.6 BTC, would fill entirely at the best bid and give up only about 0.0077%. The trades are the same size in dollars; the costs differ by a factor of more than 70.
The SEC’s liquidity page warns that assets with low liquidity “may be difficult to sell and may cause you to take a bigger loss if you cannot sell” when you want to. On a crypto order book, that risk shows up as wide spreads and gaps between price levels.
How books change in volatile markets
A snapshot of an order book is only valid for an instant. When prices move quickly, market makers widen their quotes and reduce displayed size to limit their risk, which thins the book exactly when many traders want to trade. The result is that spreads widen and market orders walk further.
This week offered a real-world reminder. On Coinbase’s daily XRP-USD data, XRP fell 9.5% on November 14, trading as low as $0.8922, and volume that day was about three times its 30-day average. The blog’s calculation of XRP’s 30-day realized volatility is about 66.5% annualized. In conditions like that, the hypothetical costs above can rise several-fold within minutes. Coinbase is cited here only as a data source.
Practical implications follow. In fast markets, check the book immediately before trading, not a few minutes earlier. Consider splitting a large order into smaller pieces. And remember that a stop order that becomes a market order when triggered can fill well beyond its trigger price if the book has thinned.
Signals the order book does not reliably give
Order books invite over-interpretation. Several cautions apply:
- Displayed size can disappear. Large resting orders can be cancelled in milliseconds. A wall of bids does not guarantee support.
- Not all size is displayed. Some venues allow iceberg or hidden orders, so the visible book can understate true liquidity.
- Imbalance is noisy. More size on the bid than the ask can reflect market-maker inventory management, not directional conviction.
- One venue is not the market. Crypto trades across many exchanges. A thin book on one venue may coexist with deep liquidity elsewhere, and prices are linked by arbitrage.
- Manipulation exists. Placing orders with no intention of letting them execute, known as spoofing, is a recognized form of market abuse in regulated markets and is one reason not to rely on displayed walls.
A pre-trade checklist
- Read the spread as a percentage. Divide the spread by the mid price. Compare it with your expected profit on the trade.
- Compare your size with the top levels. If your order is larger than the size at the best price, estimate the average fill by walking the book as shown above.
- Choose the order type deliberately. Use a limit order when price matters more than speed; use a market order only when immediate execution matters more than the exact price.
- Add fees. Total round-trip cost is roughly the spread plus the fees on both legs. With a hypothetical 0.05% fee on each side, the bitcoin example’s round trip rises from 0.0154% to 0.1154%, and the ABC example’s from 0.20% to 0.30%. With no trading fee, the spread and price impact become the main costs, as the blog’s guide to the real costs of zero-fee spot trading explains.
- Check after the trade. Compare your average fill with the mid price at the time. Over many trades, that comparison shows your true execution cost.
Common mistakes
- Using the last trade price as the benchmark. The last trade may be stale. The current bid, ask and mid are better references.
- Ignoring the decimal scale. A spread of one tick can be negligible on one pair and large on another. Always convert to a percentage.
- Placing large market orders in thin books. The worked ABC example shows how quickly costs compound.
- Treating depth as permanent. The book that was there when you looked may not be there when your order arrives.
Frequently asked questions
What is the bid-ask spread?
The difference between the highest price a buyer is willing to pay (best bid) and the lowest price a seller will accept (best ask). It is the minimum cost of an immediate round trip, before fees.
What is slippage?
The difference between the price you expected and the average price you actually received. It grows when your order is large relative to available size or when the market moves between your decision and the fill.
How do I calculate the cost of a market order before placing it?
Add up price multiplied by size at each level, starting from the best price, until the cumulative size equals your order, then divide by the order size. Compare that average with the mid price.
Is a limit order always better than a market order?
No. A limit order protects the price but may fill only partly or not at all. If execution is essential, a market order, or a limit order priced to cross the spread, may be the better tool.
What does the depth chart show?
Cumulative bid and ask size plotted against price. Steep curves near the middle indicate deep liquidity; flat curves indicate that the price can move a long way on modest volume.
Sources and research limits
Sources: SEC investor education glossary entries on market orders and liquidity; SEC press release 2024-32 on Rule 605 amendments (March 6, 2024); XRP-USD daily data from Coinbase’s public market data API, used only as a data source.
Limits: all order books and trades in the worked examples are hypothetical and do not represent any exchange’s actual market. Effective spread calculations adapt a U.S. equities concept for illustration. Fee examples use an assumed rate, not any specific platform’s schedule. This guide is educational and is not investment advice.