How Uniswap differs from centralized exchanges

If you have used Coinbase, Binance, or Kraken, you have used a centralized exchange (CEX). These work like traditional stock exchanges: the company runs the platform, holds your funds, matches buyers and sellers, and requires you to verify your identity (KYC). If the company goes bankrupt, gets hacked, or freezes your account, your funds are at risk.

Uniswap takes a completely different approach:

Centralized exchangeUniswap (DEX)
Account required?Yes, with identity verificationNo -- just connect your wallet
Who holds your funds?The exchangeYou (your wallet)
How trades workOrder book: buyers and sellers post ordersLiquidity pools: trade against a pool of tokens
Which tokens available?Only what the exchange listsAny token on supported chains
Can the platform freeze your assets?YesNo -- the smart contract has no admin override
PrivacyLow (KYC required)High (no personal data collected)

The trade-off is that Uniswap does not have customer support, does not reverse transactions, and does not screen tokens for quality. You are fully in control, which means you are also fully responsible. Anyone can list any token, so scam tokens exist alongside legitimate ones. Always verify the contract address of any token you trade.

How automated market makers work

Traditional exchanges use order books: buyers post the price they are willing to pay, sellers post the price they want, and the exchange matches them when the prices meet. This works well when there are many active traders, but most crypto tokens do not have enough volume to sustain a healthy order book.

Uniswap solved this problem with an automated market maker (AMM). Instead of matching individual buyers and sellers, it uses liquidity pools -- smart contracts that hold reserves of two tokens. When you want to swap ETH for USDC, you trade directly against the pool. The pool always has both tokens available, so there is always someone on the other side of your trade.

The constant product formula

Uniswap's AMM uses a simple mathematical formula to determine prices:

x * y = k

Where x is the quantity of Token A in the pool, y is the quantity of Token B, and k is a constant. As you take one token out, you must put more of the other in, and the price adjusts along a curve.

This means that larger trades have more price impact -- the more you buy relative to the pool's reserves, the worse your price gets. Deep pools (with lots of liquidity) offer better prices because the same trade moves the ratio less. This is why total value locked (TVL) matters when evaluating a pool. See the DeFi metrics guide for more on TVL and slippage.

Providing liquidity: how you earn fees

Anyone can deposit tokens into a Uniswap pool and become a liquidity provider (LP). You deposit two tokens in equal value -- for example, $5,000 of ETH and $5,000 of USDC -- and receive a share of the trading fees generated by that pool.

Every time someone swaps tokens through the pool, they pay a fee. That fee is added to the pool's reserves, increasing the value of every LP's share. When you withdraw, you get back your proportional share of the pool's tokens, including accumulated fees.

What you get back is not what you put in

This is the critical thing to understand: when you withdraw, you receive whatever ratio of tokens the pool currently holds. If ETH's price doubled since you deposited, the pool now has less ETH and more USDC (because traders bought ETH from the pool on the way up). You end up with less ETH and more USDC than you started with.

This difference -- between what you would have by just holding versus what the pool gives you back -- is called impermanent loss. It is the primary risk of providing liquidity and the topic most LPs underestimate.

Uniswap V2 vs. V3: full-range vs. concentrated liquidity

Uniswap has gone through multiple versions, and the distinction between V2 and V3 matters because they handle liquidity very differently.

Uniswap V2: simple and passive

In V2, your liquidity is spread evenly across all possible prices -- from $0 to infinity. This is simple: you deposit, receive an LP token, and earn fees passively. No management required.

The downside is capital inefficiency. If ETH is trading at $3,000, the liquidity you provided at $10 or $100,000 is sitting unused. Only a tiny fraction of your capital is active at the current price.

Uniswap V3: concentrated and active

V3 lets you choose a specific price range for your liquidity. Instead of covering all prices, you might provide liquidity only between $2,500 and $3,500 for ETH/USDC. Your capital is concentrated where trading actually happens.

V3 advantage: capital efficiency

Concentrating liquidity in a tight range means your capital works harder. You can earn the same fees as a V2 position many times larger. A $10,000 concentrated position might earn as much as a $100,000+ full-range position.

V3 risk: amplified impermanent loss

If the price moves outside your range, your entire position converts to the less valuable token. You stop earning fees and suffer amplified impermanent loss. V3 requires active management -- repositioning your range as prices move.

In V3, LP positions are represented as non-fungible tokens (NFTs) rather than fungible ERC-20 tokens, because each position has a unique price range. This is different from V2, where all LPs in a pool hold identical, interchangeable LP tokens. Learn more about different token types in the dedicated guide.

