Infographic
How a DEX swap moves a pool's price
Worked example in a constant-product pool (x × y = k) with a 0.3% fee. Swapping 100 A into a 1,000 A / 1,000 B pool returns about 90.66 B, not 100: a 9.3% shortfall from price impact plus the fee.

Reading the infographic
- Before: the pool holds 1,000 A and 1,000 B, so k = 1,000,000 and 1 A ≈ 1 B.
- You send 100 A. After the 0.3% fee, 99.7 A counts toward the curve.
- The pool must keep x × y = k, so B falls to about 909.34 and you receive about 90.66 B.
- Bigger trades relative to the pool move the price more. Slippage limits protect you from accepting a worse result.
Go deeper
- DEXs and liquidity pools: how decentralized trading works
- Impermanent loss explained: the formula, a table and fees
- Centralized vs decentralized exchanges
You may share this infographic with a link back to this page. Numbers are hypothetical teaching examples unless a date and source are shown.
Education only. Nothing on this page is financial, investment, tax or legal advice, or a recommendation to buy, sell, stake, lend or borrow any crypto-asset. Crypto-assets can lose some or all of their value and are not covered by CDIC. Canadian rules change: check the dated sources above and talk to a qualified professional about your situation. Full disclaimer.