Little's Law
A strikingly simple relationship — the average number of items in a system equals the average rate items arrive times the average time each one spends there — that holds for almost any queue or system, from an order book to a coffee shop line, regardless of the details of how arrivals or service times are distributed.
Prerequisites: The Poisson Process, The Renewal Reward Theorem
You run a matching engine and want to know, on average, how many resting limit orders sit in the book waiting to be filled at any given moment. You know how fast new orders arrive (say, 200 per minute) and, from historical fill data, how long the average order sits in the book before it's filled or cancelled (say, 45 seconds). It seems like it should take a detailed simulation of the whole arrival-and-departure process to figure out the average book size — but it doesn't. There's a relationship connecting these three numbers so simple it looks almost too good to be true, and it holds almost no matter what the arrival pattern or service-time distribution looks like.
An analogy: a busy restaurant
Picture a restaurant that, on average, seats 20 new customers per hour, and each customer stays for an average of 45 minutes (0.75 hours) from being seated to leaving. How many customers are in the restaurant, on average, at any given moment? You don't need to know anything about which customers stay longer or shorter, or whether Friday nights bring more variability than Tuesday lunches — multiply the arrival rate by the average time spent, and you get the average number present: customers in the restaurant at any moment, on average. This works regardless of whether parties arrive steadily or in bursts, and regardless of whether meal times are consistent or wildly variable — as long as the restaurant is in a steady, unchanging pattern over the period you're averaging.
The law, one symbol at a time
Let be the average arrival rate — how many items enter the system per unit time. Let be the average time spent in the system per item (from arrival to departure). Let be the average number of items in the system at any given moment. Little's Law states:
In plain English: the average number of things present equals how fast things are arriving, multiplied by how long each one sticks around. This holds for essentially any stable system — any arrival process, any service-time distribution, any number of servers, any queueing discipline (first-come-first-served, priority, random) — as long as the system is in steady state, meaning the average arrival rate and average time-in-system aren't drifting over the window you're measuring (items aren't piling up faster than they leave, on average).
The proof, in plain English rather than symbols: track the total customer-minutes accumulated across everyone who passed through the system during a long time window of length . You can compute that total two ways — count how many customers arrived () and multiply by their average time each (), giving ; or, equivalently, average the number of customers present at any instant () across all minutes, giving . Since both are the same total, , and the cancels, leaving . This is a close relative of the renewal reward theorem (see the renewal reward theorem) — both work by equating two ways of summing the same total quantity over a long window.
Worked example 1: the order book by hand
Orders arrive at per minute, and the average time an order sits in the book before fill or cancellation is seconds minutes. By Little's Law:
On average, 150 orders sit resting in the book at any given moment. No simulation of individual order arrivals or fill times was needed — just the two averages, multiplied. If you wanted to know how the book size would change if the exchange sped up matching so orders sat for only 30 seconds ( minutes) on average, the new steady-state book size is — a direct, immediate consequence with no further modeling required.
Worked example 2: solving for the unknown leg
A firm's risk desk tracks, on average, open hedge positions at any given moment, and knows new hedges get initiated at a rate of per day. How long does the average hedge stay open? Rearranging Little's Law:
This is a common practical use of the law: two of the three quantities (, , ) are often much easier to measure directly than the third. Here, counting how many hedges are open right now () and how many new ones get initiated per day () is straightforward from a position log, while directly measuring "how long does a hedge stay open on average" requires matching up open and close events across the whole log — Little's Law gets you there with a single division instead.
What this means in practice
Little's Law is used throughout market microstructure and operations: estimating average resting order-book depth from arrival and cancellation-time statistics, sizing how many concurrent positions a strategy will typically hold given its trade frequency and average holding period, or capacity-planning a matching engine or execution system. Its power is that it needs no assumption about arrival bursts, fat-tailed holding times, or priority rules — the relationship holds regardless, as long as the system is in steady state. This also makes it a fast sanity check: if you've independently estimated all three of , , and and they don't roughly satisfy , something is wrong with one of your measurements or the system isn't actually in steady state over the window you measured.
Little's Law, , says the average number of items in a system equals the arrival rate times the average time each item spends inside — a relationship that holds for almost any steady-state queue or system regardless of arrival pattern or service-time distribution. Given any two of , , , the third follows immediately by rearranging.
The classic mistake is applying Little's Law to a system that isn't actually in steady state — for example, computing average order-book depth over a window that includes a sudden liquidity crunch where cancellations spike and orders that would normally sit for 45 seconds suddenly clear in 2 seconds, or a market open where orders are still piling up faster than they're leaving. Little's Law's proof relies on the system's average population being stable over the measurement window; applied across a genuine regime change, and measured over the whole window can each be individually correct averages while their product still fails to match the true average , because the relationship needs the underlying process to be settled, not transitioning.
Related concepts
Practice in interviews
Further reading
- Little, A Proof for the Queuing Formula: L = λW (1961)
- Ross, Introduction to Probability Models, ch. 8