Skip to content
trading and market concepts

Market Order vs Limit Order: How Each Works and When Each Fits

Updated 27 November 2026 · 6 min read · Reviewed against our editorial policy

In brief

A market order asks your broker to trade immediately at the best available price, so it favours certainty of execution over certainty of price. A limit order sets the worst price you will accept, so it favours price control but may not fill at all. Neither is better in every situation; the right choice depends on liquidity, urgency and how much a price difference matters to you.

  • A market order prioritises execution certainty, while a limit order prioritises price certainty.
  • Slippage and wide spreads make market orders riskier in thinly traded or fast-moving securities.
  • A limit order protects against bad prices but can leave you unfilled or only partly filled.
  • The better choice depends on liquidity, urgency and your tolerance for paying more versus missing the trade.

Every time you trade a listed security, you must tell your broker how to execute it. The two most common instructions are the market order and the limit order. They look similar on a screen, but they trade off two different kinds of certainty.

This article is educational. It describes how the order types work and does not recommend any security, broker or trade.

The core trade-off: execution vs price

You can rarely have both of these at once:

  • Execution certainty: you will almost certainly get the trade done.
  • Price certainty: you know the most (or least) you will pay (or receive).

A market order gives up price certainty to get execution certainty. A limit order does the reverse.

How a market order works

A market order instructs the broker to buy or sell immediately at the best price currently available. A buy order matches against the lowest sellers (the ask side of the order book). A sell order matches against the highest buyers (the bid side).

You do not choose a price. You accept whatever the market offers at that moment, including the possibility that your order consumes several price levels if it is large.

How a limit order works

A limit order sets a boundary:

  • A buy limit means: pay this price or lower.
  • A sell limit means: receive this price or higher.

If the market offers that price or better, the order can fill. If not, it waits in the order book (until it is cancelled or expires, depending on its duration setting). It may fill fully, partly, or not at all.

A hypothetical bid/ask example

Imagine a share with these round, invented quotes:

Side Price Quantity available
Ask (sellers) 100.20 200
Ask (sellers) 100.50 500
Bid (buyers) 100.00 300
Bid (buyers) 99.80 400

The spread is 0.20 (100.20 minus 100.00).

Market buy of 500 shares: the first 200 fill at 100.20, and the remaining 300 fill at 100.50. The total cost is 20,040 + 30,150 = 50,190, an average of about 100.38. You were filled completely, but above the best quoted ask.

Limit buy of 500 shares at 100.20: 200 shares fill at 100.20. The other 300 rest in the book as a bid at 100.20. If sellers never come down to that price, those 300 remain unfilled. You controlled the price but did not complete the trade.

Limit buy at 100.00: nothing fills immediately, because no seller is at 100.00. The order waits. If the price drifts to 105, you may never own the shares.

The same logic applies in any currency; the numbers could equally be ₹ or $.

Slippage explained

Slippage is the gap between the price you expected and the price you actually received. In the example above, expecting 100.20 and averaging 100.38 is slippage of about 0.18 per share.

Slippage tends to grow when:

  • The order is large relative to the quantity quoted at the best price.
  • The security is thinly traded and the spread is wide.
  • Prices are moving quickly, for instance around news or at the market open.

Limit orders cap slippage at your stated price, though they can still fill at a better price than your limit.

Side-by-side comparison

Feature Market order Limit order
Main priority Getting filled Controlling price
Price known in advance No Yes, as a worst-case boundary
Fill certainty High in liquid markets Not guaranteed
Slippage risk Higher, especially if illiquid Capped by your limit
Partial fills Possible if depth is thin More common
Risk of missing a move Low Higher if price runs away
Typical cost paid Crosses the spread May earn or avoid crossing the spread

When each option tends to suit whom

When a market order may fit

  • Highly liquid securities with tight spreads. If the spread is a fraction of a percent and depth is plentiful, the cost of crossing it may be small.
  • Urgency matters more than a few cents. For example, an investor who simply wants to complete a planned purchase of a broad, heavily traded fund during normal market hours.
  • Small order sizes. Orders that are tiny relative to the available quantity are unlikely to move through several price levels.

When a limit order may fit

  • Thinly traded securities. Wide spreads and shallow order books make market orders expensive and unpredictable.
  • Volatile periods. Around the open, the close or news events, quotes can move between the moment you click and the moment you trade.
  • Larger orders. Splitting an order and setting a limit helps avoid walking up the book.
  • Price-sensitive plans. If you have decided a security is only worth buying below a certain price, a limit order encodes that discipline.
  • Trading outside regular hours. Many venues restrict or discourage market orders in extended sessions because liquidity is thin.

Neither style is inherently more sophisticated. A patient long-term investor might use market orders on liquid funds and limit orders on an obscure holding. An active trader might do the reverse depending on conditions.

Illiquid securities deserve extra care

In an illiquid security, the displayed bid and ask might be far apart, say 95 and 105. A market buy could execute near 105 even if the last traded price was 98. Worse, if only a small quantity is offered at the best price, the order may sweep much higher.

A limit order at, say, 100 would not fill until a seller agrees, but it would stop you paying 105. The cost is time and uncertainty.

What to watch out for

  • Assuming the last traded price is what you will pay. The last price is history; the ask (for buys) or bid (for sells) is what is available now.
  • Setting a limit too tight. A buy limit at the current bid in a rising market may never fill, leaving you out of a trade you wanted.
  • Forgetting open limit orders. An old order can fill days later under very different conditions. Check the order's duration setting.
  • Ignoring partial fills. You may end up with fewer units than planned, and some brokers charge per execution.
  • Using market orders when markets are closed or gapping. A market order placed overnight may execute at the next open, which can differ sharply from the previous close.
  • Confusing a limit with a guarantee. A limit order guarantees the price boundary, not that the trade happens.

Order types also vary slightly by exchange and broker, including how unfilled market orders are handled and what protections exist. Check your broker's documentation and the exchange rules that apply to you.

A simple decision checklist

  1. How liquid is the security, and how wide is the spread?
  2. How large is the order relative to the quoted quantity?
  3. Is the market calm or moving fast?
  4. How costly is paying a little more compared with missing the trade?
  5. Do you have a price at which the trade no longer makes sense?

If the answers point to a deep market, a small order and a strong need to complete, a market order is often workable. If they point to thin trading, size or price discipline, a limit order tends to offer more protection. The decision belongs to the individual and the circumstances, not to a universal rule.

Frequently asked questions

Does a limit order guarantee I get my price?

It guarantees you will not trade at a worse price than your limit, but it does not guarantee a fill. If the market never reaches your price, the order stays unexecuted or only partly filled. A buy limit can also fill at a price better than your limit if sellers are offering lower.

Why can a market order fill at a price different from the quote I saw?

Quotes update continuously, so the best price can change between the moment you submit and the moment your order reaches the market. Also, if your order is larger than the quantity available at the best price, it continues to the next price levels. The resulting difference is called slippage.

Are market orders always risky?

No. In deep, liquid markets with tight spreads and small order sizes, the expected difference from the quoted price may be very small. The risk rises in thinly traded securities, fast markets, outside regular hours and with large orders.

Can I change or cancel a limit order?

Generally yes, as long as it has not already been executed, though the exact process depends on your broker and the exchange. A partly filled order can usually be cancelled for the remaining quantity. Changing the price may move your order to the back of the queue at that price level.

Continue learning

Educational content only — not investment, tax or legal advice. See our disclaimer.