Skip to main content

Limit order vs market order: what's the difference?

Updated

You've decided to buy or sell a stock. You tap through to the order screen, and there it is — a choice between "market" and "limit." It's a small decision with real consequences, and it's easy to freeze with your thumb hovering over the button.

The limit order vs market order question comes down to a single trade-off. Do you want your trade to happen right away, or do you want to control the price? A market order prioritizes speed. A limit order prioritizes price. You usually can't fully guarantee both at once.

This article walks through what each order type is and how each one fills. It explains why a limit order can sit unfilled even when the price seems to touch your number. It also covers how both relate to stop orders. Along the way, we'll define the jargon and work through an example with real figures.

Limit order vs market order: the core difference

A market order asks to trade immediately at whatever price is currently available. A limit order asks to trade only at a specific price or better. That's the heart of it.

Put another way, a market order gives you a high degree of certainty that the trade will happen, but less certainty about the exact price. A limit order gives you certainty about the price, but less certainty that the trade will happen at all.

Here's a side-by-side summary:

Market order
Limit order
What you setQuantity onlyQuantity and a price limit
PrioritySpeed of executionControl of price
Fills whenImmediately, at the best price sellers are offering (buys) or buyers are bidding (sells)Only at your limit price or better
Might not fill?Rarely, if there are buyers and sellersYes, if the price isn't reached
Main riskPaying more or receiving less than expected if the price moves or there aren't enough shares at the best priceThe trade may never happen

How a stock quote works: bid, ask, and depth

Every stock quote has two prices, not one. The price you see on screen is often the last price a stock traded at, but new orders fill against the bid and the ask.

The bid-ask spread has two sides. The bid is the highest price a buyer will pay, and the ask is the lowest price a seller will accept. A market order to buy generally fills near the ask, and a market order to sell generally fills near the bid. The wider that gap, the more the two differ.

Each bid and ask price also has only a certain number of shares available. This is called depth, and the full list of prices and share counts is called the order book. If your order is bigger than the shares available at the best price, the rest fills at the next price, and the next.

Here's a simplified order book for a stock with a bid of $24.95 and an ask of $25.00:

Bid (buyers)
Shares
Ask (sellers)
Shares
$24.95300$25.00100
$24.90500$25.05200
$24.85400$25.10400

Say you place a market order to buy 300 shares. The first 100 fill at $25.00 and the next 200 fill at $25.05. Your average price works out to about $25.03, even though the ask showed $25.00.

What is a market order?

A market order is an instruction to buy or sell right away at the current available price. You tell the system how many shares you want, and it matches you with the opposite side of the trade as fast as it can. A market buy matches with the ask, and a market sell matches with the bid.

Because a market order chases immediacy, it fills quickly whenever there are willing buyers and sellers. The price you actually get is whatever the market offers at that instant, which may differ slightly from the last quote you saw.

A few points to keep in mind:

  • Strengths: fast, straightforward, and very likely to execute when a stock trades actively.

  • Trade-offs: you don't control the final price, so a fast-moving or thinly traded stock can fill at a worse number than expected.

  • Suited to: situations where getting the trade done matters more than squeezing out the exact price.

What is a limit order?

A limit order is an instruction to buy or sell only at a price you set, or better. "Or better" means a lower price when you're buying and a higher price when you're selling. If the market never reaches your price, the order simply waits, and it may expire unfilled.

Because you control the price, a limit order protects you from an unexpectedly bad fill. The trade-off is that it executes only if the market comes to your number.

Buy limit orders

A buy limit order sets the most you're willing to pay. It can fill at your limit or lower, but never higher. Say a stock is quoted around $25.00 and you place a buy limit at $24.75. Your order waits until a seller is willing to trade at $24.75 or less. If the stock keeps climbing and never dips to $24.75, your order doesn't fill.

Sell limit orders

A sell limit order sets the least you're willing to accept. It can fill at your limit or higher, but never lower. Using the same stock at $25.00, a sell limit at $25.50 waits until a buyer will pay $25.50 or more. If the price never climbs that high, the sell limit order stays open.

Marketable and passive limit orders

Where you set your limit compared with the current bid and ask decides whether a limit order fills right away or waits.

A marketable limit order is priced to trade right away. A buy limit at or above the current ask fills immediately, like a market order, but it can't go past your limit price. The same goes for a sell limit at or below the current bid.

A passive limit order is priced away from the current bid and ask, so it waits in the order book. A sell limit above the current bid, or a buy limit below the current ask, sits there until the market comes to it.

Here's how that plays out for a stock with a bid of $24.95 and an ask of $25.00:

Order
Type
What happens
Buy limit at $25.05MarketableFills right away at the $25.00 ask, and never above $25.05
Buy limit at $24.75PassiveWaits in the order book until a seller will trade at $24.75 or less
Sell limit at $24.95MarketableFills right away at the $24.95 bid, and never below $24.95
Sell limit at $25.50PassiveWaits in the order book until a buyer will pay $25.50 or more

When does each order fill?

The timing is where the two order types part ways.

  • A market order fills immediately, as long as the stock is actively trading and there are enough shares on the other side.

  • A limit order fills conditionally — only when the market reaches your price and a matching trade is available.

So a market order is about "now," while a limit order is about "if and when." That conditional nature is why a limit order can leave you waiting, which is worth understanding in detail.

Why a limit order may not fill

Here's the part that trips people up: a limit order can sit unfilled even when the quoted price appears to touch your limit. Seeing your number flash on the screen doesn't guarantee a trade. A few things explain the gap.

