What is price impact?
Price impact occurs when an order consumes currently available buying or selling quantities, causing its average execution price or the quotes available after the trade to deviate from a pre-trade reference price. A larger buy order may exhaust the nearest sell quotes and continue buying at higher prices; a larger sell order may exhaust the nearest buy quotes and continue selling at lower prices.
The key is that the deviation comes from this trade consuming liquidity, not merely from “prices changing during execution.” Price impact is not a single figure that can be observed without defining its measure. An explanation must identify the reference price and whether the comparison concerns the whole trade’s average execution price or the market quotes after execution.
Larger buy orders can raise the average execution price
In an order book market, buy orders match sell quotes. The order book lists unfilled buy and sell quotes; after the best ask size is exhausted, buying more may require accepting higher prices.
Suppose the best ask is 100 USDT/unit with a size of 1, and the second ask is 101 USDT/unit with a size of 4. USDT is the quote asset. Assume no other trades or cancellations change these initial quotes, a purchase of 5 units accepts both levels, and fees are excluded. The cost is 100 + 101 × 4 = 504 USDT, at an average price of 100.8 USDT/unit.
Relative to the pre-order best ask of 100, the average is 0.8% higher. This example uses the best ask as its reference and measures the whole trade’s average price; not every calculation uses this reference price and comparison measure. The best ask after execution depends on the remaining quotes and is not necessarily 100.8.
When selling consumes buy quotes, later portions may execute at lower prices—the opposite direction. These figures illustrate the mechanism, not actual trades.
How changes in pool reserves affect quotes
A liquidity pool already holds assets available for exchange. Some pools calculate exchanges from the reserves of the two assets. A trader deposits one asset and withdraws another, changing the reserves and the conditions for subsequent exchanges in the same direction. This discussion concerns reserve-based pricing models, not a universal rule for every onchain market or pool.
The per-unit exchange quote before a trade reflects only the reserves at that moment. Reserves change during the swap, so multiplying that initial price by the entire quantity does not directly give the total amount paid or received. Pool size, pricing rules, and trade size all affect the calculation; pools do not all use the same formula.
This differs from an order book, where orders at different levels are consumed. These pools recalculate prices from the reserves after a trade. Both can produce price effects caused by the trade itself, but their models are not interchangeable.
Price impact can cause slippage; the two cannot simply be added
Slippage is the difference between an actual execution price and a specified reference price. Price impact is one possible cause. Other traders executing first, quotes being withdrawn, market changes, and data delays can also make results differ from the pre-order reference price.
In the static order book example above, the entire average-price deviation comes from filling across levels. Using the same reference of 100, this 0.8% also appears as slippage. Adding another “0.8% impact” would count the same deviation twice.
In a real market where other changes have not been excluded, a different execution price alone does not establish that the trader’s own order caused all of the deviation. Quotes and trade data over the relevant period are also needed.
Estimated price impact can differ from the actual result
Estimated price impact uses current order book quotes or pool reserves to estimate the price effect of a trade. If others execute first, resting orders are withdrawn, or pool reserves change before execution, available prices and quantities change too, and the actual result may differ from the estimate.
Price impact versus fees
A fee is a separately charged amount associated with execution; price impact appears in changes to execution prices. When checking percentages, identify the reference price, whether the comparison uses the average or post-trade price, and whether fees are already included. Figures with different definitions cannot simply be totaled.
Related terms
Learn more about market depth, slippage, and liquidity, or return to the cryptocurrency glossary.
References
Digitala tillgångar är föremål för volatilitet och är inte försäkrade. Utgör inte finansiell rådgivning eller investeringsrådgivning. Alla produkter och tjänster erbjuds inte i alla regioner. Undantag och villkor gäller.
© 2026 OKX. Denna artikel får återges eller distribueras i sin helhet, eller så får utdrag på 100 ord eller mindre av denna artikel användas, förutsatt att sådan användning är icke-kommersiell. All återgivning eller distribution av hela artikeln måste också tydligt ange: ”Denna artikel är © 2026 OKX och används med tillstånd.” Tillåtna utdrag måste ange artikelns namn och innehålla en källhänvisning, till exempel ”Artikelns namn, [författarens namn i tillämpliga fall], © 2026 OKX.” Visst innehåll kan vara genererat eller framtaget med hjälp av verktyg för artificiell intelligens (AI). Inga bearbetningar eller annan användning av denna artikel är tillåten.









