Order Book and Bid-Ask Spread

The bid-ask spread is the round-trip cost you pay on every trade before price moves at all. How to read order book depth

TRADING & RISK5 min readBy AlgoSys Editorial TeamPublished Apr 25, 2026Updated Jun 26, 2026
Contents

Order book: a live list of all buy and sell orders for a trading instrument that the exchange updates in real time. Buy orders are called bids and sell orders are called asks, and together they show how much liquidity is available at each price level. Knowing how to read this table helps you gauge market sentiment and notice where price might move in the next few seconds.

Spread (bid-ask spread): the difference between the highest price a buyer is willing to pay (bid) and the lowest price a seller is willing to accept (ask). This difference is your first, unavoidable trading cost: it directly eats a portion of P&L on every trade. The tighter the spread, the higher the liquidity and the cheaper your entry and exit.

Together the order book and the spread give you a picture of market depth and execution speed. Reading them, a trader can see in advance how easily an order will be filled and make more informed decisions about entry and exit points. Without this understanding you risk paying more for execution than the trade idea itself is worth.

MECHANICS

The order book is filled by limit orders placed by traders. Buy limit orders form the bid side and show prices people are willing to pay. Sell limit orders form the ask side and show prices people are willing to sell at. A market order (market order) does not wait for its price; it executes immediately against the best available limit orders on the opposite side.

The spread itself is calculated simply, as the ask price minus the bid price. If the best bid is $100 and the best ask is $100.10, the spread is $0.10. Those ten cents are lost instantly if you buy at the ask and immediately sell at the bid, which is why the spread is often called the round-trip cost.

The spread is kept tight by liquidity providers, most often market makers. They post orders on both sides of the book simultaneously and earn on the difference between bid and ask. Their activity compresses the spread and lowers costs for everyone else. It is also worth watching order book depth (the volume of orders at each level): that is what tells you how far a large order will move price before it finds opposing liquidity.

EXECUTION

Smart execution starts with reading the book and ends with factoring the spread into your profit calculation. The sequence of actions looks like this:

  1. Look at the current bid and ask and calculate the spread between them.
  2. Assess the book depth at levels near the market to understand whether there is enough liquidity for your size.
  3. Identify the best bid and ask for the direction of your trade.
  4. If there is no urgency, place a limit order at a price with a favorable spread and let the market come to you.
  5. If entry or exit is needed immediately, use a market order, accepting both the current spread and possible slippage upfront.
  6. Watch for changes in order flow: a sudden rush of orders from one side can quickly widen or shift the spread.
  7. Adjust your entry and exit price based on book dynamics to get a cheaper fill.
  8. Factor the spread into your P&L calculation; otherwise your profitability estimate will be overstated.

Let's take a numerical example. The best bid is $100, the best ask is $100.10, the spread is $0.10. You want to enter a long for an amount the first ask level covers entirely. If you buy at market for $100.10 and close later at the bid of $100, you are already down $0.10 per unit before any price movement at all. But if you place a limit bid at $100.05 and the market comes down to it, you enter at half the spread cheaper and save those cents on every trade. Over hundreds of entries that small detail compounds into a noticeable share of the final result.

Let's compare two ways of entering the same position:

Entry method Execution price Spread cost
Market order (at ask) $100.10 full spread, $0.10
Limit bid inside the spread $100.05 half the spread, $0.05

How to tell good execution from a trap: look not only at the spread but at the depth below your price. A tight spread with a thin book is deceptive, because a large order will punch through the first level and pick up the rest at much worse prices. True low-cost execution is where the spread is tight AND sufficient volume stands behind the best level.

COMMON MISTAKES

Most often traders simply forget about the spread when calculating profit. Trade after trade executes without a glance at the width of the bid-ask, and those invisible costs quietly accumulate, turning a formally profitable strategy into a losing one. The spread must always enter your cost base and your expected return.

The second common mistake is ignoring book depth when entering a large position. A big order placed against thin liquidity pushes price and fills with significant slippage, meaning the market moves against you right at the moment of entry. Before committing serious capital, make sure there is enough opposing volume at the level you need.

The third misstep is failing to notice imbalances in the book. A dense wall of buy orders below or a cluster of sell orders above often precedes a price shift. Those who watch for such skews sense the likely direction of movement in advance rather than reacting after the fact.

RISK FRAMEWORK

Size your positions so that the spread and possible slippage on entry and exit do not eat your target profit. If you are aiming for 1% per trade, the total cost of spread and slippage must be noticeably below that threshold, otherwise you are effectively trading in favor of the exchange and market makers.

With market orders, keep in mind that the execution price can easily differ from what you saw on screen, because within a fraction of a second the best level may have changed and your order slid deeper into the book. The simplest way to reduce this uncertainty is to work with liquid pairs and tight spreads.

Factor the spread into stop-loss placement as well. A wide spread can trigger a stop at a worse price than intended, especially in a fast-moving market where bid and ask momentarily gap apart. Give your stop enough buffer to cover normal spread fluctuations so you are not knocked out by a random widening.

Finally, think through in advance the scenarios where the spread blows out sharply due to low liquidity or a volatility spike. Once you understand how that widening hits your P&L, you can adjust your size and entry rules before you encounter it in live trading.

FAQ

What is the order book in plain terms?

It is a live list of all buy and sell orders for an instrument that the exchange updates in real time. Buy orders (bid) and sell orders (ask) show how much liquidity is available at each price level and how easily your trade will be filled.

How is the bid-ask spread calculated?

The spread equals the ask price minus the bid price. For example, with a best bid of $100 and a best ask of $100.10, the spread is $0.10. That is the amount you lose immediately if you buy at the ask and instantly sell at the bid.

Why is a tight spread better than a wide one?

A tight spread means high liquidity and low entry and exit costs, so every trade costs you less. A wide spread eats more profit and can also trigger a stop-loss at a worse price in a fast-moving market.

Why does a market order cost more than a limit order?

A market order fills immediately against the best available resting orders, so you pay the full spread right away, plus slippage when the book is thin. A limit order lets you enter at your own price and saves part of the spread, but it does not guarantee a fill.

Why look at order book depth and not just the spread?

A tight spread with thin liquidity is deceptive: a large order will blow through the first level and pick up the remainder at much worse prices. True low-cost execution is where the spread is tight AND sufficient opposing volume stands behind the best level.

How does the spread affect position size?

Size your position so that the spread and possible slippage on entry and exit do not eat your target profit. If the goal is 1% per trade, the total cost of spread and slippage must be noticeably below that threshold.

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →