Skip to content

Level III Core · Trading Costs and Electronic Markets

Market Microstructure and Trading Costs: Explicit and Implicit Costs

Updated 8 October 2026 · Fact-checked

Trading costs are what you pay to turn an investment decision into a completed trade. Explicit costs are visible, such as commissions and fees. Implicit costs are not billed: spreads, market impact, delay and opportunity cost. Measure each as the gap between your actual result and a benchmark price, then convert to basis points or currency.

Understand Market Microstructure and Trading Costs

Every trade costs something. Some costs appear on the contract note. Others are hidden in the price you get. Level III wants you to separate the two and measure each.

Explicit costs are direct and easy to see: commissions, exchange and clearing fees, taxes and stamp duties. You can read them off the ticket.

Implicit costs are not charged separately. They show up as a worse price than you expected. They include the bid-ask spread, market impact, delay cost (also called slippage) and opportunity cost. They are often larger than explicit costs, especially for big orders or illiquid securities.

The bid-ask spread pays dealers for providing liquidity. You buy at the ask and sell at the bid, so a round trip costs about one full spread. The effective spread compares your actual trade price with the midpoint at the time of the trade. It captures price improvement or trades inside or outside the quote.

Market impact is the price move caused by your own order. Large orders consume depth in the order book and push the price against you. Delay cost is the price drift between the investment decision and the start of trading. Opportunity cost is the lost gain on the part of the order that never gets filled. Together with explicit costs, these make up implementation shortfall, the usual yardstick for total trading cost.

Key rules to remember

Quoted bid-ask spread
Spread = Ask − Bid
Percentage spread = (Ask − Bid) ÷ Midpoint. Midpoint = (Ask + Bid) ÷ 2.
Effective spread
Effective spread = 2 × |Trade price − Midpoint|
Midpoint is taken at the time of the trade. Use the full-spread version to compare with the quoted spread. Half-spread is |Trade price − Midpoint|.
Implementation shortfall (total)
IS = Paper portfolio return − Actual portfolio return
This is the return-based form, so the result is a return (percentage or basis points). The component sum below is in currency: explicit costs + realized (execution) cost + delay cost + missed trade opportunity cost. To convert the currency total to basis points, divide by the order value at the decision price and multiply by 10,000.
Delay cost (total)
Delay cost = Shares executed × (Arrival price − Decision price) for a buy
For a sell, reverse the sign so that a falling price is a cost. Arrival price is the price when the order reaches the market. For a per-share figure, drop the share count.
Realized (execution) cost
Realized cost = Shares executed × (Average execution price − Arrival price) for a buy
Includes market impact and spread. For a sell use (Arrival price − Average execution price).
Missed trade opportunity cost
Opportunity cost = Unexecuted shares × (Cancel price − Decision price) for a buy
Cost is positive if the price rose for a buy, or fell for a sell. Cancel price is the price when the order is cancelled.
Explicit costs
Explicit = Commissions + Fees + Taxes
Add these to the other components to reach total implementation shortfall.

How to solve Market Microstructure and Trading Costs questions

Use this order for any cost-measurement question. Show every line so a correct number earns credit.

  1. 1Identify the side: buy or sell. This decides the sign of every price difference.
  2. 2List the prices given: decision price, arrival price, average execution price, cancel or closing price, bid, ask, midpoint.
  3. 3Split the order into shares executed and shares not executed.
  4. 4Compute delay cost on executed shares: decision price to arrival price.
  5. 5Compute realized cost on executed shares: arrival price to average execution price.
  6. 6Compute opportunity cost on unexecuted shares: decision price to cancel price.
  7. 7Add explicit costs such as commissions and fees.
  8. 8Sum the parts, then divide by the order value at the decision price if basis points or a percentage are asked. State the unit.

Quickest way: Component sum with sign check

When to use it: Use when an item set gives a single order with decision, arrival, execution and cancel prices and asks for total cost or one component.

  1. Write B or S. For a buy, a rising price is a cost. For a sell, a falling price is a cost.
  2. Compute each per-share difference first, then multiply by the correct share count.
  3. Executed shares drive delay and realized cost. Unexecuted shares drive opportunity cost only.
  4. Add commissions last.
  5. Check that the sign and magnitude of each component are sensible given the prices provided.

