How do spread and slippage affect a perpetual futures order?

A perpetual futures order book lists bids to buy and asks to sell. The spread is the gap between the best bid and best ask; slippage is the difference between your chosen reference price and the average execution price. Check depth as well as spread: an order larger than the quantity at the best price can fill across several prices.

What does each side of the book tell you?

A buy seeking an immediate fill meets asks. A sell seeking an immediate fill meets bids. A displayed quantity belongs to one price level, not the whole market. The last traded price is a completed transaction; it is not an offer to fill your next order. Order types explains the instructions you can send.

Read the timestamp, instrument and units before reading the numbers. A BTC quantity is not a USDT amount. A timestamped book is only a snapshot: quotes can change before your instruction arrives. Bybit's API documentation also notes that RPI orders are excluded from its order-book response. Do not treat any snapshot as a promise of available liquidity.

How do you calculate spread and a weighted average fill?

Arithmetic illustration only, not a live quote. A hypothetical BTC USDT perpetual has best bid 59,990 and best ask 60,000. Spread = 60,000 − 59,990 = 10 USDT per BTC. The midpoint is (59,990 + 60,000) / 2 = 59,995.

Suppose a 0.03 BTC buy meets these asks without other changes:

Arithmetic illustration only.
Ask price Quantity filled Value
60,000 0.01 BTC 600 USDT
60,020 0.02 BTC 1,200.40 USDT

Total value = 1,800.40 USDT. Average fill = 1,800.40 / 0.03 = 60,013.3333 USDT per BTC. Against the 60,000 best ask observed at decision time, adverse slippage costs 0.03 × (60,013.3333 − 60,000) = 0.40 USDT. Against the 59,995 midpoint it costs 0.55 USDT. The different answers use different benchmarks; neither should be labeled simply “slippage” without naming the reference.

Why is spread not the whole execution cost?

Crossing from midpoint to the ask is one cost; walking farther through asks is another. Fees and funding are separate cash flows. If you measure execution against midpoint, the spread component is already inside the measured difference. Adding the full spread again would double-count part of the cost.

For a sell, define adverse cost as quantity × (reference − average sell fill). A better-than-reference fill produces a negative cost, or improvement. Keep the sign convention fixed in your journal. See trade reconciliation for the wider account ledger.

What can you control before sending the order?

Compare the intended size with nearby depth, read the order's price protection, and decide the maximum acceptable execution deterioration before the trade. A limit constrains price but may leave the order unfilled. A market instruction prioritizes execution, but protections and liquidity can still prevent a full fill: Bybit documents converting market orders to protected IOC limits. This is a venue-specific example, not a promise about every exchange.

Do not chase a moving book by increasing size. If the acceptable entry no longer exists, skipping is a valid execution decision. Partial fills explains what to check when only some quantity trades. Advanced execution tactics introduces larger-order execution methods; none guarantees a lower cost.

What should you record after execution?

Record decision time, benchmark type and price, requested quantity, each execution, weighted average, fees separately, and any unfilled remainder. Compare actual loss at the stop with the planned amount in the position size calculator guide. A small cost relative to notional can be large relative to a tight risk budget.

Related: break-even price calculator

What are the short answers on spread and slippage?

Is the last traded price my next fill price?

No. It records a completed transaction. Your order meets the liquidity available when it reaches the market, subject to its instructions and exchange protections.

How is average fill price calculated?

Divide the sum of each execution price times its quantity by total executed quantity. In the illustration, 1,800.40 USDT divided by 0.03 BTC is 60,013.3333 USDT per BTC.

Should I add the spread again to midpoint-based slippage?

No. The difference between midpoint and execution already includes crossing the spread. Keep fees and funding separate and state the benchmark used.

Sources

Leveraged futures carry a high risk of loss.

Last reviewed by Ric Mescallado