Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Current Tick

The current tick is the specific, discrete price tick that corresponds to the instantaneous spot price of a trading pair in a concentrated liquidity automated market maker (AMM).
Chainscore © 2026
definition
DEFI & AMM MECHANICS

What is Current Tick?

In automated market makers (AMMs) like Uniswap V3, the current tick is a discrete integer representing the current price of a liquidity pool, derived from the square root price.

The current tick is a discrete integer value that represents the current price of a liquidity pool in a concentrated liquidity AMM. It is derived from the pool's continuous square root price (sqrtPriceX96) using the formula tick = floor(log₁.₀₀₀₁(sqrtPrice²)). This transformation converts the precise, continuous price into a manageable, index-like integer where each tick corresponds to a 0.01% (1 basis point) price movement. This granularity allows liquidity providers to allocate capital within specific price ranges defined by upper and lower ticks.

The tick is the fundamental unit for concentrated liquidity. When a liquidity provider creates a position, they specify a tickLower and tickUpper. The pool's current tick must be within this range for the position to be active and earning fees. As swaps occur and the pool's price changes, the current tick moves up or down. This movement determines which liquidity positions are in-range and contribute to trading, directly impacting capital efficiency and fee distribution across the protocol.

Monitoring the current tick is crucial for several operations. For traders, it indicates the immediate execution price. For liquidity providers and MEV searchers, it signals when a position will cross a tick boundary, triggering a state change that may require actions like rebalancing or presenting arbitrage opportunities. The tick system also underpins the calculation of swap fees and the tracking of accumulated fees per unit of liquidity (feeGrowthGlobal), which are essential for accurately settling rewards for providers.

key-features
CORE MECHANICS

Key Features

The Current Tick is a foundational concept for concentrated liquidity in Automated Market Makers (AMMs). It defines the active price range for liquidity provision and determines swap execution.

01

Price as an Integer

In AMMs like Uniswap V3, price is represented as a square root price, √(P). The Current Tick is the integer index derived from this price: tick = log₁.₀₀₀₁(√P). This discrete, integer-based system enables efficient on-chain computation and granular liquidity concentration.

02

Active Liquidity Range

Liquidity providers (LPs) deposit assets within a specific tick range (e.g., tick 2000 to 2500). The Current Tick determines which LP positions are currently active and earning fees. Only liquidity positioned at ticks that span the current price is utilized for swaps.

03

Swap Execution & Price Impact

During a swap, the protocol moves the Current Tick as the pool's price changes. The swap executes against the active liquidity at the current tick until it is depleted, then "crosses" into the next tick, updating the current price. This creates a step-function price curve with localized liquidity depth.

04

Tick Spacing

Pools have a tick spacing parameter (e.g., 1, 10, 60, 200). Liquidity can only be placed at ticks that are multiples of this spacing. This reduces gas costs and computational complexity. The Current Tick will always be a multiple of the pool's tick spacing.

05

Oracle Data Source

The historical record of Current Tick values over time forms a decentralized price oracle. Protocols can securely read the time-weighted average tick (TWAT) or tick cumulative values from the pool's storage, which is manipulation-resistant due to the cost of moving the tick.

06

Relation to Liquidity (L)

The pool maintains a global liquidity variable, L. This value changes only when the Current Tick crosses a boundary where a liquidity position begins or ends. L represents the total active liquidity available at the current tick and is used to calculate swap amounts.

how-it-works
UNISWAP V3 MECHANICS

How the Current Tick Works

An explanation of the current tick, a core concept in concentrated liquidity protocols like Uniswap V3 that determines the active price and available liquidity.

In a concentrated liquidity automated market maker (AMM) like Uniswap V3, the current tick is the specific, discrete price point on the price curve where the pool is currently trading. It is the integer index that represents the active exchange rate between the two tokens in the pool, calculated as tick = log₁.₀₀₀₁(√P), where P is the current price. This tick is updated with every swap that moves the price, and it directly dictates which liquidity positions are "in range" and therefore active, earning fees.

The tick system replaces the continuous price model of earlier AMMs. Prices are divided into ticks spaced at 0.01% increments (a 1 basis point change). When a swap is executed, the pool's price moves along the liquidity curve, jumping from one tick to the next. The current tick is always an integer, and the actual price is derived from it. This granular, stepwise movement is crucial for calculating swap amounts, fees, and determining when a position crosses out of its designated price range.

For liquidity providers, the current tick is the gatekeeper for fee earnings. A liquidity position only contributes to the pool and accrues fees when the current tick is within that position's lower and upper tick bounds. If the market price moves and the current tick exits a position's range, that position's liquidity becomes inactive and stops earning fees until the price returns. This mechanism allows LPs to target specific price ranges but requires active management based on where the current tick is trading.

From a technical perspective, the pool's internal accounting tracks liquidity per tick. The liquidityNet at each tick is the sum of all liquidity positions that start or end at that price. When a swap crosses a tick boundary, the liquidityNet value is added to or subtracted from the global active liquidity (L). Therefore, the current tick's location, combined with the aggregated liquidity net values of all ticks it has crossed, defines the total liquidity available for trading at any given moment, directly impacting price impact and slippage.

visual-explainer
VISUAL EXPLAINER

Current Tick

A visual guide to understanding the current tick, a core concept in Automated Market Makers (AMMs) that defines the exact price of a liquidity pool.

