Guide
Explaining Liquidity Pools and Automated Market Makers (AMMs)
How constant-product and related AMM formulas price swaps, how LPs earn fees, and why impermanent loss appears when prices move.
2026-03-28 · 5 min read · 612 words
Pools instead of order books
An AMM replaces the traditional exchange order book with a liquidity pool: reserves of two or more tokens locked in a smart contract. Traders swap against the pool; the algorithm quotes a price based on reserve ratios. Liquidity providers (LPs) deposit tokens and receive LP tokens representing their share.
The classic constant-product rule (x·y=k) raises the price of the asset being bought as reserves skew. Larger trades relative to pool size suffer worse slippage. Fee tiers (for example 0.05% or 0.3%) compensate LPs for inventory risk—the AMM fee tier you pick should match expected volatility.
Concentrated liquidity designs let LPs choose price ranges. Capital is more efficient in-range and earns nothing (or is all in one asset) when price leaves the range—active management, not set-and-forget.
What LPs are actually paid for
LP yield comes primarily from swap fees (and sometimes incentives). It is not free money: you hold a changing basket of assets. If one side moons, you end up with less of the winner than if you simply held—impermanent loss (better: divergence loss). Worked intuition lives in IL with real numbers.
Incentive emissions can subsidize LPs temporarily. When emissions end, fee APR may not cover divergence risk. Always separate fee APY from reward APY in your notes.
Risk: adding liquidity to a pool with a honeypot token or unlocked LP owned by a deployer is how rugs happen. Inspect pool contracts and LP ownership on a block explorer.
Traders: slippage, MEV, and approvals
Traders set slippage tolerance to allow price movement during inclusion. Too tight and swaps revert (still costing gas); too loose and you overpay or get sandwiched. Public mempools enable MEV sandwiching on some networks—DEX hygiene.
Approve routers carefully; revoke unused allowances. Prefer reputable front-ends and verified routers. On L2s, fees are lower but contract risk remains.
Compare pool depth before swapping sizeable amounts. A 1% price impact on a meme pool is a different decision than on a deep stable pair.
Where AMMs fit in the GetFreeBit stack
AMMs are how many users convert faucet or farming proceeds on-chain without a CEX. They also underpin stablecoin swaps and LSD liquidity. Understand the mechanism before providing liquidity for “yield.”
If you need fiat, you may still exit via centralized venues after swapping to a major—first CEX setup. Hybrid workflows are normal.
Bottom line: liquidity pools and AMMs automate market making with formulas and fees. Traders buy convenience; LPs sell inventory risk. Price both sides honestly.
Pool types, oracles, and when not to LP
Stable-swap curves differ from constant-product pools: they keep prices tighter for similarly pegged assets but can still break when a constituent depegs. Volatile pairs need wider fees or concentrated ranges. Matching pool type to asset behavior is the first LP skill.
Some protocols use TWAP oracles derived from AMM prices. Thin or manipulable pools can feed bad prices into lending liquidations elsewhere—another reason deep liquidity and honest market structure matter beyond your personal swap.
Do not provide liquidity just because a farm shows triple-digit APR. Emissions can mask impermanent loss until you withdraw and notice you underperformed holding. If you cannot explain your inventory risk in one sentence, you are not ready to LP that pair—review IL with real numbers.
Traders should size against depth, set slippage consciously, and prefer limit or intent systems when available for large orders. AMMs shine for permissionless access; they are not always the best execution venue for size. Always verify the pool’s token contract addresses before depositing.
GetFreeBit earns a referral commission when you register via our verified partner links at no additional cost to you.