Read the whole quote

DeFi Swap Costs: Gas, Fees, Slippage & Price Impact

Compare DeFi swap quotes using output, network fees, approval costs, slippage, and price impact. Learn what is included and what you pay separately.

Start with the amount you expect to receive

A swap quote usually highlights an estimated output amount. That number is useful only when you understand which charges it already includes and which costs you will pay separately. The same named fee can be displayed differently by different interfaces.

Keep the comparison consistent: the same chain, token addresses, input amount, and approximate quote time. If a network cost is paid in another asset, use a clearly stated conversion rate before comparing it with the output token. A dollar estimate can change even when the token amount does not.

Separate the main cost categories

ItemWhat to check
Pool or trading feeWhether the quoted output already accounts for fees in the trading path.
Provider chargeWhether an interface or routing provider applies an additional charge and how it is collected.
Network feeThe asset used for gas or transaction fees, the estimate, and any priority component.
Approval transactionWhether a separate on-chain token allowance change is needed before the swap.
Cross-chain costsBridge, solver, destination execution, or other route-specific charges.

These categories help organize a quote; they are not a universal fee schedule. A provider may bundle several charges. Avoid subtracting a fee twice when it is already reflected in the displayed output.

Price impact is different from slippage

Price impact describes the effect of the trade itself on the available market price. A larger trade relative to active liquidity can receive a less favorable average execution price than a small trade. A displayed spot price does not mean the entire order can execute at that price.

Slippage describes a difference between the expected and executed result. A tolerance setting establishes an execution boundary in a particular interface or contract. It does not remove price impact, guarantee inclusion, or reserve a quote indefinitely.

Read the slippage and price-impact guide for a worked example and a closer look at minimum received.

Use a transparent comparison

Consider a hypothetical comparison expressed in one common unit. Route A quotes 1,000 units and has 12 units of separate estimated costs, leaving 988 units of net equivalent value. Route B quotes 996 and has 4 units of separate costs, leaving 992. The larger headline output is not the larger net equivalent in this example.

This arithmetic deliberately leaves out changing market prices and execution uncertainty. In a real comparison, record the assumptions and keep estimated net value distinct from a guaranteed amount received. The quote comparison checklist explains how to organize those details.

Account for the path to completion

An approval and a swap may be separate transactions. A submitted transaction can remain pending, be replaced, or fail. On Ethereum, a transaction included and reverted can still consume gas. A failure is therefore not always a zero-cost attempt.

For cross-chain routes, review both the source and destination requirements. Keep enough of the necessary fee asset for the actions you intend to perform, and check whether the provider actually supplies destination gas. Learn more in the gas and swap-cost guide.

Technical reference: Ethereum’s gas documentation explains gas units, network fees, and execution costs.