Trading guide

Order Book Imbalance: Formula and How to Read It

trading5 min read

How to calculate order book imbalance, interpret positive and negative readings, and why displayed orders can mislead.

5 min read

Practice trading with Finelo

Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.

Explore Finelo

Order book imbalance: the short answer

Order book imbalance compares the size of buy orders on the bid side with sell orders on the ask side. It describes which side holds more displayed interest within a chosen range. The useful question is how that comparison was measured, rather than whether one reading guarantees the next price move. Bookmap’s definition compares total size across a chosen number of price levels on each side.

Explore Finelo's 28-day challenges

Turn learning into a daily habit with guided challenge paths.

View challenges

This learning page is for readers evaluating market-depth information or an imbalance indicator. Work through the calculation below, then check whether your data and settings measure the same thing.

Who this is for

Use this explanation if you can identify bid and ask prices but want to understand what the quantities beside them mean. It also suits readers comparing indicator settings or checking a proposed trading rule.

Choose a learning task that matches your question:

  • Understanding a depth display: Identify the quantities included on each side before interpreting the imbalance.
  • Comparing indicators: Write down the depth range and calculation method for each display.
  • Evaluating a strategy idea: Separate the observed imbalance from the trading rule and its assumed costs.

For a beginner, the first milestone is a reproducible calculation. For a more experienced reader, it is a precise definition that another person could reproduce from the same data.

Key benefits of understanding order book imbalance

The main benefit is being able to describe an observation precisely. “Bid quantity exceeds ask quantity across three levels” says more than “buyers are in control.” It specifies the measurement without assuming an outcome.

A second benefit is recognizing when two readings answer different questions. Bookmap distinguishes its order-book comparison from volume imbalance, which compares trading volume generated by buying and selling aggressors. Its indicator documentation explains that distinction.

That gives you a useful evaluation habit: ask what the indicator counts before asking what its color means. A convincing display is easier to assess when you can explain its inputs in one sentence.

How it works: calculate a defined snapshot

Start by choosing the range. Bookmap documents settings based on a number of price levels, a percentage range, or all available levels. Those options make the scope of the measurement an explicit choice.

For this worked illustration, use the nearest three levels on each side. Count displayed quantity in the same units, rather than mixing quantities with numbers of orders. The figures below are hypothetical, not historical market data.

Depth from the best quote Bid quantity Ask quantity
First level 100 200
Second level 400 200
Third level 400 200
Total 900 600

Define B as total bid quantity and A as total ask quantity. To express the difference relative to the combined quantity, use this calculation:

Snapshot imbalance = (B − A) / (B + A)

For these illustrative inputs:

(900 − 600) / (900 + 600) = 300 / 1,500 = +0.20, or +20%.

With this sign convention, a positive result means greater bid quantity; a negative result means greater ask quantity. Equal quantities produce zero. If both quantities are zero, the denominator is zero and the ratio is undefined.

The +20% result is the difference divided by the combined total. It does not mean that bids are only 20% larger than asks. Here, bids are 50% larger: 900 divided by 600 equals 1.5.

Treat this as a defined teaching calculation. Check an indicator’s documentation before assuming its displayed percentage uses identical inputs or averaging.

Practice trading with Finelo

Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.

Explore Finelo

Examples and common objections

The same book can produce opposite signs

Now calculate the hypothetical table using only its first level. The result becomes (100 − 200) / (100 + 200) = −33.3%, rounded.

The nearest level is ask-heavy, while the three-level total is bid-heavy. Neither calculation contains an arithmetic error. They describe different ranges of the same hypothetical book.

Imagine a learner seeing a positive three-level indicator beside a larger ask at the best quote. The useful next step is to inspect the depth setting. Changing the trading interpretation before checking the measurement would skip the explanation already present in the numbers.

This example also shows why a ratio needs its underlying totals. Hypothetical quantities of 9 and 6 produce the same +20% ratio as 900 and 600. The percentage alone cannot distinguish those sizes.

Displayed interest does not prove intent

There is a documented reason to question what posted size implies. In a spoofing case, the CFTC described genuine orders on one side and opposite-side orders intended for cancellation. The trader canceled the spoof orders after the genuine orders filled. The CFTC’s account illustrates the danger of treating displayed interest as proof of intent.

Do not diagnose manipulation from one disappearing quantity. For an observation exercise, record what changed without assigning a motive you cannot observe.

Common mistakes and practical fixes

  • Comparing different depth ranges: Recalculate using the same range before interpreting the disagreement.
  • Reading a percentage without its totals: Record bid quantity, ask quantity, and their combined size beside the ratio.
  • Turning an observation into a forecast: Write the descriptive statement first, then identify what additional evidence a trading hypothesis would require.

A useful practice record includes the instrument, data source, timestamp, depth range, quantities, and formula. Keep the settings fixed while comparing observations so that a changed method does not masquerade as a changed market.

Practice reading the book safely

Order book imbalance changes second by second, so it is best learned by observation before any real trade depends on it. Finelo's Simulator lets you practice trading with virtual money, which gives you a low-risk way to test how you would act on an imbalance reading and to review the results afterwards.

Next steps

Practice with the hypothetical table before interpreting a live indicator. Reproduce both depth calculations, explain why their signs differ, and write down the inputs needed to repeat them. That is a concrete starting point for learning to read order book imbalance without confusing measurement with prediction.

Next step

For related reading, continue with liquidity in trading.


Work through one practical example on your own, using real figures or a historical chart, and note which assumptions matter most. If the underlying concepts still feel difficult to connect, build the foundations step by step; explore Finelo’s learning path and return to the example with clearer questions about assumptions, costs, and risk.

Finelo provides financial education, not personalized financial, investment, legal, or tax advice. Investing and trading involve risk, including the loss of money. Verify current details with official sources and your broker before acting.

Frequently asked questions

Is footprint imbalance the same as order book imbalance?

No. A footprint comparison concerns trading volume, while the depth example above compares displayed order quantities. TradingView’s footprint documentation describes buyer and seller volume distributions with markers for imbalanced areas. Its explanation helps distinguish the inputs before comparing signals.

What imbalance percentage is a buy or sell signal?

The arithmetic does not establish a trading threshold. In the example, +20% describes the selected quantities; it says nothing about the probability of a profitable trade. Evaluating a threshold requires a separately defined rule, consistent data, costs, and a way to assess losses.

Can I calculate this from a candlestick image alone?

The worked calculation needs bid and ask quantities at the selected levels. If an image does not contain those inputs, it cannot reproduce the calculation. First identify a data view that supplies the quantities your chosen method requires.
TradingOrder Book ImbalanceOrder BookBeginner

Practice trading with Finelo

Practice in a simulator, learn with bite-sized lessons, and build confidence before risking real money.

Explore Finelo

About the author

Finelo Team

The Finelo Team creates practical investing and trading education designed to help beginners learn faster with structured challenges, simulator practice, and bite-sized lessons.

Keep reading — Related articles

Make your next read a first step.

Take what sparked your curiosity and explore it through a guided, 28-day learning challenge.

Find your learning path