Execution Tools · Market Structure

Execution Cost Calculator: Spread, Fees, Slippage, and Market Impact

Know what a trade costs before and after.

Estimate spread cost, slippage, explicit fees, weighted fill price, and the price move you need to break even — before you place the order or after it fills.

What This Calculator Measures

Every stock trade carries two layers of cost: explicit costs (commissions, exchange fees, SEC fees) that appear on your brokerage confirmation, and implicit costs (spread and slippage) that are embedded in the prices you receive. The explicit layer is visible; the implicit layer is often larger and harder to see.

This tool estimates both layers so you can compare brokers, validate a strategy's cost assumptions, and understand the minimum price move a trade needs to break even before any gross profit begins. All calculation happens locally in your browser — no prices, quantities, or results are sent anywhere.

Use Plan a Trade to estimate costs before you order. Use Review a Fill to analyze actual fills against a benchmark after execution. Results are estimates based on your inputs, not quotes or predictions of market behavior.

What the calculator outputs and how to interpret each value
Output Definition How to read it
Quoted spreadAsk minus bidTop-of-book friction; tighter is cheaper
Weighted average fillQuantity-weighted average of actual fill pricesTrue average cost when fills occur at multiple prices
Signed slippageSide-adjusted fill vs benchmark in bpsPositive = unfavorable; negative = favorable vs benchmark
Effective spread2 × (fill − midpoint) / midpoint × 10,000 bpsRound-trip cost measure relative to midpoint
Explicit costCommission + entered feesShown separately from implicit (spread/slippage) cost
Total costExplicit + implicit costs in dollarsFull round-up of entry friction
Break-even moveTotal cost / (quantity × fill price) × 10,000 bpsMinimum favorable move before the trade earns any gross profit

Execution Cost Calculator

Results are estimates only. Actual costs depend on fill venue, order type, market conditions, and broker arrangement. Not investment advice.

Trade Details
Benchmark & Costs
Reference price for measuring execution quality. Midpoint is the most common TCA benchmark.
Advanced: Slippage Estimate
Estimated market impact beyond the quoted spread — for example, moving price against you for larger orders. Enter 0 for a simple market order at the quoted spread. This is added to spread cost separately to avoid double-counting. Typical range for liquid large-caps: 1–10 bps.

Frequently Asked Questions

Does the calculator predict my fill?

No. It estimates outcomes from assumptions you enter (Plan mode) or analyzes actual fills you supply (Review mode). It does not predict hidden liquidity, queue position, future volatility, or whether an order will execute. Quotes can change before an order reaches a market.

What benchmark should I use?

Use the reference most aligned with your objective. NBBO Midpoint is the most common TCA benchmark and reflects the fair market price at order arrival. Arrival Ask or Arrival Bid suit strategies measured against the side they trade through — for example, a buy benchmarked to the ask shows how much price improvement (negative slippage) you captured. VWAP is appropriate when your execution objective is volume-weighted participation. The benchmark choice affects the sign and magnitude of slippage but not the weighted average fill price or explicit cost.

Why can slippage be negative?

Under the signed convention used here, negative slippage means the fill was favorable versus the selected benchmark — you bought below benchmark or sold above benchmark. The results label this "favorable" rather than "profit," because you still carry explicit costs and subsequent market movement determines the trade outcome. Negative slippage vs midpoint benchmark is called price improvement.

Does total cost include taxes?

No. Tax treatment depends on your account type, holding period, jurisdiction, and other factors that are account-specific. The calculator covers explicit brokerage costs (commission and entered fees) and implicit costs (spread and slippage). Financing costs, borrow costs for short sales, and corporate action effects are also excluded.

Can I enter multiple fills?

Yes. Review mode supports any number of fill rows. Click Add Fill Row to add rows, each with a fill quantity and price. The calculator computes a quantity-weighted average fill. A simple (unweighted) mean of the prices would be incorrect when fill quantities differ — for example, 200 shares at $10.00 and 800 shares at $10.05 gives a weighted average of $10.04, not the unweighted $10.025.

Are my values saved?

No. All calculations run locally in your browser. No prices, quantities, or results are transmitted to a server, stored between sessions, or captured in analytics. Refresh or close the page and all values are cleared.

Related Reading