What Is a Liquidity Pool?

A liquidity pool is a smart contract holding token reserves that enables decentralized trading without order books or counterparties. This post explains the constant product formula, impermanent loss, pool depth, and how concentrated liquidity changed the model.
Lewis Jackson
CEO and Founder

Before decentralized exchanges existed, trading on a blockchain meant finding someone willing to take the other side of your trade. That's how traditional order books work: buyers and sellers post offers, a matching engine pairs them, and a trade happens. It's efficient when enough participants exist but breaks down without volume. Thin markets mean wide spreads and slow execution.

Liquidity pools solved this with a different approach: replace the counterparty with a smart contract. Instead of matching you against a human seller, you trade against a reserve of tokens locked in code. The pool is always available, the price adjusts algorithmically, and anyone can provide the capital. Understanding how this actually works — and where it breaks down — is the foundation for understanding most of DeFi.

How Liquidity Pools Work

A liquidity pool typically holds two tokens in a smart contract. The simplest version: a pool containing ETH and USDC. Anyone wanting to swap ETH for USDC (or vice versa) sends their tokens to the pool and receives the other in return.

The price isn't set by an order book. It's determined by a formula. The most common is the constant product formula: x × y = k, where x is the quantity of one token, y is the quantity of the other, and k is a constant that must remain unchanged after every trade.

In practice: if the pool holds 100 ETH and 200,000 USDC, k = 20,000,000. Someone wants to buy 1 ETH. They're removing ETH from the pool, which means they need to add USDC to maintain k. The math determines exactly how much USDC they must pay — and crucially, the more they buy, the worse their price gets, because each purchase shifts the ratio further. This price impact is what DeFi calls slippage.

The people depositing tokens into the pool are liquidity providers (LPs). They deposit both tokens in proportion (you can't just deposit ETH — you need to match the current ratio). In return, they receive LP tokens representing their share of the pool. Every swap generates a small fee — typically 0.3% on Uniswap — which accumulates in the pool. When LPs withdraw, they receive their proportional share including accumulated fees.

Where Constraints Live

The mechanism is elegant, but several constraints shape how it behaves in practice.

Impermanent loss is the most misunderstood cost. When you deposit tokens, you're locked into a ratio. If the price of one token changes significantly relative to the other, you'd have been better off just holding the tokens individually. The "loss" is the difference between what you'd have if you'd just held versus what you actually have after the price moved. It's called "impermanent" because if prices return to their original ratio, the loss disappears — but if they don't, it's realized when you withdraw.

The math is asymmetric and counterintuitive. A 2x price increase in one token creates a roughly 5.7% impermanent loss. A 5x increase creates roughly 25% loss. Whether fee income compensates depends on trading volume in the pool.

Pool depth determines price impact. A small pool gets moved by small trades. A $10,000 swap against a $100,000 pool creates significant slippage. A $10,000 swap against a $100 million pool is nearly invisible. This is why liquidity concentration matters — and why protocols compete to attract LP capital.

Smart contract risk is direct. The tokens aren't held in a traditional custody arrangement. They're locked in code. If that code has a vulnerability, the tokens can be stolen with no recourse. Hundreds of millions of dollars have been lost to DeFi exploits. Audit reports reduce risk; they don't eliminate it.

The pool requires both tokens to function. If LPs withdraw heavily from one side, the ratio becomes extreme, pricing deteriorates, and eventually the pool becomes unusable. This is why sustained liquidity requires ongoing incentives or organic demand from fees.

What's Changing

The original constant product model has been significantly extended.

Concentrated liquidity, pioneered by Uniswap v3, lets LPs specify price ranges for their capital. Instead of spreading liquidity across all possible prices from zero to infinity, providers can focus their capital between specific bounds — say, ETH priced between $2,000 and $4,000. Within that range, their capital is far more efficient, earning proportionally more fees. Outside the range, it earns nothing. This dramatically improved capital efficiency but also introduced active management requirements: LPs need to monitor and rebalance positions as prices move.

Stable swap variants (Curve Finance's model) use a different formula optimized for assets expected to trade near parity — stablecoins or liquid staking tokens. The curve formula maintains tighter prices around parity and makes large stablecoin swaps much more efficient than the constant product model would allow.

Multi-token pools extend the two-token model to baskets — Balancer's weighted pools, for instance, hold multiple tokens at configurable ratios and rebalance automatically as prices shift, acting somewhat like an on-chain index fund with fees.

Automated liquidity management is emerging: protocols and bots that actively rebalance concentrated LP positions, effectively outsourcing the complexity to professional market makers while using the same underlying pool infrastructure.

What Would Confirm This Direction

Confirmation signals: continued growth in concentrated liquidity adoption on Layer 2 networks where gas costs make active management viable, increasing share of stablecoin volume routed through stable swap pools rather than general AMMs, LP fee income from organic volume (not token emissions) sustaining meaningful yields for passive providers without incentive programs.

What Would Break or Invalidate It

The model has real failure modes. A critical smart contract vulnerability in a major pool contract could drain billions instantly — it's happened before at smaller scale. Regulatory action prohibiting liquidity provision by individuals in major jurisdictions would significantly reduce LP participation. A more fundamental invalidation: if order-book-based DEXs achieve comparable decentralization with better pricing, the AMM model loses its structural advantage. Intent-based architectures, where professional solvers find optimal paths across all available liquidity, may also route around individual pools rather than through them directly.

Timing Perspective

Now: Liquidity pools are the core infrastructure of DeFi. Major pools on Uniswap, Curve, and Balancer handle billions in daily volume. For most retail-scale swaps on established chains, they work reliably. Impermanent loss remains a real cost that requires attention.

Next: Concentrated liquidity has become standard; Layer 2 deployment is making active LP management more practical. The question is whether fee income from organic trading volume sustains LP participation without ongoing token emission subsidies.

Later: Intent-based settlement and professional market maker infrastructure may abstract individual pool interactions for end users, while pools persist as underlying settlement venues.

Boundary Statement

This is an explanation of the mechanism — how liquidity pools work, how prices are determined, and what costs LPs face. It doesn't constitute advice on which pools to provide liquidity to, how to evaluate impermanent loss against fee income in specific conditions, or whether any particular protocol's smart contracts are safe. Those assessments depend on factors outside this scope.

The mechanism works as described. Whether providing liquidity makes sense for a given situation requires evaluating current pool depth, fee tiers, price volatility of the paired assets, and the smart contract's audit history.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.