Skip to content

Market orders

Intermediate10 min readLesson 2 of 14

95 XP

In short

A market order is an instruction about urgency, not about price. It almost always fills, but it promises nothing about the price it fills at. A large order works through the price levels in the book, so its average price can be worse than the quote. The gap between quote and fill tends to grow in thin books, fast markets, around the open and close, and outside regular hours. This article recommends no order type for any situation. A market order trades certainty of a fill for uncertainty about the price.

Scope. This article explains what a market order instructs, what it guarantees, and what it does not. No order type is recommended for any situation, and none is presented as the safe choice. MarketClue accepts, routes and executes nothing. Prices are small illustrative figures describing no actual security. United States market structure, as described at 17 August 2026.

A market order tells the broker to execute at once, at whatever price is available. It is an instruction about urgency. It contains no instruction about price at all.

That is the whole trade-off, and it is often misread in one specific way. People read the quote on the screen as the price they will get. But the quote is what was available a moment ago, for the quantity that was available then.

What it guarantees and what it does not

A market order gives near-certainty of execution. If a market is open and there is anything on the other side, it ordinarily fills.

It guarantees nothing about the price. No limit is attached, so the order takes whatever the book offers. That includes prices much worse than the quote, if that is what it takes to complete the quantity.

Walking the book

The mechanism behind a surprisingly poor fill is shown below. Suppose someone sends a market order to buy 1,000 shares, and the sell side of the book looks like this.

Price offeredShares availableFilled from this level
$40.02200200
$40.05300300
$40.11200200
$40.20300300

Worked example: the quote was $40.02 and the average paid was $40.10. The order consumes each price level in turn until the quantity is complete, giving a volume-weighted average of $40.1010. That is 0.20% worse than the best posted price, and the extra cost against filling the whole order at $40.02 is $81.00. Nothing went wrong here. The order did exactly what it instructed — buy 1,000 shares now — and the only price at which 1,000 shares were actually available was an average of the four levels. Two things follow. First, the displayed quote describes the top of the book, not the depth behind it, so a quote tells a reader the price of the next small trade and not the price of theirs. Second, the effect scales with order size relative to what is available — the same instruction for 200 shares would have filled entirely at $40.02. MarketClue publishes no threshold for an order size that is too large and does not characterize any book as thin. Figures are illustrative and describe no actual security.

When the gap is widest

Four situations make the gap between the quote and the fill larger, and they add to each other.

Thin books. Where little is posted at each level, a modest order reaches deeper prices.

Fast markets. When prices are moving quickly, the book a reader saw and the book their order meets are different books.

Around the open and the close. Prices at the start and end of a session are set differently from prices during it. Quotes just before an opening auction are a poor guide to what the auction produces.

Outside regular hours, where a broker allows an order of this type then. There are fewer participants, wider spreads and shallower books, all at once. This is covered in Order Duration and Time in Force.

Worked example

What a market order actually is, stated as a transfer rather than a convenience. What Happens When You Place an Order framed the spread as the price of immediacy. A market order is the instruction that buys immediacy; it hands the price risk to the person placing it and takes execution certainty in return. That is a coherent thing to want and this article does not suggest otherwise. What it is not is the neutral or default choice, and the arithmetic above is why. The cost is real, it is not itemized, and it tends to be largest in fast, thin markets, when a reader may be in a hurry.

Try it with your numbers

What does a market order pay as it walks up the book?

Try it · Order book walk.

Inputs

No lesson works an example for this tool, so it opens on round starting values. The tool suggests no number: enter your own.

Shares to buy at market.

Ask ladder

One row per ask level, as you enter it; the tool walks them from the lowest price up, whatever their order. Nothing is fetched.

Level 1
Level 2
Level 3
Level 4
4 levels of at most 20

The touch or the mid you name above; the tool never infers it from the ladder.

Total cost$100,364.00Σ price × shares filled at each level, on the entered ladder
  • Shares filled · across 4 levels of the entered ladder5,000
  • Unfilled remainder, shares · the order less the shares the entered depth fills; the book is never extrapolated0
  • Levels used · walked from the lowest ask up4
  • Average price (VWAP), a share · total cost ÷ shares filled20.0728
  • Excess over the reference · total cost − shares filled × reference, against the stated touch (best ask) of $20.02, on the 5,000 shares filled only$264.00
  • Excess over the reference, % · VWAP ÷ reference − 1, against the stated touch (best ask) of $20.02, on the 5,000 shares filled only0.2637%

Arithmetic on the numbers entered, not a forecast.

The entered ask ladder, walked from the lowest price up
Shares filledCost
Level 1: 500 shares at $20.02min(remaining, size) · price × shares filled500$10,010.00
Level 2: 800 shares at $20.04min(remaining, size) · price × shares filled800$16,032.00
Level 3: 1,200 shares at $20.06min(remaining, size) · price × shares filled1,200$24,072.00
Level 4: 2,500 shares at $20.10min(remaining, size) · price × shares filled2,500$50,250.00

A buy of 5,000 shares walked through the entered ask ladder, lowest price first, fills 5,000 shares across 4 levels for $100,364.00, an average (VWAP) of 20.0728 a share. Measured against the stated touch (best ask) of $20.02, the excess is $264.00 (0.2637%), on the filled shares only. The order fits inside the entered depth, so nothing is left unfilled. Slippage against the touch and against the mid are different numbers for the same fill, so the reference is the one you state. The ladder is the one you enter: nothing is fetched, and no venue or routing is implied.

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.

Calculators earn no XP.

Open this calculator on its own page

Check understanding

1 of 5

Using the article's book, a fictional buyer sends a market order for 500 shares. What average price does the order pay?

Frequently askedCommon questions

9 questions

What does a market order instruct?

Execute at once, at whatever price is available. It is an instruction about urgency and contains no instruction about price.

Does it guarantee a price?

No. It gives near-certainty of execution and no promise about price. It takes whatever the book offers, including prices much worse than the quote if that is what completing the quantity needs.

Why can a fill be worse than the quote?

Because the order uses up each price level in turn. In the illustration, buying 1,000 shares against levels at $40.02, $40.05, $40.11 and $40.20 gives an average of $40.1010. That is 0.20% worse than the best posted price, and $81.00 more than filling the whole order at $40.02.

Did something go wrong in that example?

No. The order did exactly what it instructed, and the only price at which 1,000 shares were actually available was an average of the four levels.

What does the displayed quote actually show?

The price of the next small trade, not the price of yours. It describes the top of the book and says nothing about the depth behind it.

Does order size matter?

Yes. The effect grows with size compared with what is available. In the illustration, the same instruction for 200 shares would have filled entirely at the best price.

When is the gap between quote and fill widest?

In thin books, in fast-moving markets, around the open and close, and outside regular hours. Those conditions add to each other.

Is a market order the safe default?

This article recommends no order type for any situation. A market order buys immediacy by handing price risk to the person placing it. That is a coherent thing to want, but it is not neutral. The cost is real, it is not itemized, and it tends to be largest in fast, thin markets.

What actually happens when an order is placed?

The instruction goes to the broker, which routes it to a venue. There it is matched, cleared and settled, the chain set out in the article on what happens when you place an order.

ReferencesWhere this comes from

Finished reading?

Mark it complete once the answer holds without scrolling back up.

Ask MarketClue AI about this lesson

The question carries this lesson as its context. MarketClue AI needs an account.

MarketClue does not provide financial advice.

Next on your list

Topic 29 · Orders and executionLimit ordersLesson 3 of 14
Next lesson

After that

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.