What Is Liquidity? How to Calculate Crypto Liquidity in 2026
A practical guide to liquidity in Solana DeFi: pool depth, slippage math, impermanent loss, and the constant product formula with worked examples.

Most people guess at liquidity. They look at a pool, see a big TVL number, and assume their swap will go through clean. Then they push 5,000 USDC at a small token, watch the price move 8 percent against them, and learn the hard way that a pool's headline value has very little to do with how much actual room it gives a trader.
Liquidity is the room. It is the answer to a single question: how much can I move in or out before the price refuses to cooperate? On Solana that question has a real, calculable answer, and the math is friendlier than it looks.
This guide walks through the concept, the four metrics that matter, the constant product formula that powers most AMM pools, the twist that concentrated liquidity adds, and the practical decisions an LP and a trader make from the same numbers. Bring a calculator if you want, but the point is intuition.
1. What liquidity actually means
The textbook definition is dry: liquidity is the ability to convert an asset into another asset (usually the quote currency) at or near the prevailing market price, fast, and without moving that price. In traditional finance you measure it through bid-ask spread and order book depth. A market maker stands ready on both sides, and the depth you see in the book is the depth you get.
DeFi rewrote that. There is no order book on Raydium or Orca. There is a pool. The pool holds two assets, and a deterministic formula decides what comes out for what goes in. The deeper the pool, the less the formula bites you. The shallower the pool, the more the formula owns you.
On Solana you will run into two flavors:
- AMM pools with a single, uniform liquidity curve. Raydium standard pools, classic Meteora pools, Orca's older pools, PumpSwap. The math is the constant product formula, x times y equals k.
- CLMM pools where liquidity is concentrated inside a chosen price range. Raydium CLMM, Orca Whirlpool, Meteora DLMM. Same idea, different math, much higher capital efficiency when the price stays in range.
Liquidity is not the money in the pool. It is how much price movement that money buys you for a given trade size. A $10M pool with a thin live range can be tighter than a $1M pool with a wide one.
2. The four metrics that describe a pool
If you remember nothing else, remember these four. They are the lens through which every Solana DEX dashboard makes sense.
a. TVL (Total Value Locked)
The dollar value of everything sitting in the pool, both sides combined.
TVL = base_amount × base_price + quote_amount × quote_price
Example pool, SOL/USDC at SOL price of $92.61:
TVL = 1,000 × $92.61 + 92,610 × $1.00
= $92,610 + $92,610
= $185,220
TVL is a flat number. It tells you the pool exists and roughly how big it is. It tells you nothing about how that liquidity is distributed across price ranges, which is what matters for your trade.
b. Pool depth
The largest trade you can make at a given slippage tolerance. The standard reference is "depth at 1 percent slippage," because that is the number professional desks quote each other.
For a balanced AMM pool with $92,610 of quote-side liquidity, the rough depth at 1 percent slippage is about $925. Want to push $10,000 through? You will pay closer to 9 to 10 percent. The pool does not care that its TVL is $185k. It cares about its constant product.
c. Slippage and price impact
Slippage is the gap between the price you saw quoted and the price your trade actually executed at. Price impact is the same idea seen from the other side: how much your trade alone moved the pool's mid-price.
The same pool, three different trade sizes:
| Trade size (USDC) | Quoted SOL | Actual SOL | Slippage |
|---|---|---|---|
| 100 | 1.0800 | 1.0790 | 0.10% |
| 1,000 | 10.8000 | 10.6900 | 1.06% |
| 10,000 | 108.0000 | 98.9000 | 9.10% |
Notice the curve. Doubling your trade size does not double your slippage. It compounds. This is the constant product formula doing what it does, and it is why splitting a large order into smaller ones over time is a real trading strategy, not a meme.
d. 24-hour volume divided by TVL
The healthiest single ratio for "is this pool actually used." Take 24h volume, divide by TVL. A ratio above 0.5 says the pool turns over actively, which usually means tighter spreads and real arbitrage keeping the price honest. A ratio below 0.05 says the pool is parked capital nobody is touching, and the price you see may be stale by hours.
Pools with high TVL and low Volume/TVL ratio are common LP traps. The yield looks attractive on paper, the impermanent loss arrives anyway, and the fees never catch up.
3. The constant product formula, with worked math
This is the engine. Most Solana AMMs run on it, and the rest are variations. The formula is short:
x × y = k
Here x is the amount of the base asset (say, SOL) in the pool. y is the amount of the quote asset (say, USDC). k is a constant the pool keeps invariant across swaps, which is what enforces the curve.
When a trader pushes N units of the quote asset into the pool, the pool releases enough base asset that k stays the same. The amount the trader receives is:
amount_out = x − ( k / (y + N) )
Let's run our SOL/USDC pool through it. Starting state:
x = 1,000 SOL
y = 92,610 USDC
k = 1,000 × 92,610 = 92,610,000
A trader swaps in 1,000 USDC. New quote-side balance is 93,610. Solving for the new SOL balance:
x_new = k / (y + N) = 92,610,000 / 93,610 = 989.31 SOL
amount_out = 1,000 − 989.31 = 10.69 SOL
The mid-price before the trade was 92.61 USDC per SOL. The effective price the trader actually got was 1,000 / 10.69 = 93.55 USDC per SOL. Slippage:
(93.55 − 92.61) / 92.61 = 1.01%
That is 1 percent of friction on a $1,000 trade against a $92,610 quote-side pool. The math has no opinion. It just runs the curve.
4. Concentrated liquidity changes the rules
CLMM pools (Raydium CLMM, Orca Whirlpool, Meteora DLMM) let LPs say: "I am providing liquidity only between price A and price B." Inside that range the LP earns full fees. Outside that range, the LP holds 100 percent of one asset and earns nothing until the price comes back.
The capital efficiency gain is large. A CLMM range from $90 to $95 SOL/USDC gives the LP roughly 10 to 50 times the effective depth of a uniform AMM pool with the same TVL, because all the liquidity is packed where the price actually trades. The downside is that going out of range turns the position into a directional bet you did not intend to make.
The tradeoff in one table:
| Range width | Fee capture | IL exposure | Out-of-range risk |
|---|---|---|---|
| Very narrow (±2%) | Highest | Highest | Constant rebalancing |
| Moderate (±10%) | Strong | Moderate | Manageable |
| Wide (±50%) | Modest | Mild | Rare |
| Full range | Equivalent to AMM | AMM-equivalent | Never |
If you are starting out, wide ranges are forgiving. If you are running an active position, narrow ranges with a rebalance plan beat passive ones, but only if you actually rebalance. A narrow range nobody touches is the worst of both worlds.
5. Impermanent loss, calculated honestly
Impermanent loss is the gap between holding two assets in a pool and just holding them in your wallet. The math is exact. For a price ratio p (new price divided by entry price), IL is:
IL = ( 2 × √p / (1 + p) ) − 1
The function is symmetric: a 2x move up costs you the same as a 2x move down. And it is mild for small moves, painful for large ones.
| Price change | p | IL |
|---|---|---|
| +25% | 1.25 | −0.6% |
| +50% | 1.50 | −2.0% |
| 2x | 2.00 | −5.7% |
| 3x | 3.00 | −13.4% |
| 4x | 4.00 | −20.0% |
| 5x | 5.00 | −25.5% |
IL is not a loss against your entry. It is a loss against the simple HODL alternative. A pool that paid you 12 percent in fees during a 2x move on the asset still left you with about 6 percent net versus holding. Whether that is a win depends entirely on the fees, not on the IL number alone.
The honest LP question is never "what is my IL." It is "did fees plus rewards outpace IL given how much the price actually moved." For CLMM positions inside a tight range, fees usually win by a wide margin if the price respects the range. For wide passive positions on a volatile asset, fees usually lose.
6. Calculating an LP position's value
Standard AMM pools give you LP tokens that represent your share of the pool. The value of the position is mechanical:
user_share = user_LP_tokens / total_LP_supply
user_value = user_share × pool_TVL
If the pool's TVL is $500,000 and you hold 1.5 percent of the LP token supply, your position is worth $7,500 right now, split across both assets in the pool's current ratio. Add accrued fees, subtract IL versus your entry, and you have your real return.
For CLMM positions there is no LP token. Each position is an NFT with its own range and liquidity amount. The math is the same in spirit (your share, your fees, your IL) but the position is not fungible, and the value depends on whether the current price is inside or outside your range. Most CLMM dashboards show the value broken down already, so the practical work is reading the breakdown rather than computing it.
7. Picking a pool: a decision matrix
If you are deciding where to provide liquidity or where to route a trade, run the candidates through this set of filters:
| Check | Pass | Fail |
|---|---|---|
| TVL for active use | Above $500k | Below $100k means high slippage even on small trades |
| Volume / TVL ratio | Above 0.5 daily | Below 0.05 means the pool is parked, not traded |
| Fee tier match | 0.30% for volatile pairs, 0.05% for stables, 1% for long-tail | 0.30% on a stable pair will lose to a 0.05% competitor pool |
| Range positioning (CLMM) | Range covers the realistic 7-day price band | Range too tight without a rebalance plan |
| Concentration | Top 5 LPs hold less than 50% | Whale-dominated pools rug their own depth on exit |
For the fee tier specifically: a stablecoin pair (USDC/USDT) on a 0.30 percent tier is leaving most of its volume to the 0.05 tier next door. A long-tail token with a 0.30 percent tier and no 1 percent option is undercharging for its own volatility. The fee tier is part of the pool's product positioning, not a small detail.
8. Doing the actual operations on J Tools
The math above is what tells you whether to act. The action itself runs through a small number of dedicated screens.
To open a brand new pool with a custom token, the launch a new liquidity pool tool walks through pair selection, initial price, and depth in one flow. It is the right starting point for a fresh token deploy where you control the first liquidity event and want it on the book at a known price.
For an existing pool you already have a position in, the add and remove liquidity screen handles the deposit and withdrawal sides on Raydium and Meteora pools without you bouncing across multiple DEX UIs.
If the goal is to ship a token and seed real volume in the same operation, create the pool and execute the first buy bundles both into a single transaction. That matters because two separate transactions give a sniper bot a free shot at the gap between them.
Before you commit to any of the above, the math from sections 2 and 3 says you should test the slippage curve at the trade sizes you actually plan to run. The batch swap planner across multiple pools lets you stage a sequence of swaps at different sizes and see the realized slippage before committing real capital. Treat it as a depth probe, not just an execution tool.
9. Common mistakes
- Reading TVL as liquidity. A pool with $10M TVL spread across a wide CLMM range can be thinner around the current price than a $1M pool tightly ranged. Always check depth at your trade size.
- Reading IL as a loss. IL is a comparison against HODL, not against your entry. The right question is whether fees and rewards beat IL given the price move.
- Treating tight CLMM ranges as low risk. A 2 percent range gives the highest fees and the worst out-of-range outcomes. It is high-touch by design. If you cannot babysit it, do not pick it.
- Ignoring volume to TVL. A high-TVL pool nobody trades is parked capital. The yield will not show up because the volume is not there to generate fees.
Before any LP decision, write down two numbers: the realistic 30-day price range, and the daily volume you expect. Pick a pool whose fee tier and concentration match both. If you cannot fill in either number, you are not ready to LP that asset yet.
10. The shorter version
Liquidity is not money. Liquidity is room. The four metrics (TVL, depth, slippage, volume to TVL) tell you how much room a pool gives you. The constant product formula says exactly how that room shrinks as your trade gets bigger. Concentrated liquidity buys you efficiency at the cost of needing a view on price. Impermanent loss is real but it is a comparison, not a loss against entry.
Run the numbers before you commit capital, on either side of the trade. The numbers do not lie, and they are easy enough to do on a phone. For more on the broader DeFi mechanics, the guides category covers tooling and strategy at the same level of depth, and the Solana-tagged archive groups every chain-specific writeup in one place.


