# Uniswap v3 Tick Spacing & Q64.96 Virtual Reserves Math

> Derive Uniswap v3 concentrated liquidity invariants, Q64.96 sqrtPriceX96 fixed-point precision, tick-spacing gas costs, and capital efficiency multipliers.

Canonical: https://nftvenueledger.com/protocols/uniswap-v3-tick-spacing-concentrated-liquidity-depth
Last updated: 2026-11-14T19:39:51.722Z

**Publication:** NFTVenue Ledger
**Category:** Amm Clob Intent Dex Settlement
**Published:** 2026-11-14T09:10:25.915Z
**Author:** Dr. Devon Kurosawa, PhD (PhD in Distributed Systems & Cryptographic Protocol Verification)
**Reviewer:** Not recorded

## Answer-first summary

Concentrated liquidity AMMs replace uniform x*y=k reserves with piecewise virtual curves indexed across logarithmic 1-bps ticks and Q64.96 fixed-point square-root prices.

## Key takeaways

- Uniswap v3 indexes price ticks geometrically as p(i) = 1.0001^i and stores Q64.96 sqrtPriceX96 so intra-tick swaps compute exact token deltas via single-pass fixed-point arithmetic.
- Binding fee tiers (1, 5, 30, and 100 bps) to tickSpacing (1, 10, 60, and 200) prevents excessive SLOAD/SSTORE tick-crossing gas during volatile price sweeps.
- A symmetric +/-10% range around spot achieves ~20.4x the local market depth of a full-range x*y=k pool per dollar of real collateral.
- Once spot exits [P_a, P_b], the LP earns zero swap fees and holds 100% of the underperforming asset until price mean-reverts or the range is burned and re-minted.

## Related financial entities

- **Concentrated Liquidity AMM Mathematical Specification** (CL-AMM) — product: Algorithmic market-making protocol allowing liquidity providers to allocate capital within discrete price intervals, maximizing capital efficiency.
- **Uniswap v4 Singleton & Hook Architecture** (UNI-V4) — product: Fourth-generation decentralized exchange protocol featuring a unified singleton contract and modular hooks that customize pool execution logic.

## Analysis

Under the [Concentrated Liquidity AMM specification](/tokens/concentrated-liquidity-amm-spec) pioneered by Uniswap v3 and deployed across multi-chain forks in our [marketplaces directory](/marketplaces) such as [9mm Pro](/marketplaces/9mm-pro) and [Astroport](/marketplaces/astroport), liquidity providers allocate real reserves `(x_real, y_real)` exclusively within a bounded price interval `[p(i_lower), p(i_upper)]`. Rather than storing price `P = y / x` directly, pool contracts track **`sqrtPriceX96 = floor(sqrt(P) * 2^96)`** as an unsigned `Q64.96` fixed-point integer alongside active tick liquidity `L = sqrt(x_virtual * y_virtual)`, converting non-linear price updates into exact linear reciprocal deltas inside a single active tick interval.

Anchored in our [concentrated AMM, CLOB & intent DEX master guide](/protocols/concentrated-liquidity-amm-clob-intent-dex-mev-guide-2026), mastering tick-bitmap traversal and concentration leverage is prerequisite to modeling [LVR adverse selection](/protocols/loss-versus-rebalancing-lvr-black-scholes-amm-adverse) and [Uniswap v4 singleton hooks](/protocols/uniswap-v4-singleton-flash-accounting-dynamic-fee-hooks).

## Logarithmic Tick Indexing & `sqrtPriceX96` Fixed-Point Arithmetic

Discrete price ticks are spaced geometrically by 1 basis point per tick index `i in [-887272, +887272]` such that `p(i) = 1.0001^i` and `sqrt(p(i)) = 1.0001^(i/2)`. Why store `sqrt(P)` in `Q64.96` format instead of `P`? Because within any active segment where no initialized tick boundary is crossed, the constant-product invariant satisfies two pure linear identities in `L`:

1. **Token 1 (`y`) Reserve Delta**: `Delta_y = L * (sqrt(P_new) - sqrt(P_old))`
2. **Token 0 (`x`) Reserve Delta**: `Delta_x = L * (1 / sqrt(P_new) - 1 / sqrt(P_old))`

Consequently, swapping inside a single tick range requires zero iterative Newton-Raphson root finding—only fixed-point `mulDiv` operations rounding strictly in favor of the pool (`mulDivRoundingUp`) to prevent 1-wei dust draining attacks.

