Skip to main content

What Is the Role of the ‘Constant Product Formula’?

The constant product formula, x y = k, is the core mechanism of many AMMs like Uniswap. It ensures that the product of the quantities of the two assets in the pool (x and y) always remains constant (k).

This formula automatically determines the price ratio and ensures that the pool always has liquidity, though it can lead to slippage.

How Does the Constant Product Formula (X Y=k) Govern AMMs?
How Does the Concept of Slippage Relate to the Size of the Constant Product (K) in an AMM Pool?
How Does a Constant Product Market Maker (CPMM) Work?
How Does the ‘Constant Sum’ Formula Differ from the ‘Constant Product’ Formula in AMMs?