home / defi / constant-sum-amm-calculatorlocal
Constant-Sum AMM Swap Calculator
Compare a swap in a constant-sum pool (x + y = k) with a constant-product pool (x * y = k).
constant-sum-amm-calculatorready · runs in this browser
Runs locally in your browser. Nothing you type is sent anywhere.
defi tools · free · runs in your browser · no sign-up · no wallet
01 // about this tool
A constant-sum pool always swaps 1 for 1, so there is no price impact until one side runs out. A constant-product pool moves the price with every trade. This puts the two side by side.
02 // how to use it
- Enter both reserves and the amount in.
- Enter the pool fee.
- Press Run.
03 // faq
Why do few pools use pure constant sum?
If the peg breaks, traders can drain the valuable side entirely.
What does Curve do?
Blends the two, flat near the peg and curved away from it.