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

Tick

A tick is a discrete price point on a concentrated liquidity AMM; liquidity is allocated between specific ticks, which serve as the boundaries for a provider's active price range.
Chainscore © 2026
definition
BLOCKCHAIN DATA STRUCTURE

What is a Tick?

A tick is the smallest, indivisible unit of liquidity and price movement within a concentrated liquidity Automated Market Maker (AMM) like Uniswap V3.

In a concentrated liquidity AMM, a tick is a discrete price point on a predefined price curve, analogous to the ticks on a number line. Unlike traditional constant-product AMMs where liquidity is distributed uniformly across an infinite price range (0, ∞), liquidity providers (LPs) in systems like Uniswap V3 allocate their capital to specific, contiguous tick ranges. Each tick has an associated tick index, which maps directly to a specific price via the formula price = 1.0001^{tickIndex}. This granular structure allows LPs to concentrate capital around expected trading prices, dramatically increasing capital efficiency.

The tick spacing is a protocol-defined parameter (e.g., 1, 10, 60, or 200 ticks) that determines how far apart active ticks can be for a given trading pair. A smaller spacing allows for more precise liquidity positioning but increases gas costs for swaps that cross multiple ticks. When a swap moves the market price across a tick boundary, the pool's active liquidity changes, as the liquidity provided in the now-out-of-range tick is no longer used. This mechanism ensures that only the most relevant liquidity at the current price is utilized for trades, minimizing slippage.

From a developer's perspective, ticks are the fundamental state variable for tracking liquidity. The AMM smart contract maintains a ticks mapping, storing for each initialized tick the amounts of liquidity that must be added or removed when the price crosses it. This is managed via the tickBitmap, a gas-efficient bitmap that tracks which ticks are initialized. Understanding ticks is essential for building advanced DeFi applications, optimizing LP strategies, and analyzing on-chain liquidity distribution, as they form the atomic building blocks of modern AMM pricing and fee accrual.

how-it-works
MECHANICS

How Ticks Work in an AMM

An explanation of the discrete price intervals that form the foundation of concentrated liquidity in automated market makers like Uniswap V3.

In an Automated Market Maker (AMM), a tick is the smallest, discrete price interval at which liquidity can be provided, representing a fixed point on a logarithmic price scale. Unlike earlier AMMs where liquidity was distributed uniformly across an infinite price range, the tick system allows liquidity providers (LPs) to concentrate their capital within specific, bounded price ranges defined by tick indices. Each tick corresponds to a 0.01% (1 basis point) price movement by default in pools like Uniswap V3, calculated as a 1.0001 multiplier to the square root of the price ratio.

The system is defined by a tick spacing parameter, which determines which ticks are active for a given pool. For example, a 0.3% fee tier pool might have a tick spacing of 60, meaning liquidity can only be placed on ticks that are multiples of 60 (e.g., ticks 0, 60, 120). This spacing creates granular but manageable liquidity "buckets," reducing gas costs and computational complexity. When a trade moves the price from one tick to another, the AMM's liquidity depth and the applicable exchange rate change accordingly, as different LPs' positions become active or inactive.

For a liquidity provider, selecting a tick range is a critical decision. By depositing assets between a lower tick and an upper tick, an LP's capital is only used for swaps occurring within that price interval. This concentration allows for greater capital efficiency and higher fee earnings per unit of capital while the price remains in-range, but it also introduces the risk of impermanent loss if the price moves outside the chosen range, rendering the position inactive and non-earning. The tick system thus transforms liquidity provision from a passive, blanket coverage into an active strategy of price range prediction.

key-features
UNISWAP V3

Key Features of Ticks

In Uniswap V3, a tick is the smallest discrete price interval on a concentrated liquidity Automated Market Maker (AMM). These features define its mechanics and utility.

01

Price Granularity

A tick represents the smallest possible price movement on a Uniswap V3 pool. The spacing between ticks is defined by the tick spacing, which is a pool parameter (e.g., 1, 10, 60, 200). This creates a discrete grid of prices where liquidity can be concentrated.

  • Example: For a USDC/ETH pool with a tick spacing of 60, liquidity can only be placed at price intervals corresponding to 1.0001^60 (~0.6%) apart.
02

Liquidity Concentration

Liquidity providers (LPs) deposit assets within a specific price range, defined by an upper and lower tick index. Liquidity is only active and earns fees when the market price is between these ticks.

  • This allows LPs to act like limit orders, providing deep liquidity at chosen prices.
  • Capital efficiency is dramatically increased compared to full-range (V2-style) liquidity.
03

Tick Index & Price Calculation

Each tick is identified by an integer tick index (i). The price at a given tick is calculated as: p(i) = 1.0001^i

  • A tick index of 0 corresponds to a price ratio of 1:1.
  • Moving to a higher index increases the price for token0 relative to token1.
  • This fixed relationship ensures deterministic, on-chain price calculation.
