DEX LP Guide + IL Math

What You Will Accomplish
You will learn to deploy capital as a liquidity provider on Uniswap V3, select fee tiers based on volatility expectations, set concentrated liquidity ranges, and calculate whether fee income will offset impermanent loss. This is not a passive income strategy. It is an active position requiring ongoing monitoring and a clear understanding of when the mechanism breaks.
Prerequisites: you need a Web3 wallet with funds on the network where you plan to provide liquidity. Ethereum mainnet offers the deepest liquidity but gas costs range from $5 to $50 per transaction. Layer 2 networks like Arbitrum, Optimism, or Base reduce gas to $0.01-$0.10 and are suitable for smaller positions. You also need both tokens in the pair you plan to LP. If you hold only one token, you will swap half into the other before deploying.
Step 1: Select Your Pool and Fee Tier
Uniswap V3 offers four fee tiers: 0.01%, 0.05%, 0.3%, and 1%. The tier you select determines how much traders pay per swap and how much you earn per dollar of volume. Lower fees generate more volume but less revenue per trade. Higher fees generate less volume but more revenue per trade. The correct choice depends on the volatility of the pair.
For stablecoin pairs like USDC/USDT or DAI/USDC, use the 0.01% or 0.05% tier. These pairs rarely diverge more than 1% in price, so impermanent loss is minimal. Volume is high and traders are fee-sensitive. The 0.01% tier captures the most volume.
For volatile pairs like ETH/USDC or WBTC/ETH, use the 0.3% or 1% tier. Price divergence is frequent and large. You need higher fee income to offset impermanent loss. The 1% tier is intended for low-liquidity or risky assets where LPs require extra compensation.
Check current pool performance on DefiLlama or directly in the Uniswap interface. Look at 7-day fee APR and TVL. High TVL with low APR means the pool is crowded. Low TVL with high APR may indicate high IL risk or low volume.
Step 2: Set Your Concentrated Liquidity Range
Uniswap V3 allows you to provide liquidity within a specific price range rather than across the entire curve. This is concentrated liquidity. A position in a ±5% range can earn the same fees as 20x more capital in V2. The trade-off is sharp: if price moves outside your range, you earn zero fees and hold 100% of the losing asset.
When you open the position interface, you will see a price chart with two draggable handles. The left handle sets the minimum price. The right handle sets the maximum price. Your liquidity is active only when the current market price falls between these two values.
Narrow ranges concentrate fees but require active management. A ±2% range around current price will earn high fees per dollar of capital but will go out of range quickly during volatility. Wide ranges like ±20% earn lower fees but remain active longer. The narrower your range, the more often you will need to rebalance.
For stablecoin pools, set a tight range like $0.99 to $1.01. For volatile pairs, start with a ±10% to ±20% range and adjust based on realized volatility. Avoid ranges wider than ±50% unless you are treating this as a passive hold. Capital outside the active range earns nothing.
Step 3: Deposit Tokens and Confirm the Transaction
After selecting your range, the interface will calculate how much of each token you need. If you set a range centered on current price, the split will be roughly 50/50. If your range is above current price, you will deposit 100% of the higher-priced token. If your range is below current price, you will deposit 100% of the lower-priced token.
Approve both tokens if this is your first time interacting with the pool contract. This requires two transactions on Ethereum mainnet and costs gas. On Layer 2 networks the cost is negligible.
Confirm the deposit transaction. You will receive an NFT representing your position. Unlike V2, V3 positions are non-fungible because each LP sets a custom range. Your position is represented by this NFT, which you must hold in your wallet to collect fees or withdraw liquidity.
Step 4: Monitor Position Health and Collect Fees
Once deployed, your position accumulates fees in real time. Fees do not auto-compound. They sit as unclaimed balances in the contract and must be manually collected. You can collect fees without closing the position by clicking “Collect fees” in the Uniswap interface and signing a transaction.
Check your position daily or weekly depending on volatility. If price moves close to the edge of your range, you have three options. First, do nothing and accept that the position may go out of range. Second, collect fees and adjust the range by closing and reopening with new parameters. Third, close the position entirely if fee income no longer justifies IL risk.
Impermanent loss becomes permanent loss when you close the position. If ETH has doubled in price since you opened the LP position, you will hold less ETH and more USDC than if you had simply held both tokens. The fee income you collected must exceed this loss for the position to be profitable.
The Math of Impermanent Loss
For a 50/50 pool, impermanent loss follows the formula IL = 2 × √r / (1 + r) – 1, where r is the price ratio change. If ETH starts at $2,000 and moves to $4,000, the price has doubled. The ratio is 2. The calculation is 2 × √2 / (1 + 2) – 1 = 0.057, or 5.7% loss relative to holding.
This is the amount by which your LP position underperforms a simple hold strategy. If you started with $10,000 in ETH and USDC, holding would leave you with $12,500 after the 2x move. The LP position leaves you with approximately $11,785. The difference is $715, or 5.7% of your starting capital.
To break even, you need to earn $715 in fees. If the pool generates 0.3% fees and you capture 0.5% of the pool’s liquidity, your share of fees depends on total volume. You can estimate break-even volume by dividing your IL by your fee tier percentage.
In Uniswap V3, impermanent loss is always greater than in V2 because concentrated liquidity amplifies exposure. If price moves outside your range, your position converts entirely to the losing asset. You miss the upside and hold 100% of the downside. This is worse than V2’s uniform distribution.
When LPing is Profitable and When It Is Not
LPing is profitable when fee income exceeds impermanent loss. This happens under two conditions. First, low volatility. Stablecoin pairs with price divergence under 1% generate steady fee income with minimal IL. Second, high volume relative to TVL. Pools with daily volume exceeding 10% of TVL generate enough fees to offset moderate IL.
LPing is unprofitable when volatility exceeds fee income. A Gauntlet Network study found that over 62% of positions in 0.05% fee pools experienced permanent loss exceeding fee income during high volatility periods. During Uniswap V3’s first few months (May-September 2021), almost 50% of providers experienced negative total returns.
The break-even calculation is straightforward. Estimate the price range you expect over your LP duration. Calculate IL using the formula above. Compare IL to expected fee income based on historical pool APR. If fees do not exceed IL by at least 20%, the position is marginal. If fees are less than IL, skip the pool.
Concentrated liquidity increases IL risk but also increases fee capture. A ±5% range around current price earns 20x more fees per dollar than V2, but it also incurs 20x more rebalancing cost and goes out of range faster. The trade-off is not inherently favorable. It depends on your ability to actively manage the position.
Common Failure Modes
The most common failure is deploying capital in a volatile pool with insufficient fee tier compensation. ETH/USDC at 0.05% will not generate enough fees to offset IL during a sustained price move. The correct tier for this pair is 0.3% or higher.
The second failure is setting a range that is too narrow without committing to active management. A ±2% range on ETH/USDC will go out of range within hours during volatile periods. If you do not rebalance, you earn zero fees and hold 100% USDC or 100% ETH depending on direction. This is worse than holding.
The third failure is ignoring gas costs. On Ethereum mainnet, a single rebalance costs $20-$50 in gas. If you rebalance weekly on a $1,000 position, gas alone will consume most of your fee income. Deploy on Layer 2 or increase position size to justify mainnet gas.
The fourth failure is treating LP positions as passive. They are not. If you cannot monitor price movement and rebalance at least weekly, use a wider range or avoid volatile pairs entirely. Alternatively, use a liquidity management protocol like Arrakis or Gamma that automates rebalancing, though these take a fee.
What To Do Next
Start with a small position on a Layer 2 network to minimize gas costs. Use a stablecoin pool like USDC/USDT with the 0.01% fee tier and a tight range. Monitor for one week. Collect fees manually and compare fee income to any IL incurred. Calculate your effective APR.
If the position is profitable, scale up. If IL exceeds fees, either widen your range or switch to a higher fee tier. Do not deploy significant capital until you have tested the rebalancing cadence and verified that fee income exceeds IL plus gas costs.
For ongoing monitoring, track position health using the Uniswap interface or a portfolio tracker that supports LP positions. Check daily during high volatility. Weekly checks are sufficient during stable markets.
The Takeaway
Providing liquidity on Uniswap V3 is a leveraged basis trade between fee income and impermanent loss. The mechanism is profitable when volume is high and volatility is low. It fails when volatility exceeds fee capture. Concentrated liquidity amplifies both upside and downside. The position requires active management, ongoing rebalancing, and a clear break-even calculation before deployment. If you cannot articulate your expected IL and compare it to projected fees, do not deploy. The majority of passive LPs lose money. This is not a set-and-forget strategy. It is a trade with a specific failure condition: price divergence that exceeds fee income. Monitor for that condition and close the position when it appears.
For a deeper breakdown of the IL formula and historical failure cases, see What Is Impermanent Loss?
Frequently Asked Questions
What is the difference between Uniswap V2 and V3 for liquidity providers?
Uniswap V2 distributes liquidity uniformly across the entire price curve from zero to infinity. V3 allows concentrated liquidity within custom price ranges. A V3 position in a ±5% range can earn the same fees as 20x more capital in V2. The trade-off is that V3 positions go out of range when price moves, earning zero fees and holding 100% of the losing asset. V3 amplifies both capital efficiency and impermanent loss risk.
How do I calculate if my LP position will be profitable?
Calculate expected impermanent loss using the formula IL = 2 × √r / (1 + r) – 1, where r is the price ratio change. A 2x price move causes 5.7% loss versus holding. Compare this to expected fee income based on the pool’s historical APR and your share of liquidity. If projected fees exceed IL by at least 20%, the position may be profitable. If fees are less than IL, skip the pool.
Which fee tier should I choose on Uniswap V3?
For stablecoin pairs like USDC/USDT, use the 0.01% or 0.05% tier. Price divergence is minimal, so low fees capture high volume. For volatile pairs like ETH/USDC or WBTC/ETH, use the 0.3% or 1% tier. You need higher fee income to offset impermanent loss from frequent price swings. The 1% tier is for low-liquidity or risky pairs requiring extra LP compensation.
What happens if price moves outside my liquidity range?
Your position stops earning fees and converts entirely to one asset. If price moves above your range, you hold 100% of the lower-valued token. If price moves below, you hold 100% of the higher-valued token. You miss further gains in the winning asset and accumulate the losing asset. This amplifies impermanent loss beyond V2 levels. You must rebalance by closing the position and reopening with a new range, which costs gas.
Can I provide liquidity passively without active management?
Only in stablecoin pools with very tight price ranges. For volatile pairs, passive LP positions underperform holding in most market conditions. During Uniswap V3’s first months, almost 50% of providers experienced negative total returns. Over 62% of positions in low-fee pools lost more to impermanent loss than they earned in fees during high volatility. Active management and regular rebalancing are required for profitability in volatile pairs.
Source link



