How swap routes compare when gas costs differ
A swap route with a better token price can still cost more after gas; compare the final token amount and network fee for the same trade size before choosing a path.
The Token Wire Desk3 min read
The cheapest swap route is the one that leaves you with the most tokens after gas, not the one with the best quoted rate. A route can split your trade across pools or add extra swaps to improve the exchange price. Each step can use more network gas, so the final cost depends on both the rate and the work the transaction must do.
For a fuller look at how routes and fees interact, see paraswap. The same comparison applies across swap tools: check what arrives in your wallet after estimated network fees, rather than judging by the displayed rate alone.
Why can a better rate cost more?
A better rate can cost more when the route needs extra on-chain steps. Gas is the network fee for processing a transaction. A simple swap through one pool may use less gas than a route that trades through two pools, even if the two-pool route gets a better price.
For example, imagine one route gives you 99 tokens and uses little gas, while another gives you 100 tokens but uses enough extra gas to outweigh that one-token gain. The second route looks better before fees, but the first leaves you with more overall. The value of the extra gas depends on the chain’s fee level and the value of the tokens being swapped.
What should you compare between routes?
Compare the estimated amount received and the gas cost for the same trade size. A route quote may show the expected output before network fees, or show fees separately, so check how the tool presents its figures. When possible, compare the value left after gas in the same token or currency.
Look at these parts of the quote:
- Expected output: the amount the swap is projected to deliver.
- Network fee: the gas cost to complete the transaction.
- Route steps: how many swaps or pool hops the transaction uses.
- Price impact: how much the trade itself may move the pool price.
Price impact is separate from gas. A large trade can get a worse rate in a shallow pool, even on a route with low gas. A split route may reach deeper pools and improve the rate, but the additional steps can raise the network fee. The best route depends on the balance between those costs.
When is a longer route worth it?
A longer route is worth it when its better exchange rate more than covers its extra gas. This is more likely when the trade is large enough for a small rate improvement to matter. For a small trade, fixed gas costs can swallow that improvement. On a cheaper network, the difference between simple and multi-step routes may matter less.
Before confirming, compare routes for the exact amount you plan to swap. Quotes can change as pool prices and gas costs move. If the difference is small, a simpler route may be the clearer choice; if one route leaves noticeably more after fees, that is stronger evidence for using it.
Watch the estimated output and gas fee together as you review the transaction. The best route is the one with the better final result for your trade, under the network conditions at the time you send it.