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 = k
Where 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 pairs
- Curve (StableSwap): Optimized for stablecoins, minimal slippage
- Balancer: Multi-asset pools with custom weights
Advantages: 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?
How do AMMs set prices?
Why do AMMs cause impermanent loss?
Related Terms
More defi Terms
Liquidity Pool
A pool of tokens locked in a smart contract that enables decentralized trading - no order books, no middlemen, just math and code.
Yield Farming
Earning rewards by providing liquidity or staking tokens across DeFi protocols - chasing the highest APY like a digital farmer tends crops.
Impermanent Loss
The loss liquidity providers face when token prices change - your LP position ends up worth less than if you had simply held the tokens.
TVL
Total Value Locked - the total crypto assets deposited in a DeFi protocol, measuring its size and user trust.
DEX
Decentralized Exchange - trade crypto directly from your wallet without a middleman, using smart contracts instead of company servers.
Staking
Locking your crypto to help secure a blockchain network and earn rewards - like earning interest for supporting the system.
Related Articles

How Blockchain Ensures Transparency and Security in Crypto
In crypto, trust is not built on a bank's promise or a company's internal database. It is built on blockchain transparency and security, where the network keeps a shared

What Are DAOs (Decentralized Autonomous Organizations)?
DAOs (Decentralized Autonomous Organizations) are blockchain-based organizations that coordinate decisions, money, and execution using transparent rules instead of a traditional management structure.

How AI and Blockchain Work Together
Web3 is changing how value, identity, and ownership move online. AI blockchain integration pairs machine intelligence with blockchain infrastructure to verify data, enforce rules, and settle transactions transparently.

