whitecoffeecat.lol

How to Read a Fee Breakdown on a DEX Before You Confirm

You read the fee breakdown by checking the three main numbers: the network fee, the protocol fee, and the price impact. Most DEX interfaces show these before you confirm a swap, but they often bury the details or label them confusingly. Here is how to decode what you actually see.

The standard three-line breakdown

Most DEXs (like Uniswap, PancakeSwap, or SushiSwap) show a summary with three components just above the confirm button.

Network fee - This is the gas cost to put your transaction on the blockchain. On Ethereum, it shows in ETH and often in USD. On Layer 2s, it may read "execution fee" or "sequencer fee." This money goes to validators or sequencers, not to the DEX.

Protocol fee - The swap fee charged by the DEX itself. Uniswap V3 charges 0.05%, 0.30%, or 1.00% depending on the pool. This is a percentage of your trade size, not a flat number. Some DEXs show it as a line item; others fold it into the displayed exchange rate.

Price impact - The change in price caused by your trade size relative to the pool's liquidity. A 2% price impact means you get 2% less than the quoted mid-price. This is not a fee, but it behaves like one. High price impact (>5%) usually triggers a warning screen.

What to look for that most people miss

The "Estimated" Label

Every number on a DEX confirmation screen is an estimate. Gas prices change every block. The exchange rate updates every few seconds. The actual amount you receive may differ by a few basis points. If the estimated output drops significantly between when you hit confirm and when the transaction settles, you can cancel it (on some wallets) but only before it is mined.

Hidden Fees in the Route

On aggregator DEXs like 1inch or Matcha, the breakdown may show multiple hops. Each hop has its own protocol fee. The interface should show a "route" or "path" section. A trade that goes through three pools pays three separate protocol fees. The total fee percentage is the sum of those fees, not just the first one.

The "minimum received" number

Most DEXs display a "minimum received" or "slippage tolerance" field. This is the worst-case amount you accept. If the actual output drops below this number due to price movement or frontrunning, the transaction fails. This protects you, but it also means a failed transaction still costs you the gas fee. Set slippage tighter (0.5%) for stablecoin pairs, wider (2-3%) for low-liquidity tokens.

Step-by-Step: how to read before you confirm

  1. Check the network fee first. Is it higher than you expect? If gas is spiking, wait. On Ethereum mainnet, network fees can exceed the trade value for small swaps. On L2s, they are usually a few cents.

  2. Find the protocol fee. Look for a line labeled "fee," "swap fee," or a percentage in the exchange rate. If you see "0.30% fee" and you are trading $100, that is $0.30. If you see "0.05%", that is a Uniswap V3 pool with tight liquidity.

  3. Look at price impact. A number above 1% means your trade moves the market noticeably. Above 3% means you are trading into a thin pool. Consider splitting the trade or using a different token pair.

  4. Confirm the route. On an aggregator, expand the route details. Count the hops. Each hop adds a protocol fee and an extra gas cost. A four-hop route may cost more in fees than a direct swap through a less efficient pool.

  5. Verify the minimum received. Make sure it is not zero. Some wallets default to 0.5% slippage. If you are trading a volatile token, you may need 2-3%. If you set it too low, your transaction will fail and you pay gas for nothing.

When the breakdown looks wrong

Sometimes the fee breakdown shows a network fee of $50 on a $10 trade. That is not a bug. The DEX is quoting the current gas price in real time. The fee is the same whether you trade $10 or $10,000. For small trades, the network fee dominates. For large trades, price impact dominates.

Other times, the protocol fee may show as 0% on certain pools. Some DEXs offer zero-fee pools (like Uniswap V3 pools with low volatility pairs). That is real, but check the price impact. A zero-fee pool with 5% price impact costs more than a 0.30% fee pool with 0.1% impact.

The one number that matters most

Ignore the network fee for a moment. Ignore the protocol fee. The number that tells you the real cost is the effective price - the ratio of what you send to what you receive, including all fees and slippage. Most DEXs show this as "exchange rate" or "price." Compare that rate to the current market rate on CoinGecko or CoinMarketCap. The difference is your total cost, expressed as a percentage. If the DEX rate is 1% worse than the market rate, your effective fee is 1%, regardless of what the breakdown says.

What to Do If You Do Not Understand the Breakdown

Do not confirm. Use a DEX aggregator that simplifies the view. 1inch and Matcha show a single "total fee" percentage that includes protocol fees and price impact. That single number is easier to compare. For manual checking, use a tool like DeBank or Zapper to simulate the trade before you sign. They show the same numbers in a different layout, which can make hidden fees obvious.

Not financial advice. whitecoffeecat.lol publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to exchange fees