MCAP $2.76T ▼ 2.63% Last updated 23 Oct 2026, 13:04 UTC 24H VOL $67.6B Last updated 23 Oct 2026, 13:04 UTC BTC.D 59.4% Last updated 23 Oct 2026, 13:04 UTC FEAR & GREED 50 Neutral Last updated 23 Oct 2026, 00:00 UTC BTC FEE 1 sat/vB Last updated 23 Oct 2026, 14:00 UTC BTC $81,801 ▲ 0.10% Last updated 23 Oct 2026, 13:58 UTC ETH $2,408 ▼ 0.10% Last updated 23 Oct 2026, 13:58 UTC USDT $0.9990 ▼ 0.02% Last updated 23 Oct 2026, 13:58 UTC BNB $746.88 ▲ 1.83% Last updated 23 Oct 2026, 13:58 UTC XRP $1.32 ▼ 0.70% Last updated 23 Oct 2026, 13:58 UTC USDC $0.9995 ▼ 0.01% Last updated 23 Oct 2026, 13:58 UTC SOL $104.77 ▼ 0.25% Last updated 23 Oct 2026, 13:58 UTC TRX $0.3300 ▼ 0.10% Last updated 23 Oct 2026, 13:58 UTC FIGR_HELOC $1.03 ▼ 0.21% Last updated 23 Oct 2026, 13:58 UTC ZEC $1,237 ▼ 1.68% Last updated 23 Oct 2026, 13:58 UTC

DeFi scenarios

AMM price impact calculator

Estimate swap output and price impact for a constant-product pool.

Your inputs

Values stay in this page. Use the units shown beside each field.

Optional. Blank means zero. Fees are entered as percentages.

Result

Enter your values, then calculate. You can also load the worked example.

Your result will appear here.

Model a swap against one constant-product pool. Compare the average execution rate with the pool's starting marginal price.

How the calculation works

Effective input = input × (1 - fee). Output = output reserve × effective input ÷ (input reserve + effective input). Average rate = output ÷ total input.

Worked example

Example: a fee-free pool with 1,000 tokens on each side returns about 90.909091 output tokens for 100 input tokens. Average execution is 9.090909% below the starting rate.

How to use the result

Enter reserves in token quantities. The two tokens may have different units; keep input and output amounts on the correct side.

Execution shortfall includes the fee. Curve impact excludes it. Slippage refers to changes while a transaction waits and is separate from the trade's own price impact.

What this result leaves out

  • One full-range constant-product pool only. This is not a live router quote or a model of concentrated liquidity.
  • No gas, transfer-tax tokens, MEV, multi-hop routing or reserve changes while pending.

Method and sources

Calculation method reviewed 23 October 2026. This is an estimate from your inputs, not investment or tax advice.