Last updated: October 2026
Smart order routing (SOR) is an automated process that sends a trade to the venue or combination of venues offering the best overall execution. A smart order router scans prices and liquidity across exchanges, then routes or splits the order to minimize total cost after fees, slippage and, on blockchains, gas. It powers both equity brokers and crypto DEX aggregators.
TL;DR
When the same asset trades in many places, the best price is rarely in one place. A smart order router solves that fragmentation by checking every venue and dividing an order to capture the best available liquidity. Equity markets adopted SOR after regulation fragmented trading across many exchanges. Crypto rebuilt the same idea on-chain as DEX aggregators, and is now extending it with intent-based systems that hand routing to competing solvers.
Smart order routing: definition and positioning
A smart order router is software that sits between an order and the market. It takes one instruction, such as "buy 10,000 shares" or "swap 50,000 USDC for ETH", and decides where and in what pieces to execute it.
SOR is not the same as an execution algorithm such as TWAP or VWAP, which decides when to trade by spreading an order over time. The two often work together: an algorithm slices an order over the day, and a router decides where each slice goes. SOR is also not market making; the router consumes liquidity rather than providing it.
The distinction matters in practice because a trader comparing platforms should ask two separate questions: how good is the router at finding liquidity, and how good is the algorithm at timing it?
How smart order routing works
- Gather market data. The router pulls live prices and order book depth, or pool reserves on-chain, from every connected venue.
- Model total cost. For each venue it estimates price impact, trading fees, rebates, latency and, on blockchains, gas.
- Find the optimal split. It solves for the combination of venues that delivers the best net result. A large order may go 60% to one venue and 40% to another because filling it all in one place would move the price too far.
- Execute. Child orders are sent simultaneously or in sequence. On a blockchain, the split is usually bundled into a single atomic transaction, so either every leg succeeds or none does.
- Re-route leftovers. Traditional market routers re-send unfilled portions as prices change.
Smart order routing in traditional finance
SOR became essential in US equities after the SEC adopted Regulation NMS in 2005. Its Order Protection Rule required trades to respect the best displayed prices across exchanges, while the market fragmented into many lit exchanges and dark pools. Brokers needed routers to meet best execution obligations and to find hidden liquidity. Europe followed a similar path under MiFID's best execution requirements.
Equity routers also weigh factors crypto routers rarely face, such as exchange rebates for adding liquidity and payment for order flow arrangements, which have drawn regulatory scrutiny over whether routing serves the client or the broker.
Smart order routing in crypto
Centralized exchange routing. Institutional desks and prime brokers route across centralized exchanges in the same way equity brokers do, splitting orders by depth and fees.
DEX aggregators. On-chain, liquidity for a single pair is split across Uniswap, Curve, Balancer and many smaller pools. DEX aggregators such as 1inch, Matcha and KyberSwap are smart order routers for this fragmented liquidity. Their routers model each pool's price curve and split a swap across several pools and multi-hop paths. Matcha, built by 0x, describes using smart order routing to split trades across sources to reduce slippage. Compare them in our guide to the best DEX aggregators.
On-chain routing has three distinctive features. Gas is part of the optimization, so an extra hop that saves 0.05% may not be worth it on Ethereum mainnet but is on a cheap rollup. Execution is atomic, so the whole route lands or reverts together. And routes are visible before they land, which exposes them to front-running unless sent privately; see our guide to MEV protection tools.
Intent-based routing. The newest step removes the router from the user's device entirely. With intent-based trading, you sign the outcome you want and solvers compete to find the best route, including private market maker inventory that a public router cannot see. Routing becomes a competition rather than a calculation.
A simple framework: calculation versus competition
| Approach | Who routes | Liquidity seen | Who bears execution risk | Examples |
|---|---|---|---|---|
| Broker SOR | Broker's router | Connected exchanges and dark pools | Broker, under best execution rules | Equity brokers |
| On-chain router | Aggregator algorithm, executed by the user | Public on-chain pools and some RFQ quotes | User (gas, failed transactions, MEV) | 1inch classic, Velora, KyberSwap |
| Intent-based routing | Competing solvers | Public pools plus private inventory and other users' orders | Solver | CoW Swap, UniswapX, 1inch Fusion |
Trade-offs and limitations
- Stale data. Prices can move between quote and execution, especially on volatile pairs. Slippage limits protect you.
- Conflicts of interest. A router owned by a party that profits from your order flow may not route purely in your interest.
- Over-splitting. More legs mean more gas and more contracts. Good routers weigh complexity against savings.
- Incomplete coverage. A router can only use venues it connects to. Private liquidity is invisible to public routers.
The lasting lesson from equities applies to crypto: routing quality is measured by the net price you actually receive, not by the number of venues a router claims to scan.
If you are building payment or trading infrastructure on stablecoins, routing is where much of the user experience is won or lost. Reach out if you want to compare notes.
FAQs
What does smart order routing do?
Smart order routing automatically finds the best place to execute a trade when an asset trades on several venues. It compares prices, depth and costs across venues, then sends or splits the order to achieve the best overall execution price after fees and slippage.
Is a DEX aggregator a smart order router?
Yes. A DEX aggregator is a smart order router for on-chain liquidity. It checks many decentralized exchanges and pools, then splits a swap across them to get the best net output, while also accounting for gas costs that do not exist in traditional markets.
What is the difference between smart order routing and algorithmic trading?
Smart order routing decides where to execute an order across venues. Algorithmic execution strategies such as TWAP and VWAP decide when to execute by spreading an order over time. Many trading systems use both, with the algorithm timing each slice and the router placing it.
Why did smart order routing become important?
Trading fragmented across many venues. For US equities, Regulation NMS, adopted in 2005, required brokers to respect the best displayed prices across exchanges, which made automated routing a necessity. Crypto liquidity is similarly fragmented across exchanges, chains and pools.
Is smart order routing used in crypto?
Yes. Institutional desks route across centralized exchanges, and DEX aggregators route across on-chain pools. Intent-based protocols such as CoW Swap and UniswapX take this further by letting competing solvers handle routing, including private liquidity a public router cannot see.



