> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CLMM

> Concentrated-liquidity AMM. Liquidity is deposited into price ranges (ticks); positions earn fees only when the price is in range.

## What it is

CLMM is Raydium's concentrated-liquidity AMM, inspired by Uniswap v3's design and adapted to Solana's account model. Liquidity providers choose a price range rather than providing across the whole curve; capital efficiency is dramatically higher for stable and correlated pairs.

**Program ID:** see [reference/program-addresses](/reference/program-addresses).

**Token-2022:** supported (with caveats documented under [`fees`](/products/clmm/fees)).

## Chapter contents

<CardGroup cols={2}>
  <Card title="Overview" icon="circle-info" href="/products/clmm/overview">
    Conceptual model: sqrt-price representation, ticks, liquidity math, and why positions can go "out of range."
  </Card>

  <Card title="Accounts" icon="database" href="/products/clmm/accounts">
    PoolState, AmmConfig, TickArrayState, PersonalPositionState, ObservationState. Seeds, field layouts.
  </Card>

  <Card title="Ticks and positions" icon="grid" href="/products/clmm/ticks-and-positions">
    Tick spacing, tick arrays, how a position maps to two tick boundaries, how liquidity crosses a tick.
  </Card>

  <Card title="Math" icon="function" href="/products/clmm/math">
    Sqrt-price formulas, liquidity ↔ token-amount conversion, fee growth accounting, swap step algorithm.
  </Card>

  <Card title="Instructions" icon="terminal" href="/products/clmm/instructions">
    CreatePool, OpenPosition, IncreaseLiquidity, DecreaseLiquidity, Swap, CollectFee, CollectReward, UpdateRewardInfos.
  </Card>

  <Card title="Fees and rewards" icon="coins" href="/products/clmm/fees">
    Fee tiers, protocol/fund fee splits, reward schedules (up to three reward mints per pool).
  </Card>

  <Card title="Code demos" icon="code" href="/products/clmm/code-demos">
    Create pool, open position, increase/decrease liquidity, swap, collect fees and rewards.
  </Card>
</CardGroup>

## When to read this

* You are providing concentrated liquidity or building tooling for LPs.
* You are implementing range-order or auto-rebalancing strategies.
* You are a router that needs to price a CLMM swap accurately.
