Skip to content
Sat, Jul 25 UTC 22:29:52 MKT CAP $1.99T
BitcoinBTC $64,390.48 +0.37% EthereumETH $1,875.21 +0.86% TetherUSDT $1.00 +0.00% BNBBNB $569.67 +0.91% XRPXRP $1.10 +0.85% USD CoinUSDC $1.00 +0.00% SolanaSOL $74.41 +0.76% TRONTRX $0.3315 +0.30% DogecoinDOGE $0.0723 +4.44% XMR $362.66 -0.12% CardanoADA $0.1650 +0.79% ToncoinTON $1.60 +0.95% StellarXLM $0.1788 +0.85% ChainlinkLINK $8.38 +0.76% DaiDAI $1.00 +0.00% Bitcoin CashBCH $209.50 -0.14%
Glossary

What is Automated Market Maker (AMM)? Intermediate

An automated market maker is the pricing engine behind most decentralised exchanges. Instead of matching buyers with sellers in an order book, it holds assets in a pool and quotes a price from their relative quantities using a fixed formula. Anyone can trade against the pool, and anyone can supply assets to it.

The core trick is replacing negotiation with arithmetic. A pool holds a reserve of two assets, and a formula, classically one in which the product of the two reserves stays constant, determines the exchange rate. Buying one asset removes it from the pool and adds the other, which walks the quoted price along a curve. No counterparty needs to be waiting, because the pool is always willing to trade at whatever price the maths produces.

The assets come from liquidity providers, who deposit into a <a href="/glossary/liquidity-pool/">liquidity pool</a> and receive a share of trading fees in return. This is not free income. When the two assets diverge in price, the pool automatically ends up holding more of the weaker one, and a provider can finish worse off than if they had simply held both, an effect known as <a href="/glossary/impermanent-loss/">impermanent loss</a>. Fees may or may not cover it.

For traders, what matters is the size of the order relative to the pool. A large order against a small pool walks a long way up the curve and fills at a much worse average price than the quote suggested, which shows up as <a href="/glossary/slippage/">slippage</a>. Arbitrageurs are what keeps pool prices roughly in line with the wider market, taking a profit from the gap each time one opens.

Later designs concentrate liquidity within a chosen price range, or use curves tuned for assets meant to trade near parity, which improves efficiency and introduces its own complications. The risks stay concrete. The pool is a smart contract that can be exploited, pending transactions are public and can be front-run or sandwiched, and anyone can create a pool for a worthless token that looks identical to a real one. Verify the contract address, not the ticker.

Learn this in The Foundation

DeFi Basics and Risks

Key takeaways

  • An AMM quotes prices from pool reserves and a formula, so pool depth rather than a counterparty decides what you actually pay.
  • Supplying liquidity earns fees while accepting impermanent loss, and the two do not automatically net out in your favour.
  • Anyone can list any token in a new pool, so match the contract address against an authoritative source before trading.

Automated Market Maker (AMM) — frequently asked questions

Why did I receive less than the price the screen showed?

Because an AMM price moves as your own trade executes. The quote reflects the pool before your order, and buying pushes the price along the curve, so the larger your trade relative to the pool the worse the average fill. Fees and any transactions that land ahead of yours widen the gap further. Slippage settings cap how much of this you are willing to accept.

Is providing liquidity the same as a savings product?

No. You are taking on a position that automatically rebalances against you as prices move, in exchange for a share of fees. If one asset falls hard against the other you end up holding more of the loser, and the fees may not make up the difference. The contract itself can also fail. It is an active risk position, not a deposit.

This definition is educational and not financial advice. Crypto is volatile and high-risk — always do your own research.
Keep learning

New to crypto, or filling in the gaps? Work through the essentials in Learn, browse every term A–Z, or see live prices for the coins these concepts power.