
Read both sides of the quote
In an equity quote, the bid is the highest displayed buying price and the ask is the lowest displayed selling price. If the bid is $99.98 and the ask is $100.02, the quoted spread is four cents. Halfway between those prices is a midpoint of $100.00.
Choose a benchmark before the trade
Imagine buying 500 shares at $100.02, with the entire order filled at that price. Compared with the $100.00 midpoint observed at the decision time, the purchase costs an extra $10 before fees. That is two basis points on a $50,000 reference value. These invented figures illustrate the arithmetic.
Separate the other costs
If only 200 shares were available at the ask, the rest might fill at another price. Starting with the same benchmark, calculate the quantity-weighted average across all fills and then add explicit charges. Record any unfilled quantity separately. For a limit order, also record how long it was open.
Make routing comparisons useful
Compare orders of similar size relative to available liquidity and record the time of day. A route used mostly for smaller, easier orders may appear cheaper in a simple average. Keeping order size and the arrival quote beside each observation helps explain the difference.