B.BlockAxis⌕ Search
Menu

Uniswap: why a larger swap changes the price

A swap does not need a person posting the opposite order.

IntermediateContent revised · 10.10.20265 min reading · allow 5–10 more minutes for the workshopBlockAxis
← My learning journey
Workshop · 20 XP

Awarded once after a correct answer.

The question we will work through

Read a quote through the reserves

Useful first : Liquidity pools and automated market makers

Reading path · 38 / 41 · Intermediate

Key takeaway

A swap does not need a person posting the opposite order.

A pool is not an order book

A swap does not need a person posting the opposite order. Uniswap uses pools of assets and rules that determine the exchange as the pool changes. The protocol, a website that accesses it, a liquidity position and the UNI token are four different things. UNI is a governance token; it is not the receipt for your share of a pool.

Where the price comes from

In a simple constant-product pool, buying one asset removes it from the reserve while adding the other. The resulting price changes with the trade. Versions 3 and 4 let liquidity providers choose price ranges, so liquidity available near the current price matters more than a single headline pool balance. A position can become inactive when the price moves outside its range.

Price impact and slippage

Price impact describes the effect of your own trade on a pool. Slippage describes a difference between the quoted and executed result, which may also reflect other activity before inclusion. A minimum-output setting limits the acceptable execution result; it does not remove risk or make the quote a promise.

What UNI actually does

UNI voting power can be delegated. The current token documentation also describes protocol fees used to burn UNI. Neither mechanism gives each holder a proportional withdrawal right over liquidity reserves. Pool fees, protocol fees, network fees and the price of UNI belong to separate calculations. Start by naming the role you are studying: trader, liquidity provider or governance participant.

Understand the details

Use a deliberately simplified constant-product pool: x × y = k. With 1,000 units of A and 1,000 of B, k is 1,000,000. Adding 100 A gives x = 1,100, so y must become 909.09 B; the output is about 90.91 B. The starting reserve ratio is not a fixed rate for the entire trade. This calculation isolates price impact; real swaps also involve fees, routing and changing market conditions.

Boundaries and common mistakes

This is a no-fee, single-pool model, not a current quote or a full representation of concentrated liquidity. A trade can execute exactly as quoted and still have price impact.

The mechanism at a glance

SEE THE CONNECTIONS
Read a quote through the reservesFour connected ideas
  1. 011,000 A · 1,000 B
  2. 02Add 100 A
  3. 03Keep x × y constant
  4. 04Receive about 90.91 B

Read these as connected concepts, not necessarily consecutive steps.

Reserves before and after a swapWithout fees: the pool moves from 1,000 A and 1,000 B to 1,100 A and about 909.09 B. The product stays 1,000,000; about 90.91 B go to the user.BEFOREAFTERA 1 000B 1 000+100 AA 1 100B 909.0990.91 B received by the userx × y = 1 000 000

Without fees: the pool moves from 1,000 A and 1,000 B to 1,100 A and about 909.09 B. The product stays 1,000,000; about 90.91 B go to the user.

Read the explanation

Use a deliberately simplified constant-product pool: x × y = k. With 1,000 units of A and 1,000 of B, k is 1,000,000. Adding 100 A gives x = 1,100, so y must become 909.09 B; the output is about 90.91 B. The starting reserve ratio is not a fixed rate for the entire trade. This calculation isolates price impact; real swaps also involve fees, routing and changing market conditions.

The distinction that changes the analysis

01Price impact
02Slippage

In the fictional no-fee pool, adding 100 A changes the reserve ratio and returns about 90.91 B. This impact is present even if the trade executes exactly as quoted. A later change between quote and execution is a separate issue.

Explain it yourself

Revisit the case above. Name what is established, what remains to be checked and the evidence needed to conclude. A strong answer addresses both sides of the diagram.

Applied workshop · work at your own pace

Apply the lesson to a case

The fictional pool starts with 1,000 A and 1,000 B. Another learner expects 100 B in exchange for 100 A because the initial ratio is one to one. Apply the reserve rule before deciding.

Ignoring all fees, approximately how many B leave this pool?

Choose one answer.

Prepare a correction note

Describe the passage and the proposed correction. This creates a local note for you to share; it sends nothing. Do not include personal or confidential information.

Sources and references

References for the mechanisms described. Numerical examples are hypothetical unless stated otherwise. Check the applicable version, network and jurisdiction.

References reviewed on 10 October 2026. All sources →