Limit Order vs Market Order: Key Differences, Examples and When to Use Each
Updated 2026-12-04 · 6 min read
A market order buys or sells straight away at the best available price, but the price is not guaranteed. A limit order guarantees your maximum buying price or minimum selling price, but it may never be filled. Choosing between a limit order vs market order is really a choice between speed and price control.
The first time you place a trade with a broker, you will face a simple-looking choice: limit order vs market order. It seems like a technical detail, yet it affects the price you pay, the chance that your order does not go through at all and the hidden costs of every trade. This guide explains both in plain terms, with a hypothetical worked example and a comparison table.
What is a market order?
A market order tells your broker to buy or sell an asset immediately at the best price currently available.
When you buy, the order fills at the lowest price sellers are asking (the ask). When you sell, it fills at the highest price buyers are bidding (the bid).
Its main strength is speed. In an open, liquid market, a market order is almost always filled within seconds. Its weakness is that you do not control the final price. If the market moves between your click and the fill, or if there is not enough volume at the best price, you may pay more (or receive less) than you expected.
What is a limit order?
A limit order tells your broker to buy or sell only at a price you choose, or better.
- With a buy limit, you set the highest price you are willing to pay. The order only fills at that price or lower.
- With a sell limit, you set the lowest price you are willing to accept. The order only fills at that price or higher.
The upside is price control: you never pay more than your limit. The downside is that execution is not guaranteed. If the market never reaches your price, the order simply sits there and may expire. It can also be partially filled if only a small quantity trades at your price.
Limit order vs market order: what are the differences?
Here is a side-by-side summary:
| Feature | Market order | Limit order |
|---|---|---|
| Execution | Almost instant while the market is open | Only if the price reaches your limit |
| Price | Not guaranteed | Guaranteed (your limit or better) |
| Main risk | Paying more or receiving less than expected | Not being filled, or only partly filled |
| Best when | Speed matters more than a few cents | Price matters more than speed |
| Thinly traded assets | Can be expensive | Usually the more cautious choice |
A simple example with numbers
Imagine a hypothetical share trading at around 50 euros. Your broker shows:
- Best bid: 49.95
- Best ask: 50.05
You want to buy 100 shares.
Using a market order
On a quiet day, the order would fill at about 50.05, so 5,005 euros plus fees. Now suppose only 40 shares are offered at 50.05 and the next sellers are asking 50.20. You would buy 40 at 50.05 and 60 at 50.20, for a total of 5,014 euros. That is 9 euros more than you expected, without doing anything wrong.
Using a limit order
If you place a buy limit at 49.80, the order waits. If the price dips to 49.80, you buy 100 shares for 4,980 euros. If the price climbs to 52 and never comes back, the order is never filled and you do not own the shares.
You can also set a limit close to the current price, say 50.10. You are then willing to pay up to 50.10, but you are protected from a fill far above what you expected. This gives you most of the speed of a market order with a price ceiling.
What is slippage and why does it matter?
Slippage is the gap between the price you expected and the price at which your order was actually filled. In the example above, the extra 9 euros are slippage.
Slippage tends to be larger when:
- the asset has low liquidity (few buyers and sellers);
- major news hits and prices move quickly;
- the market has just opened, especially after a weekend;
- your order is large compared with the volume on offer.
Limit orders exist precisely to control slippage. Market orders accept it in exchange for fast execution.
When should you use a market order?
It usually makes more sense when:
- you are trading very liquid assets, such as large-cap shares or popular ETFs, during regular hours;
- you genuinely need to get out of a position right now;
- the gap between bid and ask (the spread) is very small.
When should you use a limit order?
It is often the more cautious option when:
- you are trading small companies, low-volume assets or outside main trading hours;
- you already know what price you consider fair and are in no hurry;
- markets are very volatile;
- you want to build or reduce a position in stages at different prices.
How long does a limit order last?
Limit orders normally come with a time in force. The most common are a day order, which is cancelled at the close, and good-till-cancelled, which stays active until you cancel it or your broker's maximum period runs out. Always check this before sending the order, so you are not surprised by a fill days later.
What about stop orders?
Some orders only activate when the price touches a certain level, such as a stop loss. A plain stop order turns into a market order once triggered, so it can suffer slippage too. A stop-limit order turns into a limit order, which controls the price but may not fill if the market falls very fast.
Common mistakes to avoid
- Sending market orders while the market is closed. The order queues up and fills at the open, at whatever price is available, which can be far from the previous close.
- Setting the limit too far away. A buy limit well below the current price may never fill.
- Forgetting pending orders. A good-till-cancelled order can fill weeks later, after you have changed your mind.
- Ignoring the spread. On assets with a wide spread, a market order starts out losing the gap between bid and ask.
Automated trading software has to make this choice on every trade too. Cortex Automation, for example, is automated trading software that runs in the client's own brokerage account and publishes its full track record, bad months included. Whether you trade manually or automatically, the order type shapes the real cost of each trade.
What are the risks?
No order type removes investment risk. A limit order protects your entry price, but it cannot stop the asset from falling after you buy. A market order guarantees execution, but it can be costlier in turbulent markets. With leveraged products such as CFDs, small price differences can have a big impact on the outcome. Only invest money you can afford to lose, and make sure you understand how each order type works at your broker before you start.
Note: this article is general information and not financial advice. Past performance does not guarantee future results.
Frequently asked questions
Which is better, a limit order or a market order?
Neither is better in every case. A market order prioritises fast execution; a limit order prioritises price control. For thinly traded or volatile assets, a limit order is usually the more cautious choice.
Can a limit order fail to fill?
Yes. If the market never reaches your limit price, the order stays pending and may expire. It can also be partially filled if only a small quantity is available at that price.
What happens if I place a market order when the market is closed?
The order usually waits and fills at the next open, at the price available at that moment, which can be quite different from the previous closing price.
What is slippage?
Slippage is the difference between the price you expected and the price your order actually filled at. It is more common with market orders, illiquid assets and during periods of high volatility.
Do limit orders cost more in fees?
It depends on the broker. Many charge the same for both order types, but it is worth checking your broker's fee schedule before trading.
Want to see how an automated system works, with the money in your own account? See results and simulator →