Common mistakes in Market Microstructure and Trading Costs

  • Applying opportunity cost to all shares instead of only the unexecuted shares.

    Students see one order size and use it for every component.

    Fix: Split the order first. Executed shares go to delay and realized cost. Unexecuted shares go to opportunity cost.

  • Using the quoted spread as the effective spread.

    Both are called spreads and both involve bid and ask.

    Fix: Effective spread uses the actual trade price against the midpoint at trade time, doubled. Quoted spread uses only bid and ask.

  • Getting the sign wrong on a sell order.

    The buy-side formula is memorized without thinking about direction.

    Fix: Ask whether the price move hurt you. For a sell, a lower price is the cost. Flip the difference accordingly.

  • Forgetting explicit costs in total implementation shortfall.

    Focus stays on the implicit price-based parts.

    Fix: Add commissions and fees to the delay, realized and opportunity cost components before stating the total.

  • Measuring delay cost from the arrival price instead of the decision price.

    The two prices are close in value and easy to swap.

    Fix: Delay runs from decision to arrival. Realized cost runs from arrival to execution. Label each price on your working.

  • Calling market impact an explicit cost.

    It is a large, real cost, so it feels like a charge.

    Fix: If it does not appear as a fee on the ticket, it is implicit. Impact is a price effect of your own order.

Worked examples

Example 1

A stock quotes a bid of 49.90 and an ask of 50.10. A buy order executes at 50.06. Calculate the quoted spread, the percentage quoted spread and the effective spread.

Show the solution
  1. Quoted spread = 50.10 − 49.90 = 0.20.
  2. Midpoint = (50.10 + 49.90) ÷ 2 = 50.00.
  3. Percentage quoted spread = 0.20 ÷ 50.00 = 0.004 = 0.40%.
  4. Effective spread = 2 × |50.06 − 50.00| = 2 × 0.06 = 0.12.

Answer: Quoted spread 0.20 (0.40% of midpoint); effective spread 0.12. The trade was filled inside the quote.

Example 2

A portfolio manager decides to buy 10,000 shares when the price is 100.00. The order reaches the market at 100.40. 8,000 shares execute at an average price of 100.70. The remaining 2,000 shares are cancelled when the price is 101.50. Commissions are 400 in total. Calculate each component and the total implementation shortfall.

Show the solution
  1. Delay cost = 8,000 × (100.40 − 100.00) = 8,000 × 0.40 = 3,200.
  2. Realized cost = 8,000 × (100.70 − 100.40) = 8,000 × 0.30 = 2,400.
  3. Opportunity cost = 2,000 × (101.50 − 100.00) = 2,000 × 1.50 = 3,000.
  4. Explicit cost = 400.
  5. Total = 3,200 + 2,400 + 3,000 + 400 = 9,000.
  6. Order value at decision price = 10,000 × 100.00 = 1,000,000.
  7. Shortfall in basis points = 9,000 ÷ 1,000,000 × 10,000 = 90 bps.

Answer: Delay 3,200; realized 2,400; opportunity 3,000; explicit 400. Total implementation shortfall is 9,000, or 90 basis points of the decision-price order value.

Exam tips

  • Read the command word. If it says calculate, show each component line and type the number clearly. If it says discuss, link the cost to the trade urgency or liquidity given.
  • Always write the side (buy or sell) before any arithmetic. Sign errors are the most common lost marks.
  • When asked to recommend a trading approach, tie it to the cost trade-off: faster trading raises impact but cuts delay and opportunity cost.
  • In essay sets, answer only the number of responses asked for. Extra items are not marked.
  • Label prices as decision, arrival, execution and cancel on your working so a partial error can still earn credit.

Market Microstructure and Trading Costs: frequently asked questions

What is the difference between explicit and implicit trading costs?

Explicit costs are visible charges such as commissions, fees and taxes. Implicit costs are price effects you do not see billed: spread, market impact, delay and opportunity cost. Implicit costs are often the larger part of total cost.

How do you calculate the effective spread?

Take the absolute difference between the trade price and the midpoint at the time of trade, then double it. This lets you compare it with the quoted spread. A smaller effective spread means you traded inside the quote.

What are the components of implementation shortfall?

They are explicit costs, realized (execution) cost, delay cost and missed trade opportunity cost. Together they equal the paper portfolio return minus the actual portfolio return.

What is the difference between market impact and opportunity cost?

Market impact is the price move caused by your order on shares that were traded. Opportunity cost is the gain lost on shares that were never executed because the order was cancelled or only partly filled.