MCAP $2.60T ▼ 2.78% Last updated 2 Nov 2026, 22:06 UTC 24H VOL $69.0B Last updated 2 Nov 2026, 22:06 UTC BTC.D 59.2% Last updated 2 Nov 2026, 22:06 UTC FEAR & GREED 37 Fear Last updated 2 Nov 2026, 00:00 UTC BTC FEE 1 sat/vB Last updated 2 Nov 2026, 22:05 UTC BTC $76,756 ▼ 1.35% Last updated 2 Nov 2026, 22:04 UTC ETH $2,255 ▼ 0.27% Last updated 2 Nov 2026, 22:04 UTC MGLOEURO $111,813 ▼ 0.36% Last updated 27 Oct 2026, 02:04 UTC USDT $0.9986 ▼ 0.06% Last updated 2 Nov 2026, 22:04 UTC BNB $698.47 ▼ 1.21% Last updated 2 Nov 2026, 22:04 UTC XRP $1.25 ▲ 0.18% Last updated 2 Nov 2026, 22:04 UTC USDC $0.9993 ▼ 0.12% Last updated 2 Nov 2026, 22:04 UTC SOL $92.08 ▼ 2.32% Last updated 2 Nov 2026, 22:04 UTC TRX $0.3186 ▲ 1.83% Last updated 2 Nov 2026, 22:04 UTC FIGR_HELOC $1.07 ▼ 1.01% Last updated 2 Nov 2026, 14:16 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.