# Market Order

> A market order buys or sells right away at the best available price. Learn how it fills, what it costs in spread and slippage, and when traders use one.

Canonical: https://www.journalx.io/glossary/market-order

A **market order** is the most basic way to trade: buy or sell now, at whatever the best available price is. You give up control of the price in exchange for near-certain execution. It is the default order type on many platforms, and it is also what a standard [stop-loss](/glossary/stop-loss) turns into when it triggers.

That trade-off is the whole story of the market order. Getting filled is almost guaranteed. The price you get is not, and the gap between the price you expected and the price you got is [slippage](/glossary/slippage).

## How a Market Order Works

Every tradable instrument has two prices at any moment: the **bid**, the highest price a buyer is offering, and the **ask**, the lowest price a seller will accept. A market buy fills at the ask. A market sell fills at the bid. The last traded price you see on a chart is neither.

FINRA's investor guide puts the trade-off plainly. A market order "provides the most certainty that your order will be executed," and it "generally will execute at or near the current bid or ask prices." But "you might not get the price you saw or were originally quoted, especially in fast-moving markets" ([FINRA, Understanding Order Types](https://www.finra.org/investors/alerts/understanding-order-types-can-save-time-and-money)).

**Example.** A stock is quoted $49.98 bid and $50.02 ask. The midpoint is $50.00.

- A market buy of 200 shares fills at $50.02.
- If you sold the same 200 shares at market a second later, you would get $49.98.
- That round trip costs four cents a share, $8 in total, before commission, and nothing about the price moved.

That four cents is the bid-ask spread. Every market order pays half of it relative to the midpoint, and a trade that enters and exits at market pays all of it.

## When a Market Order Walks the Book

The quote only shows the best bid and best ask, and each comes with a limited number of shares. If your order is bigger than the size at the best price, the rest fills at the next price level, then the next, until the order is complete.

