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
- How liquid is the security, and how wide is the spread?
- How large is the order relative to the quoted quantity?
- Is the market calm or moving fast?
- How costly is paying a little more compared with missing the trade?
- 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.