Skip to main content
defi

What is AMM?

Automated Market Maker - an algorithm that sets prices and enables trading using math formulas instead of traditional order books.

An AMM (Automated Market Maker) is an algorithm that enables trading without order books. Instead of matching buyers with sellers, AMMs use mathematical formulas to price assets based on supply in liquidity pools.The constant product formula: x * y = kWhere x and y are token quantities, and k stays constant. When you buy token x, you add y to the pool, changing the ratio and thus the price.Popular AMM models:Uniswap (x*y=k): Simple, works for all pairsCurve (StableSwap): Optimized for stablecoins, minimal slippageBalancer: Multi-asset pools with custom weightsAdvantages: Always-on liquidity, no counterparty needed, permissionless listing. Disadvantages: Impermanent loss, MEV exploitation, capital inefficiency.How the constant product formula works in depth: In the x * y = k model, the pool always maintains a fixed product of its two token reserves. When a trader buys token A, they deposit token B, increasing B's supply while decreasing A's. The price shifts along a curve, meaning larger trades cause proportionally more slippage. This differs fundamentally from traditional order book exchanges where prices are set by discrete buy and sell orders placed by market makers and traders.Role in the DeFi ecosystem: AMMs are the backbone of decentralized finance, enabling 24/7 trading without intermediaries. They power not just spot trading but also stablecoin swaps, derivative platforms, and cross-chain bridges. Their permissionless nature means any token can have a market from day one, democratizing access to liquidity that previously required professional market makers.

Learn More About Crypto Investing

Get weekly insights on tokenomics and pre-IPO opportunities.

Examples

  • 1.Uniswap's AMM handles billions in volume using a simple x*y=k formula that anyone can provide liquidity to.
  • 2.Curve's StableSwap AMM is optimized for assets that should trade 1:1, minimizing slippage for stablecoin swaps.

Frequently Asked Questions

What is an AMM?
An AMM (Automated Market Maker) is a smart contract that uses math formulas to set prices and enable trading. It replaces traditional order books with algorithmic pricing based on liquidity pool ratios.
How do AMMs set prices?
Most use constant product formula (x*y=k). When you buy one token, you add the other to the pool, changing the ratio and thus the price. Large trades cause more price impact (slippage).
Why do AMMs cause impermanent loss?
AMMs automatically rebalance as prices change. Arbitrageurs profit from price differences, extracting value from LPs. You end up with more of the losing token and less of the winner.

Related Terms

More defi Terms

Related Articles

IPO Genie decorative background
IPO Genie logo
Audited by :
SolidProof audit badgeCertiK audit badge
© 2026 IPO. All Rights Reserved.
Address
IPO Genie Ltd
Withfield Tower, 3rd Floor.
4792 Coney Drive, Belize
Newsletter
Subscribe to our newsletter!
We value your privacy.
Buy Now