04

Tick Spacing & Gas Efficiency

Tick spacing is a pool-level parameter that determines how many ticks apart LPs can place their liquidity bounds.

  • Common spacings: 1 (0.01%), 10 (0.1%), 60 (~0.6%), 200 (~2%).
  • Wider spacing reduces the number of initialized ticks, lowering gas costs for swaps and liquidity management.
  • It represents a trade-off between price granularity and computational efficiency.
05

Initialized Ticks & LiquidityNet

Only ticks where liquidity starts or ends are initialized and stored in the pool's tick bitmap. Each initialized tick tracks liquidityNet, the net change in active liquidity (L) when the price crosses it.

  • Crossing a tick from below adds its liquidityNet to the active liquidity.
  • Crossing from above subtracts it.
  • This system allows the pool to efficiently track active liquidity across the entire price continuum.
06

Crossing a Tick

A swap crosses a tick when the calculated price moves past an initialized tick boundary. This is a critical event that:

  1. Updates the pool's current tick and sqrtPriceX96.
  2. Adjusts the active liquidity by the tick's liquidityNet.
  3. May trigger the collection of protocol fees.
  • The gas cost of a swap increases slightly with each tick crossed.
tick-spacing
LIQUIDITY POOL MECHANICS

Tick Spacing and Granularity

Tick spacing defines the minimum price movement between discrete price points in an automated market maker (AMM), directly impacting liquidity concentration and capital efficiency.

In a concentrated liquidity AMM like Uniswap V3, the price continuum is discretized into fixed intervals called ticks. Tick spacing is the fixed distance between these allowable price ticks, set as a protocol parameter per pool (e.g., 1, 10, 100, or 200 basis points). This spacing determines the granularity of price points where liquidity providers (LPs) can deploy capital. A smaller spacing allows for finer, more precise liquidity concentration around the current price, while a larger spacing reduces the number of possible positions, simplifying management and lowering gas costs for swaps and liquidity adjustments.

The choice of tick spacing creates a fundamental trade-off between capital efficiency and gas efficiency. For stablecoin pairs (e.g., USDC/USDT), a tight spacing of 1 basis point is common, as prices fluctuate within a narrow corridor, enabling highly efficient use of capital. For volatile asset pairs (e.g., ETH/DAI), a wider spacing like 60 or 200 basis points is typical, as the price range is broader; this reduces the frequency of positions falling out of range and minimizes the gas overhead from managing numerous, closely-packed ticks. The spacing is immutable once a pool is created, making it a critical design decision for pool creators.

From a technical perspective, tick spacing is implemented via a tick index. The price at tick i is calculated as price = 1.0001^i. The spacing dictates which ticks are initializable; for a spacing of 10, only ticks divisible by 10 (..., -20, -10, 0, 10, 20, ...) can hold liquidity. This structure allows the AMM to track liquidity and fees per tick bitmap, optimizing on-chain computation. The granularity defined by spacing directly influences slippage; denser ticks provide more incremental price steps, generally leading to lower slippage for trades that move the price across multiple ticks.

examples
IMPLEMENTATIONS

Protocol Examples Using Ticks

The concept of a tick is implemented differently across blockchain protocols, primarily for organizing and pricing assets within automated market makers (AMMs).

06

Traditional Finance: Order Book Ticks

The tick concept originates in traditional finance, where a tick is the minimum price movement of a trading instrument. For example, a stock might have a tick size of $0.01. In CLOB-based DEXs (Central Limit Order Book Decentralized Exchanges), this concept is directly imported, defining the granularity at which limit orders can be placed, contrasting with the continuous pricing curve of constant product AMMs.

technical-details
TECHNICAL DETAILS

Tick Math and Indexing

A deep dive into the mathematical precision and computational logic that underpin the tick system in automated market makers (AMMs).

In the context of decentralized exchanges (DEXs) like Uniswap V3, a tick is the smallest, discrete price interval on a concentrated liquidity price curve. The system uses an integer tick index to represent these intervals, where the actual price is derived from the formula price = 1.0001^i, with i being the tick index. This logarithmic scaling allows the protocol to represent an enormous range of prices with high granularity while using efficient integer math on-chain, avoiding computationally expensive floating-point or fractional numbers.

The choice of base 1.0001 is a critical engineering trade-off. It provides a 0.01% minimum price movement (or tick spacing) when the index changes by 1, which is sufficiently granular for most assets. This base creates a geometric progression where prices are stored as sqrtPriceX96—a fixed-point representation of the square root of the price, encoded in 128.128-bit (Q128.128) format with 96 bits of integer precision. This representation optimizes the calculation of liquidity and token amounts within a position's defined tick range.