In a concentrated liquidity Automated Market Maker (AMM) like Uniswap V3, the current tick is the specific, discrete price point on the price curve where the pool is currently providing liquidity. It is the integer index that corresponds to the pool's instantaneous price, calculated as price = 1.0001^tick. When a swap moves the price, the current tick updates to reflect the new market rate, triggering liquidity activation or deactivation at adjacent ticks.

The current tick is not a continuous value but moves in fixed increments, each representing a 0.01% price change (a tick spacing of 1). This granularity creates a step-function price curve. Liquidity providers (LPs) deposit assets within a custom price range defined by a lower and upper tick. The pool's active liquidity—and thus its swap execution—is solely drawn from the liquidity positions for which the current tick falls within their specified range.

Understanding the current tick is crucial for analyzing pool state and LP performance. It determines which positions are in-range (earning fees) and which are out-of-range (idle, not participating in trades). The tick's movement is driven by the pool's reserve ratios; a swap that depletes one token will push the current tick up or down, crossing individual ticks where liquidity may be added or removed, impacting price impact and slippage.

For developers and analysts, the current tick is a fundamental on-chain data point. It is stored directly in the pool's contract state and can be queried to calculate the exact price, assess available liquidity depth, and simulate trade outcomes. Monitoring tick movement helps in constructing efficient liquidity strategies, as LPs aim to place their ranges around the anticipated trading zone of the current tick to maximize fee accrual.

ecosystem-usage
PRACTICAL APPLICATIONS

Ecosystem Usage

The Current Tick is a core data structure in concentrated liquidity AMMs like Uniswap V3, serving as a critical reference point for liquidity provisioning and price calculation.

01

Liquidity Range Anchoring

Liquidity providers (LPs) use the current tick as the central reference when defining their price range. This range is expressed as an offset from the current tick (e.g., tick ± 100). This anchoring mechanism ensures liquidity is concentrated around the current market price, maximizing capital efficiency for traders and fee generation for LPs.

02

Real-Time Price Calculation

The current tick is the primary input for calculating the real-time sqrtPriceX96. The formula price = (1.0001 ^ currentTick) ^ 2 derives the precise spot price of the pool. This value is used directly in smart contracts for swap execution, determining the exact amount of tokens to be transferred based on the constant product formula within the active liquidity range.

03

Tick Crossings & Swap Execution

During a swap, the contract iterates through initialized ticks. Each time the price moves enough to cross a tick boundary (changing the current tick), the pool's active liquidity changes. This process:

  • Updates liquidity: Adds or removes the liquidityNet from the crossed tick.
  • Triggers events: Emits a Swap event with the new tick and sqrtPrice.
  • Accumulates fees: Fees are accrued proportionally to the liquidity active during the tick interval.
04

Oracle Data Feeds

The current tick and its associated timestamp are stored in the pool contract's slot0. This provides a highly gas-efficient, on-chain data point for decentralized oracles. Protocols can calculate a time-weighted average price (TWAP) by observing the cumulative tick value over a period, which is resistant to short-term price manipulation.

05

Position Management & Health

Automated strategies and monitoring tools constantly track the current tick relative to a user's liquidity position. Key functions include:

  • Out-of-Range Alerts: Notifying LPs when the current tick moves outside their provided range, making their capital inactive.
  • Impermanent Loss Estimation: Calculating potential IL based on the distance between the current tick and the position's range.
  • Re-balancing Triggers: Signaling when to adjust or migrate a position to a new range centered on the updated current tick.
06

Integration in Perpetual Protocols

Perpetual DEXs like GammaSwap or Panoptic use the Uniswap V3 current tick as a trustless price feed for their options and perpetual contracts. The deterministic nature of tick progression based on swaps allows these protocols to settle positions and calculate payouts without relying on external oracles, leveraging the underlying AMM's price discovery mechanism.

DEFINITIONS

Technical Details

Precise explanations of the core technical concepts and mechanisms that define how blockchain protocols and decentralized applications function under the hood.

The current tick is an integer index that represents the active price range within a concentrated liquidity Automated Market Maker (AMM) like Uniswap V3. It is calculated from the current sqrtPriceX96 of the pool using the formula tick = floor(log_{1.0001}(sqrtPrice^2)). This tick determines which liquidity positions are currently active and earning fees. The price corresponding to the current tick is the virtual price at which the pool can trade an infinitesimal amount without crossing into a new tick boundary. Liquidity providers' capital is only utilized and accrues fees when the pool's price is within the specific tick range they defined for their position.

UNISWAP V3

Common Misconceptions

Clarifying frequent misunderstandings about the Current Tick, a core concept in Uniswap V3's concentrated liquidity model.

No, the current tick is an integer index, while the current price is a precise value derived from it. In Uniswap V3, the price is stored as a square root price, sqrtPriceX96. The current tick is the largest integer i such that tick_to_price(i) <= sqrtPriceX96. For example, if the current tick is 202930, the exact price is calculated as (1.0001 ^ 202930). The tick is a discrete, searchable index, while the price is the continuous, calculated result.

CURRENT TICK

Frequently Asked Questions

The current tick is a core concept in concentrated liquidity Automated Market Makers (AMMs) like Uniswap V3. It defines the precise price point where liquidity is currently concentrated and trading occurs.

The current tick is an integer index that represents the exact price of an asset pair within a concentrated liquidity Automated Market Maker (AMM). It is the specific tick where the pool's virtual liquidity is currently active, and all trades execute at the price defined by this tick. The tick is calculated as tick = log_{1.0001}(sqrtPriceX96), where sqrtPriceX96 is the square root of the price, scaled by 2^96. This granular system allows for extreme price precision, enabling liquidity providers to concentrate their capital within custom price ranges.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team