Slippage is the gap between the price a trader expects when submitting a swap and the price the trade actually executes at. On an AMM it arises because the trade itself changes the reserve ratio, and output is priced on the ratio after the trade lands. Every DEX trade incurs some.
Model slippage at small, medium, and large trade sizes to find the maximum trade your pool can absorb at acceptable thresholds, typically 2%, 5%, and 10%.
How it is calculated
The AMM formula makes slippage fully predictable before a trade executes. For a constant-product pool with reserves x and y, a buyer inputting delta_x receives delta_y, where delta_y equals y times delta_x divided by (x plus delta_x).
The starting price is y over x; the effective execution price is (y minus delta_y) over (x plus delta_x). The difference between those two, as a percentage, is the slippage. It is deterministic and can be modeled for any trade size before launch.
Design consequence
There is a specific trade size at which a pool crosses each slippage threshold. Identify the sizes that produce 1%, 5%, and 10% slippage, then check whether those are plausible for your community. If 5% slippage hits at a $3K trade in a community where participants commonly hold $100K-plus positions, the pool is not sized for its actual user base.
Example
A v2 pool with $500K in paired reserves produces about 1% slippage on a $5K trade, 5% on $25K, and 10% on $50K. A project with the same depth but a user base used to $50K trades will see every meaningful purchase carry 10% execution cost, driving sophisticated buyers to other venues rather than trade at a penalty.
Common mistake
Teams set a blanket slippage tolerance in the UI without checking whether the pool can service the real trade distribution at that level. Tolerance is a ceiling enforced by the interface; actual slippage is set by the formula. A low tolerance on a shallow pool means larger trades fail outright instead of executing.
See Tokenomics Design for how this applies in practice.
More in Launch and Markets
- Token generation event (TGE)
- TGE float
- Effective sellable float
- Initial coin offering (ICO)
- Initial DEX offering (IDO)
- Initial exchange offering (IEO)
- Decentralized exchange (DEX)
- Automated market maker (AMM)
- Liquidity pool
- Concentrated liquidity (V3) versus constant-product (V2)
- Liquidity depth
- Price impact
- Market maker
- Buy pressure
Know the terms but not sure how they apply to your project? That is what an engagement is for. We design, document, and stress-test the whole token economy inside the Tokenomics Data Room.
80+ projects advised. Complete tokenomics in 4 to 6 weeks.