Tick indexing enables concentrated liquidity, where liquidity providers (LPs) can allocate capital to specific price intervals between a lower tick and an upper tick. The protocol only utilizes the deposited liquidity when the current market price moves within this chosen range. This system dramatically increases capital efficiency compared to earlier AMM designs, as liquidity is concentrated around the current price rather than spread evenly across the entire (0, ∞) price spectrum.

Computationally, crossing a tick boundary triggers a state update and may involve the collection of accrued swap fees. The protocol maintains a global bitmap and tick information mapping to track which ticks are "initialized" (have liquidity attached). When a swap moves the price across an initialized tick, the liquidity active in the pool is updated, and the fee growth outside the tick is recorded, which is essential for calculating an LP's share of fees when they withdraw their position.

LIQUIDITY PROVISION MECHANICS

Tick-Based vs. Traditional AMM Liquidity

A technical comparison of concentrated liquidity models versus constant product formulas.

Feature / MetricTick-Based AMM (e.g., Uniswap V3)Traditional AMM (e.g., Uniswap V2)

Liquidity Concentration

Capital Efficiency

Up to 4000x higher

1x (Baseline)

Price Range

Custom, user-defined ticks

Zero to infinity (full range)

Impermanent Loss Exposure

Concentrated within range

Across entire price curve

Fee Accrual

Only for trades within active range

For all trades on the pair

Liquidity Management

Active (requires rebalancing)

Passive (set-and-forget)

Price Precision

1.0001^(tick index)

Continuous, limited by reserves

Typical Use Case

Professional LPs, specific strategies

General passive liquidity

security-considerations
TICK

Security and Risk Considerations

A tick is the smallest possible price movement for a trading pair on a DEX like Uniswap V3. While a core mechanism for liquidity provision, its granularity introduces specific security and risk vectors that must be managed.

01

Concentrated Liquidity Risk

Ticks enable concentrated liquidity, where capital is allocated to a specific price range. The primary risk is liquidity fragmentation and impermanent loss magnification. If the price moves outside your active tick range, your liquidity becomes inactive, earning no fees and missing price action. This requires active management to avoid being priced out.

02

Tick Spacing and Slippage

Each pool has a defined tick spacing (e.g., 1, 10, 60, 200 basis points). Wider spacing reduces granularity, increasing potential slippage for trades that cross ticks. Key considerations:

  • Higher gas costs for crossing multiple, densely packed ticks.
  • Front-running risk: Bots may exploit predictable price impacts at tick boundaries.
  • Slippage tolerance must account for the discrete jump in price when moving to the next tick.
03

Oracle Manipulation Vectors

Time-weighted average price (TWAP) oracles that read from tick-based AMMs can be manipulated. An attacker with sufficient capital can temporarily push the price across a critical tick boundary, affecting the oracle output. This is more feasible in pools with low liquidity or wide tick spacing, where moving the price one tick requires less capital.

04

Gas Optimization vs. Precision Trade-off

Liquidity positions spanning many ticks incur higher gas costs for minting, adjusting, and burning. This creates a security trade-off:

  • Fewer Ticks: Lower gas, less precision, higher exposure to being priced out.
  • More Ticks: Higher gas, finer precision, but more complex position management.
  • Attackers may exploit users who under-provision gas for complex multi-tick transactions.
05

Smart Contract Complexity & Audit Surface

Tick math (e.g., TickMath.getSqrtRatioAtTick) introduces complex, low-level integer calculations into the core AMM contract. This increases the audit surface area and risk of:

  • Integer overflow/underflow in tick indexing and liquidity accounting.
  • Rounding errors in fee calculation across tick boundaries.
  • Vulnerabilities in the tick bitmap that tracks initialized liquidity positions.
06

Liquidity Provider (LP) Management Risk

Ticks shift risk management responsibility to LPs. Critical failures include:

  • Inactive Capital: Misconfigured ranges lead to zero fee earnings.
  • Gas-Inefficient Rebalancing: Frequent adjustments to chase price can erode profits.
  • MEV Extraction: Bots may sandwich LP adjustments that cross ticks.
  • Oracle Read Manipulation: As noted, affecting LP's own dependent strategies.
TICK

Frequently Asked Questions (FAQ)

Common questions about the Bitcoin-native token standard known as Ticks, which enable fungible tokens on the Bitcoin blockchain using the Runes protocol.

A Tick is the unique, case-sensitive name of a fungible token created using the Runes protocol on the Bitcoin blockchain. It functions as the primary identifier for a token, similar to a ticker symbol in traditional finance, and is permanently etched into the blockchain during the token's creation. Unlike other token standards, Runes uses the Unified Theory of Bitcoin (UTXO) model, where token balances are tied to individual transaction outputs. The tick name must be between 1 and 26 characters, consisting only of the letters A through Z, and is unique within the Runes ecosystem, preventing duplication.

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