Liquidity poolsDeFi
Liquidity pools: the x · y = k formula
How an AMM sets prices without an order book. Simulate a swap and watch the price impact.
By SITA · Published on · 2 sources
Key points
- A liquidity pool is a pair of token reserves held by a smart contract.
- In a constant-product AMM, the product of reserves x · y stays equal to k: the price follows from the reserve ratio.
- The larger a swap relative to the pool size, the higher the price impact (slippage).
SITA · Infographics
Liquidity pools: the x · y = k formula
Sources: Uniswap v2 — How Uniswap works · Uniswap v2 Core whitepaper (2020)sita.re · 22 November 2026
The larger the swap relative to the pool, the stronger the price impact.
Data
Educational simulation of a constant-product pool (Uniswap v2 model, 0.3% fee). Fictional reserves.
More infographics
- BitcoinTokenomics Interactive
Bitcoin: halvings and the road to 21 million
Every 210,000 blocks, the miner reward is cut in half. Explore each era and the cumulative issuance.
Published on 22 November 2026Open infographic - How blockchains work Interactive
Why a blockchain is tamper-evident
Each block stores the fingerprint of the previous one. Edit a block and watch the chain break — with real SHA-256.
Published on 22 November 2026Open infographic - Wallet security Interactive
Wallet security: 6 essential habits
Recovery phrase, hardware wallet, approvals, phishing: an interactive checklist to protect your assets.
Published on 22 November 2026Open infographic