how to use the price impact and slippage calculator
- Paste a contract address to load the most liquid pool, or type the pool's liquidity (both sides, in USD).
- Enter your trade size and choose buy or sell.
- Set the pool fee (0.25% Raydium AMM, 0.30% Uniswap v2, 0.30% to 1.25% PumpSwap depending on market cap).
- Set your slippage tolerance to see the minimum you would accept.
formula
pool side R = liquidity ÷ 2 (50/50 constant-product pool) amount after fee a = trade × (1 − fee) price impact = a ÷ R received = R × a ÷ (R + a) largest trade for impact i = i × R ÷ (1 − fee)
price impact vs slippage
Price impact is caused by your own trade: in a constant-product pool (x × y = k), every token you buy makes the next one more expensive. Slippage tolerance is the extra movement you allow between the quote and the moment your transaction lands, usually because other traders or snipers bought in the same block. Your own price impact is already inside the quote.
worked example
A memecoin pool holds $60K of liquidity: about $30K on each side. A $1,000 buy with a 0.25% fee puts $997.50 into the pool, a 3.3% price impact. You receive about $965 worth of tokens at the pre-trade price, and the pool price ends about 6.8% higher than before your buy.
The same $1,000 in a $600K pool has a 0.33% impact. Liquidity, not market cap, decides how much you can trade.
which pools this fits
The formula is exact for constant-product pools: Raydium AMM v4 and CPMM, PumpSwap, Uniswap v2 and Aerodrome volatile pools. Concentrated-liquidity pools (Raydium CLMM, Orca Whirlpools, Meteora DLMM, Uniswap v3) place liquidity in price ranges, so their real impact near the current price can be smaller or much larger than the total liquidity suggests. Treat the result as an estimate for those.
frequently asked questions
How do you calculate price impact?
For a 50/50 constant-product pool, price impact ≈ your trade after fees divided by the pool's side in the currency you pay with. $1,000 into a pool with $30,000 on the SOL side is about 3.3%.
What slippage should I set for memecoins?
Enough to cover price movement from other traders while your transaction lands: often 5 to 15% on fast-moving Solana memecoins, less on deeper pools. Higher tolerance increases the risk of being sandwiched by MEV bots.
Why did I receive fewer tokens than expected?
Price impact on a thin pool, the pool fee, and other buys landing before yours. The minimum received at your slippage setting is the worst fill you allowed.
Updated . Free, no sign-up, runs in your browser. Not financial advice.