Skip to main content

Constant Product AMM Simulator

Learn how the x × y = k formula powers decentralized exchanges like Uniswap

Bonding Curvex × y = 10,000

The dot shows current pool position. Execute swaps to move along the curve.

Pool State
Reserve Token A
Reserve Token B
Constant (k = x × y)10,000
Current Price1.0000 USDC/ETH
Swap Simulator
Balance: 100.00 ETH
ETH
9.0909
USDC
Price Impact10.00%
Expected Output10.0000
Slippage Loss-0.9091

Why AMMs Matter in DeFi

AMMs eliminated the need for centralized intermediaries in token trading, enabling permissionless and 24/7 liquidity. Protocols like Uniswap, SushiSwap, and Curve collectively handle billions of dollars in daily trading volume. Understanding how AMMs work is essential for anyone building or participating in decentralized finance.

Frequently Asked Questions