← Back to Guides

Is a pool deep enough for your trade? How to check price impact before you swap

Check how a DEX swap quote changes with your order size, read reserves in a V2 pool, and tell price impact apart from slippage and fees.

Start with a swap quote for the exact amount and direction you want to check. In the quote details, look for Price impact. Then compare it with the quote for a smaller amount. Price impact measures how your order size moves the execution price relative to the pool’s starting price. You can inspect the quote without submitting a transaction. Uniswap’s swap screen guide

What a lock tells you about the pool

A liquidity lock can restrict withdrawal of a share of a specific pool until a stated time. Its protection depends on the share locked, which pool the position belongs to, when the lock expires, and who can withdraw or migrate liquidity. It takes a separate check to see whether the liquidity available at the current price can absorb your order size. How to check a liquidity lock

Price impact in a simple V2 pool

In a constant-product pool like Uniswap V2, the reserve balances follow x × y = k in the simplified case with no fees. For an exact-input swap in that model, divide reserveOut × amountIn by reserveIn + amountIn to estimate how many tokens the pool returns. Compare that output with what the same input would get at the starting reserve ratio. Uniswap V2 pricing documentation

Hypothetical example. A V2 pool holds 10,000 units of a dollar stablecoin and 10,000 units of Token X. The starting pool price is one stablecoin per Token X. Swapping 3,000 stablecoins uses 30% of the input reserve. With fees omitted, the formula gives 10,000 × 3,000 / 13,000 ≈ 2,307.69 Token X, compared with 3,000 Token X at the starting price. The difference is 692.31 Token X, or 23.08% price impact. This example uses invented reserves and a single pool. A live quote can use a different route and include fees.

Which numbers to look for in a swap quote

  • Price impact estimates how much your trade changes its execution price relative to the starting price.
  • Slippage tolerance sets how much worse the execution can be than the quote before the transaction fails. A wider tolerance leaves more room for an unfavorable execution and does nothing to improve the original quote.
  • Minimum received is the minimum output the swap specifies for a successful exact-input execution. Check it alongside the expected output.
  • Swap fee is charged under the pool’s rules. A separate transfer tax may apply under the token contract’s rules. Uniswap’s swap mechanics · How token taxes work

How to check depth before you swap

  1. Confirm the network and token address. Use the address to identify the token, then check which pool or pools the quoted route actually uses. Multiple pools can trade tokens with the same symbol. How to verify a token’s contract address
  2. Start with the live quote. Enter the amount and direction you want to evaluate. Compare the expected output and price impact for a smaller amount. If you’re screening a possible purchase, quote a hypothetical sale as a separate check. A quote can change as liquidity, prices, or routing change.
  3. For a V2 pool, check the reserves if you need to verify the estimate. On the pool contract, read token0(), token1(), and getReserves(). Match each reserve to its token. Divide the raw amount by 10decimals using that token’s own decimals. Actual Uniswap V2 quotes account for a swap fee. Uniswap V2 pair contract · Uniswap V2 quote calculation
  4. For V3 and V4, use the quote for your actual size. Liquidity can be concentrated in different price ranges. Total pool value gives you little information about how much liquidity is available across the prices your swap would reach. Uniswap’s explanation of concentrated liquidity

Depth is one part of due diligence. A quote describes current conditions. Verify whether the token can be sold, whether transfers are taxed, and who can change the token’s rules separately. Run a free contract check on ChainSift for supported tokens, then use the swap quote to assess depth for your order.