Fee tiers: choosing the right one

Uniswap V3 introduced multiple fee tiers, letting pool creators choose how much traders pay per swap. The fee goes entirely to liquidity providers.

Fee tierBest forExamples
0.01%Very stable pairs where both tokens hold the same valueUSDC/USDT, DAI/USDC
0.05%Correlated pairs or high-volume majorsETH/USDC (high volume), WBTC/ETH
0.3%Standard pairs -- the default for most tokensETH/USDC, UNI/ETH
1%Exotic, volatile, or low-volume pairsNew tokens, memecoins, long-tail pairs

A higher fee tier means more revenue per trade, but traders naturally prefer pools with lower fees (better prices). The most liquid pools tend to win most of the volume, so choosing the right tier is about finding the balance between fee income and trade volume.

The UNI governance token

UNI is Uniswap's governance token. Holders can vote on proposals that shape the protocol's future, including fee structures, treasury spending, and which chains to deploy on. UNI was distributed via an airdrop in September 2020 -- anyone who had ever used Uniswap received 400 UNI tokens, one of the largest airdrops in crypto history.

UNI does not directly earn fees from the protocol (unlike LP tokens). There has been ongoing governance discussion about enabling a "fee switch" that would direct a portion of trading fees to UNI holders, but as of now, all fees go to liquidity providers.

Multi-chain availability

Uniswap started on Ethereum but has expanded to multiple networks:

  • Ethereum -- the original, with the deepest liquidity but highest gas fees
  • Arbitrum -- Ethereum Layer 2 with low fees and fast transactions
  • Optimism -- another popular Layer 2
  • Polygon -- very low fees, large user base
  • Base -- Coinbase's Layer 2, growing quickly
  • BNB Chain -- Binance's chain, high volume

Each chain has its own pools and liquidity. The same token pair (like ETH/USDC) might have different depths and prices on different chains. For more on how blockchains differ, see the liquidity pools guide.

Risks of using Uniswap

Uniswap's core contracts are among the most battle-tested in DeFi, but risks exist on multiple levels. Understanding them helps you trade and provide liquidity more safely. For a deeper look, see Understanding Risk in DeFi.

Smart contract risk

Uniswap's contracts have been audited extensively and have secured billions without a major exploit. But no code is guaranteed bug-free. Using well-established pools on Uniswap's official deployment reduces this risk.

Impermanent loss

The biggest risk for liquidity providers. When prices diverge, the pool sells your winners and buys your losers. In volatile pairs, fees often do not compensate for the loss. Read the full impermanent loss guide for math and strategies.

MEV and sandwich attacks

Bots can see your pending swap in the transaction queue, buy the token before you (pushing the price up), then sell after your trade executes -- profiting at your expense. This is called a "sandwich attack." Using private transaction services or setting tight slippage limits can help.

Scam tokens

Anyone can create a token and add liquidity on Uniswap. Many scam tokens exist: tokens with hidden transfer taxes, tokens where the creator can drain all liquidity, or tokens that simply impersonate legitimate projects. Always verify the token's contract address from official sources before trading.

How CleanSky shows Uniswap positions

If you provide liquidity on Uniswap, your positions appear in CleanSky as "Active investments." CleanSky breaks down each LP position to show:

  • The two underlying tokens and their current quantities
  • The total value of the position in your preferred currency
  • For V3 positions, the selected price range and whether the position is currently in range (earning fees) or out of range
  • Accumulated fees

This is more informative than the raw LP token or NFT, which shows only a single opaque value. CleanSky gives you a clear view of what you actually own inside the pool. Because CleanSky is privacy-first, your positions are analyzed locally without sending your addresses to any external server.

Track your Uniswap positions with full transparency. Launch CleanSky to see your LP positions broken down by underlying tokens, fees earned, and price range status -- all with zero data collection.

Related guides

Liquidity Pools

The complete guide to how liquidity pools work, pool types, fee structures, vaults, and how to evaluate whether an LP opportunity is profitable.

What Is Impermanent Loss?

A step-by-step guide with real numbers showing exactly how impermanent loss is calculated and when it matters most.

DeFi Metrics

Understand volume, slippage, TVL, APR, APY, and other metrics that help you evaluate Uniswap pools and DeFi opportunities.

Understanding Risk

A comprehensive guide to smart contract risk, oracle risk, MEV, and other dangers in DeFi -- and how to protect yourself.

Token Types

Learn about LP tokens, governance tokens, receipt tokens, and other categories you will encounter when using Uniswap and other protocols.