This page is for information purposes only. Certain services and features may not be available in your jurisdiction.

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.

Learn more about market depth, slippage, and liquidity, or return to the cryptocurrency glossary.

References

Disclaimer
This content is provided for informational purposes only and may cover products that are not available in your region. It is not intended to provide (i) investment advice or an investment recommendation; (ii) an offer or solicitation to buy, sell, or hold crypto/digital assets, or (iii) financial, accounting, legal, or tax advice. Crypto/digital asset holdings, including stablecoins, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding crypto/digital assets is suitable for you in light of your financial condition. Please consult your legal/tax/investment professional for questions about your specific circumstances. Information (including market data and statistical information, if any) appearing in this post is for general information purposes only. While all reasonable care has been taken in preparing this data and graphs, no responsibility or liability is accepted for any errors of fact or omission expressed herein.

Digital Assets subject to volatility and not insured. Not financial/investment advice. Not all products and services offered in all regions. Exclusions and T&Cs apply.

© 2026 OKX. This article may be reproduced or distributed in its entirety, or excerpts of 100 words or less of this article may be used, provided such use is non-commercial. Any reproduction or distribution of the entire article must also prominently state: “This article is © 2026 OKX and is used with permission.” Permitted excerpts must cite to the name of the article and include attribution, for example “Article Name, [author name if applicable], © 2026 OKX.” Some content may be generated or assisted by artificial intelligence (AI) tools. No derivative works or other uses of this article are permitted.