Market Structure
How AMM Reserves and Curves Turn Trades Into Prices
Automated market makers turn reserve balances and curve formulas into live token prices, shifting slippage and inventory risk directly onto traders.
Automated market makers set prices by applying a fixed mathematical curve to the tokens held in a liquidity pool. Every swap changes those reserve balances, so the quoted price moves immediately: buying one asset removes it from the pool and makes the next unit more expensive, while depositing the other asset pushes its side of the ratio higher. The mechanism replaces a traditional order book and market maker with shared inventory, an on-chain formula and capital supplied by liquidity providers.
How do AMM reserves determine a token price?
In the common constant-product design, the pool tries to keep x × y = k, where x and y are the two token reserves and k is their product. Ignoring fees, a pool holding 100 units of token A and 10,000 units of token B implies a marginal price near 100 B per A. A trader cannot buy all 100 A at that rate. As A leaves the reserve, the curve requires progressively more B for each additional A.
That difference between the starting quote and the trade’s average execution price is price impact. It depends on order size relative to available liquidity, not simply on trading volume or the token’s headline market capitalization. A deeper pool moves less for the same order; a shallow pool can reprice sharply after one swap. This Japanese primer on AMM pricing offers another view of how reserve changes translate into quotes.
Why do AMMs use curves instead of order books?
Curves guarantee that a quote is available as long as both reserves remain, while order books require someone to post bids and offers at specific prices. That makes AMMs useful for assets with fragmented or thin liquidity, but the certainty comes at a cost: execution worsens along the curve as trade size grows.
- Constant-product curves support a broad price range but impose visible slippage on large orders.
- Stable-asset curves can keep prices tighter near parity, then become steeper as reserves grow unbalanced.
- Weighted pools use unequal reserve weights, changing both the implied price and inventory exposure.
- Fees are added to the pool or assigned to providers, compensating capital for taking the other side of flow.
The curve does not know an asset’s fair value. It only knows its reserves and formula. Arbitrageurs provide the connection to outside markets: when an AMM quote diverges from a larger exchange, they trade against the pool until the reserve ratio again reflects the broader price.
Who bears the risk when an AMM price moves?
Liquidity providers bear the inventory risk, while traders bear slippage and transaction costs. When outside prices change, arbitrageurs tend to buy the underpriced asset from the pool and sell the overpriced one into it. Providers collect fees, but their pool position can underperform simply holding the same tokens because the curve automatically sells the rising asset and accumulates the falling one. That shortfall is commonly called impermanent loss, though it becomes economically real when liquidity is withdrawn.
What should traders check before using an AMM?
Traders should examine pool depth, expected price impact, fees and the route chosen by an aggregator before signing. The displayed spot price is not the execution price for a meaningful order, and splitting a swap across pools can improve the result. The clear verdict is that AMMs do not discover value by themselves; they convert reserve scarcity into a price and rely on arbitrage capital to keep that price aligned with the market. The next concrete signal to watch is reserve imbalance: it shows where liquidity is thinning, where slippage will rise and which providers are absorbing the market’s next move.
Filed under
- Market Structure
- Protocol Economics