Which habits save the most money on regular DEX swaps: five cost cuts
Which habits save the most money on regular DEX swaps? Compare net output, match pools, use an L2, split selectively and tune slippage to cut routine costs.
Merkle Street Newsroom#0e414b4 min read
The habits that save the most money on routine DEX swaps are comparing net output, matching the pool to the pair, trading on an L2, splitting large orders selectively and tuning slippage. The best choice depends on how much price impact and gas each route adds to the trade.
Five habits for lower swap costs
1. Compare net output, not the listed fee
Compare the amount you receive after accounting for both the pool fee and the gas cost. A route with a lower fee percentage can still cost more if it has worse execution or requires more gas. Convert gas into the same currency as the swap output, then compare the totals for the same input amount.
SyncSwap is a decentralized exchange used to trade tokens and access liquidity pools on supported networks. A bridge to zksync moves assets onto zkSync Era, where traders can compare the cost of a swap with other available routes. Treat each quote as a route-specific price, not as a fee ranking.
2. Match the pool type to the pair
Use a Stable Pool for a pair of assets designed to track each other, since its stable-swap curve can produce lower price impact for correlated assets than a constant-product curve. For other pairs, compare the available pool quotes instead of assuming one curve is always cheaper.
A Stable Pool and a Classic Pool price trades differently. A small price difference between two stablecoins can therefore have less effect on output in a pool designed for correlated assets. The pool’s fee and the amount of available liquidity still matter to the final quote.
3. Trade on an L2 when its total cost is lower
For frequent swaps, compare the route’s output and gas on a Layer 2 such as zkSync Era with the equivalent trade on Ethereum mainnet. An L2 can lower the gas component, but the pool price, liquidity and route also affect the result. This habit suits traders who can choose where to hold or move their trading balance.
Moving assets between networks has its own cost, so include it when deciding where to keep funds for routine swaps. A cheaper individual transaction may not make a round trip cheaper if moving the balance adds enough cost.
4. Split a large order only when saved impact beats added gas
Splitting can reduce total price impact when arbitrage restores a pool’s price toward the market between pieces. It is worthwhile when the impact saved is greater than (pieces − 1) × gas per swap. The benefit is strongest when one large trade would move the pool price substantially and the pieces can execute over several blocks.
Illustrative case: the same trader swaps the same total amount through the same pool, first as one trade and then as several pieces across blocks. The token pair, total input and pool stay the same; the execution schedule changes. After each piece, arbitrage can pull the pool price back toward market before the next one, so later pieces may face less accumulated impact. The split also requires extra transactions. Compare the aggregate outputs and gas; stop splitting when that gas erases the impact saved.
5. Set slippage just above expected impact
Set the slippage limit for the expected price movement and impact of that trade, with only a small allowance above the estimate. A limit below expected movement can cause a revert and waste gas; a loose limit can permit a worse fill than intended. This suits traders who review the quote and pool conditions before each swap rather than reusing one wide setting.
Two more cost questions
Do DEX aggregators charge extra fees?
Some aggregators may add a fee, while others route through pools whose fees are already reflected in the quote. Check the quote details and compare the final output and gas against a direct pool route.
When is a swap on Ethereum mainnet cheaper than on a Layer 2?
Mainnet is cheaper when the route’s better output or lower other costs outweigh its higher gas, or when moving funds to the L2 would add more cost than the swap saves. Compare the complete transaction cost for the same pair and amount.
More routine swap questions
Do limit orders on DEXs cost less than market swaps?
They can avoid taking a pool price immediately, but the total cost depends on the order mechanism, any fees and whether the order fills. Compare those costs with the market swap quote.
How can MEV sandwich attacks be avoided on routine swaps?
Use a slippage limit close to expected impact and avoid leaving a trade open to a much worse fill. The appropriate setting depends on the pair’s liquidity and expected price movement.