Skip to content

Order book simulator

Place an order into a live order book and watch it fill, so you understand the difference between the price you saw and the price you got.

About 3 min to an answer Free, no sign-up Runs in your browser
Read the lesson: Order types
Loading interactive demo…

Runs entirely in your browser — nothing you type is sent anywhere. Educational only, and not investment advice.

How to use this calculator

Each step names a control you will find on screen above.

  1. Side

    Buy or sell. Note that a buy fills against the ask side and a sell fills against the bid — you always trade against the opposite queue.

  2. Order type

    Market takes whatever price is available right now. Limit specifies your worst acceptable price and waits. Everything else follows from that one distinction.

  3. Quantity

    Increase it and watch a market order eat through several price levels. This is slippage, and it is why a large order in a thin stock costs more than the screen suggests.

  4. Your limit price

    Set it away from the market and the order joins the queue instead of filling. Certainty of price and certainty of execution are a genuine trade-off.

Worked example: A market order that walks the book

The best offer is 200 shares at ₹500.05, then 300 at ₹500.20, then 1,000 at ₹500.60. You send a market buy for 1,000 shares.

What to enter

Side
Buy
Order type
Market
Quantity
1,000

What it shows you

First 200
₹500.05
Next 300
₹500.20
Final 500
₹500.60
Average fill
≈ ₹500.35
Cost of slippage
≈ ₹300

against the ₹500.05 you saw

Where this is taught

A calculator gives you a number. These explain what the number means and when it misleads you.

Calculators for the same decision