Limit Orders vs. Market Orders
When Should You Use a Limit Order Instead of a Market Order?
The choice between a limit order and a market order is one of the most fundamental trading decisions you make. A market order executes immediately at the best available price—guaranteeing execution but potentially at a terrible price during volatility. A limit order waits for your specified price—guaranteeing price but risking no execution at all. Neither is universally better; the right choice depends on urgency, market conditions, and your goals. Understanding the trade-offs—immediate fill versus better price—is essential for optimizing execution and protecting your capital.
Quick definition: A market order executes immediately at the best ask (for buys) or bid (for sells). A limit order specifies your maximum buy price or minimum sell price and waits for a match at that price or better.
Key takeaways
- Market orders guarantee execution but accept whatever price is available; ideal during calm markets when you prioritize certainty.
- Limit orders guarantee price but risk no execution; ideal during volatile or choppy markets when you can afford to wait.
- The execution cost of a market order is the bid-ask spread plus any market impact from your order size.
- The opportunity cost of a limit order is the price you miss if the stock never reaches your limit.
- During normal market conditions, limit orders are generally superior; during fast-moving or low-liquidity markets, market orders may be necessary.
- Partial fills occur when limit orders fill only partially and the remainder waits or cancels.
Market orders: speed at a price
A market order is a simple instruction: "Sell 100 shares at whatever the market will give me right now." When you submit a market order, it's immediately matched against the best available ask (for buys) or bid (for sells). Execution is guaranteed and nearly instantaneous.
The cost of this certainty is slippage. During normal market conditions, the slippage is usually modest—the bid-ask spread plus any market impact. But during earnings announcements, economic data releases, or flash crashes, the slippage can be brutal. You submit a market order expecting to buy at $100, but by the time your order reaches the exchange, the stock has moved to $110, and you execute there. You've lost 10% in seconds.
Market orders are useful when:
- You must execute immediately (e.g., you're exiting a losing position in real time during a crash).
- The product is highly liquid and the spread is negligible (e.g., a large-cap stock or major forex pair).
- You don't have time to set a limit price (e.g., your trading system signals an emergency exit).
Limit orders: price discipline at a cost
A limit order is a conditional instruction: "Buy 100 shares at $100 or better, or don't fill me at all." The order sits in the exchange's order book waiting for a match. If the stock trades at $100 or below, your order fills. If it never reaches that price, you never execute—but you also don't pay more than you intended.
The benefit of a limit order is price certainty and often better execution: you avoid the bid-ask spread and market impact inherent in market orders. The cost is opportunity risk: what if the stock jumps from $101 to $110 and never comes back? You miss the move entirely because you were waiting for $100.
Limit orders are useful when:
- You can afford to wait and don't need immediate execution.
- The market is volatile and you want to avoid slippage.
- The product is illiquid and the spread is wide.
- You have a specific price target and are disciplined enough to miss a trade if your price isn't hit.
Comparing execution costs directly
The execution cost comparison depends on whether a limit order fills and at what price.
Scenario A: Calm market, liquid stock (Apple)
- Market order: Buy at $150.05 (ask), pay 5-cent spread. Total cost: 5 cents per share.
- Limit order set at $150.00: Fills immediately (or within seconds) at $150.00 or better. Total cost: 0 cents (you got the mid-price or better).
Scenario B: Volatile market, large order
- Market order: Buy 10,000 shares, average price $150.50 due to market impact. Slippage: 50 cents per share.
- Limit order set at $150.00: Waits, fills 6,000 shares at $150.00, remaining 4,000 never fill. You filled the core position at a great price but missed the upside on the unfilled portion.
Scenario C: Stock trending upward
- Market order: Buy 500 shares at $150.10, execute immediately, stock rises to $155 later.
- Limit order set at $150.00: Never fills because stock never falls back to $150. You miss the entire move.
The bid-ask spread tradeoff
Market orders always pay the full spread (or more, if there's market impact). Limit orders set at the bid price (for sellers) or below the ask (for buyers) avoid the spread entirely—if they fill. But "if" is the operative word.
On a highly liquid stock with a tight spread, the spread cost is small ($5–10 per order), so the convenience of a market order is worth it. On an illiquid stock with a $0.50 spread, the spread cost is large ($250+ per order), making a limit order worth the wait.
The break-even point depends on how long you're willing to wait. If you're buying 500 shares of a micro-cap with a 50-cent spread, you lose $250 to spread cost on a market order. If you set a limit at mid-price and the stock reaches it within 10 minutes, you save $250. If you wait 2 hours and it never reaches, you've wasted 2 hours of opportunity for a 50-cent potential saving.
Partial fills and order management
When a limit order fills, it might fill partially. You wanted to buy 10,000 shares at $100, but only 3,000 shares were available at that price. Your order fills 3,000 and 7,000 remain open (unless you set a time condition like "day order" or "immediate or cancel").
Partial fills complicate execution. You now have two separate positions: 3,000 at $100 and 7,000 pending at $100. If the stock rises to $101 while waiting, you're happy about the 3,000 but frustrated that the 7,000 didn't fill. If it drops to $99, the remaining 7,000 might fill, and now you're overstuffed on the position.
Many traders use all-or-nothing (AON) orders to avoid partial fills. An AON limit order fills entirely at your price or not at all. This avoids the frustration of partial fills but makes execution harder during illiquid periods.
Advanced order types: splitting the difference
Several order types split the difference between market and limit orders:
Stop-limit orders: A stop-limit order becomes a limit order once the stock reaches a trigger price. Use: exit a losing position only if it reaches a certain level, then limit the fill price.
Iceberg orders: Hide your full order size, showing only a small portion. When that portion fills, the next tranche appears. Use: execute large orders without moving the market.
VWAP / TWAP orders: Algorithmic orders that target volume-weighted average price (VWAP) or time-weighted average price (TWAP). Use: execute large orders at a fair average price without market impact.
Pegged orders: Orders that automatically adjust their limit price as the market moves, following the bid or ask. Use: always be near the top of the queue without constantly adjusting.
These advanced order types are available on direct-access platforms but rarely on retail brokers.
Flowchart
Time conditions and order validity
Both market and limit orders have time conditions that affect how they execute:
Day order (default): The order is valid until end of trading day. If it doesn't fill, it cancels.
Good-till-cancelled (GTC): The order remains active until you manually cancel it or it fills. Useful for limit orders where you're willing to wait days or weeks. Dangerous if you forget about it.
Immediate or cancel (IOC): Fill as much as possible now, cancel the rest. Useful for large orders that might result in partial fills.
Fill or kill (FOK): Fill entirely now or cancel completely. Useful when you want an all-or-nothing execution.
For most retail traders, day orders are sufficient. GTC orders are useful for setting a limit buy well below the current price (setting a buy on any dip). But remember: if you set a GTC limit order and forget about it, you might execute unexpectedly months later.
Real-world examples
Example 1: Market order in a crash. A trader holds 1,000 shares of Tesla and the stock begins cascading downward. They panic and submit a market sell order. The stock has fallen from $300 to $270, but the market order sells at $265 due to the crush of selling pressure and bid-ask spread widening. They've lost $5 per share ($5,000) due to poor execution, but they exited the position and stopped the bleeding. A limit order at $270 would have taken 30 seconds to fill and been better, but in a panic, a market order feels safer.
Example 2: Limit order saves on a micro-cap. A trader wants to buy 500 shares of a micro-cap trading OTC with a $1.00 bid-ask spread (bid $10.00, ask $11.00). A market order would cost $500 in spread (500 shares × $1.00). Instead, they place a limit order at $10.50. After 20 minutes, someone offloads shares at $10.50 and the trader fills. Total spread cost: only $250. They've saved $250 by waiting 20 minutes.
Example 3: Limit order as a missed opportunity. A trader wants to buy Apple and sets a limit order at $150 "just in case." Apple is trading at $152 and rising. The trader thinks, "I'll get a 2-dollar discount." The stock rises to $160 and never returns to $150. The trader never fills and misses a 10% move. A market order would have got them in at $152; the 2-dollar spread they saved cost them $8 in opportunity cost.
Example 4: Partial fill complication. A trader places a limit order to buy 10,000 shares of a stock at $50. The market is choppy. After 2 hours, they have a fill of 6,000 shares at $50 and 4,000 still pending. The stock suddenly drops to $49, the remaining 4,000 shares fill, but the trader now has 10,000 shares when they intended to scale in. The partial fill forced them to take more risk than planned.
Common mistakes
- Using market orders during volatile conditions: This is the primary cause of slippage regret. If the market is moving fast, use a limit order.
- Setting limit orders too tight: If you set a buy limit at $100 when the stock is $102, you'll wait forever. Set realistic limits that have a reasonable chance of filling.
- Forgetting about GTC orders: If you set a GTC limit order and forget, you might execute unexpectedly. Review your open orders regularly.
- Market orders on illiquid products: Never use a market order on a micro-cap, illiquid option, or OTC stock. The spread is too wide. Wait for a limit order.
- Assuming all limit orders are free: You save on spread but pay opportunity cost if you miss the move. Don't be greedy.
- Not monitoring partial fills: If a limit order fills partially, you still have risk on the unfilled portion. Cancel or adjust it if circumstances change.
FAQ
What's the difference between a limit order and a stop-limit order?
A limit order is active immediately. A stop-limit becomes a limit order only after the stock reaches a trigger price. Use stop-limit for conditional exits (sell if it drops to $90).
Can a limit order execute at a better price than I set?
Yes. If you set a buy limit at $100 and the stock trades at $99, you execute at $99. You get the better price automatically.
Why would I ever use a market order?
When you must execute immediately (emergency exit, time-sensitive trade) or when the product is so liquid that the spread is negligible compared to the urgency.
What's an "order in the queue"?
On an exchange, limit orders are matched in order of price priority (best price first) and then time priority (earlier orders first). Your position in the queue affects how likely you are to fill.
Can I change a limit order after I've submitted it?
Yes. Most brokers let you cancel and resubmit, which cancels the old order and creates a new one (resetting you to the back of the queue). Some brokers offer order modification, which keeps your time priority.
What if my limit order is way away from the market?
If you set a buy limit at $50 and the stock is at $100, your order will probably never fill. But you might be using it as a long-term "if there's a crash, catch me here" order, which is valid.
Related concepts
- Order Execution Overview — How orders flow through the market.
- Slippage: Why It Happens — Why limit orders prevent slippage.
- Smart Order Routing — Advanced routing for large orders.
- Measuring and Tracking Slippage — Quantifying the benefit of limit orders.
Summary
Market orders guarantee execution but accept whatever price is available; they're ideal for liquid products during calm conditions when speed matters more than precision. Limit orders guarantee price but risk no execution; they're ideal for illiquid products, volatile conditions, or when you have time to wait. The choice between them depends on your urgency, the product's liquidity, and current market volatility. During normal market hours on large-cap stocks, limit orders are usually superior because the spread is small and you avoid slippage. During volatile conditions or on illiquid products, limit orders become essential. Advanced order types like VWAP, stop-limit, and iceberg orders offer middle-ground solutions. The key is matching your order type to your circumstances: if you're in a hurry and the spread is small, use a market order. If you can wait and the spread is wide, use a limit order.