What is an AMM? Automated market makers explained
In crypto, AMM stands for automated market maker: the kind of exchange behind Uniswap, Raydium, Orca, Meteora and PumpSwap. This guide explains how an AMM sets a price, then compares the three designs in use today (constant product, concentrated liquidity and bins) with the same worked trade, so you can see what each one means for traders and for the people providing the liquidity.
In short
An automated market maker (AMM) is a decentralized exchange where traders swap against a pool of two tokens, and a formula, not an order book, sets the price from the pool's reserves.
Constant-product AMMs spread liquidity across every price, concentrated-liquidity AMMs let each provider pick a price range, and bin AMMs split the price line into fixed-price bins. Same idea, very different depth for the same money.
What is an automated market maker?
An automated market maker is a set of smart contracts that holds token reserves and quotes a price for any swap against them, using a fixed formula instead of matching buyers with sellers. Uniswap's How Uniswap works page defines it this way: instead of relying on order books, an AMM is a set of smart contracts that let anyone swap tokens, provide liquidity or create new markets directly on-chain. This guide focuses on two-token DEX pools; lending pools, multi-asset pools and other designs have different mechanics.
The reserves come from liquidity providers (LPs), who deposit both tokens and earn a share of every swap fee. The pool is the counterparty to every trade, so there is always a price, even for a token nobody else is quoting. Our guide to liquidity pools covers the pool side in more depth.
How is an AMM different from an order book?
An order book matches individual buy and sell orders at prices people chose, while an AMM prices every trade from its reserves with a formula. Meteora's LP guide draws the same line: on a traditional exchange a central order book matches orders, usually through an intermediary, while an AMM lets traders trade against the tokens deposited in a pool.
- Who quotes the price
- Order book: market makers and traders placing orders. AMM: the pool's formula.
- Who is on the other side
- Order book: another trader. AMM: the pool, funded by LPs.
- What a big trade costs
- Order book: it walks the book. AMM: it moves the reserves, so price impact follows from depth.
- Who can make a market
- Order book: users submit bids and asks under the venue's access rules. AMM: liquidity is supplied under the pool's deposit rules.
How does a constant product AMM work?
A constant product AMM keeps the product of its two reserves fixed, x × y = k, so each trade is priced by how far it shifts the reserves. This is the formula behind Uniswap, as the Uniswap v2 whitepaper describes it: the product of the reserves cannot decrease. Uniswap's docs add that larger trades relative to pool depth move the price more. The design is simple and the liquidity never runs out, because it covers every price from zero to infinity.
The worked trade
Take a SOL/USDC pool holding 100 SOL and 15,000 USDC, so SOL is $150. Someone buys SOL with 1,500 USDC (fees left out to keep the maths clean). The USDC reserve becomes 16,500, the SOL reserve must fall to 1,500,000 / 16,500 = 90.91, and the buyer receives 9.09 SOL at an average of $165. The new price is $181.50, up 21%. Keep those numbers; the next section runs the same trade through a concentrated pool.
Constant-product pools in use today include Uniswap v2, Raydium CPMM, Meteora DAMM v1, Orca Splash pools, PumpSwap and PancakeSwap v2. Fees are typically flat: Uniswap's fee docs put every v2 pool at 0.30%, added to the reserves so LP shares grow automatically; since December 2025, 0.05% of that goes to the protocol, leaving LPs 0.25%.
What is concentrated liquidity?
Concentrated liquidity is an AMM design where each LP chooses a price range and their capital only trades while the price is inside it. Uniswap's concentrated liquidity docs explain why: in a full-range pool most liquidity is never used. Their example is the v2 DAI/USDC pair, which used only about 0.50% of its capital for trading between $0.99 and $1.01, where most of its volume happened. The price line is divided into ticks, each 0.01% apart, and a position is the range between two ticks.
The same trade, concentrated
Put the same 100 SOL and 15,000 USDC into a range from $120 to $187.50 instead of full range, using the concentrated-liquidity formulas from the Uniswap v3 whitepaper. The same 1,500 USDC buy now returns 9.90 SOL at an average of $151.58 and moves the price to $153.18, up 2.1% instead of 21%. The range acts like about 9.5 times as much full-range liquidity.
The trade-off is the edge. After about $16,770 of net buying, price reaches $187.50 and this position has sold all its SOL; above that it holds only USDC and earns nothing until price comes back. That is why concentrated positions need managing, and why impermanent loss is larger on narrow ranges. Uniswap v3 and v4, Orca Whirlpools, Raydium CLMM and PancakeSwap v3 all work this way.
What is a bin-based AMM (DLMM)?
A bin-based AMM splits the price line into discrete bins, each holding liquidity at one fixed price, and swaps fill bin by bin. Meteora's DLMM docs describe it: only one bin is active at a time, trades inside it execute at that bin's fixed price with zero slippage, and price only moves when the active bin is used up and the pool shifts to the next one. The gap between bins is the bin step, up to 400 basis points, small for stable pairs and wider for volatile tokens.
Two things set DLMM apart for LPs. Fees can be dynamic: every swap pays a base fee, and a variable fee rises when swaps cross more bins or arrive in quick succession. And because each bin is separate, an LP chooses how a deposit spreads across bins, a liquidity shape. PancakeSwap Infinity Bin uses the same bin model.
Spot spreads a deposit evenly, Curve stacks it near the current price, and Bid-Ask weights the edges. Our DLMM strategies guide covers when each shape fits, and the shapes docs show how lp.xyz applies the same shapes on concentrated pools.
Which type of AMM is best?
No AMM type is best in general; each suits a different job.
- Constant product
- Best when you will not manage the position: it never goes out of range. Least fee per dollar, and the easiest pool to create for a new token.
- Concentrated liquidity
- Best when you can watch the price: far more depth and fees per dollar while in range, nothing out of range. Supports single-sided range orders, as bins do.
- Bins (DLMM)
- Best when you want control over the shape of your liquidity or volatility-linked fees. Same out-of-range trade-off as concentrated.
Whatever the design, the pool is only as good as its tokens and its volume. Before depositing, check the token for the risks in our rug pull guide.
Which AMMs does lp.xyz support?
lp.xyz supports 6 AMMs on Solana and EVM, covering all three designs. Paste a token and the hub finds its pools on each supported venue for that chain, then offers only the actions each pool model can do, so a single-sided wall is only offered where the model takes a one-sided deposit. A pool aggregator is a tool for finding pools, not another kind of AMM: our liquidity pool aggregator page shows how lp.xyz lets you compare pools across supported AMMs. For one venue at a time, see our guides to Orca, Raydium, Meteora DAMM v2, PumpSwap and PancakeSwap.
Related
- What is a liquidity pool?: how pools price trades and how to judge one.
- Single-sided liquidity: range orders on concentrated and bin AMMs.
- Create a pool: what each venue creates on lp.xyz.
This guide is educational, not financial advice: providing liquidity can lose money, and the numbers above are hypothetical examples.

