If you provided liquidity on Uniswap v2, your fees compounded on their own. Every swap fee was added straight into the pool’s reserves, so your share of the pool grew without you lifting a finger. Concentrated liquidity changed that. On Uniswap v3 and Uniswap v4, fees pile up next to your position, not inside it, and nothing gets reinvested unless you, a bot, or a vault does it.
That raises a practical question every LP on Base, Arbitrum, and Aerodrome Slipstream eventually faces: should you compound your Uniswap LP fees, and if so, how often? This guide covers how fee accounting actually works, the APR-to-APY math, what gas and swap costs do to the answer on L2, and when collecting is the smarter move. Nothing here is financial advice.
Why Uniswap v3 and v4 fees don’t auto-compound
Uniswap’s developer docs put it plainly: in v2, fees “compound automatically because they
increase k,” while “in v3 and v4, fees accumulate as claimable balances tied to each
position” and “must be manually redeemed by the position owner”
(Uniswap Developers, “Fees”).
The v3 whitepaper explains why. Because each concentrated position has its own range, positions are non-fungible, so “fee earnings are stored separately and held as the tokens in which the fees are paid” rather than being re-deposited as liquidity (section 3.2.1, Uniswap v3 Core whitepaper). A fee earned at one price can’t simply be poured into a range that may no longer contain the current price.
How collecting works on Uniswap v3
On v3, fees show up as tokensOwed0 and tokensOwed1 on your position. You
claim them through the NonfungiblePositionManager’s collect function
(Uniswap v3 collect-fees guide).
Collecting moves the tokens to your wallet; it does not add them back to the position. To
compound, you then have to rebalance those tokens to the right ratio for your range and call
increase-liquidity, which is several separate steps.
What changed in Uniswap v4
Uniswap v4 makes compounding easier, though still not automatic. Per Uniswap’s v4 vs v3 notes, “accrued fees act like a credit when modifying liquidity. Increasing liquidity will convert the fee revenue to liquidity inside the position while decreasing liquidity will automatically require the withdrawal of unclaimed fee revenue” (Uniswap v4 vs v3).
Two practical consequences for v4 LPs:
- Adding liquidity rolls fees in. When you top up a v4 position, accrued fees are credited first, and in some cases they can cover most or all of the tokens needed (v4 Position Manager guide).
- Partial withdrawals force-claim fees. Removing part of a v4 position withdraws the fees earned by that portion. There’s no dedicated collect command; to claim fees without touching liquidity you do a zero-liquidity decrease (v4 SDK collect-fees guide).
If your v4 pool uses hooks, check whether the hook changes fee behavior before assuming either pattern.
APR vs APY: how much does compounding LP fees actually add?
Most dashboards quote fee APR, a simple annualized rate. Compounding turns it into an APY, but the uplift is smaller than people expect at realistic rates. At a 20% fee APR, perfect continuous compounding gives about 22.1% APY (e0.20 − 1). At 8% APR it gives about 8.3%. The gap only gets large when APRs are very high, and very high fee APRs on volatile pairs often come with heavy impermanent loss anyway.
Real compounding is never free. Each round costs gas, and on a concentrated position you usually have to swap part of the fees into the other token to match your range, paying the pool fee and any price impact. Here’s an illustrative model we ran: a position that stays in range all year at a constant 20% fee APR, no price movement, with half of each compound swapped at a 0.30% fee tier, and a flat per-compound gas cost.
| Position / gas per compound | Never compound | Monthly | Weekly | Daily |
|---|---|---|---|---|
| $10,000 · $0.10 gas | 20.00% | 21.89% | 22.00% | 21.69% |
| $10,000 · $1.00 gas | 20.00% | 21.78% | 21.49% | 18.07% |
| $2,000 · $0.10 gas | 20.00% | 21.85% | 21.78% | 20.08% |
| $2,000 · $1.00 gas | 20.00% | 21.30% | 19.24% | 1.95% |
This is example math, not market data, but the shape is the lesson. Compounding monthly to weekly captures nearly all of the available uplift. Compounding daily on a small position can wipe out most of your yield, because fixed costs scale with how often you act, while the benefit scales with position size.
Revert’s rule of thumb: compound when fees dwarf gas
Revert Finance, which runs a widely used Uniswap v3 auto-compounder, publishes its own math. Its compounder charges 2% of compounded fees (1% of that goes to whoever triggers the transaction) and fires once pending fees are large enough that the caller’s share covers gas, which in practice means unclaimed fees around 100× the gas cost (Revert auto-compounder FAQ). Its worked example: a $10,000 position at 20% fee APR on a chain where a compound costs $0.05 reaches roughly 21.7% APY, while the same position at $12 of gas only reaches about 20.4% (Revert, “Performance improvement”). Revert’s own gas table used older assumptions (ETH at $1,000 and fixed gwei estimates), so treat the dollar figures as illustrative, but its estimate put a full manual compound on Arbitrum around $0.10 versus about $13 on Ethereum mainnet.
Base and Arbitrum: cheap gas moves the break-even
On Ethereum mainnet, compounding was a game only large positions could win. On L2s like Base and Arbitrum, gas is usually a small fraction of a mainnet transaction, so even mid-sized positions can compound profitably every week or two. That doesn’t mean you should compound constantly:
- Swap costs don’t shrink with gas. Swapping fees to the range ratio still pays the pool’s fee tier plus price impact. On a 1% pool, that cost is noticeable.
- Gas spikes happen. L2 fees rise during busy periods, so a bot or rule that checks cost before acting beats a fixed schedule.
- Out-of-range positions can’t compound cleanly. If price has left your band, your position holds a single token. Adding fees to it just deepens a range that isn’t earning. See out-of-range liquidity.
Aerodrome Slipstream: you compound AERO, not fees
On Aerodrome, the thing you compound depends on whether you stake. A staked Slipstream position earns AERO emissions and its trading fees go to veAERO voters; an unstaked one keeps swap fees and earns no emissions. Revert’s Aerodrome docs describe it as “one or the other, never both,” and its AERO compounder claims emissions, swaps them into the position’s tokens, re-adds them, and restakes, firing once rewards cover a 1% gas fee and a 1% protocol fee (Revert, “AERO auto-compounding”).
That means compounding on Aerodrome is also a decision to sell AERO every time. If you’d rather hold or lock AERO, collecting is the consistent choice. Our stake vs fees guide covers the bigger choice that comes first.
When collecting beats compounding
Compounding grows your exposure to the pair. Every reinvested dollar is fresh capital exposed to divergence loss and loss versus rebalancing. Revert’s docs say the same: if you wouldn’t add new capital to the pool today, collecting the fees is the consistent choice. Collecting usually wins when:
- You’re planning to rebalance or close soon. Compounding right before a re-range just adds a round trip of swap costs.
- The pair is volatile and trending, so new capital is likely to drift out of range quickly.
- You want to take profits in a stable asset or diversify out of the pair.
- Your position is small relative to gas and swap costs, per the table above.
- Fees come in a token you don’t want more of, like reward tokens on a pool you’re already overweight in.
Compounding tends to make the most sense for tight-correlation pairs that stay in range for long stretches, such as stablecoin pools, on cheap L2 gas, in positions you already intend to hold.
A practical fee-compounding checklist for Uniswap LPs
- Know your protocol version. On v3 you must collect, swap, and re-add. On v4, adding liquidity credits fees automatically, and partial removals force-claim them.
- Check you’re in range. Never compound into a band price has already left.
- Price the full round. Add gas plus the swap fee and price impact on the share of fees you need to convert. If that’s more than about 1% of the fees you’d reinvest, wait.
- Pick a cadence, not a reflex. For most L2 positions, weekly to monthly gets nearly all the benefit. Daily rarely pays unless the position is large.
- Compare against holding. Measure results against simply holding the tokens, not against your deposit. Our cover value explainer shows one way.
- Vet any auto-compounder. Read its fee, custody model, and swap protections (for example TWAP checks against manipulation) before transferring a position NFT.
Where vault LP fits
Doing all of this by hand means watching gas, checking range, sizing swaps, and timing compounds around rebalances. That’s the routine work a well-built vault is supposed to absorb. QuantumPools is building vault LP with snuggle-style range maintenance and no extra swap fee charged to depositors on routine upkeep, so compounding and snuggle costs stay as low as possible for LPs. Whether you use a vault or manage the NFT yourself, the checklist above applies. See our vault rebalancing guide for how maintenance and compounding fit together.
Bottom line
Uniswap v3 and v4 fees don’t compound on their own. Uniswap’s docs and whitepaper are explicit that they sit beside your position as claimable tokens. v4 makes reinvesting cheaper by crediting fees whenever you add liquidity, and L2 gas on Base and Arbitrum makes regular compounding viable for far smaller positions than on mainnet. But the uplift is modest at realistic APRs, swap costs never go away, and every compounded dollar is more exposure to the pair. Compound deliberately, not reflexively.