Liquidity Pools and LP Tokens on Solana, Explained
What a liquidity pool is, how it prices trades, what LP tokens and positions are, how providers earn fees and lose to impermanent loss, and what adding or removing does.
By Solana Token Creator ·
What is a liquidity pool? It is a smart contract account that holds two tokens and lets anyone swap one for the other at a price set by a formula, with no buyer or seller on the other side. Liquidity pools are how almost every new token on Solana becomes tradable, and LP tokens are the receipts that say who owns the liquidity inside. This guide explains both in plain terms, with Solana examples: how a pool prices trades, what LP tokens and positions are, how providers earn and lose, and what adding or removing liquidity actually does.
What is a liquidity pool?
A stock exchange matches buyers with sellers in an order book. That needs many active traders on both sides, which a brand new token does not have. A liquidity pool solves this by replacing the other side of every trade with a pot of two tokens, for example a new token and SOL. The program that runs the pool, called an automated market maker or AMM, quotes a price from the ratio between the two and fills any trade instantly.
Most pools use the constant-product rule: the amount of one token multiplied by the amount of the other stays the same after each swap, before fees. A worked example:
- A pool holds 100 SOL and 1,000,000 tokens, so one token costs 0.0001 SOL.
- Someone buys with 10 SOL. The pool now holds 110 SOL, so to keep the product the same it can hold only about 909,091 tokens. The buyer receives about 90,909.
- The new price is about 0.000121 SOL per token. The buyer paid an average of 0.00011: the gap is price impact, and it is smaller in a deeper pool. It is also what a liquidity too low warning is about.
That is the whole mechanism behind crypto liquidity pools on any chain. On Solana the main venues are Raydium, Meteora and Orca, and a new token usually gets its first pool on one of them right after it is made with a Solana token creator. Our guide on what a Raydium pool is shows how that first pool sets the starting price.
Who puts liquidity in a pool, and why?
Anyone can deposit both tokens into a pool and become a liquidity provider, or LP. Every swap pays a small fee, and that fee goes to the providers in proportion to their share. For a new token, the first and often only provider is the creator, who seeds the pool to make the token tradable. Later, holders and traders may add liquidity to earn fees.
What are LP tokens?
When you deposit into a standard pool, the pool mints you LP tokens, short for liquidity provider tokens. They are an ordinary token whose share of the total LP supply equals your share of the pool. Deposit enough to own 10% of the pool and you hold 10% of its LP tokens.
- They are redeemable. Return LP tokens to the pool and it pays out your share of both tokens as they stand now.
- They grow with fees. On pools where fees are added to the pool itself, each LP token is backed by a little more over time.
- They are transferable. Whoever holds them owns the liquidity, which is why the creator's LP tokens matter so much to buyers.
- They can be locked or burned. Lock them and nobody can redeem them; burn them and they stop existing, leaving the liquidity in the pool for good.
Three ways Solana pools record your share
Not every pool uses LP tokens, and the difference changes what you can do later. Our CPMM, CLMM and AMM v4 comparison goes into more detail.
LP tokens (Raydium CPMM and Raydium AMM v4)
Fungible LP tokens, as above. Trading fees compound into the pool, and there is nothing to open or close: you can hold any amount, add more or redeem some.
Positions (Meteora DAMM v2)
Your liquidity sits in a position represented by an NFT in your wallet. Fees build up on the position separately and are claimed from it. Your first deposit opens a position, and its account rent comes back when the position closes.
Concentrated positions (Raydium CLMM)
Each position has a minimum and maximum price and only earns fees while the price is between them. You can hold several positions in one pool. A position whose range no longer includes the current price holds only one of the two tokens.
How do liquidity pools make money for providers?
Only through trading fees. If a pool charges 0.25% and trades 1,000 SOL in a day, about 2.5 SOL of fees are paid that day, most of it to the providers after any protocol share. Your cut is your share of the pool. More volume and a higher fee tier mean more income; a quiet pool earns almost nothing.
What is impermanent loss?
Impermanent loss is the gap between keeping your two tokens in a pool and simply holding them in your wallet. When the price of one token moves, traders rebalance the pool, so you end up with more of the token that fell and less of the one that rose. The table shows the loss against holding, before fees, for a standard constant-product pool:
| Price change of one token | Value vs just holding |
|---|---|
| Price halves (0.5x) | -5.7% |
| Price doubles (2x) | -5.7% |
| Price x4 | -20% |
| Price x10 | -42.5% |
It is called impermanent because it shrinks again if the price returns to where it was. It becomes real when you withdraw. On Solana, impermanent loss is largest in pools of new tokens, whose prices can move many times over in a day. Fees earned can offset it, but only when volume is high. Concentrated positions magnify both: more fees in range, more loss when the price moves.
What are the risks of liquidity pools?
- Impermanent loss, as above.
- The token itself. If one side of the pool goes to zero, providers are left holding it. A pool does not make a token worth anything.
- The liquidity being pulled. If the creator holds unlocked LP tokens, they can withdraw the pool, leaving holders unable to sell. That is why buyers check whether the LP is locked or burned.
- Program risk. Pools run on code; well used, audited programs reduce but do not remove that risk.
- Transfer taxes. If either token has a Token-2022 transfer fee, deposits and withdrawals pay it.
How to add liquidity on Solana
Adding means depositing both tokens at the pool's current ratio and receiving LP tokens or a position in return. To add liquidity on Solana with our tool:
- Choose the pool. Connect your wallet and the tool lists the pools you already hold liquidity in, up to 12 per pool type, or paste any pool address.
- Type one amount. The other side follows the pool's ratio, so your deposit does not move the price. The form shows your share of the pool afterwards.
- Pick a slippage tolerance: how far the ratio may shift before the deposit is refused rather than going in at a worse ratio.
- Review and sign. The review lists both amounts, your new share, any rent the deposit opens and our fee of 0.05 SOL.
On a concentrated pool you also choose a range: full range behaves like a standard pool, while a custom range earns more while the price stays inside it and nothing once it leaves. If today's price sits outside your range, only one token goes in.
How to remove liquidity, and what comes back
Removing liquidity hands your LP tokens or position back to the pool in exchange for your share of both tokens as they are now, which may be a different mix from what you put in. To remove liquidity here, pick the pool (and the position on a concentrated pool), choose 25%, 50%, 75%, 100% or any share, set slippage and sign. Our fee is 0.05 SOL. Slippage choices are 0.5%, 1%, 2%, with 1% by default.
What happens to earned fees depends on how the pool records your share:
| Pool model | Partial withdrawal | 100% withdrawal |
|---|---|---|
| LP tokens (Raydium CPMM, AMM v4) | Fees are already inside what comes back | Same, nothing to close |
| Position (Meteora DAMM v2) | Liquidity comes out; fees stay in the position | Fees come out, the position closes and its rent is refunded |
| Concentrated (Raydium CLMM) | Fees and any farm rewards are paid out | Fees paid out, the position closes and its rent is refunded |
Locked and burned LP tokens
Because whoever holds the LP tokens can withdraw the liquidity, creators of new tokens often give that ability up on purpose. A lock keeps the liquidity in the pool forever while the owner keeps collecting its fees. A burn destroys the LP tokens, so the liquidity stays with nobody able to claim it or its fees. Locked or burned liquidity cannot be removed by anyone, and our remove tool counts only the unlocked part. You can burn LP tokens or lock them for a flat 0.05 SOL. The trade-offs of locking LP versus burning it are covered in their own guide.
Frequently asked questions
Can you lose money in a liquidity pool?
Yes. Impermanent loss, a token losing its value, or a creator pulling unlocked liquidity can all leave you with less than you put in. Fees help only when volume is high.
How do you invest in liquidity pools?
You deposit both tokens of a pair into a pool and hold the LP tokens or position you get back. Pick well used pools, understand impermanent loss first, and start small. Nothing here is financial advice.
What is the difference between a liquidity pool and staking?
Staking locks one token to help secure a network or protocol and pays rewards in that token. A liquidity pool takes two tokens, pays you from trading fees and exposes you to their price moving against each other.
Can I add liquidity to a pool someone else created?
Yes. Paste the address of any supported pool. Your deposit gets its own share like anyone else's.
Does the site ever hold my tokens?
No. Our server builds each transaction, and your wallet signs it. Tokens move straight between your wallet and the pool program.