Liquidity Guides · How to
How to Measure the Bid-Ask Spread
Spread is the most quoted liquidity measure and the most misleading one on its own. This guide covers both the arithmetic and its limits.
Direct answer
To measure the bid-ask spread, subtract the best bid from the best ask, then divide by the midpoint and multiply by 100:
spread % = (best ask − best bid) / midpoint × 100
midpoint = (best ask + best bid) / 2
With a best bid of 99.50 and a best ask of 100.50, the absolute spread is 1.00, the midpoint is 100.00, and the spread is 1%. Always compare spreads as percentages — absolute spreads are meaningless across assets at different price levels.
Step 1 — Read the top of the book
You need exactly two numbers:
- Best bid — the highest price anyone is currently offering to pay.
- Best ask — the lowest price anyone is currently offering to accept.
These sit at the top of each side of the order book, closest to each other.
Step 2 — Calculate the absolute spread
absolute spread = best ask − best bid
Example: 100.50 − 99.50 = 1.00
This number is only useful within a single market. A spread of 1.00 is enormous on an asset priced at 2 and negligible on one priced at 60,000.
Step 3 — Calculate the midpoint
midpoint = (best ask + best bid) / 2
Example: (100.50 + 99.50) / 2 = 100.00
The midpoint is the conventional reference price. It is not a price you can trade at — it is the theoretical centre between the two prices you can trade at.
Step 4 — Express as a percentage
spread % = absolute spread / midpoint × 100
Example: 1.00 / 100.00 × 100 = 1%
This is the comparable form. Now you can compare this market against any other, regardless of price level.
Some sources divide by the best bid or the best ask instead of the midpoint. The difference is small at tight spreads and material at wide ones. Use the midpoint, and state your convention when publishing a figure.
Step 5 — Measure the effective spread at your size
The step that separates a useful measurement from a decorative one.
The quoted spread applies to the quantity available at the top of the book, which is often small. Your effective spread is what you would actually pay to enter and exit at your size.
To calculate it:
- Walk the ask side, accumulating quantity until you reach your order size. Record the average price. Call it
buy_avg. - Walk the bid side the same way. Call it
sell_avg. - Then:
effective spread % = (buy_avg − sell_avg) / midpoint × 100
Worked example
Quoted spread looks excellent: 0.999 / 1.001, so 0.2%.
But the book holds only 500 tokens on each side at those prices, and you want 5,000.
| Ask side | Bid side | ||
|---|---|---|---|
| 1.001 | 500 | 0.999 | 500 |
| 1.010 | 1,500 | 0.990 | 1,500 |
| 1.030 | 3,000 | 0.970 | 3,000 |
Buying 5,000: (500×1.001 + 1,500×1.010 + 3,000×1.030) / 5,000 = 1.0210 Selling 5,000: (500×0.999 + 1,500×0.990 + 3,000×0.970) / 5,000 = 0.9790
effective spread = (1.0210 − 0.9790) / 1.00 × 100 = 4.2%
The quoted spread was 0.2%. Your real cost is 4.2% — twenty-one times worse. The quoted figure described a market that did not exist at your size.
Step 6 — Sample over time
A single spread reading is a snapshot. Spreads widen during volatility, around news, and in thin hours.
For any decision that matters, sample repeatedly across a period and record the range and typical value, not one observation. A pair with a 0.3% spread most of the time and 5% during every move is a different proposition from one steady at 1%.
What is a normal spread?
There is no universal answer, but rough expectations for reference:
| Market type | Typical spread |
|---|---|
| Major asset, deep book | Well under 0.1% |
| Established mid-size token | ~0.1–0.5% |
| Newly listed token, funded | ~0.5–2% |
| Newly listed, unfunded | 10%+, or no meaningful two-sided market |
Treat these as orientation, not benchmarks. The right comparison is against the same pair over time, and against your own effective spread at size.
Common mistakes
- Comparing absolute spreads across assets at different prices.
- Quoting the top-of-book spread as though it applies at any size.
- Taking one reading. Spreads move constantly.
- Reading a tight spread as a liquid market. A 0.02% spread on 5 tokens is decoration. See market depth guide.
- Forgetting fees. The spread is the cost of crossing the market; the exchange fee is charged on top.
Related
- Market Depth Guide — the other half of liquidity.
- Understanding Slippage — what effective spread becomes at size.
- What Is Liquidity — why both measures are needed.
Step-by-step
How to Measure Bid/Ask Spread
Track spread as a quality indicator for your market.
-
Capture the book
Read top-of-book quotes regularly.
-
Calculate spread
Spread = ask - bid; basis points = spread / mid x 10000.
-
Benchmark
Compare against peers in the same liquidity class.
-
Track over time
Plot spread to spot deterioration before users do.
Related on Liquidity Guides
-
Spread FAQ
What the spread is, what it costs you, and why it moves.
-
Understanding Slippage
Slippage is the gap between the price you expected and the price you got. It is a consequence of order-book depth, not a...
-
Market Depth FAQ
How to read depth, and what the shapes on a depth chart actually mean.
-
What Is Liquidity?
Liquidity is how much you can trade without moving the price. Volume tells you what already happened; liquidity tells yo...
-
Liquidity Resources
The formulas and templates from CoinDock's liquidity guides, in one place.
Prepare Your Coin for Trading
Continue your CoinDock journey.
Go