How Does Market Making Work?
A 12-minute read
A market maker quotes a bid and an ask, holds inventory and earns the spread, which pays for the risk of trading instantly with anyone who shows up.
On the afternoon of August 1, 2012, a trading server at Knight Capital started sending orders it had no way to stop. Over the next 45 minutes it fired roughly 4 million executions across 154 stocks, buying and selling close to 397 million shares that nobody had asked for. Knight had been the largest trader in US equities, with a 17.3 percent market share on the New York Stock Exchange. By that evening the firm had booked a pre-tax loss of $440 million and its shares had fallen more than 70 percent.
Knight was one of the largest market makers in the world, and its collapse exposes what the job actually involves. A market maker sells a single service: certainty that someone will take your trade right now. A forgotten line of deployment code took it from the most profitable seat in the market to a hole in the balance sheet in under an hour, because standing in the middle means holding a position the market may move against, and a firm that trades enough inventory needs its risk controls to be faster than its own technology.
The short answer
A market maker works by quoting a bid and an ask for the same security, holding enough inventory to fill against either side, and earning the bid-ask spread when someone trades with those quotes. That spread is the compensation for holding risk and for being willing to trade immediately. Market makers supply the liquidity that lets an order fill at once, whether they are exchange-designated specialists, the wholesale firms that execute most retail orders, or the banks that quote currencies around the clock.
The full picture
The bid, the ask, and the spread
The SEC’s own investor glossary defines a market maker as a firm that stands ready to buy and sell a security on a regular and continuous basis at a publicly quoted price. That readiness is the product being sold.
Every quote has two sides. The bid is the price at which the market maker will buy. The ask is the price at which it will sell. The distance between them is the bid-ask spread, and how that spread is measured matters, because the number on your screen is not the number on your statement. As the spread literature puts it, the trader who initiates the transaction demands liquidity and the counterparty supplies it. Liquidity demanders place market orders. Liquidity suppliers place limit orders. On a round trip, the demander pays the spread and the supplier earns it.
So if you buy at the ask and sell straight back at the bid, you lose the spread. Do it twice in a day and you have paid it twice. On a heavily traded US large-cap the quoted spread is often a fraction of a cent, which is why most retail investors never notice it, and it is also why a market maker collecting a hundredth of a cent per share can earn hundreds of millions of dollars in a year.
Making a market on an exchange
Exchange-based market making comes in two flavors, and which one you are looking at depends on the venue.
The older one is the specialist system, still used by the NYSE and NYSE American under the name Designated Primary Market Maker. The specialist is the official market maker for a given security and is obliged to take the other side of trades when customer orders temporarily unbalance. Where there is a specialist there is no competition: one firm owns the market in that stock.
The newer one is the competing-maker system, most associated with Nasdaq, where several firms are appointed to a security, each required to maintain a two-sided market throughout trading hours and to buy and sell at their displayed prices. These firms get fewer privileges than a specialist, but they do get some, and the most consequential is naked shorting, selling stock you have not borrowed. Only official market makers can generally do it, and it is how they quote without tying up the cash a borrowed share would require.
Outside the United States the obligation runs the other way. On the London Stock Exchange each listed stock is guaranteed at least two official market makers who are obliged to deal, and before Big Bang in 1986 the old jobbers held exclusive rights to make prices in anything they quoted. Frankfurt uses designated sponsors appointed by the listed companies themselves, and since 2018 the Tokyo Stock Exchange has paid designated market makers to keep quoting in qualifying ETFs. Making a market in one liquid stock is a scale operation, and that logic pushed the industry hard toward consolidation.
The wholesalers: who actually takes your order
For most retail investors, the market maker on the other side of your order is one of a handful of wholesale firms rather than an exchange specialist. Citadel Securities and Virtu Financial (which owns G1 Execution Services) are two of the largest.
When such a firm fills your order, it is doing something called internalization: taking the trade against its own inventory rather than sending it to an exchange to find a counterparty. It still has to compete on price, and if another venue is showing a better quote the trade has to go there instead. But in practice a large share of retail flow never reaches a public order book at all.
Because that happens off-exchange, the arrangement has to be made visible, and the mechanism that makes it visible is SEC Rule 606(a), which has required brokers to publish quarterly reports describing where they route orders and what they are paid for doing so since 2001. Many of these trades arrive funded by payment for order flow, the fraction of a cent per share a wholesaler pays the routing broker, which is also why the dark pool business and the wholesale business grew up together.
The industry’s answer to the concentration has been regulatory, and it has been contested. In December 2022 the SEC voted 3 to 2 to propose an order competition rule that would have required most retail marketable orders to be exposed in a brief open auction before a wholesaler could execute them, a change the Commission estimated could save retail investors $1.5 billion a year. The estimate was disputed by industry commentators and the rule was withdrawn in 2025.
The scale of these firms is hard to overstate. Virtu Financial, founded in 2008 and listed in 2015, quotes in more than 12,000 securities and operates across more than 235 exchanges, markets and private venues in 36 countries. In the five years before its IPO filing it disclosed that it had made a profit on 1,277 days out of 1,278.
That last number is the one people argue about. An academic analysis of the record concluded that Virtu’s break-even trades were about as numerous as its losses, which means it carries far less directional risk than the win rate suggests. It wins roughly 51 or 52 percent of its trades and is still profitable on the rest because the spread it earns is larger than the losses it takes when it guesses wrong.
Inventory risk: what the market maker is actually paid for
The spread is not free money. Between quoting a price and getting filled, the market maker is exposed on two sides at once.
The first is inventory risk. When a market maker buys a share at $100, it now owns a $100 share. If the market moves to $90 before it can sell, the loss is real and it sits on the balance sheet. In liquid names this happens constantly, and it is why market makers quote a spread at all. The spread is not a markup on convenience, it is the price of the risk of holding the position.
The second is adverse selection, or being picked off. A market maker posts a bid at $100 because it believes $100 is a fair price right now. A trader who knows something the market maker does not can lift that bid at $100 when the true value is $95, and the market maker has just bought a share below what it is worth. Spreads widen exactly when a market gets volatile because the market maker’s uncertainty about who knows what goes up.
The defense is mostly scale and speed. Large makers hedge with each other, adjust quotes continuously, and can exit a position faster than a smaller firm can react. It is also why the business consolidated so hard. The inventory a major firm can absorb in a fraction of a second is a position that would sink a small one, and the same fragility shows up in how short selling is only permitted, in most situations, for official market makers.
When liquidity disappears
Knight Capital’s August 2012 loss is the cleanest illustration of what happens when inventory risk goes unmanaged. A technician had updated the code handling a new retail liquidity program and forgotten to copy it to one of the firm’s eight SMARS servers, the system that routed equity orders. The stale server still contained an old function called Power Peg, and the update had repurposed the flag that used to switch it on. When the new code reached the eighth server and set that flag, the server began routing orders into a function whose completion callback had been removed years earlier, so it never recorded the orders as done and kept sending more. Knight raised about $400 million from investors the next day, with Jefferies putting in $125 million and becoming its largest shareholder.
The 2010 flash crash is the more instructive failure, because it involved no broken code at all. On May 6, 2010 a large mutual fund manager began selling 75,000 E-mini S&P 500 futures contracts, about $4.1 billion, as a hedge against an equity position it already held. The joint SEC and CFTC report found that the algorithm executing the sale targeted an execution rate of 9 percent of the trading volume over the previous minute, without regard to price or time, so it kept selling into a falling market. Prices dropped sharply within minutes and then recovered most of the losses.
The report describes liquidity providers behaving as they were built to, rather than computers going rogue. A large seller had exhausted the buyers who wanted the contracts at fundamental prices, so high-frequency firms began absorbing positions from one another at steadily declining prices, passing the same contracts back and forth as they went down. The report calls this “hot potato” trading. Economists who examined the trade data concluded that high-frequency firms were not willing to accumulate inventory, which means their volume looked like liquidity to the market right up until the moment everyone wanted out. Flash crashes have repeated in sterling in 2016, in the yen in 2019 and across European stock markets in 2022, and the common feature is the same one: market makers widening or pulling their quotes as risk rose.
The person ultimately charged was not a market maker at all. In April 2015 the Department of Justice charged trader Navinder Singh Sarao with 22 criminal counts including fraud and market manipulation over spoofing, the practice of placing large orders to create the appearance of demand and cancelling them before filling. The orders he placed were worth about $200 million and were modified some 19,000 times.
The same business in currencies
Market making in currencies is the same business at a far larger scale, and it is where most of the world’s currency trading happens. The Bank for International Settlements triennial survey put over-the-counter foreign exchange turnover at $9.6 trillion a day in April 2025, up 28 percent from $7.5 trillion three years earlier, with the US dollar on one side of 89.2 percent of all trades.
In FX the market makers are overwhelmingly banks, and they quote in a hierarchy based on how much size you bring. The top tier of the interbank market accounts for 51 percent of all transactions and quotes spreads of zero to one pip. As you move down the tiers the spread widens, and by the time you are trading retail size in a pair like the euro against the dollar you are typically paying one to two pips. Exchange rates are set by that chain of quotes rather than by any single institution.
Why it matters
Understanding the bid-ask spread changes how you read your own statements. The quoted spread on a screen is a snapshot of what somebody would have to pay right now. The effective spread, what you actually paid against the midpoint, is what the market charged you. Buying a liquid stock and immediately selling it costs you roughly the full spread, and the same trade in a mid-cap name can cost a percent of the price. The SEC’s guide to executing an order lists the choices a broker has to make on your behalf, and limit orders and patient execution are the tools for paying less of it.
Who handles your order and how they get paid is not a technicality either. Payment for order flow is legal in the United States and largely banned or restricted in Europe, Canada and Australia, which means the same trade carries a different cost depending on where you hold your account.
The deeper lesson of Knight and the flash crash is that liquidity is a public service delivered by private firms that can switch it off in an instant and are paid for the privilege of holding it. On a normal day the arrangement works beautifully, and it is the reason a retail order fills in a millisecond. On a bad day it means the market can be thinnest at the moment when everyone needs it most. The firms standing ready to take your trade are the same firms that will step aside when the risk gets sharp, so it helps to understand what your own urgency costs.
Common misconceptions
“Market makers are manipulating prices.” Quoted prices are bound by the national best bid and offer, and a broker is required to seek the best available execution for every order, which is what the SEC’s explanation of order execution sets out. What a market maker controls is whether it trades at all, not what the market is worth. When it withdraws, that is a reduction in liquidity, and prices move because the other side of the book is thinner, not because anyone marked them up.
“Market makers bet on where prices are going.” Virtu disclosed that it made money on 1,277 of 1,278 trading days over five years, and an academic analysis of that record found its break-even trades about as numerous as its losses, meaning it takes little directional risk. The profit comes from the spread, which is earned on volume rather than direction. The risk the business carries is inventory risk, and it is paid for holding inventory that might move against it.
“The 2010 flash crash proves that market makers crashed the market.” The joint SEC and CFTC findings describe a different mechanism. A large sell program exhausted the fundamental buyers, and market makers and high-frequency firms then either pulled their quotes or passed positions among themselves at falling prices. The report’s theme is the withdrawal of liquidity, not its abuse. The person ultimately charged, Navinder Singh Sarao, was a trader spoofing orders to create fake demand, not a market maker.
Key terms
Bid: The price at which a market maker stands ready to buy a security.
Ask: The price at which a market maker stands ready to sell a security.
Bid-ask spread: The gap between the bid and the ask. The market maker’s gross profit on a round trip and the trader’s cost of immediacy.
Inventory risk: The risk that a market maker’s position moves against it before it can be unwound.
Adverse selection: The risk of trading with someone who knows more about the true price than you do.
Internalization: Filling a customer’s order from the firm’s own holdings instead of sending it to an exchange.
Hot potato trading: Passing the same position rapidly between high-frequency firms at steadily declining prices.
Common questions
Do market makers make money by guessing which way a stock will go?
No. A market maker earns the difference between the price it buys at and the price it sells at, and it can collect that spread whether the price rises or falls. The risk it carries is not directional risk about the asset, it is inventory risk, the risk that the price moves against a position it has already taken and that it cannot unwind quickly enough.
How much does the bid-ask spread actually cost an ordinary investor?
On a heavily traded US large-cap stock the quoted spread is often a fraction of a cent per share, which is why most people never notice it. The cost is more visible in a mid-cap name, where a round trip can cost a percent of the price, and in currencies, where a retail-sized trade typically pays one to two pips. Buying at the ask and selling straight back at the bid costs roughly the full spread each time, so it is a repeated cost rather than a rounding error.
Are market makers manipulating prices?
That word implies the market maker sets a price independently of the market, and it does not. Quoted prices are checked against the national best bid and offer, and US rules require brokers to seek the best available execution for each order. What a market maker controls is whether it trades at all, not what the market is worth. When it withdraws, that is a reduction in liquidity rather than a manipulation of it.
What actually happens to prices when market makers pull their quotes?
Prices move faster and further than they otherwise would, because the normal supply of quotes has disappeared. In the May 2010 flash crash, the joint SEC and CFTC report found that a large seller exhausted the buyers who wanted the contracts at fundamental prices, so high-frequency firms began passing the same contracts back and forth at steadily declining prices, a pattern the report calls hot potato trading.
That's the distilled version.