A market order prioritizes execution at the best available price. A limit order sets the highest price you will pay to buy, or the lowest price you will accept to sell. That distinction determines whether you cross the bid–ask spread immediately, wait for another trader, or do not trade at all.
But “market orders pay the spread; limit orders avoid it” is too simple. A limit order can cross the spread too. The better question is whether your order takes available liquidity or waits for someone to trade against it. That choice sits at the center of how spreads affect trade execution.
The examples below use hypothetical U.S. stock trades and exclude commissions and other explicit fees unless stated otherwise.
Market Orders vs Limit Orders: What You Control
A market order has no customer-selected execution price boundary. It normally executes promptly, but the price can differ from the quote visible when you submitted it. A limit order provides that boundary: a buy can execute only at the limit or lower; a sell only at the limit or higher. Neither a full fill nor any fill is assured by a limit price. These distinctions are covered in the SEC investor bulletin on order types.
| Order instruction | Price control | Relationship to the spread | Main risk |
|---|---|---|---|
| Market order | No selected maximum buy price or minimum sell price | Normally takes liquidity from the opposite side | An unexpected execution price |
| Marketable limit order | Sets a maximum buy price or minimum sell price | Can cross the spread immediately | A partial fill or no fill if prices move beyond the limit |
| Passive limit order | Sets an acceptable execution price | Waits rather than immediately accepting the opposite quote | Waiting while the market moves away |
The order label alone therefore does not tell you whether you are paying for immediate execution. The limit’s position relative to the current bid and ask matters just as much.
What “Paying the Spread” Actually Costs
Suppose a stock has a bid of $50.00 and an ask of $50.10, with enough shares available at both prices for your trade. The quoted spread is $0.10 and the midpoint is $50.05.
A market purchase of 500 shares at $50.10 costs $25,050. An immediate sale of those shares at the unchanged $50.00 bid returns $25,000. The difference is $50:
Unchanged-quote round-trip spread cost = ($50.10 − $50.00) × 500 = $50.
Notice the benchmark. Relative to the $50.05 midpoint, the purchase costs $0.05 per share, or $25. The immediate sale costs another $25 relative to that same midpoint. Together, the two sides cost one full quoted spread, not two.
That arithmetic assumes execution exactly at the displayed quotes. An order can sometimes receive price improvement, such as a purchase at $50.08 rather than the $50.10 ask. It can also encounter a changed quote before execution. The SEC discussion of trade execution and price improvement distinguishes the displayed price from the price an investor actually receives.
If the ask instead rises to $50.14 before your purchase executes, the extra $0.04 per share adds $20 compared with the earlier ask. That is separate from the original spread calculation. Keeping spread costs separate from slippage prevents you from counting the same execution disadvantage twice.
Why a Limit Order Can Still Pay the Spread
Marketable limits accept an available price
With the same $50.00 bid and $50.10 ask, a buy limit at $50.10 is marketable: it permits a purchase at the current ask. A sell limit at $50.00 permits a sale at the current bid. Both can take liquidity immediately rather than wait.
A buy limit at $50.12 also permits execution at $50.10. The limit is a ceiling, not an instruction to pay the ceiling. If shares remain available at the better price, the order can execute below its limit.
The protection becomes apparent if the ask jumps to $50.20 before execution. The $50.12 buy limit does not authorize that purchase. Depending on its instructions and available liquidity, the order may remain open, execute partly, or cancel. Nasdaq’s explanation of marketable limits describes this combination of spread crossing and price protection.
Passive limits wait for a counterparty
A buy limit at the $50.00 bid does not accept the $50.10 ask. It waits for a seller willing to trade at $50.00. If all 500 shares fill there, the purchase costs $50 less than buying them at the original ask. The saving depends on getting filled, not simply placing the order.
You can also submit an ordinary buy limit inside the spread, such as $50.04. It offers sellers a better price than the existing bid without accepting the ask. A seller still needs to accept it.
A price at $50.05 would match the current midpoint. However, an ordinary limit entered at that price stays at its entered price; it does not automatically follow a changing midpoint. Dedicated midpoint order instructions involve separate handling rules and fill risks.
Why Your Limit Order May Not Fill When the Price Touches It
A chart showing a trade at your limit does not prove that enough shares were available to execute your order. Other orders may have priority, the trade may occur elsewhere, or your order may reach the market after that opportunity has passed.
Consider a simplified venue using price and time priority. You enter a bid for 500 shares at $50.00 behind 1,000 shares already waiting at that price. If sellers trade only 300 shares against the queue, your order receives nothing. If 1,200 shares trade against that unchanged queue, your order receives 200 shares.
The example assumes the earlier orders remain in place and no other priority conditions apply. Real allocation rules vary. Some venues use price and time priority, while NYSE uses a different allocation model. The NYSE explanation of order allocation and priority shows why “first come, first served” is not a universal rule.
The practical point is straightforward: a traded price is not a fill confirmation. Check the executed quantity and remaining quantity, rather than treating a chart touch as proof that your order should be complete.
The Hidden Cost of Waiting for a Better Price
A passive limit exchanges immediate execution for a chance at a better price. That bargain can work, but two different outcomes deserve attention.
First, the trade may get away. Suppose you leave a buy limit at $50.00 instead of accepting the $50.10 ask. Nothing fills, and the ask later reaches $50.40. If you then purchase 500 shares there, you spend $150 more than an immediate purchase at the earlier ask would have cost.
That is a hypothetical opportunity cost, not a certain loss from using limits. You might choose not to chase the price, or the market might fall instead. Either way, judging only completed trades would miss what happened to the unfilled orders.
Second, a passive order can fill just before prices move against it. Your $50.00 bid might execute as selling pressure pushes the market lower. You obtained the requested price, but it may no longer be attractive. This risk, called adverse selection, is examined in research on limit order placement, adverse selection and latency.
A fill at a better price than an earlier ask is not the same as a profitable trade. The market does not owe a resting order a happy ending.
Order Size Can Matter More Than the Quoted Spread
The best ask describes a price with available quantity, not an unlimited supply of shares. Consider this simplified offer book:
- 100 shares offered at $50.10.
- 200 shares offered at $50.12.
- 200 shares offered at $50.15.
If a 500-share market purchase consumes those offers without any changes or other available liquidity, it costs $25,064. The average execution price is $50.128, which is $14 more than buying all 500 shares at the initial $50.10 ask.
A 500-share buy limit at $50.12 would permit purchases from the first two levels, but not the third. In this example, 300 shares could execute immediately and 200 would remain unfilled. The treatment of that remainder depends on the order’s duration and other instructions.
This is why a narrow spread does not necessarily mean a large order will be cheap to execute. Compare your quantity with available liquidity, not just the gap between two prices. The relationship is covered in more detail in order book depth and the cost of large trades.
Choosing Between Immediate Execution and Price Protection
Start with the purpose of the trade. If an entry is optional and the investment case works only below a chosen price, a passive limit can express that discipline. Missing the trade may be preferable to buying above your valuation.
If you want prompt execution but also have a firm price boundary, consider whether a marketable limit matches that objective. It can accept available liquidity while refusing prices beyond your maximum purchase price or minimum sale price. The compromise is that the whole order might not execute.
A market order places greater emphasis on obtaining execution without a selected price boundary. Before choosing it, decide whether an unexpectedly poor price would be more damaging than a delayed or incomplete fill. Do not make that decision solely because the order ticket defaults to “market.”
Session conditions matter too. Outside regular trading hours, lower liquidity and wider spreads can make the same order more difficult or expensive to execute. Those risks appear in FINRA’s model extended-hours trading risk disclosure. Check the live market and your broker’s session instructions rather than assuming daytime conditions still apply.
Duration and Partial-Fill Instructions Change the Result
The limit price answers “at what price?” It does not fully answer “for how long?” or “what happens to the remainder?”
A day order generally expires at the end of its applicable trading day. A good-till-canceled order can remain active longer, subject to the broker’s policies. An immediate-or-cancel instruction permits an immediate partial execution and cancels whatever cannot fill immediately. Fill-or-kill requires an immediate execution of the entire quantity or cancellation.
Availability and handling differ between firms and markets, so check the actual order ticket and terms. FINRA’s guide to order types and timing conditions covers these distinctions.
Before submitting, confirm the side, quantity, limit price, duration and permitted trading session. Afterward, check what actually filled and whether a remainder is still working. If you intended to buy 500 shares but only 300 executed, the next decision concerns 200 shares, not another 500.
The useful rule is not “always use limits” or “market orders are expensive.” It is to choose deliberately between price uncertainty and execution uncertainty. A limit can control your price without avoiding the spread; waiting can reduce the purchase price without reducing the total cost of the decision.