Market order
Buy or sell right away, at whatever the current price is.
4 min readLesson 20 of 57Interactive
In short
It's the simplest order and always fills, but you don't choose the price. Here a market order fills at the latest close straight away.
Why it matters
Every trade starts with an order: an instruction to buy or sell a number of shares. The market order is the plainest one. It says "do it now, at the going price", and nothing else. Most first trades people ever make are market orders, and for large, busy stocks they usually work exactly as expected.
Knowing what a market order does and doesn't promise matters because it's the trade-off behind every other order type. A market order guarantees that you trade. It doesn't guarantee the price. A limit order flips that: it guarantees the price, but not that you trade.
How it works
In MarketLab, prices are end-of-day. When you place a market order on a stock page, it fills straight away at the latest daily close. The cash for a buy, or the shares for a sell, must be there at that moment, and only whole shares are traded. The simulated account charges no commission, so the cost is simply shares × price.
Real markets are different in a few ways. Stocks trade all day, and at any moment there are two prices: the bid, the highest price someone will pay, and the ask, the lowest price someone will sell for. A market buy pays the ask and a market sell gets the bid. The gap between them, the spread, is a small cost on every trade. For a big stock it's often a cent or two; for a small, quiet one it can be much wider.
A large market order can also eat through the shares offered at the best price and fill the rest a little higher, which is one form of slippage. And a market order placed while the market is closed waits for the open, where the price can be far from the last close you saw.
cost of a buy = shares × fill price (+ any commission)
You pay whatever price the order fills at. You choose the number of shares, not the price.
A worked example
You have $2,000 in cash and buy 10 shares with a market order. The latest close is $150.00.
- Cost: 10 × $150.00 = $1,500.00.
- Cash left: $2,000.00 − $1,500.00 = $500.00.
- At a real broker, suppose the bid is $149.98 and the ask $150.02. Your market buy pays the ask: 10 × $150.02 = $1,500.20.
- That's $0.20 more than the $1,500.00 you'd get at the midpoint, the hidden cost of the spread. Selling right away at the bid would bring back 10 × $149.98 = $1,499.80.
Result: In MarketLab the order fills at the close you see. At a real broker it fills at the ask (or bid), and a round trip on a liquid stock costs the spread: here $0.40 on a $1,500 position.
Try it
When does the order fill?
A buy limit at $96.00 fills at the first close at or below it. Here it fills on day 8 at $95.70.
A buy limit at $96.00 fills at the first close at or below it.
Fills on
Day 8
Fill price
$95.70
Made-up closes. MarketLab checks orders at each day's close, like this.
How to read it
- A large, busy stock
- Spreads are tiny and fills are close to the quoted price. A market order is usually fine.
- A small or thinly traded stock
- Spreads can be wide and the price can move as your order fills. A limit order protects you.
- Placed when the market is closed
- At a real broker it fills at the next open, which can be well above or below the last close.
- Market buy in MarketLab
- Fills at once at the latest close, if you have the cash, and shows up in your trade history.
In the real world
- Most US brokers stopped charging commissions on stock trades around 2019, so a market order on a big stock now costs little more than the spread. Many brokers are paid instead by the market makers who fill their customers' orders.
- Long-term investors buying a broad ETF or a large company often use market orders during normal trading hours, because the spread is small and the price they pay matters little over many years.
- Traders avoid market orders in the first and last minutes of the day, during big news, and in stocks that trade rarely, because that's when spreads widen and fills can surprise.
- Many traders keep a trading journal: why they bought or sold, written down at the time. Read back later, it shows habits that are hard to see trade by trade, such as the disposition effect.
Common mistakes
- Placing a market order overnight or over a weekend and assuming it will fill at Friday's price. If news arrives, the open can be very different.
- Using market orders in thinly traded stocks, where the spread alone can cost a percent or more.
- Thinking a $0 commission means a trade is free. The spread and slippage are still there; they're just less visible. See trading costs.
See it in MarketLab
Apple's trade card →
Every stock page has a trade card. Choose Market to buy or sell at the latest close straight away. You can also pick a reason and add a short note to each trade, a trading journal you can look back on.
Portfolio →
Your filled trades, with the price each one filled at, are listed in your trade history.
Test yourself
Optional: 4 quick questions on the words, using the idea, and how it plays out in real markets.
Loading your answers…