![A 1,000-share market buy fills 300 shares at $50.02, 400 at $50.03 and 300 at $50.05, an average fill of $50.033, which is 1.3 cents above the best ask and 3.3 cents above the $50.00 midpoint](https://assets.journalx.io/marketing/glossary/market-order/market-order-walking-the-book.avif)

In the example above, 300 shares are offered at $50.02, 400 at $50.03 and 500 at $50.05. A 1,000-share market buy takes all of the first two levels and 300 shares of the third:

| Price     | Shares filled | Cost                          |
| --------- | ------------- | ----------------------------- |
| $50.02    | 300           | $15,006                       |
| $50.03    | 400           | $20,012                       |
| $50.05    | 300           | $15,015                       |
| **Total** | **1,000**     | **$50,033** (average $50.033) |

The quote said $50.02. The average fill was $50.033, 1.3 cents worse than the best ask and 3.3 cents above the midpoint. In thinly traded stocks, small-cap names, options and smaller crypto tokens, the gaps between levels are wider and this effect grows quickly.

## What a Market Order Costs in R

A few cents sounds small until you compare it with your risk. Dividing the cost per share by your stop distance gives it in [R-multiples](/glossary/r-multiple), the unit that shows how much it matters to the trade.

Take the 3.3-cent fill above on entry, and assume a similar cost on a market exit:

| Stop distance (1R) | Entry cost in R | Round-trip cost in R |
| ------------------ | --------------- | -------------------- |
| $2.00              | 0.017R          | 0.03R                |
| $1.00              | 0.033R          | 0.07R                |
| $0.50              | 0.066R          | 0.13R                |
| $0.20              | 0.165R          | 0.33R                |

A swing trade with a $2.00 stop barely notices. A scalp with a 20-cent stop gives up a third of 1R on every trade before the setup has done anything. That cost comes straight out of [expectancy](/glossary/expectancy) and raises the [breakeven](/glossary/breakeven) win rate, which is why order type matters most to tight-stop styles.

A market order buys certainty of execution. The price of that certainty is the spread plus any slippage, and it is paid on every trade that uses one.

## Market Order vs Limit Order

|                    | Market order                                            | [Limit order](/glossary/limit-order)                                      |
| ------------------ | ------------------------------------------------------- | ------------------------------------------------------------------------- |
| Guarantees         | A fill (in a normal, liquid market)                     | A price: your limit or better                                             |
| Does not guarantee | The price                                               | A fill                                                                    |
| Buy fills at       | The ask, or higher if it walks the book                 | Your limit or lower                                                       |
| Main risk          | Slippage in fast or thin markets                        | Missing the trade                                                         |
| Typical use        | Exits that must happen, stop-loss fills, liquid entries | Planned entries, [take-profit](/glossary/take-profit) exits, thin markets |

Neither is better in general. A market order fits when not being filled would be worse than a slightly worse price, such as getting out of a losing position. A limit order fits when the exact price is part of the plan.

## When Traders Use Market Orders

- **Exits that have to happen.** When the stop is hit or the reason for the trade is gone, most traders would rather be out at a slightly worse price than still in.
- **Stop-loss orders.** A standard [stop order](/glossary/stop-order) becomes a market order once price reaches the stop. The SEC notes that "the stop price is not the guaranteed execution price for a stop order" ([SEC investor bulletin on stop orders](https://www.investor.gov/introduction-investing/general-resources/news-alerts/alerts-bulletins/investor-bulletins-15)).
- **Liquid instruments in calm conditions.** In a large, heavily traded stock or index future, the spread is often a single tick and the cost of a market order is small.
- **Breakout entries.** Some setups only work if you are in as price moves, and a limit order left behind would never fill. The cost is accepting whatever price the move gives you.

Where market orders are riskiest: the first minutes after the open, around scheduled news, in thinly traded names, and outside regular hours. FINRA notes that some firms "might only accept limit orders during extended-hours trading," and that in those sessions an order "may be executed partially or not at all" ([FINRA, Extended-Hours Trading](https://finra.org/investors/insights/extended-hours-trading)). Our [pre-market routine](/guides/pre-market-routine) guide covers why pre-market prices behave differently.

## Key Takeaways

- A market order fills at the best available price right away. It guarantees execution, not price.
- A market buy pays the ask and a market sell receives the bid, so every market order pays part of the spread.
- An order larger than the size at the best price fills through several levels, and the average fill gets worse.
- Measure the cost in R by dividing it by your stop distance. Tight stops feel it most.
- Market orders fit exits that must happen. Thin markets, the open, news and extended hours are where they cost the most.

## Common Mistakes

**Reading the last price as your price.** The last trade on the chart is not the price a market order gets. A buy pays the ask, which can be noticeably higher in a wide-spread stock.

**Sending large market orders into thin books.** If your size is bigger than what is offered at the best price, you will walk the book. Check the size on the quote before sending a large order.

**Using market orders at the open by habit.** Spreads are often widest and prices move fastest in the first minutes of the session, which is when a market order is most likely to fill far from the quote.

**Backtesting at the signal price.** A strategy that enters and exits at market pays the spread and slippage on every trade. A backtest that assumes fills at the exact chart price overstates results. Our guide on [how to backtest a trading strategy](/guides/how-to-backtest-a-trading-strategy) covers how to charge realistic costs.

**Not recording the price you expected.** Without the planned price, there is nothing to compare the fill with, and the cost of your market orders stays invisible.

## How JournalX Tracks Market Orders

The cost of a market order is the gap between the price you planned and the price you got. JournalX captures the plan through pre-trade planning, where you set the entry, stop and target before the trade, and pulls the actual fills from your broker sync or CSV import. Comparing the two in R shows what your execution costs per trade, and filtering by symbol, session or setup shows where that cost is largest. It is the same planned-versus-actual comparison described in [what to track in a trading journal](/blog/what-to-track-in-a-trading-journal), applied to the fill price.
