How Do Crypto Exchanges Work? Explained
How a crypto exchange works under the hood — the order book, maker and taker orders, and why trades settle without touching the blockchain.
Key takeaways
- A crypto exchange is a marketplace that matches buyers and sellers. A centralized exchange (CEX) is run by a company and holds your funds; a decentralized exchange (DEX) runs on smart contracts and you keep your funds.
- The order book is a live list of every open buy and sell order; the exchange's matching engine pairs compatible orders by price and time.
- On a centralized exchange, a trade is settled instantly by updating the exchange's internal database — the actual blockchain is only touched when you deposit or withdraw.
- 'Custodial' means the exchange holds your private keys. It is convenient but carries counterparty risk, which is why proof-of-reserves and self-custody matter.
- You pay a maker fee for adding liquidity (limit orders) and a taker fee for removing it (market orders), plus a spread between the buy and sell price.
A crypto exchange is a marketplace that matches people who want to buy cryptocurrency with people who want to sell it. Most beginners use a centralized exchange (CEX) — a company-run platform like Binance or OKX that holds your funds and matches trades for you. The key to understanding one is the order book, and the key to understanding your risk is the word custodial.
This guide explains both, plus why a trade settles instantly without ever touching the blockchain.
The two (now three) kinds of exchange
There are two main types, and a third that is emerging.
| Centralized exchange (CEX) | Decentralized exchange (DEX) | |
|---|---|---|
| Run by | A company (Binance, OKX, Coinbase) | Smart contracts on a blockchain (Uniswap) |
| Who holds your funds | The exchange | You, in your own wallet |
| Account required? | Yes, with identity verification (KYC) | No account — just connect a wallet |
| Fees | Trading fees (~0.1%) | Swap fees (~0.3%) plus network gas |
| Ease of use | Beginner-friendly | More technical |
A hybrid category has also emerged, routing orders through centralized engines for speed while settling on-chain — but it is beyond beginner scope. For now, a CEX is the right starting point for most people: familiar, fast, and with a fiat on-ramp and customer support.
One thing worth understanding about DEXs, since they work differently under the hood: instead of an order book, most use liquidity pools — smart contracts holding pairs of tokens — and an automated formula (Uniswap’s is x × y = k) to set prices from the ratio of the two tokens in the pool. You trade against the pool rather than against another person’s order, and you pay a swap fee plus network gas. See what DeFi is for the DEX side.
If you are choosing between the two largest centralized platforms, our Binance vs OKX comparison covers the trade-offs.
The order book: where trades actually happen
The order book is the heart of a centralized exchange — a real-time list of every open order for a trading pair (for example, BTC/USDT). See the order book glossary entry for the full mechanics.
It has two sides:
- Bids — buy orders, people wanting to buy at a certain price or lower.
- Asks — sell orders, people wanting to sell at a certain price or higher.
The exchange’s matching engine — a high-speed computer system — continuously scans both sides and pairs compatible orders by price and time priority. The two basic order types slot into this:
- Market order buys or sells immediately at the best available price. Fast and guaranteed to execute, but you do not control the exact price.
- Limit order sets the exact price you will accept, and sits in the book until matched. You control the price but there is no guarantee it fills. See what a limit order is.
The spread is the gap between the highest bid and the lowest ask. A tight spread means good liquidity and prices close to what you expect; a wide spread means you pay a little more to trade. This spread is a hidden cost you never see as a line item — see what slippage is for the related effect.
Maker vs. taker: where the fee comes from
Every trade is either making liquidity or taking it, and that determines your fee.
- Maker — you place a limit order that sits on the book, adding liquidity for others. You pay the lower maker fee.
- Taker — you place a market order that fills immediately against someone else’s order, removing liquidity. You pay the higher taker fee.
The fee is a small percentage of the trade. On OKX, for example, the base rates are 0.08% maker / 0.10% taker; on Binance, 0.10% for both at base. Beginners placing market orders pay the taker rate. For the full numbers, see OKX fees and Binance fees.
The part that surprises people: your trade does not touch the blockchain
Here is the mental model that clears up the most confusion. On a centralized exchange, when you buy Bitcoin:
- You place an order.
- The matching engine pairs it with a seller.
- The exchange updates its internal database — debiting your account and crediting the seller’s — in milliseconds.
- The actual blockchain is not involved.
The blockchain is only touched at the edges: when you deposit funds in, and when you withdraw them out. In between, everything is a fast internal bookkeeping operation. This is why trading on an exchange feels instant and cheap — you are not paying a blockchain fee on every trade.
The flip side of that speed is what “custodial” means, which is the next section.
Custodial: the trade-off you are actually making
Custodial is the single most important concept on an exchange, and it is about one thing: who controls your crypto.
- On a centralized exchange, the exchange is custodial — it holds the private keys. You see a balance in the app, but the company technically controls the coins. This is convenient: password recovery, customer support, and instant trading all exist because the exchange manages the keys for you.
- The cost is counterparty risk. If the platform is hacked, becomes insolvent, or freezes your account, your funds are at risk — because you were never the one holding the keys. This is the meaning of “not your keys, not your coins.” See what a private key is for why the key matters.
After the FTX collapse in 2022, reputable exchanges began publishing proof-of-reserves reports, showing that customer deposits are actually backed by on-chain assets. It is a transparency measure worth checking, but know its limits: a proof of reserves is a snapshot of one moment, not proof of ongoing solvency, and it is not a financial audit — it answers “are the assets there right now,” not “are the liabilities fully covered and the books clean.” The honest framing is that an exchange is a convenient place to trade, not a place to store long-term savings. For where savings belong, see how to store crypto safely.
What happens from sign-up to withdrawal
The full lifecycle on a centralized exchange, in order:
- Create an account and verify your identity (KYC). Required by law on a regulated exchange. See what KYC is.
- Deposit funds — fiat by bank or card, or crypto from a wallet. The exchange takes custody. See how to deposit into OKX.
- Place an order — market, limit, or another type — into the order book.
- Matching — the engine pairs your order with a counterparty.
- Settlement — the exchange updates its internal database instantly.
- Withdraw — moving assets out broadcasts a transaction that finalizes on the blockchain. See how to withdraw from Binance.
Understanding this sequence is what separates “I pressed buy” from actually understanding where your money is at each step.
Why do fees and prices differ across exchanges?
If you look at two exchanges at the same moment, you will often see slightly different prices and fees for the same coin. Neither is “wrong” — the differences come from how each marketplace works:
- Liquidity. Deeper order books produce tighter spreads and prices that track the global market closely; a thinner book means a wider spread and a slightly worse price. Liquidity feeds on itself — more liquidity attracts market makers, who tighten the spread, which attracts more traders, which deepens the book further. That flywheel is why the biggest exchanges tend to stay on top.
- Fee schedules. Exchanges set their own maker and taker rates, and their discount programs — such as holding the exchange’s own token — differ.
- Local supply and demand. A surge of buyers on one platform can briefly push its price above another’s, until traders spot the gap and arbitrage it back in line.
For a beginner this barely matters — the differences on major pairs are tiny, and arbitrage keeps prices on the big exchanges very close. The point is to understand why the numbers are not identical, so two slightly different prices do not confuse you. On large, liquid exchanges, the price you get is close enough that your choice should come down to availability, fees, and which platform you trust — not a fraction of a percent of price difference. See the Binance vs OKX comparison for how two of the biggest stack up.
How exchanges make money
Exchanges are businesses, and their revenue model explains a lot about how they behave:
- Trading fees — the small percentage on every trade (maker/taker), the core of the business.
- Withdrawal fees — the flat per-withdrawal fee when you move funds out.
- Listing and other services — fees to list new coins, premium tiers, and products like staking or futures.
Because volume is the engine, exchanges are incentivized to keep fees low enough to attract traders — which is why the base spot fee sits around 0.1% across the major platforms, and why the competition between them is so visible in our Binance vs OKX comparison.
The bottom line
A crypto exchange is a marketplace built on an order book: buyers and sellers post orders, a matching engine pairs them, and the exchange settles by updating its internal database — no blockchain involved until you deposit or withdraw. The word to remember is custodial: a centralized exchange holds your keys, which is convenient but carries counterparty risk. Trade there, but move what you plan to hold into a wallet you control.
New to all of this? The order to learn it matters: what cryptocurrency is, then what a private key is, then this guide — and finally, how to buy cryptocurrency when you are ready to put it into practice.
Don't have a Binance account yet?Sign up nowenter the referral codeBN2688
Frequently asked questions
What is a crypto exchange?
What is the difference between a centralized and decentralized exchange?
What is an order book?
What is the difference between a maker and a taker?
Does my trade go on the blockchain?
What does 'custodial' mean and why does it matter?
How do crypto exchanges make money?
Editor-in-Chief & Lead Researcher
Editor of MyCryptoStart. Independent researcher of cryptocurrency exchanges, focused on fees, security, KYC, and onboarding — publishes step-by-step guides in plain English for beginners.
View author page →Some links on this page are affiliate links: we may earn a commission at no extra cost to you. This content is educational and is not financial, investment, or legal advice. Affiliate disclosure · Disclaimer.
Continue reading
How to Sell Crypto & Withdraw to Your Bank
How to sell crypto and turn it into cash — the two-step flow of selling then withdrawing, the cash-out methods and fees, and the tax records to keep.
How to Store Crypto Safely (2026 Guide)
How to store crypto safely — the three storage options, a rule for how much to keep where, and how to protect your seed phrase.
Crypto for Beginners: Where to Start (2026)
A beginner's roadmap to crypto in 2026 — the order to learn, how to secure yourself before buying, and how much to start with.