Liquidity Bin
A liquidity bin is a discrete price range within an AMM where liquidity providers concentrate their capital.
Key Takeaways
- A liquidity bin is a single discrete price point within a bin-based AMM where liquidity providers deposit capital. Unlike traditional AMMs that spread liquidity across an infinite price curve, bin-based designs let LPs target exact prices.
- Only the active bin (the one at the current market price) earns trading fees. Swaps within a single bin execute with zero slippage because each bin functions as a constant-sum pool.
- Bin-based AMMs offer a simpler mental model than tick-based concentrated liquidity designs, but LPs face the same core tradeoff: narrower positioning means higher fee income per dollar but greater impermanent loss risk.
What Is a Liquidity Bin?
A liquidity bin is a discrete price slot in a decentralized exchange that uses bin-based concentrated liquidity. Instead of depositing tokens across an entire price curve (as in Uniswap V2-style liquidity pools), providers choose specific price bins to fund. Each bin holds liquidity at a single fixed price, and only the bin matching the current market price is active for trading.
The concept was popularized by Trader Joe's Liquidity Book protocol on Avalanche and has since been adopted by other protocols, including Meteora's DLMM on Solana. These protocols describe their approach as "discretized liquidity": the continuous price curve of a traditional AMM is replaced by a staircase of individual price points, each represented by a bin.
Liquidity bins improve capital efficiency by letting LPs focus their tokens exactly where trading happens, rather than allocating capital to price ranges that may never see volume.
How It Works
A bin-based AMM divides the price space for a trading pair into thousands of discrete bins. Each bin corresponds to a specific price, and the prices follow a geometric progression determined by the pool's bin step parameter.
Bin Pricing Formula
The price of each bin is calculated using the bin step (measured in basis points) and the bin's index:
P(i) = (1 + binStep / 10000) ^ i
// Example: bin step of 25 basis points (0.25%)
// Bin 0: price = 1.0000
// Bin 1: price = 1.0025
// Bin 2: price = 1.0050
// Bin 3: price = 1.0075
// With SOL at $20 and a 25 bp step:
// Active bin: $20.00
// Next bin: $20.05 (20.00 × 1.0025)
// Next bin: $20.10 (20.05 × 1.0025)Because the step compounds, the absolute price gap between bins grows as the price rises. A 25 basis point step means each bin is approximately 0.25% apart from its neighbor, but the dollar-denominated gap widens at higher prices.
Constant-Sum Liquidity Within a Bin
Inside a single bin, liquidity follows a constant-sum formula rather than the constant-product (x × y = k) model used by traditional AMMs:
L = P * x + y
// L = total liquidity in the bin
// P = bin price (fixed)
// x = amount of token X
// y = amount of token YBecause the price within a bin is fixed, swaps that execute entirely within one bin have zero price impact. The price only changes when a trade depletes one side of the active bin and forces trading to move to the next bin. This is fundamentally different from constant-product AMMs, where every swap moves the price.
Active Bin and Single-Sided Deposits
At any given time, only one bin is considered "active": the lowest-priced bin containing reserves of both tokens. This bin determines the current market price and is the only bin earning trading fees.
- Bins above the active bin hold only one token (the quote asset), since the price has not yet risen to reach them
- Bins below the active bin hold only the other token (the base asset), since the price has already passed through them
- LPs can make single-sided deposits into bins above or below the active price, effectively placing limit orders that activate when the market reaches that bin
When the active bin's reserves of one token are fully depleted by a trade, the protocol shifts the active bin to the next one in sequence, and the price adjusts accordingly.
Fees and Fungible Receipts
Fees in bin-based AMMs are paid to the specific bins that facilitated the trade, not distributed across all positions. Most implementations use a two-part fee structure:
- A base fee set by the pool creator (similar to Uniswap V3's fee tiers)
- A variable fee driven by a volatility accumulator that tracks how rapidly the active bin is shifting, increasing fees during volatile periods to compensate LPs for higher risk
LP deposits are tracked using ERC-1155 tokens (or equivalent standards on non-EVM chains), where each token ID maps to a specific bin. These receipts are fungible within the same bin, meaning all depositors in bin #500 hold interchangeable tokens.
Bins vs. Uniswap V3 Ticks
Both liquidity bins and Uniswap V3's tick-based system are forms of concentrated liquidity, but they differ in structure. Understanding the distinction helps LPs choose which model fits their strategy.
| Feature | Liquidity Bins (Liquidity Book) | Ticks (Uniswap V3) |
|---|---|---|
| Price model | Discrete: each price maps to exactly one bin | Continuous: LPs set custom ranges between any two ticks |
| In-range formula | Constant-sum (zero slippage within a bin) | Concentrated constant-product (some slippage always) |
| Price impact | Occurs only when crossing between bins | Occurs on every swap, scaled by liquidity depth |
| LP token | Fungible ERC-1155 per bin | Non-fungible ERC-721 per position |
| Mental model | Placing orders at specific price levels (like an order book) | Providing liquidity across a price band |
The bin model is often described as simpler because LPs think in terms of individual price levels rather than abstract ranges. Each bin is self-contained, and its fungible receipts make it easier to compose with other DeFi protocols. Learn more about how Uniswap V4 hooks are evolving the concentrated liquidity design.
LP Strategies for Bin Placement
The choice of how many bins to fund and where to place them is central to LP performance in a bin-based DEX. Protocols like Trader Joe offer preset strategies to simplify this decision:
Concentrated (Spot)
Liquidity is deposited into a handful of bins tightly clustered around the current price. This maximizes fee income per dollar of capital because all liquidity is active. It works best for stable pairs (such as stablecoin-to-stablecoin pools) where the price rarely deviates. The risk is that even a small price movement can push the market outside the funded bins, leaving the LP earning nothing and exposed to impermanent loss.
Curve
Liquidity is distributed in a bell-curve shape: most capital sits near the active bin, with decreasing amounts in bins further from the price. This resembles the depth profile of a traditional order book. It balances fee generation with resilience to moderate price swings.
Wide and Ultra-Wide
Liquidity is spread across 50 to 200 or more bins, covering a broad price range. This is the most passive strategy: it requires minimal monitoring and tolerates large price movements. The tradeoff is lower fee income per dollar because most of the capital sits in inactive bins at any given time.
Bid-Ask
The inverse of the Curve strategy: less liquidity near the active price and more in bins further away. This positions the LP to capture fees during sharp price moves rather than during calm trading. It suits highly volatile pairs where directional moves are common.
Use Cases
Stablecoin Pools
Stablecoin pairs like USDC/USDT trade in an extremely tight range, often within a fraction of a percent. A bin step of 1 basis point with concentrated placement means nearly all deposited capital is active and earning fees. This makes bin-based AMMs popular for stablecoin swaps, where capital efficiency translates directly into tighter spreads for traders and higher yields for liquidity providers.
Volatile Pair Trading
For pairs with frequent price movement, LPs can use wider bin steps (50 to 100 basis points) and broader distributions. The variable fee component helps compensate for the increased impermanent loss risk during volatile periods. Protocols like Trader Joe have demonstrated high volume-to-TVL ratios: the Liquidity Book achieved $118 million in daily volume with just $31 million of TVL during peak activity, illustrating the capital efficiency gains.
Single-Sided Limit Orders
Because bins above or below the active price hold only one token, LPs can deposit a single asset into a target bin and wait for the market price to reach it. This functions similarly to a limit order on a centralized exchange. When the price arrives and passes through the bin, the deposited token is swapped for the other asset, and the LP earns fees in the process.
Liquidity Bootstrapping
New token launches can use bin-based pools to set an initial price and let the market discover fair value as trading moves through bins. The discrete bin structure makes it easy for project teams to seed liquidity at specific price levels without needing to define a complete bonding curve.
Risks and Considerations
Impermanent Loss Amplification
Concentrating liquidity into fewer bins amplifies impermanent loss. When the price moves outside a narrow set of bins, the LP is fully converted into the less valuable token and earns zero fees until the price returns. The tighter the positioning, the faster this conversion happens and the larger the loss relative to simply holding the tokens.
Active Management Requirements
Narrow bin strategies require frequent rebalancing. If the price drifts away from an LP's funded bins, they must withdraw and redeploy liquidity to stay active. This involves gas costs, potential MEV exposure during rebalancing transactions, and the operational complexity of monitoring positions. Automated vault protocols exist to manage this, but they introduce additional smart contract risk.
Bin Step Selection Risk
Choosing the wrong bin step for a trading pair can lead to poor outcomes. A bin step that is too narrow for a volatile pair means the active bin shifts constantly, generating excessive rebalancing costs. A bin step that is too wide for a stable pair wastes capital in unused price space. Pool creators set the bin step at deployment, and it cannot be changed afterward for that pool.
Discrete Price Limitations
Because prices can only take the value of a bin (not values between bins), the actual execution price for large trades follows a staircase pattern. Traders experience zero slippage within a bin but a discrete jump when crossing to the next. For large orders that span many bins, the effective execution price may differ from the displayed market price more than it would on a continuous-curve AMM.
Smart Contract and Composability Risk
Bin-based AMMs are newer and less battle-tested than established designs like Uniswap V2. The added complexity of bin tracking, fungible receipt tokens, and variable fee calculations introduces a larger smart contract attack surface. LPs should verify that the protocol has been audited and consider the maturity of the codebase before committing significant capital.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.