AMM price impact from trade size

Estimate tokens received and execution price impact in a constant-product pool.

Inputs

Calculation guide

Single swap with a proportional input fee. Benchmark the average fill against the pretrade reserve ratio. Report the curve impact separately from the all-in shortfall including fees.

Read the guide →