Uniswap V3 range calculator

Plan a concentrated liquidity position on Uniswap V3 or PancakeSwap V3. Enter the current price, your price range and how much you want to deposit to see exactly how much of each token to add and how hard your capital works.

How the Uniswap V3 range math works

A concentrated position holds liquidity L only between your min price Pa and max price Pb. While the current price P is inside the range, each unit of liquidity needs (√Pb − √P) / (√P · √Pb) of the base token and √P − √Pa of the quote token. The calculator finds the L that makes those two amounts add up to your deposit.

Capital efficiency compares that liquidity with a full-range (Uniswap V2 style) position of the same size, which has L = deposit / (2√P). A 12× efficiency means your range earns about 12 times the fees of a full-range position with the same money, as long as the price stays inside it.

The trade-off is at the edges. When the price falls to Pa you hold only the base token, when it rises to Pb you hold only the quote token, and outside the range the position earns nothing. Narrower ranges multiply both the fees and the impermanent loss.

Worked example: ETH is at $3,000 and you deposit $10,000 between $2,500 and $3,500. You add about 1.53 ETH and 5,401 USDC (46% / 54%), and the range is 12.4× more capital efficient than full range. If ETH drops to $2,500 the position is worth about $8,763 (all ETH), and at $3,500 it is worth about $10,368 (all USDC).

How to plan a Uniswap V3 price range

  1. Enter the pool's current price as quote token per base token.
  2. Pick a min and max price around it. Narrower ranges earn more fees but leave the range sooner.
  3. Enter how much you want to deposit in total.
  4. Add the base and quote amounts shown to the pool, then track the position so you know when it leaves the range.

Frequently asked questions

How do I calculate how much of each token to add on Uniswap V3?

Each unit of liquidity needs (√Pb − √P) / (√P · √Pb) of the base token and √P − √Pa of the quote token, where P is the current price and Pa, Pb are your range edges. Scale both amounts so their value equals your deposit; this calculator does that for you.

What is capital efficiency in Uniswap V3?

It is how much more liquidity your range provides than a full-range position of the same size. It equals your liquidity L divided by deposit / (2√P). A higher number means more fees per dollar while the price is in range.

Why is my position only one token?

If the current price is below your min price the position is 100% base token, and above your max price it is 100% quote token. It earns no fees until the price re-enters the range.

Does this work for PancakeSwap V3?

Yes. PancakeSwap V3 uses the same concentrated liquidity math as Uniswap V3, so the token amounts and efficiency are the same for any range.