![Uniswap v3 swap loop across Q64.96 sqrtPriceX96 updates, tick bitmap word lookups, and liquidity net flips](/api/figure?type=flow&title=Concentrated%20AMM%20Swap%20%26%20Tick-Crossing%20Loop&subtitle=Stepwise%20EVM%20state%20execution%20when%20a%20taker%20order%20sweeps%20across%20multiple%20initialized%20tick%20boundaries&steps=1.%20Bitmap%20Next-Tick%3A%3AScan%20256-tick%20word%20bitmap%20for%20next%20initialized%20tick%20boundary%7C2.%20Intra-Tick%20Step%3A%3ACompute%20max%20swap%20capacity%20to%20boundary%20via%20Q64.96%20mulDiv%7C3.%20Fee%20Growth%20Sync%3A%3ACheckpoint%20feeGrowthOutside0X128%2F1X128%20on%20crossed%20tick%7C4.%20LiquidityNet%20Flip%3A%3AUpdate%20active%20L%20%3D%20L%20%2B%2F-%20liquidityNet%20%26%20continue%20residual%20swap&metrics=GEOMETRIC%20STEP%3A%3A1.0001%5Ei%3A%3A1.0%20bps%20price%20granularity%20per%20tick%7CFIXED-POINT%20TYPE%3A%3Auint160%20Q64.96%3A%3AsqrtPriceX96%20storage%20packing%20in%20Slot0%7CTICK%20CROSS%20GAS%3A%3A%2B14k%20to%2022k%3A%3ACold%20SLOAD%20%2B%20feeGrowthOutside%20SSTORE%7CMAX%20CONCENTRATION%3A%3A%3E%204%2C000x%3A%3ASingle%201-bps%20tick%20vs%20full-range%20v2)

## Fee Tiers, `tickSpacing` Quantization & Swap Gas Trade-Offs

Allowing LPs to initialize *every* single 1-bps tick on volatile pairs would force medium-sized swaps to cross dozens of storage slots per trade, exploding L1 gas costs. Pool factories therefore couple each swap fee tier `f` to a mandatory integer `tickSpacing` modulus (only ticks where `i mod tickSpacing == 0` can hold `liquidityNet` boundaries):

- **1 bps Fee Tier (`tickSpacing = 1`)**: Designed for pegged stablecoin and LST pairs (`USDC/USDT`, `wstETH/ETH`), enabling 0.01% range granularity with >2,000x capital efficiency.
- **5 bps & 30 bps Fee Tiers (`tickSpacing = 10` and `60`)**: Standard institutional spot buckets (`ETH/USDC`, `WBTC/ETH`), spacing initialized boundaries every 0.10% or 0.60% so typical $100k swaps cross 0 to 2 ticks.
- **100 bps Fee Tier (`tickSpacing = 200`)**: Calibrated for exotic governance or newly launched tokens (~2.02% step between initializable ticks), insulating takers from excessive tick-crossing gas during 15% intraday swings.

## Fee Tier & Tick-Spacing Engineering Matrix

| Pool Fee Tier | Mandatory `tickSpacing` | Minimum Range Width (bps) | Optimal Asset Correlation | Mean L1 Swap Gas (0 vs 3 Crossings) |
| :--- | :--- | :--- | :--- | :--- |
| 0.01% (1 bps) | 1 tick | 1.00 bps (0.01%) | Fiat Stablecoins & Pegged LSTs | ~106,000 gas / ~164,000 gas |
| 0.05% (5 bps) | 10 ticks | 10.00 bps (0.10%) | Major L1 Pairs (`ETH/USDC`, `WBTC/USDC`) | ~108,000 gas / ~168,000 gas |
| 0.30% (30 bps) | 60 ticks | 60.18 bps (0.60%) | Mid-Cap DeFi & Ecosystem Pairs | ~109,000 gas / ~171,000 gas |
| 1.00% (100 bps) | 200 ticks | 202.00 bps (2.02%) | Long-Tail Volatile / Launch Tokens | ~110,000 gas / ~173,000 gas |

![Capital efficiency multiplier vs full-range constant product AMM across progressive Uniswap v3 range widths](/api/figure?type=bars&title=Capital%20Efficiency%20Multiplier%20vs%20Range%20Width&subtitle=Effective%20virtual%20depth%20generated%20per%20USD%201.00%20of%20real%20collateral%20compared%20to%20x*y%3Dk%20v2%20pools&steps=%2B%2F-%2050%25%20Wide%20Range%3A%3A3.41x%20capital%20efficiency%3B%20low%20out-of-range%20frequency%7C%2B%2F-%2010%25%20Swing%20Range%3A%3A20.49x%20capital%20efficiency%3B%20weekly%20institutional%20rebalance%7C%2B%2F-%202%25%20Tight%20Major%3A%3A100.49x%20capital%20efficiency%3B%20active%20delta-hedged%20vault%7C%2B%2F-%200.05%25%20Peg%20Tick%3A%3A4%2C000x%2B%20capital%20efficiency%3B%20USDC%2FUSDT%20stable%20corridor&metrics=%2B%2F-%202%25%20LEVERAGE%3A%3A100.5x%20Depth%3A%3AMatches%20%24100.5M%20v2%20pool%20with%20%241M%7COUT-OF-RANGE%20FEE%3A%3A0.00%20bps%3A%3APosition%20converts%20100%25%20into%20loser%20asset%7CBITMAP%20WORD%20SIZE%3A%3A256%20Ticks%3A%3A1%20SLOAD%20scans%20256*tickSpacing%20range%7CSLOT0%20PACKING%3A%3A256%20Bits%3A%3AsqrtPriceX96%20%2B%20tick%20%2B%20obsIndex%20%2B%20lock)

