When a DEX is cheaper than a CEX: the break-even math53 replies · 4,548 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Started · Last reply 05 Dec 2026 · 490 words in first post
Where to open an account: Open a Trustee account.
When a DEX is cheaper than a CEX: the break-even math
DEX trading skips the platform's fee schedule and pays chain gas instead. On small trades, gas eats the savings; on large trades, the fixed gas cost makes the DEX cheaper no matter the percentage. The answer flips at a trade size you can compute - and the computation depends on chain, pair and moment.
The two cost structures
- CEX costs are percentage-based: maker or taker fees on trade value, plus spread and slippage on thin books. Small trades pay small absolute fees; big trades pay big absolute fees.
- DEX costs are mostly fixed: chain gas per transaction, which depends on network congestion and chain design - not on your trade size. Plus the pair's liquidity slippage, which the DEX inherits from its pool depth.
- The structures cross: percentage costs grow with size, fixed costs do not. Every comparison is a race between the two curves.
The break-even math
Worked example on a typical L2, gas around $1 at normal congestion:
- CEX taker fee at 0.10%: a $500 trade costs $0.50 in fees; a $5,000 trade costs $5.00; a $50,000 trade costs $50.00.
- DEX cost: $1 in gas plus pool slippage. On a deep pool, slippage is negligible; on a thin pool it can exceed the CEX fee at any size.
- Break-even: the trade size where CEX percentage fees exceed gas plus expected slippage. At $1 gas and 0.10% fees, that is roughly $1,000 - above it, the DEX wins on fees alone.
- Congestion moves the line: gas at $20 pushes the break-even to $20,000. The line is live, not fixed.
When the answer flips
- Trade size up: the DEX side wins as size grows, because gas is fixed and CEX fees scale.
- Gas down: cheap chains and quiet hours pull the break-even toward zero; the DEX wins smaller trades.
- Pool depth: deep pools keep slippage near zero, so the DEX's fee advantage holds at size; thin pools erase it.
- Withdrawal needs: DEX savings die at the withdrawal bridge if the coin must leave anyway - compare the full path, not one leg.
- Regulatory and custody costs: CEX fees include services - fiat rails, insurance funds, support. The DEX price is lower partly because those services are absent.
The hidden costs on both sides
- On the CEX side: spread markup on conversion features, withdrawal fees, and the time value of deposits clearing.
- On the DEX side: pool slippage on volatile minutes, failed-transaction gas on reverted swaps, and bridge costs when moving between chains.
- Measure both sides end-to-end: deposit, trade, withdraw, settle. One-leg comparisons flip the answer routinely.
The takeaway
DEX trading trades percentage fees for fixed gas, so the cheaper side flips at a computable trade size - roughly gas divided by the fee rate, adjusted for slippage and congestion. Compute the break-even per chain and per pair, recheck when gas moves, and always compare the full path including withdrawal.
Thread Statistics53 replies · 4,548 views