Market Order vs Limit Order
A market order executes immediately at the best price the order book offers; a limit order executes only at your named price or better. One buys certainty of execution, the other certainty of price.
In short
- A market order executes immediately at the best available prices in the order book, while a limit order executes only at its stated price or better.
- The choice between the two is a trade between certainty of execution and certainty of price — no order type delivers both at once.
- Slippage on a market order grows as a share's traded volume shrinks, because a large order consumes several price levels of a thin queue.
- A limit order can stay unexecuted even after its price trades, because equal-priced orders fill in the sequence they arrived.
- Day validity cancels whatever part of an order is unexecuted at the close, and a re-placed order starts at the back of a fresh queue.
A market order buys or sells immediately at the best price available in the exchange's order book, while a limit order executes only at the price you name, or better. The choice trades certainty of execution against certainty of price: the market order will almost always complete, but you do not control the rate; the limit order fixes the worst rate you will accept, but it may never execute at all.
Both instructions travel to the same place. NSE and BSE each run a central order book for every listed share, and the matching engine ranks every order by the same two rules — better price first, and among equal prices, earlier order first. The difference between the two order types is not where they go but what they tell that engine to do on arrival. If you have not placed any order yet, how to buy your first share walks through the accounts and the app flow; this article is about the instruction itself, because the instruction is what decides the price you actually get.
What the order book does with each instruction
Picture the book for one share as two queues facing each other. On one side stand the bids — buyers, each with a price and a quantity, ranked with the highest price on top. On the other side stand the asks — sellers, ranked with the lowest price on top. The gap between the tops of the two queues is the spread, and the number your app displays as the current price is the last traded price: a record of the most recent match, not a quote anyone is currently offering you. What an incoming order actually meets is the live queue on the far side, which is why bid price vs ask price is the natural companion to this article.
A market order crosses the spread the moment it arrives. A market buy starts consuming the ask queue from the top — the cheapest offer first, then the next cheapest — and keeps going until its full quantity is done. A limit order does the opposite: it states a boundary and waits. A buy limit at ₹100 will match any seller asking ₹100 or less; if no such seller exists, the order joins the bid queue at ₹100 and stands there until a seller comes down to meet it, you cancel it, or the session ends.
Most trading apps expose a depth window showing the best few bids and offers with their quantities. It is the one screen that previews what each order type will do: the top of the opposite queue is where a market order begins executing, and the quantity at each level shows how far a large one will have to travel.
Why a market order can fill at a price you never saw
Two gaps separate the price on your screen from the price you receive. The first is time: the last traded price is history, and in a moving market the queues have already changed by the time your order lands. The second is depth: the best ask carries a limited quantity, and a market order larger than that quantity spills over to the next price level, and the next, until it completes. The difference between the price you expected and the average price you got is called slippage.
How much slippage a market order suffers depends mostly on how heavily the share trades. Where lakhs of shares change hands in a day and the spread is a few paise, a small market order fills so close to the screen price that the gap is invisible. In a thinly traded share, the same instruction can walk several rupees through a sparse queue before it finishes. The activity measures explained in volume vs turnover are, in effect, a preview of how far your market order is likely to move the price.
Timing amplifies the same mechanics. In the first minutes after the open, and in the moments around a news release, queues are thinner and quotes move faster than at mid-session, so an identical market order in an identical share can cost noticeably more at one moment than another. Nothing about the order changed; the book it landed in did.
Why a limit order may sit unexecuted all day
The limit order's risk is the mirror image. Bid ₹100 for a share that never trades below ₹101 all day and nothing happens — the price walked away from your boundary, and the shares you planned to buy went to people willing to pay the going rate. The order did its job perfectly; the job was just narrower than the goal.
Less obvious is that even a touched price guarantees nothing. Suppose the share does print a trade at ₹100. Price-time priority means every buy order at ₹100 that was placed before yours must fill first; if the selling interest at that level runs out before the queue reaches you, the price can lift again with your order still pending. This is also why cancelling and re-entering a limit order every few seconds is self-defeating in a fast market: each re-entry surrenders your place in the queue and starts you again from the back.
One order, both ways: buying 120 shares
Round numbers, invented purely for illustration. The ask queue for a share shows 50 shares offered at ₹100 and another 100 shares at ₹102. A market buy for 120 shares takes all 50 at ₹100, then 70 of the shares at ₹102, and completes instantly at an average of about ₹101.17 — above the ₹100 the screen was showing a moment earlier. A limit buy for 120 shares at ₹100 takes the same first 50 and then stops: the remaining 70 rest in the book as a bid at ₹100, to be filled only if a seller later comes down to meet them.
Neither outcome is a malfunction. The market order paid ₹140 more than the screen price implied — 70 shares at ₹2 over — in exchange for finishing the job in one stroke. The limit order held its price and finished only part of the job. Every choice between the two types is this same trade at some scale, and which side of it hurts less depends on why the trade is being done at all.
Partial fills, order validity and the close of trading
The limit buyer above now holds 50 shares instead of 120, and that partial state has consequences. A regular order carries day validity: whatever remains unexecuted when the session closes is cancelled automatically, and re-placing it tomorrow creates a brand-new order at the back of a brand-new queue. Brokers also offer an immediate-or-cancel condition, under which the order executes whatever it can the instant it arrives and cancels the remainder, so nothing lingers in the book at all.
The executed portion is a completed trade regardless of what happened to the rest: it settles into the demat account on the T+1 cycle, and brokerage and statutory charges apply to it under the broker's schedule. Before assuming a smaller fill is proportionately cheaper, it is worth running the numbers through a brokerage and charges calculator, because some cost components are levied per order or per scrip rather than per share, and schedules differ across brokers.
Orders can also be placed while the market is shut. Most brokers accept after-market orders, holding them overnight and releasing them into the exchange around the next open — which is precisely the thin, fast-moving stretch described earlier. An after-market instruction sent as a market order therefore meets some of the widest spreads and shallowest queues of the day, a mechanical reason such orders are frequently placed with a limit attached instead.
How circuit limits change the arithmetic
Exchanges place a daily price band around most shares — a range outside which no order may execute that day, whatever its type. When a share is locked at its upper band, the entire ask queue is empty: everyone wants to buy and nobody will sell at a permitted price. A market buy in that state has nothing to consume, so it waits unexecuted, exactly as a limit order would. The band caps the price, not the demand, which is why the situations described in upper circuit vs lower circuit neutralise the market order's one advantage — immediacy.
Brokers add a layer of their own. A broker's risk system may reject or restrict market orders in shares it classifies as illiquid or unusually volatile, precisely because the slippage described above lands on the client. A rejection of that kind comes from the broker's checks, not from the exchange, and the same trade may be accepted as a limit order.
Stop-loss orders: the same choice, one step later
A stop-loss adds a trigger price to the instruction: the order stays dormant until the market touches the trigger, and only then enters the book. What it enters as is the same fork this article is about. A stop-loss limit order enters as a limit order — price protected, execution not guaranteed — so a price that gaps straight through both the trigger and the limit can leave the position still open. A stop-loss market order, where the broker offers one, enters as a market order: the exit is effectively assured while counter-orders exist, but at whatever prices the queue then holds. The trigger changes when the choice is made, not what the choice is.
What each order type is actually optimising
Strip away the terminology and the two types answer a single question: which uncertainty is this trade prepared to carry? An instruction that must complete now, whatever the queue looks like, is a market order by definition. An instruction that must not execute beyond a stated price, however long that takes, is a limit order by definition. Everything ever written about when to use each is a restatement of that line.
There is also a quieter cost asymmetry between them. A market order always pays the spread: it buys at the ask and sells at the bid, surrendering the gap between the two on every round trip. A resting limit order stands on its own side of the book and, when someone crosses over to meet it, transacts at its own stated price. In a share quoted at ₹100 to buy and ₹100.50 to sell, that half rupee is effectively a fee the impatient side of the market pays the patient side — negligible in a heavily traded share, and a genuine recurring cost in a thin one.
One hybrid is worth knowing because it dissolves a false dilemma. A limit order priced at or beyond the current counter-quote — a buy limit placed at the best ask, for instance — executes immediately against it, exactly as a market order would, but cannot chase past its stated price if the book shifts in the same instant. Traders call this a marketable limit order, and it is the standard way of getting immediacy with a cap rather than immediacy at any cost. The rest of the order-book vocabulary used here is collected in the glossary.
Where order-type confusion actually costs money
- Sending a market order into a thinly traded share and receiving an average several price levels away from the screen — the depth window existed to be checked first.
- Treating the last traded price as an executable quote, when it is a record of the previous match rather than an offer to you.
- Assuming a limit order filled because the price touched it, then finding the position empty — the queue ahead of it absorbed all the selling.
- Cancelling and re-placing a limit order to chase a moving price, surrendering queue position with every attempt.
- Re-ordering the full quantity after a partial fill instead of only the balance, and ending up with more shares than intended.
- Forgetting that day validity cancels the unexecuted remainder at the close, and assuming the order is still working the next morning.
None of these losses involves a faulty system; each is the correct execution of the wrong instruction. The matching engine does exactly what it is told with market orders and limit orders alike. The work is in knowing what you are telling it — and the spread, the depth window and the day's traded volume are all visible before the instruction is ever sent.
Frequently asked questions
What is the difference between a market order and a limit order?
A market order executes immediately at the best prices available in the order book, so execution is near-certain but the rate is not. A limit order executes only at its stated price or better, so the rate is controlled but execution is not guaranteed.
Is a limit order guaranteed to execute if the share touches my price?
No. Orders at the same price fill in the sequence they arrived, so every order placed at that price before yours must execute first. If the counter-quantity runs out before the queue reaches your order, the price can move away with your order still pending.
Can I place a buy limit order above the current market price?
Yes. A buy limit placed at or above the best ask executes immediately against the sellers already in the book, and at their price where it is better than your limit. This is called a marketable limit order — it behaves like a market order with a price cap.
What is slippage?
Slippage is the difference between the price you expected when placing an order and the average price at which it actually executed. It arises because quotes move between decision and execution, and because a large order consumes several price levels of the queue.
What happens to a limit order that does not execute by the end of the day?
A regular order carries day validity, so the unexecuted portion is cancelled automatically when the session closes. Placing it again the next day creates a fresh order that joins the back of that day's queue.
Why was my market order rejected or left pending?
Common mechanical reasons include a share locked at a circuit limit, where no counter-orders exist at any permitted price, and broker risk systems that restrict market orders in shares they classify as illiquid. The exchange can only match an order against quantity that actually exists on the other side.
What is an IOC order?
Immediate-or-cancel is a validity condition. The order executes whatever quantity it can the moment it reaches the exchange — fully or partially — and any unexecuted remainder is cancelled immediately instead of resting in the order book.
Does a limit order protect me from losing money?
No. A limit order controls the price at which a trade executes; it says nothing about what the share does afterwards. A purchase filled precisely at its limit can still fall the next minute.
Is a stop-loss order the same as a limit order?
No. A stop-loss stays dormant until the market touches its trigger price and only then enters the book — as a limit order or as a market order, depending on the variant chosen. The price-versus-certainty trade-off applies from the trigger onwards.
Do market orders and limit orders attract different charges?
Brokerage and statutory charges are applied to executed trades under the broker's published schedule; the order type itself does not carry a separate fee. Charges differ across brokers and segments, so the schedule and a charges calculator are the places to verify.