Not enough shares at your price

A quoted price reflects only the shares available at that moment. Say you want 500 shares at $24.75 but only 100 are offered there. The rest of your order waits for more shares to appear at your price. If they don't, part or all of your order stays open.

Queue and time priority

Orders at the same price generally line up in a queue, often by the time they arrive. If other investors placed limit orders at your price before you, their orders typically fill first. It works a lot like a coffee line: standing at the right counter doesn't help much if a dozen people got there first. The available shares at your price can run out before your turn comes.

The price only touched your limit briefly

Prices can move in fractions of a second. If the market only grazes your limit before moving away, there may not be enough volume to reach your spot in the queue. The price "touched" your number on the chart, yet your order never got matched. Close, but no trade.

Partial fills

Sometimes part of your order executes while the rest waits. You might ask for 500 shares at $24.75, get 200 filled, and have the remaining 300 wait. This is called a partial fill, and it's common when there aren't enough shares available at your price all at once.

Price, speed, and slippage trade-offs

Two ideas help explain the trade-off between the order types: the bid-ask spread, covered above, and slippage.

Slippage is the difference between the price you expected and the price you actually got. Say you see a stock at $25.00 and send a market order. By the time it fills, the price is $25.08. That $0.08 gap is slippage. It tends to grow when a stock moves quickly or trades in low volume. Slippage also happens when a large order is bigger than the shares available at the best price, so the rest fills at the next price levels. In that case, depth and spread matter more than timing.

A market order accepts some slippage risk in exchange for speed. A limit order removes slippage by fixing your price, in exchange for the risk that the trade doesn't happen. That's the balance you're weighing each time you choose.

Placing orders outside regular trading hours

Regular trading hours on Canadian and U.S. exchanges run from 9:30 a.m. to 4 p.m. Eastern. Some platforms also allow trading before and after those hours, known as extended-hours or after-hours trading.

Outside regular hours, far fewer people are trading. That thinner volume tends to widen the bid-ask spread and can make prices jumpier. There are also fewer shares waiting at each bid and ask price, so there's less depth to absorb an order. A single trade moves the market more than it would at midday.

This matters for order choice. The spread is wide, and there may be few shares available near the last quote, so a market order could fill at a surprising price. For that reason, many platforms only accept limit orders outside regular hours.

When to use a market order vs a limit order

There's no single right answer, and the goal here isn't to tell anyone what to do. Still, a few plain scenarios show how investors tend to think about the choice.

When a market order can make sense

Some investors choose a market order when:

  • the stock trades heavily and the bid-ask spread is narrow

  • completing the trade quickly matters more than the exact price

  • the order is small relative to how much the stock normally trades and the shares available at current bid/ask prices

When a limit order can make sense

Some investors choose a limit order when:

  • they have a specific price in mind and are willing to wait

  • the stock trades thinly or the spread is wide

  • they're trading outside regular hours, when prices can swing

  • the order is large enough that a market order might move the price

How limit and market orders relate to stop orders

Market and limit orders aren't the only tools on the order screen. A stop order adds a trigger. It sits inactive until the stock reaches a price you set — the stop price — and only then turns into a live order.

There are two common versions:

  • A stop-market order becomes a market order once the stop price is hit, so it fills quickly but at whatever price is then available.

  • A stop-limit order becomes a limit order once the stop price is hit. It fills only at your chosen limit or better, and it may not fill at all.

In other words, market and limit orders are the two basic ways a trade can execute. Stop orders decide when one of those gets switched on. Understanding the market-versus-limit trade-off makes the other order types easier to follow.

Wealthsimple’s Learn pages are meant to be educational. Every story is sourced from and vetted by subject matter experts, and produced by journalists with decades of media experience — people whose primary goal is to teach you something, rather than sell you something. While there may be links included in the article about products that are offered by Wealthsimple Investments Inc. (“Wealthsimple”) or one of its affiliates, these articles are not investment advice, a recommendation to buy or sell assets or securities, or any other kind of professional advice. If you are interested in learning about how Wealthsimple products or features work, please visit the Help Centre. If you are interested in knowing which products are offered by Wealthsimple and which are offered by affiliates, we’ve got a page to help you with that, too.

Frequently asked questions

Is a market or limit order better?

Neither is better in every case, since they solve different problems. A market order prioritizes getting the trade done, while a limit order prioritizes the price. The right fit depends on whether speed or price control matters more for a given trade.

Why didn't my limit order fill?

A limit order fills at your price or better, and requires shares to be available to you at the bid/ask price. It may stay open for a few reasons:

  • the bid/ask never reached your number
  • orders ahead of you in the queue used up the shares at your price
  • the price touched your limit too briefly to match

Is a limit vs market sell any different from buying?

The logic is the same, just mirrored. A market sell trades right away at the going price, accepting some slippage. A sell limit order sets the lowest price you'll accept and fills only at that price or higher. It can go unfilled if the price doesn't climb to your number.

What is a stop-limit order?

A stop-limit order combines a trigger with a price cap. When the stock trades at your stop price, the order activates as a limit order that will only fill if the bid/ask reaches your chosen limit or better. It gives you price control after the trigger, with the same catch as any limit order — it may not fill.

What are the main order types to know?

The common order types are market orders, limit orders, and stop orders (including stop-market and stop-limit variations). Market and limit orders define how a trade fills, while stop orders define when a market or limit order becomes active.

Build your own portfolio your way with stocks, ETFs, and options