> ## 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](https://docs.raydium.io/reference/program-addresses.md).

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

## Chapter contents

> [card] [Overview](https://docs.raydium.io/products/clmm/overview.md)
>
> Conceptual model: sqrt-price representation, ticks, liquidity math, and why positions can go "out of range."

> [card] [Accounts](https://docs.raydium.io/products/clmm/accounts.md)
>
> PoolState, AmmConfig, TickArrayState, PersonalPositionState, ObservationState. Seeds, field layouts.

> [card] [Ticks and positions](https://docs.raydium.io/products/clmm/ticks-and-positions.md)
>
> Tick spacing, tick arrays, how a position maps to two tick boundaries, how liquidity crosses a tick.

> [card] [Math](https://docs.raydium.io/products/clmm/math.md)
>
> Sqrt-price formulas, liquidity ↔ token-amount conversion, fee growth accounting, swap step algorithm.

> [card] [Instructions](https://docs.raydium.io/products/clmm/instructions.md)
>
> CreatePool, OpenPosition, IncreaseLiquidity, DecreaseLiquidity, Swap, CollectFee, CollectReward, UpdateRewardInfos.

> [card] [Fees and rewards](https://docs.raydium.io/products/clmm/fees.md)
>
> Fee tiers, protocol/fund fee splits, reward schedules (up to three reward mints per pool).

> [card] [Code demos](https://docs.raydium.io/products/clmm/code-demos.md)
>
> Create pool, open position, increase/decrease liquidity, swap, collect fees and rewards.

## 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.