What is the actual difference between a DEX and a CEX?
On a centralized exchange (CEX) such as Binance, Coinbase or Kraken, you open an account, deposit assets and trade against an order book the company operates. Trades are fast and free of gas because they settle on the company's internal ledger rather than on a blockchain. Your assets stay in the exchange's wallets until you withdraw them.
On a decentralized exchange (DEX) there is no account and no deposit. Your tokens stay in your wallet, and a swap is a single on-chain transaction against a smart contract. Prices come from liquidity pools with public formulas, so anyone can check the code that sets them. What a DEX is covers the pool mechanics in detail.
The line between the two models moves, too. Part of the June 2025 peak in DEX volume traces to Binance routing trades from its own app through PancakeSwap, a DEX, according to CoinGecko. Venues mix the models, but the custody question never blurs: either you hold the keys or the company does.
Why does custody decide so much?
When an exchange holds your assets, its solvency becomes your risk, and the history here is blunt. Mt. Gox collapsed in 2014 with about 850,000 BTC of customer funds missing. FTX failed in November 2022 owing customers $8.7 billion it had quietly spent, according to its bankruptcy team's report.
A DEX cannot lose your deposit, because there is no deposit. Tokens leave your wallet only inside the transaction that settles a swap. The trade-off is that self-custody makes you the security team: lose your keys or sign a malicious approval, and no support desk can undo it.
Centralized venues answered 2022 with proof-of-reserves attestations. Those help, but they still ask you to trust the snapshot and whoever produced it. On-chain there is nothing to attest: pool reserves sit in public contracts that anyone can query, block by block.
DEX vs CEX at a glance
- Custody
- On a CEX, the company holds deposits in its own wallets. On a DEX, tokens stay in your wallet until the swap settles.
- Account
- On a CEX, you open an account and deposit before trading. On a DEX, you connect a wallet and sign.
- Fees
- A CEX charges maker and taker fees, spreads and withdrawal fees it sets itself. A DEX costs the pool's swap fee plus the network's gas fee.
- Asset coverage
- A CEX lists a curated set of assets, reviewed venue by venue. A DEX is permissionless, so any token with a funded pool can trade from day one.
- Price formation
- A CEX runs an order book off-chain. A DEX prices swaps with public pool formulas that anyone can audit.
- Availability
- A CEX has maintenance windows, regional limits and can pause withdrawals. A DEX runs for as long as its blockchain produces blocks.
How do the fees actually compare?
Centralized venues price their service in layers: a fee on each fill, the spread between bid and ask and a charge to withdraw to your own wallet. Each piece looks small, but they stack, and the withdrawal fee is the one newcomers forget to count.
On a DEX you pay the pool's swap fee, typically a fraction of a percent, plus gas. Gas depends on the network rather than the swap size: a typical Ethereum mainnet swap consumes about 180,000 gas, roughly $0.21 at mid-2026 prices according to ethereum.org, while layer 2 networks charge a few cents. Flat gas is negligible on a large swap and dominant on a tiny one, as the gas fees guide shows with real numbers.
For a feel of the numbers, take a $2,000 swap. A 0.1% taker fee on a large CEX is $2, plus a withdrawal fee to reach self-custody. A 0.3% pool fee on a DEX is $6, plus gas measured in cents on layer 2 networks. Neither side wins every case, which is why the comparison above has six rows instead of one.
The rate usually matters more than the fee line. On-chain liquidity is fragmented across thousands of pools, and quotes for the same pair differ from venue to venue. Aggregation closes that gap with competitive rates, aggregated across 300+ sources, in one query. What a DEX aggregator does explains the routing behind it.
How much volume moves through each?
Centralized venues still clear the majority, more than $1 trillion in spot volume a month, according to CoinGecko's 2026 exchange activity report. The direction of travel is what stands out: the DEX share has held above 10% since January 2025, and The Block's DEX-to-CEX tracker updates the ratio monthly.
When does a CEX make sense, and when does a DEX?
A centralized exchange is usually the better tool in three situations.
- You are converting cash to crypto or back. Fiat on-ramps and off-ramps are the strongest reason to use a centralized venue.
- You want an account experience with support, statements and password recovery instead of key management.
- You move large amounts on major pairs and want the depth of a big order book with no gas cost per order.
A DEX, or an aggregator routing across DEXes, is usually the better tool in three others.
- You want custody of your assets from end to end, with no counterparty holding them on your behalf.
- You trade tokens centralized venues have not listed. New assets reach DEXes first, because listing there is permissionless.
- You want to verify how your price is set. Pool contracts and their fees are public code that anyone can inspect.
Plenty of people use both: a CEX as the bridge between bank and chain, then self-custody and on-chain swaps for everything after. If that is your path, how to swap crypto is the practical walkthrough, the best ways to swap crypto guide ranks every method honestly and 1inch vs instant exchanges covers the custodial services in between. The full series lives on the Learn hub.
Common questions about DEXes and CEXes
They carry different risks. A DEX removes custodial risk, since no company holds your assets, but leaves you with key management and smart contract risk. A CEX removes self-custody mistakes and adds counterparty risk, as Mt. Gox and FTX showed. Safer is whichever set of risks you are better placed to manage.
No. 1inch is a swap aggregator: it routes each swap across DEXes and other on-chain liquidity sources while your tokens stay in your wallet. It is an interface to on-chain markets rather than an exchange, and it never takes custody of your assets.
Cheaper blockspace and better tooling. Layer 2 networks cut swap fees to cents, aggregation smoothed out fragmented liquidity and new tokens now launch on-chain first. CoinGecko's 2026 report puts the DEX share of spot trading at 13.6% in January 2026, double its level two years earlier.
Try the self-custody side
Connect a wallet and compare a live quote against your usual venue. Nothing moves until you sign.