Uniswap liquidity pools: Fee Income Versus Impermanent Loss
Uniswap liquidity pools turn swap activity into fee income for active liquidity, while relative token-price changes can leave a position worth less than simply holding the same starting assets. Fees offset that shortfall only when the provider’s net fee share exceeds the difference from the hold benchmark, after network costs and applicable protocol deductions. The comparison therefore depends on trading volume, competing liquidity, fee settings, price movement, range selection, and active time.
Updated
Key takeaway: Fee income can offset a liquidity position’s shortfall against holding, but in-range trading volume, competing liquidity, range exposure, and net costs determine whether it does.
Fee Revenue and Pool Rebalancing
Swap fees compensate liquidity providers for supplying tokens that traders can exchange. A fee is taken from the input side of a swap and allocated among eligible liquidity. In a concentrated pool, the position’s share can vary as the trade crosses different price intervals. The displayed fee setting alone cannot reveal what one position will earn.
Impermanent loss comes from a different mechanism. Swaps alter the quantities of the two tokens held by the position as their relative price changes. Compared with leaving the starting quantities untouched, the automated position accumulates more of the token that has become cheaper and less of the token that has become more expensive. Its total value may rise while still trailing the hold benchmark.
High volume can increase the fee pool, but more active liquidity divides that income among more providers. A lower-volume pool can sometimes allocate a larger share to one position, although the smaller fee base may still produce less income.
The Break-Even Boundary
Break-even occurs when the position’s current value, including attributable fees under the applicable accounting method, equals the value of holding its original token quantities, after applying the same valuation time and costs. This boundary is personal to the position. Two providers in one pool may have different entry prices, ranges, active periods, and network expenses.
The comparison must use matching starting assets. Replacing the hold benchmark with cash, one token, or a later deposit changes the question. Collected fees also remain part of the result even after they leave the position. Counting those fees once, alongside uncollected fees and the remaining liquidity, prevents both omission and double counting.
A positive fee balance does not establish break-even. Fee income offsets the shortfall only when the cash-flow-adjusted liquidity result reaches or exceeds the matched hold result. If the gap remains larger than accumulated net fees, the position still underperforms holding for that measurement period.
How Does Relative Price Movement Create the Shortfall?
Relative price movement changes the token mixture that a constant-product position holds. The relevant input is the price ratio between the two assets, not whether both rose or fell against an outside currency. If they move together and their relative price stays unchanged, this particular source of divergence does not appear.
For a full-range constant-product position that began with equal values and earned no fees, let r equal the ending relative price divided by the starting relative price. The position’s value divided by the hold benchmark, minus one, is 2 × √r / (1 + r) - 1. The expression equals zero when r equals one and becomes negative as the ratio moves in either direction.
This formula isolates the rebalancing effect. It excludes fee income, network costs, deposits, withdrawals, and concentrated-range boundaries. Applying it directly to a narrow v3 or v4 position can misstate the outcome because concentrated liquidity follows a bounded curve rather than the same full-range exposure.
Range Width Changes Fee Access and Exposure
Range width determines where capital participates in swaps. A narrower range can supply more active liquidity near the chosen price with the same capital, increasing the position’s potential share of fees there. It also reaches a boundary sooner when price moves, so the opportunity depends on remaining active where trading occurs.
A concentrated position earns liquidity-provider fees only while the pool price lies within its selected range. Once price crosses a boundary, the position becomes single-sided and stops earning until price returns. That state is not a liquidation, but it changes both the inventory held and the fee opportunity.
Widening a range reduces the chance of becoming inactive, yet it spreads capital across more prices. Narrowing the range increases concentration and management sensitivity. Repositioning can restore active status, although it also realizes the existing token mixture, incurs network costs, and starts a new range with a new exposure profile.
Position Types and Their Earning Conditions
Protocol version and position state determine how fees accrue and when liquidity remains active. A fair comparison still uses the same starting tokens held over the same period.
| Position State or Design | Condition for Earning or Interpreting Fees |
|---|---|
| v2 full-range liquidity | Liquidity remains active across the full curve; compare its reserve share with the same starting tokens held. |
| v3 full-range position | The range covers the full curve; include separately stored fees when comparing performance. |
| v3 in-range custom position | The pool price must remain between the selected boundaries for the position to earn fees. |
| v3 out-of-range position | The price must re-enter the selected range before fee accrual resumes. |
| v4 fixed-fee position | The position must be active where swaps occur, using the pool’s configured fee. |
| v4 dynamic-fee position | The position must be active, and analysis must use the fee applied when each swap executes. |
| v3 or v4 range order | Price must enter the range for conversion and fee earning; a wholly out-of-range order earns nothing. |
Fee accounting also differs by version. In v2, swap fees increase pool reserves and are reflected in the value of the provider’s pool share. In v3 and v4, earned fees are stored for collection rather than automatically added to the position. A performance calculation must follow the applicable accounting method instead of comparing only the displayed liquidity balance.
Net Performance Before Changing the Position
A fair performance check starts with the original token quantities and every later cash flow. Value the current position and the matched hold portfolio at one timestamp, then add collected and uncollected fees without duplication. Subtract network costs for creating, collecting, removing, or repositioning liquidity when those actions belong to the period being measured.
Leaving a position unchanged and opening a new range should be compared on the same dimensions: present inventory, active status, expected fee access, and execution costs. Rebalancing does not erase earlier underperformance. It closes one exposure and opens another, while future volume and relative prices remain unknown.
An apparent failure may instead be an accounting mismatch. A stale price, omitted fee balance, missing withdrawal, or mixed valuation time can create a false gap. If the records are consistent and net fees still fall short of divergence and costs, the position has not reached its break-even condition. That answer changes only when later fees or value changes overcome the remaining difference.
Quick answers
Do Uncollected Fees Count When Comparing a Position With Holding?
For v3 or v4, separately stored uncollected fees count toward the liquidity position’s result because the position has already earned them. Add fees previously collected during the measurement period unless they were reinvested and already appear in the position balance. In v2, swap fees are already reflected in the reserve share, so adding them separately would double count them.
Why Can Heavy Swap Activity Still Produce Modest Fee Income?
Trading volume creates the fee base, but the provider receives only a share allocated to eligible active liquidity. A position competing with substantial liquidity may receive a small fraction of that base. Concentrated positions can also miss part of the activity when swaps occur outside their selected ranges.
Does Collecting Fees Stop a Concentrated Position From Earning?
Collecting accrued fees does not remove the underlying v3 or v4 liquidity by itself. The position can continue earning while it remains active and swaps use its price range. Adding the collected tokens back is a separate action, so uncollected fees do not automatically compound inside those positions.
Which Network Costs Belong in the fee-versus-loss Calculation?
Include costs caused by the liquidity strategy during the chosen measurement period. These may cover position creation, token approvals, fee collection, range changes, and liquidity removal. A cost from an unrelated wallet action does not belong in the comparison. Use the same valuation basis and timestamp for each included cost.
Could Adding Liquidity Later Erase an Earlier Performance Gap?
A new deposit can change the combined position value, but it does not prove that the earlier liquidity recovered. Track the added tokens as a separate cash flow and compare each contribution with an equivalent hold benchmark from its deposit time. Only investment performance, not newly supplied capital, can close the adjusted gap.