Uniswap V3 tick to price calculator
Turn a Uniswap V3 or PancakeSwap V3 tick into a readable price, or find the tick for a price you have in mind. Set the token decimals and the fee tier to see the usable ticks a position can start and end on.
How Uniswap V3 ticks map to prices
Uniswap V3 splits the price line into ticks, and each tick is 0.01% away from the next. The tick to price formula is price = 1.0001^tick × 10^(decimals0 − decimals1), where the price is token1 per token0 and the decimals term turns the raw on-chain ratio into a human price. Going the other way, tick = floor(log(price / 10^(decimals0 − decimals1)) / log(1.0001)). The pool also stores sqrtPriceX96 = √(1.0001^tick) × 2^96, the square root of the raw price in Q64.96 fixed point.
Not every tick can hold a position. Each fee tier has a tick spacing: on Uniswap V3 it is 1 for 0.01%, 10 for 0.05%, 60 for 0.3% and 200 for 1%, and PancakeSwap V3 uses 50 for its 0.25% tier. A position's lower and upper ticks must be multiples of the spacing, so the app rounds your range to the nearest usable ticks shown here.
Token0 is always the token with the lower contract address, not the one the interface lists first. In the WETH/USDC pool on Ethereum, USDC has the lower address, so the pool price is WETH per USDC and the ticks are positive. If the price you get looks upside down, swap the decimals and use the inverse price.
Worked example: an ETH/USDC-style pool where token0 is WETH (18 decimals) and token1 is USDC (6 decimals), on the Uniswap V3 0.05% tier. A price of $3,000 gives tick -196,257, whose exact price is 2,999.80 USDC per WETH (inverse 0.00033335508 WETH per USDC). With a tick spacing of 10, the nearest usable ticks are -196,260 ($2,998.90) and -196,250 ($3,001.90), and sqrtPriceX96 is about 4.33936e+24.
How to convert a Uniswap V3 tick to a price
- Choose whether you are converting a tick to a price or a price to a tick.
- Enter the tick, or the price as token1 per token0.
- Set the decimals of token0 and token1, remembering that token0 is the token with the lower contract address.
- Pick the exchange and fee tier to see the tick spacing and the nearest usable ticks for your range.
Frequently asked questions
How do I convert a Uniswap V3 tick to a price?
Use price = 1.0001^tick × 10^(decimals0 − decimals1), which gives the price of token0 in token1. For a WETH/USDC pool with token0 WETH (18 decimals) and token1 USDC (6 decimals), tick -196,257 is about 2,999.80 USDC per WETH.
How do I convert sqrtPriceX96 to a price?
Divide sqrtPriceX96 by 2^96, square the result and multiply by 10^(decimals0 − decimals1). That gives the human price of token0 in token1, the same value you get from the pool's current tick.
What is tick spacing in Uniswap V3?
Tick spacing is the step between ticks a position can use, and it depends on the fee tier: 1 for 0.01%, 10 for 0.05%, 60 for 0.3% and 200 for 1% on Uniswap V3. PancakeSwap V3 uses 50 for its 0.25% tier, and position edges must be multiples of the spacing.
Why is my Uniswap V3 price inverted?
The pool always quotes token1 per token0, and token0 is the token with the lower contract address. If that order is the opposite of how you think about the pair, the price looks flipped, so use the inverse price shown by the calculator.
