# DEX swap costs: separating pool fees, gas and interface charges

A DEX swap can involve a pool trading fee and network execution cost. Aave’s documented swap interface also shows that some integrations charge a separate service fee. Price impact is another source of a worse exchange rate, but it is not the same as a named fee. Compare the final amount received and separately paid costs; some fees are already included in the quote.

Evidence: [Fees](https://docs.uniswap.org/concepts/protocol/fees); [Gas and fees](https://ethereum.org/en/developers/docs/gas/); [Single Swaps](https://docs.uniswap.org/contracts/v3/guides/swaps/single-swaps); [Aave v3 Swap Features](https://aave.com/docs/aave-v3/smart-contracts/swap-features)

Canonical: https://degreesofsatoshi.com/encyclopedia/dex-swap-fee-breakdown/
Published: 2026-10-02
Substantively modified: 2026-10-02
Independently verified by an automated reviewer: 2026-10-02T19:18:00.092Z
Data current through: 2026-10-02

AI-assisted research and drafting with a separate automated source-verification pass; no external expert or named human review is implied.

## Key facts

- **Pool fee:** The fee allocation depends on the pool and protocol version. ([Fees](https://docs.uniswap.org/concepts/protocol/fees))
- **Network fee:** Executing a transaction consumes gas independently of the pool fee. ([Gas and fees](https://ethereum.org/en/developers/docs/gas/))
- **Protocol share:** A protocol fee may be taken from the trading fee rather than added as a separate identical charge. ([Fees](https://docs.uniswap.org/concepts/protocol/fees))

## Reconcile the quote with the receipt

Suppose an interface quotes 997 units received from a 1,000-unit reference value after pool costs and price impact. If network execution separately costs a hypothetical 2 units in the same valuation currency, the net outcome is 995. Subtracting the embedded 3 again would double-count it.

Use a common valuation time when converting native gas into dollars. A wallet’s maximum gas budget is not necessarily the amount paid.

Evidence: [Fees](https://docs.uniswap.org/concepts/protocol/fees); [Gas and fees](https://ethereum.org/en/developers/docs/gas/)

## Separate the charge from its recipient

The trader’s total pool fee and the portion ultimately credited to LPs are different numbers. The retrieved Uniswap documentation describes protocol shares and version-specific rules. An LP revenue figure cannot be substituted for the fee a trader paid.

Aave’s swap-feature documentation gives an example of interface fees that vary by operation and pair. Check the applicable quote and policy; this article does not assume a permanent fee schedule.

Evidence: [Fees](https://docs.uniswap.org/concepts/protocol/fees); [Aave v3 Swap Features](https://aave.com/docs/aave-v3/smart-contracts/swap-features)

## A failed trade can still have a cost

If an on-chain transaction is included but reverts, gas used in execution can still be charged even though the swap does not settle. A quote that never becomes an included transaction is a different event. Signed-order systems can arrange for a filler to pay execution gas, but someone still bears that cost economically.

Evidence: [Gas and fees](https://ethereum.org/en/developers/docs/gas/); [Single Swaps](https://docs.uniswap.org/contracts/v3/guides/swaps/single-swaps); [UniswapX Overview](https://docs.uniswap.org/contracts/uniswapx/overview)

## Questions

### Is a zero interface fee the same as a free swap?

No. Pool fees, execution costs and price impact are separate. Read the final trade amounts and identify which party pays any gas.

Evidence: [Fees](https://docs.uniswap.org/concepts/protocol/fees); [Gas and fees](https://ethereum.org/en/developers/docs/gas/)

## Claims and scope

### dex-swap-fee-breakdown-quick-answer

A DEX swap can involve a pool trading fee and network execution cost. Aave’s documented swap interface also shows that some integrations charge a separate service fee. Price impact is another source of a worse exchange rate, but it is not the same as a named fee. Compare the final amount received and separately paid costs; some fees are already included in the quote.

Scope: {"collection":"defi","dataAsOf":"2026-10-02","blockHeight":null}

### dex-swap-fee-breakdown-fact-pool-fee

Pool fee: The fee allocation depends on the pool and protocol version.

Scope: {"collection":"defi","dataAsOf":"2026-10-02","blockHeight":null}

### dex-swap-fee-breakdown-fact-network-fee

Network fee: Executing a transaction consumes gas independently of the pool fee.

Scope: {"collection":"defi","dataAsOf":"2026-10-02","blockHeight":null}

### dex-swap-fee-breakdown-fact-protocol-share

Protocol share: A protocol fee may be taken from the trading fee rather than added as a separate identical charge.

Scope: {"collection":"defi","dataAsOf":"2026-10-02","blockHeight":null}

## Sources

- [Fees](https://docs.uniswap.org/concepts/protocol/fees) — Uniswap. Separates liquidity-provider and protocol accounting; no universal live fee schedule asserted. Locator: Swap fees; Pool fees tiers; Protocol fees. Retrieved: 2026-10-02T18:53:19.509Z.
- [Gas and fees](https://ethereum.org/en/developers/docs/gas/) — ethereum.org. Network resource cost separately from swap fees. Locator: Gas; transaction fees; failed transactions. Retrieved: 2026-10-02T18:53:23.863Z.
- [Single Swaps](https://docs.uniswap.org/contracts/v3/guides/swaps/single-swaps) — Uniswap. Version-specific router constraints and worked integration examples. Locator: exactInputSingle; exactOutputSingle; deadline; amountOutMinimum; amountInMaximum. Retrieved: 2026-10-02T18:53:19.662Z.
- [Aave v3 Swap Features](https://aave.com/docs/aave-v3/smart-contracts/swap-features) — Aave. Documented adapter/flash-loan/DEX composition; availability varies by market. Locator: Repay with collateral; Collateral Swap; Debt Swap. Retrieved: 2026-10-02T18:53:21.663Z.
- [UniswapX Overview](https://docs.uniswap.org/contracts/uniswapx/overview) — Uniswap. Outcome-based swap authorization and filler settlement. Locator: Signed orders; fillers; auctions. Retrieved: 2026-10-02T18:53:19.990Z.

## Revision history

- 2026-10-02: First publication after primary-source research and separate automated verification.

## Cite this entry

Degrees of Satoshi editorial project. “DEX swap costs: separating pool fees, gas and interface charges.” Published 2026-10-02; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/dex-swap-fee-breakdown/
