Liquidity pools and impermanent loss: what liquidity providers earn and risk

·5 min read·By SSP Editorial Team
SSP Academy cover: liquidity pools and impermanent loss

Liquidity pools and impermanent loss: what liquidity providers earn and risk

When you swap on a decentralised exchange (DEX), you usually trade against a pool of two tokens that other people deposited, and they earn a fee on your trade. Providing that liquidity is an old DeFi idea that's often misunderstood, mainly because of impermanent loss.

How a constant-product pool sets the price

The simplest pools, like Uniswap v2 and its forks, follow one rule: the two reserves multiplied together stay the same, written x · y = k.

Take an illustrative pool of 10 ABC and 1,000 USDC. Here k is 10,000 and the price is 100 USDC per ABC. Pay in 100 USDC and the pool holds 1,100 USDC, so it can keep only 10,000 ÷ 1,100 ≈ 9.09 ABC. You receive about 0.91 ABC, an average of 110 USDC each, and the pool's price moves to about 121. That ignores the fee, often 0.3% of your input, which stays in the pool.

The gap between 100 and 110 is price impact, explained in slippage and price impact. Arbitrage traders keep the pool's price roughly in line with other markets.

What you hold as a liquidity provider

You deposit both tokens in the current ratio and get a receipt:

  • An LP token in v2-style pools: an ERC-20 token for your share of the pool. Fees are added to the reserves, so each share slowly claims more.
  • A position NFT in Uniswap v3-style pools: it records your price range and liquidity, and fees build up separately until you collect them.

Whoever holds the receipt can withdraw, and a withdrawal pays your share of what the pool holds then, not the tokens you put in.

Impermanent loss, worked through

Say you deposit 10 ABC and 1,000 USDC, worth $2,000, into a full-range pool. Then ABC doubles to 200 on other markets.

Arbitrage traders buy ABC from the pool until its price matches. With k fixed, your share becomes about 7.07 ABC and 1,414 USDC, worth $2,828. Had you simply held, you'd have $3,000. You're up 41% on your deposit but 5.7% behind holding. That gap is impermanent loss: the pool sold some of your ABC on the way up.

It depends only on how far the price moves from your entry, in either direction. Before fees:

  • 1.25× or 0.8×: 0.6% behind holding
  • 1.5×: 2.0%
  • 2× or 0.5×: 5.7%
  • 3×: 13.4%
  • 4× or 0.25×: 20% (at 4×, 5 ABC and 2,000 USDC: $4,000 instead of $5,000)

It's called impermanent because the gap closes if the price returns to your entry. Withdraw at any other price and it's permanent.

Concentrated liquidity, and fees versus loss

Uniswap v3-style pools let you provide liquidity within a price range. With the same $2,000 and a range of 80 to 125, you'd supply about 9.5 times the liquidity of a full-range position, so while the price stays in range you earn roughly 9.5 times the fees.

The loss is amplified too. At 125, the pool has sold all your ABC and you're 5.9% behind holding, against 0.6% for full range. If ABC doubles, you're 29% behind instead of 5.7%, earning nothing above your range. Below 80, you hold only ABC. Ranges need watching and resetting, and each reset costs gas.

Fees versus loss. Fees depend on trading volume, the fee tier and your share of the pool; impermanent loss depends on price movement. Volatile pairs often pay more fees because they move more. Stablecoin pairs see little impermanent loss but carry depeg risk: if one coin slips, the pool keeps swapping your sound coin for the weak one. Advertised yields look backwards and often include reward tokens. The fair comparison is fees minus impermanent loss minus gas, against simply holding.

Other risks: contracts, approvals and rug pools

  • Contract risk. Pools, routers, position managers and farms are code that can have bugs or be exploited.
  • Approvals. Adding liquidity usually means approving a router or position manager to spend each token, often without limit, or signing a permit. Read token approvals and revoke them when you're done.
  • Rug pools. Anyone can create a pool. A token's creator can seed one, attract buyers, then pull the liquidity. Honeypots and rug pulls shows the patterns.

Using a DEX pool from SSP

SSP has no built-in liquidity provision. Its swap feature routes trades through external providers; see swapping inside SSP vs using a DEX.

On EVM chains (Ethereum, Polygon, BSC, Avalanche and Base), you can connect an SSP vault to a DEX through WalletConnect. Each transaction the DEX requests (every approval, the deposit, the withdrawal) is a separate request that SSP Wallet shows and SSP Key must approve. SSP Key decodes token approvals on your phone and flags unlimited ones with a high-severity warning. A pool deposit is a contract call neither app fully reads: SSP Wallet labels it an unknown contract function, and SSP Key points you to the raw data. Permit signatures carry a warning on both devices and need an explicit acknowledgement. Gas is paid from the vault in the chain's native coin.

Two-device approval protects your keys, not your position: it can't stop a bad pool, a buggy contract or impermanent loss.

The honest summary

A liquidity pool prices trades with a formula. As a provider, you earn a share of the fees, and in exchange the pool rebalances your tokens against the market: about 5.7% behind holding if the price doubles or halves, 20% at 4×. Concentrated ranges multiply both the fees and that loss. Then add contract risk, the approvals you grant and rug pools.

SSP doesn't provide liquidity for you, but an SSP EVM vault can use a DEX through WalletConnect, with both devices approving every step. This isn't financial advice. Work out the numbers for your own pair, and only commit what you could accept ending up worth less than simply holding.

Share this article

Related articles