Slippage Explained: Calculate Execution Cost and Stress Scenarios
Trade Cost Calculation · TC06
Slippage Explained: Calculate Execution Cost and Stress Scenarios
Slippage is the difference between the reference price you expected when you placed the order and the price at which it actually filled. To compute a slippage cost, divide that difference by the pip or point size to convert it into pips, then multiply by “pips x value per pip x quantity” to turn it into money. Because favorable and unfavorable signs flip across buy and sell and across entry and exit, keep signed slippage separate from the absolute execution difference. Add entry and exit slippage together with the quoted spread and you can evaluate the whole thing as an effective spread, or realized execution cost. This guide walks through the sign rules, VWAP, stress scenarios for fast markets, and a free-calculator check.
- Convert the gap between reference and fill price into signed pips and money
- See how the unfavorable/favorable sign flips across buy, sell, entry and exit
- Add entry plus exit slippage to the quoted spread for a realized execution cost
- Stress-test the cost across normal, thin-liquidity and gap scenarios
- Try the mini calculator for VWAP, signed slippage, money and spread-inclusive cost
Answer
The answer: express “fill minus reference” as signed money
Calculating slippage takes three steps. First, fix the reference price you expected at order time (the rate when you sent a market order, or the trigger/limit price). Second, take the absolute difference from the actual fill and divide by the pip or point size to convert it into pips. Third, turn pips into money with “pips x value per pip x quantity.” On a buy, a fill above the reference is unfavorable; on a sell, a fill below the reference is unfavorable. Signed slippage records unfavorable as positive and favorable as negative.
Where spread and commission are costs you can read before ordering, slippage is the gap between expected and actual that appears only as the price moves between placing the order and the fill. Judge your trading cost from the quoted spread alone and you will miss the real burden during fast markets. If you want the whole cost picture first, start from the parent article, the Trading Cost Calculation Guide covering spread, commission, swap and break-even, to see where this piece fits. Converting the spread itself into money is covered in how much the forex spread costs, from pips to money. This article focuses on the difference between the expected price and the actual fill.
Basics
Terms and assumptions: reference, pip, value per unit and sign
Before the arithmetic, let us align the terms and the fictional assumptions used throughout. Every number below is an illustrative, educational example, not a live market or any specific provider’s execution or contract specification. Actual pip definitions, contract sizes, quoted spreads and execution policies differ by broker, account, instrument, jurisdiction and time, so always confirm your own official materials.
- Reference price (expected price): the price you assumed would fill at order time. For a market order it is the quote when you sent it; for a stop or limit it is the trigger or specified price.
- Actual fill: the price at which the order actually executed. When it splits into several fills, use the volume-weighted average price (VWAP) described later.
- Pip / point size: the name for the smallest increment the price moves in. For yen pairs such as USD/JPY, 1 pip = 0.01 is widely used. A different instrument has a different point size (see converting pips to money for the unit detail).
- Value per pip (per lot): how much your profit or loss changes when the price moves one pip while you hold one lot. In this article’s fictional example we assume 1,000 JPY per pip for one lot.
- Signed slippage: unfavorable as positive (a cost), favorable as negative (a credit direction). The absolute execution difference is the direction-free distance. Keep the two separate.
The worked examples reuse one consistent fictional dataset. The instrument is USD/JPY (1 pip = 0.01, 1,000 JPY per pip for one lot), quantity is 1.0 lot, and the quoted spread is 0.6 pips. The entry reference price is 150.000 and the fill is 150.020. Every table, figure and mini-calculator default below matches these assumptions. Holding costs such as swap and financing are outside this article and are handled in swap and overnight financing cost calculation.
Formula
The slippage formula: pips, money and how to sign it
A slippage calculation starts by converting the difference between the fill and the reference into pips. First find the distance (the absolute execution difference), then apply a sign based on trade direction, then convert to money.
Substitute the fictional example. For a buy entry with reference 150.000, fill 150.020 and pip size 0.01, the difference is 150.020 – 150.000 = 0.020. Dividing by 0.01 gives 2.0 pips.
The sign follows trade direction. On a buy (a long entry or a short exit), a fill above the reference is unfavorable, so signed slippage = (fill – reference) / pip. On a sell (a short entry or a long exit), a fill below the reference is unfavorable, so signed slippage = (reference – fill) / pip. In both, positive is unfavorable (a cost) and negative is favorable (positive slippage).
For money, multiply signed pips by the value per pip and the quantity.
In the fictional example, 2.0 pips x 1,000 JPY x 1.0 lot = +2,000 JPY. Because it is positive, this entry filled 2,000 JPY worse than expected. Had the fill been 149.995 (bought cheaper than the reference), the signed value would be (149.995 – 150.000) / 0.01 = -0.5 pips, or -500 JPY, a favorable move (positive slippage). Reading this as break-even and cost ratio connects to break-even pips, cost ratio and trading friction.
Signs
How the sign changes across buy, sell, entry and exit
Signs trip people up because a position’s entry and exit reverse whether you are actually buying or selling. A long buys at entry and sells at exit; a short sells at entry and buys at exit. The meaning of “unfavorable” is constant (you buy higher, or sell lower, than expected), but the direction of the price difference flips by quadrant. The four quadrants make it clear.
The takeaway is that the same “2.0 pips unfavorable” points to a fill above the reference for a long entry, but below it for a long exit. In the arithmetic, decide the sign purely from trade direction (buy or sell) and you will never confuse entry with exit. The absolute execution difference (the distance) stays positive and is what you use for records and averages.
Order types
Order types and execution behavior: market, stop and limit
How prone an order is to slippage depends on its type. The following is general; actual execution varies with your provider’s policy, the instrument, the time and liquidity. It is not true that “a limit always fills” or that “a stop fills at its specified price.”
Market order
Prioritizes an immediate fill at the current price. If the price is moving it drifts easily from the reference, in either direction. You trade speed of execution for an uncertain price.
Stop order
Typically becomes a market order once the trigger is reached. On gaps or fast markets it can fill beyond the trigger, producing slippage larger than the estimate. The loss is not fixed.
Limit order
Aims to fill only on the favorable side of the specified price. It avoids unfavorable slippage, but it may not fill at all if the price never reaches it. A trade-off between price and the chance of a fill.
In short: a market order has an uncertain price with a near-certain fill; a limit order has a price fixed on the favorable side with an uncertain fill; and a stop is market-like after the trigger, with an uncertain price. Because a stop loss does not fix your loss amount, its behavior also feeds back into position sizing. For how stop distance and quantity relate, see position size from stop-loss distance.
Effective cost
Entry + exit + quoted spread = effective spread (realized execution cost)
The difference between slippage and spread is when you can see them. The quoted spread is an expected cost visible on screen before ordering; slippage is confirmed only once you fill. Rather than viewing them apart, add the entry and exit slippage together and fold in the quoted spread so you can compare the round-trip as a single realized cost. We call this the effective spread, or realized execution cost.
As a simplification, this article assumes you pay the quoted spread once per round trip, or half the spread (a half-spread) per side. In the fictional example, with a quoted spread of 0.6 pips, entry slippage of +2.0 pips and exit slippage of +2.0 pips, the per-side realized cost is “slippage + half-spread 0.3,” giving 2.3 pips on entry and 2.3 pips on exit, or 4.6 pips = 4,600 JPY round-trip for 1.0 lot. Watching only the quoted spread, you would mistake the cost for 0.6 pips = 600 JPY.
This realized cost gains meaning when compared across conditions. For the same strategy, an account with a tight quoted spread can turn out more expensive once slippage is included. For a fair way to compare brokers and account types on all-in cost and spread sensitivity, see how to compare broker and account trading costs.
Stress
Stress scenarios for fast markets: normal, thin liquidity and gap
As with news-event slippage, the same strategy can see very different drift depending on market conditions. So we lay out three fictional scenarios with per-side slippage set to 0.1 / 0.5 / 2.0 pips and view the round-trip realized cost as a sensitivity. These are not forecasts; they are educational assumptions for seeing how the range moves when you change the inputs. The quoted spread is held common at 0.6 pips (half-spread 0.3 per side).
0.1 pips per side
High liquidity, small drift. Round-trip realized = (0.1 + 0.3) x 2 = 0.8 pips = 800 JPY. The quoted spread dominates.
0.5 pips per side
Drift widens in early hours or thin trade. Round-trip realized = (0.5 + 0.3) x 2 = 1.6 pips = 1,600 JPY. Slippage carries more weight.
2.0 pips per side
Large drift on news or a gap. Round-trip realized = (2.0 + 0.3) x 2 = 4.6 pips = 4,600 JPY. Slippage dominates.
A single condition’s realized cost is easy to compute by hand with the formula above. But once you want to line up several slippage assumptions, holding periods and spread sensitivities side by side, that is where Pro-level sensitivity analysis helps. Calculate one condition in the free calculator first, then decide whether you actually need the comparison.
VWAP
Partial fills and VWAP: use the volume-weighted average as the fill
A larger order can execute across several fills. Here, instead of a simple average, use the volume-weighted average price (VWAP) as the fill price. It is the sum of each fill’s “price x quantity” divided by total quantity.
In the fictional example, suppose a 1.0-lot buy fills in these three parts: 0.3 lot at 150.010, 0.5 lot at 150.020 and 0.2 lot at 150.035. The VWAP is:
Comparing VWAP 150.020 to reference 150.000, and since this is a buy, the signed value is (150.020 – 150.000) / 0.01 = +2.0 pips, or +2,000 JPY. Using a simple average ((150.010 + 150.020 + 150.035) / 3 = 150.0217) would misstate the fill price and throw off the slippage. Always weight by quantity.
Mini calculator
Mini calculator: estimate realized slippage
Enter the trade direction, entry or exit, reference price, up to three fills with quantities, pip or point size, value per pip, quoted spread and a stress multiplier, and the tool estimates VWAP, signed and absolute slippage, the money amount and the spread-inclusive per-side realized cost for educational purposes. Inputs are computed in your browser only and are never sent or stored anywhere. Check the static worked example first (Table 1), then swap in your own numbers in the tool below it.
| Input / result | Value | Formula |
|---|---|---|
| Trade direction | Buy (long entry) | input |
| Reference price | 150.000 | input |
| fill1 | 0.3 @150.010 | input |
| fill2 | 0.5 @150.020 | input |
| fill3 | 0.2 @150.035 | input |
| pip size | 0.01 | input |
| Value per pip | 1,000 JPY | input |
| Quoted spread | 0.6 pips | input |
| VWAP | 150.020 | sum(price x qty) / 1.0 |
| Signed slippage | +2.0 pips | (150.020 – 150.000) / 0.01 |
| Amount | +2,000 JPY | 2.0 x 1,000 x 1.0 |
| Per-side realized cost | 2.3 pips = 2,300 JPY | 2.0 + (0.6 / 2) |
Formulas: VWAP = sum(price x qty) / sum(qty). Signed slippage = buy (VWAP – reference) / pip; sell (reference – VWAP) / pip. Amount = signed pips x value per pip x total quantity. Per-side realized cost = signed pips + quoted spread / 2. Positive is unfavorable (a cost); negative is favorable.
Record
Recording slippage from your fills
To understand your real execution-difference cost, the reliable approach is to record slippage per trade. At a minimum, keep these columns so you can total them with sign later: order time, reference price, fill price (VWAP for several fills), direction (buy or sell), quantity, signed pips and amount. Positive is unfavorable, negative is favorable.
| Order time | Direction | Reference | Fill | Quantity | Signed pips | Amount |
|---|---|---|---|---|---|---|
| 09:30:00 | Buy (entry) | 150.000 | 150.020 | 1.0 | +2.0 | +2,000 JPY |
| 10:15:00 | Sell (exit) | 150.500 | 150.480 | 1.0 | +2.0 | +2,000 JPY |
| 14:00:00 | Buy (entry) | 149.800 | 149.795 | 1.0 | -0.5 | -500 JPY |
Summing the three, the signed total is +2.0 + 2.0 – 0.5 = +3.5 pips, or +3,500 JPY net in the unfavorable (cost) direction. The third row is favorable (positive slippage), but avoid booking that as a fixed future discount. Keep recording and patterns emerge by time of day, order type and instrument, useful for improving execution and revisiting your backtest assumptions. Managing this as an ongoing audit ledger is a Premium-level capability.
Pitfalls
Common mistakes
- Judging by the quoted spread alone: reassured by a 0.6-pip expected cost, you miss the 4.6-pip effective cost during a gap. Evaluate entry + exit + spread as one.
- Getting the sign wrong: using “fill – reference” on a sell and tallying favorable and unfavorable backwards. Buy uses fill – reference; sell uses reference – fill.
- Assuming a stop fixes the loss: gaps and fast markets jump past the specified price. Size positions with a stress range in mind.
- Deducting positive slippage as a fixed credit: subtracting favorable drift as expected income understates cost. Plan on the unfavorable side.
- Simple-averaging partial fills: without volume weighting (VWAP) you misstate the fill price. Always weight by quantity.
- Filling at the historical quote in a backtest: a zero-slippage assumption tends to look better than live trading. Verify with a sensitivity range.
All of these are avoided by the same principles: decide the sign from direction, unify entry, exit and spread, and budget a stress range. For how required move and cost change by trading style, see comparing scalping, day trading and swing trading costs.
Checklist
Practical checklist
Here is a checklist for reviewing your slippage calculation before and after ordering.
- Did you clearly fix the reference price (order-time rate or trigger price)?
- Did you collapse several fills into one price with volume weighting (VWAP)?
- Did you sign by trade direction? Buy uses fill – reference; sell uses reference – fill.
- Did you convert signed pips to money by multiplying value per pip and quantity?
- Did you evaluate entry + exit + quoted spread as one realized cost?
- Did you budget a stress range for normal, thin-liquidity and gap conditions?
- Did you note excluded items such as commission, swap, tax and currency conversion?
- Did you confirm each order type’s execution policy in provider documentation?
Once you have checked a single condition with your own numbers, the next step is real inputs. When you want to compare several slippage assumptions or holding periods, that is the point to consider Pro and Premium features. You can browse the rest from the English article library.
FAQ
Frequently asked questions
What is slippage in trading?
How do you calculate slippage cost?
How do signs change for buys and sells?
Does a stop order guarantee the stop price?
Can positive slippage be subtracted as expected income?
How do you measure slippage across partial fills?
What is the difference between spread and slippage?
How should slippage be modeled in a backtest?
References
Sources and further reading
- SG Group Trade Cost Calculator (use it free) — one-way and round-trip cost, break-even and realized cost checks.
- SG Group Trade Cost Calculator plans — features and scope of Free, Pro and Premium.
- Compare broker and account trading costs — a fair comparison by all-in cost and spread sensitivity.
- For exact definitions of pip, tick, contract size and execution policy, confirm the primary materials from each exchange, regulator or provider.
Disclaimer
This article is for education and general information about estimate calculations based on the conditions you enter. It does not recommend a particular instrument, trade direction, account, broker, entry, exit, price forecast or guaranteed return, and it is not investment advice. Every figure, price, slippage example, spread and record table shown is fictional educational data and does not represent a real market, performance, user count, execution quality or any specific provider’s contract specification. Quoted spread, pip or point, contract size, tick value, commission, swap or financing and execution policy differ by broker, account, instrument, jurisdiction and time. A quoted spread does not guarantee the future fill spread, and a stop order does not guarantee execution at its specified price; gaps, fast markets, thin liquidity and slippage can produce cost or loss beyond an estimate. Do not treat positive slippage, rebates or cashback as fixed income or permanently negative cost. The mini calculator’s result is an estimate from a simplified general equation and excludes commission, swap, tax, deposit/withdrawal charges, currency conversion, rejected orders and requotes. Confirm whether tax and currency conversion are included in the actual tool and official materials. Because actual cost and fill prices vary with market conditions and provider specifications, always confirm the official contract specifications, fee schedules and execution policy before trading. SG Group features, scope and pricing can change; check each service page and the plans page for the latest.

