CEX vs DEX — Centralized vs Decentralized Exchanges

Which should you use? The tradeoffs between Binance/Bybit and Uniswap/dYdX in plain terms.

Feature CEX DEX
ExamplesBinance, Bybit, Coinbase, OKX, KrakenUniswap, dYdX, Curve, Jupiter (SOL)
CustodyExchange holds your fundsYou hold your own keys
KYC required✅ Usually required❌ Usually none
Fees0.02–0.10% maker/taker0.01–1% (AMM pool)
Liquidity (majors)Very high (order book)Medium (AMM slippage)
Leverage/Futures✅ Up to 100x✅ dYdX, GMX (limited)
Long-tail tokensLimited listingsAnything with a pool
Hack riskExchange hack = total lossSmart contract risk
Fiat on/off ramp✅ Easy❌ Difficult
Censorship riskAccount can be frozenPermissionless

Use CEX when:

  • Buying crypto with fiat (credit card, bank)
  • Trading large size with order book depth
  • Leveraged perpetuals and futures
  • You want customer support / account recovery

Use DEX when:

  • Trading new/obscure tokens before CEX listing
  • Providing liquidity to earn fees (LP)
  • Privacy — no KYC or identity link
  • Avoiding exchange hacks with self-custody

How the fees actually break down

A CEX fee is simple: a maker/taker percentage, usually 0.02–0.10%, deducted at execution. What you see quoted is close to what you pay.

A DEX trade stacks three separate costs: the pool's swap fee (commonly 0.01–1%, higher for exotic pairs), price impact/slippage from trading against an AMM curve instead of an order book, and network gas to execute the transaction on-chain. On Ethereum mainnet during a busy period, gas alone can be a bigger cost than the entire CEX fee on a small trade — Layer-2 DEXs (Arbitrum, Base, Optimism) bring this down a lot. Run your own size through the AMM price impact calculator before assuming a DEX quote is cheaper.

What "not your keys, not your coins" means in practice

On a CEX, your balance is an entry in the exchange's database — you own a claim on the exchange, not the coins themselves. That claim is only as good as the exchange's solvency and honesty. FTX in November 2022 is the reference case: customer deposits had been commingled with the exchange's own trading, and depositors couldn't withdraw. Mt. Gox in 2014 is the older one.

On a DEX, the trade settles directly between your wallet and a smart contract — there's no company balance sheet standing between you and your funds. The trade-off is that the risk moves to you: a lost seed phrase, a signed malicious approval, or a bug in the contract itself can cost you the same way an exchange failure would, minus any chance of recovery or support. See the wallet comparison for how custody options stack up beyond "exchange vs. self."

Hybrid reality: most active traders use both

In practice this isn't an either/or choice. A common pattern: buy majors with fiat on a CEX (fiat on-ramps are still mostly a CEX feature), move part of the position to a self-custody wallet for holding, and use a DEX for anything the CEX doesn't list or when avoiding KYC/withdrawal limits matters more than price. Leveraged and perpetual futures trading is still overwhelmingly a CEX activity — DEX perps (dYdX, GMX, Hyperliquid) exist but with lower liquidity than Binance or Bybit order books, so slippage on size is worse. Check your own liquidation risk either way with the liquidation calculator.

Frequently asked questions

Is a DEX actually safer than a CEX?

It removes exchange custody risk (the exchange can't freeze or lose your funds) but replaces it with smart-contract risk and your own key-management risk. If you lose your seed phrase or approve a malicious contract, there's no support desk to call. Neither option is safer in every dimension — they're different risk categories.

Why are DEX fees sometimes higher than CEX fees?

A CEX fee is just the maker/taker percentage. A DEX trade also has to pay network gas to execute the swap on-chain, plus AMM slippage on top of the pool fee. On Ethereum mainnet during congestion, gas alone can exceed the entire CEX fee on a small trade. Layer-2 DEXs cut this significantly.

Can a CEX go bankrupt and take my funds with it?

Yes — FTX in 2022 is the reference case: customer deposits were commingled with the exchange's own trading and were not recoverable in full. A DEX has no such failure mode because there's no company holding a shared balance sheet of user funds; the trade settles directly between wallets and a smart contract.

Do I need KYC to use a DEX?

No identity verification is required to connect a wallet and swap on Uniswap, Curve, or similar. You do still need a way to get fiat into crypto in the first place, and that on-ramp (a CEX, a card provider) usually does require KYC somewhere in the chain.

Which one has better prices for large orders?

A CEX order book, for major pairs like BTC/USDT, typically has deeper liquidity, so a large market order moves the price less. On a DEX, the same size order against an AMM pool can produce meaningful price impact — check it before trading with the AMM price impact calculator.

Related tools and guides

AMM price impact calculatorCrypto wallet comparisonLiquidation calculatorWhat is liquidation?Binance vs Bitget feesLive market data