Formula
Cost/trade = notional × [2 × commission% + 2 × slippage% + spread%]
One basis point is 0.01%. The result multiplies cost per round trip by the number of completed trades.
Backtest cost calculator
Estimate commission, slippage, and spread across a fixed number of round-trip trades. The calculator keeps position notional constant so its assumptions remain visible and easy to reproduce.
These values use constant position notional on every trade and subtract estimated costs from the gross result.
| Cost component | Across all trades |
|---|---|
| Commission | $200.00 |
| Slippage | $100.00 |
| Spread | $20.00 |
Cost/trade = notional × [2 × commission% + 2 × slippage% + spread%]
One basis point is 0.01%. The result multiplies cost per round trip by the number of completed trades.
This simplified model holds position notional constant. It does not model compounding, changing position size, funding, borrow costs, taxes, price impact, partial fills, or tiered fee schedules.
This calculator is an educational estimate, not financial advice or a broker fee quote. Historical simulations and cost estimates do not guarantee future fills or performance. Confirm current fees and market conditions with the relevant venue before making any real trading decision.
Commission and fees guide · Slippage guide · Backtest methodology