## Exact Real-to-Virtual Reserve & Capital Efficiency Derivation

Given current spot price `P in [P_a, P_b]`, liquidity `L` relates real deposited amounts `(x_real, y_real)` to equivalent full-range virtual reserves via:

```formula
Concentrated Liquidity Real Reserves & Efficiency Multiplier:
 x_real = L * (sqrt(P_b) - sqrt(P)) / (sqrt(P) * sqrt(P_b))
 y_real = L * (sqrt(P) - sqrt(P_a))
 Efficiency_Multiplier(P_a, P_b) = 1 / (1 - (P_a / P_b)^(1/4)) [evaluated at symmetric geometric midpoint P = sqrt(P_a * P_b)]

Worked Institutional Position Sizing (ETH Spot P = 3,000 USDC; Range = [2,700, 3,300]):
 sqrt(P) = 54.772256; sqrt(P_a) = 51.961524; sqrt(P_b) = 57.445626
 Target Virtual Depth equivalent to a USD 20,000,000 full-range v2 pool (x_v = 3,333.33 ETH, y_v = 10,000,000 USDC):
 => Required L = sqrt(3,333.33 * 10,000,000) = 182,574.19
 Real Capital Required in [2,700, 3,300]:
 x_real = 182,574.19 * (57.445626 - 54.772256) / (54.772256 * 57.445626) = 155.14 ETH ($465,420)
 y_real = 182,574.19 * (54.772256 - 51.961524) = 513,167 USDC
 Total Real Deposit = $978,587 (Efficiency = $20,000,000 / $978,587 = 20.44x!)
```

## Managing Out-of-Range Inventory & Singleton Evolution

When spot price exits `[P_a, P_b]`, active liquidity drops out of the range (`feeGrowthInside` halts accruing) and 100% of the LP's principal sits in the depreciating asset—magnifying the convexity cost modeled next in [Loss-Versus-Rebalancing Black-Scholes adverse selection](/protocols/loss-versus-rebalancing-lvr-black-scholes-amm-adverse) and addressed via custom rebalancing hooks in [Uniswap v4 singleton flash accounting](/protocols/uniswap-v4-singleton-flash-accounting-dynamic-fee-hooks) inside our [AMM, CLOB & Intent DEX hub](/topics/amm-clob-intent-dex-settlement).

## Frequently asked questions

### Why does Uniswap v3 store sqrtPriceX96 instead of a standard 18-decimal token price?

Within a constant-liquidity tick segment, changes in sqrt(P) relate linearly to token1 reserves (Delta_y = L * Delta_sqrtP) and changes in 1/sqrt(P) relate linearly to token0 reserves, eliminating expensive on-chain square-root calls during simple swaps.

### How much extra gas does crossing an initialized tick add to a Uniswap v3 swap?

Crossing each initialized tick boundary adds roughly 14,000 to 22,000 gas on EVM chains due to reading the tick struct from storage, flipping feeGrowthOutside accumulators via SSTORE, and updating active liquidity L.

### What is the role of the tickBitmap mapping in concentrated liquidity AMMs?

tickBitmap packs 256 boolean initialized-tick flags into each uint256 storage word, letting the swap loop locate the next active boundary across up to 256 * tickSpacing ticks using bit-shift intrinsics in a single SLOAD.

### Does tighter concentration reduce impermanent loss or increase it?

Tighter concentration multiplies both fee capture and divergence loss (impermanent loss / LVR) by the exact same concentration factor; if swap fee revenue fails to exceed amplified convexity decay, tight ranges underperform.


## Source URLs

- https://uniswap.org/whitepaper-v3.pdf
- https://docs.uniswap.org/contracts/v3/reference/core/UniswapV3Pool
- https://eips.ethereum.org/EIPS/eip-20

## Citation

- APA: Dr. Devon Kurosawa, PhD. (2026). Uniswap v3 Tick Spacing, Q64.96 Virtual Reserves & Concentrated Liquidity Depth Math. NFTVenue Ledger. https://nftvenueledger.com/protocols/uniswap-v3-tick-spacing-concentrated-liquidity-depth
- Canonical article: [Uniswap v3 Tick Spacing, Q64.96 Virtual Reserves & Concentrated Liquidity Depth Math](https://nftvenueledger.com/protocols/uniswap-v3-tick-spacing-concentrated-liquidity-depth)
- Site research index: [NFTVenue Ledger](https://nftvenueledger.com/llms-full.txt)
