
Which Line Should I Join?
The notebook grumbled: whenever I pick a line at the supermarket, the one next to me moves first. Am I just unlucky? In the season when year-end shopping lengthens the checkout lines, I follow that old grumble into the numbers: queueing theory, which began with Erlang counting calls at the Copenhagen Telephone Company; Little's law, proved because a student asked one question; why waits climb steeply once checkouts are about 85% busy; the calculation showing that one shared line trims the unlucky tail more than the average, and the evidence that cuts the other way. Why, with three lines, yours is the fastest only one time in three; the principles of waiting David Maister set out in 1985; and how much of the famous Houston airport story can be confirmed. A playground lets you run a crowded checkout yourself. The forty-second piece in A Page for Today.

The page I opened today held a small grumble.
Whenever I pick a line at the supermarket, the one next to me moves first. Am I just unlucky?
Everyone knows the scene. You carry your basket toward the checkouts, measuring the lines with your eyes, and join the one that looks shortest. Then an item in front of you refuses to scan, and someone else digs through a wallet for a coupon. Meanwhile the next line shrinks, neatly, one shopper after another. A person who arrived after you pays and walks out. You hesitate, then switch, and now the line you just left speeds up.
As December approaches, this scene comes around more often. Year-end groceries and gift shopping crowd the checkouts. So today I decided to put this old grumble to the numbers. Am I really unlucky, or is a line simply built that way?
Arithmetic that began in a telephone exchange
Waiting was first treated as mathematics not in a supermarket but in a telephone exchange.
The Danish mathematician Agner Krarup Erlang (1878–1929) joined the Copenhagen Telephone Company in 1908 and took charge of its new laboratory. The company's problem was this. Lay too few lines and calls fail and customers get angry; lay too many and money leaks away. How many is right? To answer that, you first have to know when people make calls.
In a 1909 paper, "The Theory of Probabilities and Telephone Conversations", Erlang showed that if people call at random, independently of one another, the number of calls arriving in a given period follows a Poisson distribution. You cannot predict any single person, but put enough people together and a steady shape appears. In 1917 he published formulas for the probability that a call is lost when every line is busy, and for how long a caller must wait. These are what we now call the Erlang B and Erlang C formulas. Telephone companies in many countries, including the British Post Office, soon put them to use. In 1946 the international advisory committee for long-distance telephony (the CCIF) gave his name to the international unit of telephone traffic. The "erlang" is still used today to decide how many agents a call centre needs.
A supermarket checkout has the same structure as Erlang's switchboard. Shoppers turn up whenever they like, without coordinating. The number of registers is fixed. The time each checkout takes varies from person to person. In 1953 the British mathematician David Kendall devised a shorthand for such systems, written like "M/M/3": random arrivals (M), random service times (M), three servers. Most of the checkouts in today's story have that shape.
One formula for the length of a line
The most famous equation in queueing theory is surprisingly short.
L = λW
The average number of people in a line (or a shop), L, equals the average number arriving per minute, λ, multiplied by the average time each one stays, W. If an average of 12 people are standing at the checkouts and 3 people finish paying every minute, each shopper spends about 4 minutes in line. It does not matter in what order people arrive or how the checkout times are scattered; watched over a long enough time, the relation holds.
The formula had been used for years, but nobody had proved it in general. In 1958 Philip Morse even challenged the readers of his textbook to find a case where it fails. The proof came from a young operations researcher named John Little. Fifty years later he recalled how it started. He had remarked in class that the formula seemed very general, and afterwards a student named Sid Hess asked him, "How hard would it be to prove it in general?" On the spur of the moment Little answered, "I guess it shouldn't be too hard." Then he adds: "Famous last words." The student said, "Then you should do it!" The proof appeared in Operations Research in 1961. Little later wrote that he then "retired from queuing" and moved on to research in marketing.
Little's law is useful at the checkout because it ties the length of a line to the length of a wait. The length is visible; the wait is not. For lines that move at the same pace, twice as many people means twice as long a wait. But the formula is about the average over a long stretch. It says nothing about how long the person in front of me, in my line today, will take. The grumble in my notebook lives in exactly that gap.
Past 85 percent
There is one intuition people most often get wrong at the checkout: that if the registers get a little busier, the wait will grow a little. It does not.
The share of time a register spends busy is called its utilization. In the simplest queueing model, the average wait is roughly proportional to ρ/(1−ρ), where ρ is the utilization. At 50% utilization that value is 1; at 80% it is 4; at 90% it is 9; at 96% it is 24. The registers become only about a fifth busier going from 80% to 96%, yet the wait grows sixfold. In 1961 the British mathematician John Kingman published a paper on waiting times as utilization approaches 1, and his result was later distilled into an approximation: the more irregular the gaps between arrivals and the service times, and the higher the utilization, the longer the wait. A register where some shoppers are done in a flash and others take ages will build a longer line than one where everyone takes about the same time.
The reason is that there is no slack. Shoppers do not arrive evenly. No one comes for three minutes, then four people arrive within one. An idle register absorbs the rush quickly, but a register that is already working almost without pause never gets the chance to catch up once it falls behind. That is the supermarket on a December evening. Only a few more shoppers than usual, and the lines are much longer.
One shared line
The folded line you often see at banks and airline check-in counters, the so-called serpentine line, keeps every customer in a single queue and sends them one by one to whichever counter frees up. How does that differ from the supermarket arrangement, with a separate line at each register?
The calculation shows a big difference. Suppose there are three registers, each checkout takes 2 minutes on average, shoppers arrive at random and split across the three lines at random, a third each. At 80% utilization the average wait in three separate lines is 8.0 minutes; in one shared line it is 2.2 minutes. At 90% it is 18.0 versus 5.5 minutes; at 96%, 48.0 versus 15.4 minutes. Look at the one shopper in twenty who waits longest (the 95th percentile), and at 80% it is 27.7 minutes versus 8.5.

In a 2004 radio column, Bill Hammack, a chemical engineer at the University of Illinois, summed up the difference as a single line being "about three times faster". That matches the calculation above.
Real shoppers, of course, do not pick a line at random. They join the shortest one, and that shrinks the difference in averages a great deal. Running the toy model I built into the playground below, with three registers about 87% busy, shoppers who join any line at random wait 8.8 minutes on average, shoppers who pick the shortest line wait 2.6, and one shared line gives 2.3. On averages alone, the advantage of a single line is smaller than you might think.
Look at the person who waited longest, though, and the story changes. In the same model, the longest wait was 18.5 minutes when everyone picked the shortest line, and 11.8 minutes with a single line. In separate lines, a register next door can sit idle while you are stuck behind one slow shopper. In a single line that never happens. What one shared line mainly cuts is not the average but the unlucky tail. The sense of injustice in my notebook comes from exactly that tail.
Fairness matters too. In a 1987 paper, Richard Larson of MIT argued that customers are often angered less by the length of a wait than by a breach of "first come, first served". He called being overtaken by someone who arrived after you a "slip", and overtaking someone who arrived before you a "skip". With a line at every register, slips happen every day. In a single line they almost never do. Larson's lecture slides list a few American banks, American Airlines and the burger chain Wendy's among the places that adopted the serpentine line. Wendy's explanation is a nice one: the company started that way because its founder, Dave Thomas, didn't like being bumped out of lines.
A single line does not always win
So why do supermarkets usually keep a line at each register? Space is part of it, but there is also evidence that a single line does not win as cleanly as the calculation suggests.
First, the people doing the work change. Masha Shunko and colleagues (2018) gave lab participants a ten-minute computer task of serving customers. When customers stood in one line and went to whoever was free, participants worked more slowly than when each had their own line. If you cannot see your own line growing, the reason to hurry fades. This was a lab task, though, and I could not confirm the actual size of the slowdown.
Hospital data point the same way. Hummy Song and colleagues (2015) compared an American emergency department before and after it switched from a shared queue to queues dedicated to individual physicians. After the switch, average length of stay for mid-acuity patients fell by 17%, about 39 minutes, and average waiting time by 9%, about 4 minutes. The researchers attributed it to a sense of ownership over "my patients". In a line served by people, speed is not fixed the way it is for the registers in the mathematics.
Second, customers look at the length of a line. Yina Lu and colleagues (2013) recorded queue lengths and purchases at the deli counter of a large supermarket in South America. Customers decided whether to buy mostly by how many people were standing in line, rather than by how fast the line was moving. So, the researchers noted, merging lines into one makes the visible line longer, and even if the actual wait falls, more customers might simply turn away. Fifty people in a single line looks far more daunting than five people in front of each of ten registers.
So the choice between one line and many is not settled by mathematics alone. The answer depends on how the people working respond and on what customers look at when they decide. In the second tab of the playground I added a knob for how much slower cashiers become with a single line. Research does not tell us what number to pick, so that is the reader's assumption. If the registers are already very busy, a slowdown of just 10% quickly wipes out the single line's advantage.
Why the other line always looks faster
Now back to the question in the notebook. Is the other line really always faster?
The simplest answer is arithmetic. If there are three similar lines, the probability that yours is the fastest is one in three. The other two times out of three, at least one line beats you. Hammack wrote in the same column that if it is random which line has someone who holds things up, all three lines are equally likely to suffer a delay, so there is only a one in three chance that your line will suffer the least. With two lines beside you, "one of the other lines" winning is the normal outcome. With five lines, your chance of coming first is one in five.
Does picking the shortest line help? I pressed "Stand in line 30 times (fast)" twenty times in the playground's model and stood in line some 660 times. Joining any line at random, my line was fastest 36% of the time, almost exactly a third (ties counted as wins). Picking the shortest line, it was 52%. Clearly better. Still, every other time, another line got there first. The length of a line only tells you how many people are ahead, not how long each of them will take.
There is one more probability trap. In a 2017 article, the University of Sussex statisticians Enrico Scalas and Nicholas Georgiou explained it with the "inspection paradox". Customers who take a long time to check out stay at the register longer, so if you walk up to a register at a random moment, you are more likely than average to land behind exactly such a customer. It is the same reason that if you arrive at a bus stop at a random time, you are more likely to be waiting through one of the longer gaps between buses. The feeling that the person in front of you is unusually slow is not purely an illusion.
And then there is memory. This is my own hunch, not research. On the days you lose, the scene plays out in front of you: someone who arrived after you walks out first. On the days you win, nothing happens. You pay and leave. Only the losing days become stories.
In 1985 the management consultant David Maister described this scene precisely. "Nearly everyone has had the experience of choosing a line at the supermarket or airport, and stood there worrying that he had, indeed, chosen the wrong line. As one stands there trying to decide whether to move, the anxiety level increases and the wait becomes intolerable." He then quotes a law named after the American columnist Erma Bombeck: "The other line always moves faster."
There is also a nice piece of research from the other direction. Rongrong Zhou and Dilip Soman (2003) studied how people in a line feel and found that the more people were standing behind them, the better they felt and the less likely they were to give up and leave. The researchers put this down to downward comparison with the people behind. Looking sideways hurts; looking back consoles. Even in a queue, we are comparing animals.
You can try this yourself in the playground below. At the top, set the number of registers, how many shoppers arrive per minute and how long each checkout takes. In the first tab, "At the checkout", shoppers arrive as dots and join a line, and the longer they wait the darker their colour. Pressing "One shared line" changes only the way people line up, under the same conditions. Pressing "Join a line" places invisible twins at the back of every other line at the moment you join, and records who reaches a register first. The second tab, "One line vs many", lines up the same 3,000 shoppers in three different ways and compares the averages and the tails.
The psychology of waiting
Maister's 1985 essay "The Psychology of Waiting Lines" took up what queueing theory leaves out: not how many minutes you actually waited but how the time felt. He opens with what he calls the First Law of Service, a formula: satisfaction (S) equals perception (P) minus expectation (E). The same five minutes is a disappointment if you expected three and a pleasure if you expected ten.
He then sets out eight principles. In the words of his own headings:
- Occupied time feels shorter than unoccupied time.
- People want to get started. (Waiting before the service begins feels longer than waiting once it has begun.)
- Anxiety makes waits seem longer.
- Uncertain waits are longer than known, finite waits.
- Unexplained waits are longer than explained waits.
- Unfair waits are longer than equitable waits.
- The more valuable the service, the longer the customer will wait.
- Solo waits feel longer than group waits.

Hold them up against the checkout and each one is familiar. The gum and magazines beside the register are there for impulse buys, but they also fit principle 1. Worrying that you picked the wrong line is principle 3; the indignation when a later arrival in the next line leaves first is principle 6. Maister explains the origin of the express checkout with principle 7 as well. It appeared because customers with only a few items resented waiting a long time for what seemed a simple transaction, while customers with a full cart were far more willing to put up with lines. And, he adds, customers accept the express lane's priority rule as fair.
The famous story of the elevator mirrors also appears in this essay, though it is not Maister's own example; he cites a 1979 service management book by Earl Sasser and colleagues. A hotel that received complaints about slow elevators installed mirrors beside them, and because people checked their appearance, complaints dropped sharply even though the actual wait was unchanged. He cites the same book for restaurants that deliberately quote a longer wait than expected. Guests who agree to wait that long are delighted to be seated early.
How much of the Houston airport story is true?
One anecdote turns up more than any other whenever the psychology of waiting comes up. It is the opening of Alex Stone's 2012 New York Times article "Why Waiting Is Torture".
At a Houston airport, passengers complained that their bags took too long. The airport added baggage handlers and cut the average wait to eight minutes, a good figure by industry standards. The complaints did not go away. On closer look, passengers walked one minute from the gate to baggage claim and spent the other seven minutes standing and waiting. Roughly 88 percent of the wait was just standing there. So the airport moved the arrival gates farther from baggage claim and sent bags to the outermost carousel. Passengers now had to walk six times as far. Complaints dropped to near zero.
Few stories illustrate Maister's first principle better. But try to confirm it and you hit a wall. The only actors named in the article are "executives at a Houston airport". Which airport, when, and who said it are all missing. I found no record of the airport confirming it and no source independent of the article. Some write-ups say the story comes from Maister's 1985 essay, but the word Houston never appears in it. Online, the story even circulates with follow-up figures such as "six minutes of walking and two of waiting", which are not in the original article either.
So the honest way to read it is as a plausible anecdote whose source cannot be confirmed. The same article also says people overestimate how long they have waited by about 36 percent, without naming a study. A 1984 consumer research paper is often cited as the source, but I could not check it against the original. Several studies point in the direction of waits feeling longer than they are, but the exact percentage likely varies by study and setting.
Ticket numbers, self-checkouts and wait-time boards
These principles are hidden in devices we see every day.
Ticket numbers. The take-a-number ticket at a bank or a government office is an invisible single line. Customers can sit down, and the order is still exactly first come, first served. The slips Larson described do not happen. Sitting is easier on the body, and watching the number on the display change gives a sense of where the end is. It is a device that solves Maister's principles 4 and 6 at once. I tried to find out when number tickets first arrived in Korean banks but found no reliable record.
Self-checkouts. The self-checkout is said to have been first installed in 1986 by a company called CheckRobot at a Kroger store near Atlanta. I found no well-grounded measurements this time on whether self-checkouts are actually faster. Still, Maister's principles allow one observation. While you are scanning barcodes with your own hands, the time is not waiting time but working time. Principles 1 and 2 kick in at once.
Wait-time boards. A theme park sign reading "30-minute wait" answers principle 4. A story has long circulated that Disney deliberately posts longer waits than the real ones, but I found nothing in which Disney officially acknowledged this. What I did find was a tally (2023) by a company whose app users report their actual waits: at Walt Disney World's four theme parks, actual waits ran at 60 to 68 percent of the posted times. Whether intended or not, like the restaurant example above, it effectively raises the expectation (E) in Maister's formula S = P − E. In a 1991 study in the lobby of a Boston bank, Larson and colleagues tried a wait-time estimator display and an electronic news board, and it was reported that after the news board went up, customers' perceived waits stayed the same but their satisfaction rose.
Cutting in for money. How much fairness matters also shows up in experiments on buying a place in line. Felix Oberholzer-Gee (2006) approached 500 people standing in line and offered up to $10 to be let in ahead of them. The bigger the offer, the more people agreed, and a majority let him in. Yet only a small minority actually took the money. It looks less like people selling their spot than like them giving their turn to someone who seemed to be in a hurry. A line is a device for dividing time, and also a small society.
So which line should I join?
Here is what today's journey adds up to, in a form you can use at the checkout.
- Look at the number of items, not the number of people. Little's law is about averages, but how long the people in front of you take today depends on their baskets. One person with a full cart can take longer than two people with baskets.
- If there is a single line, join it. The average may not differ much, but your chance of landing in the unlucky tail goes down. And you stop stewing over the line next to you.
- Don't agonize over switching. As Maister said, the anxiety of deciding makes the wait longer. Remembering that only one line in three comes first makes losing a little less galling.
- Give yourself something to do. Arranging the items in your basket or rereading your shopping list is enough to turn unoccupied time into occupied time.
And the surest method of all is to avoid the hours when the registers are more than 85% busy. A supermarket on a December evening often sits right on that threshold.
Closing
Back to the notebook's question. When the other line moves first, is it because I am unlucky?
As far as I followed it today, mostly it is not bad luck; that is just how the arithmetic goes. Among three lines, mine comes first one time in three, and even when I pick the shortest line, another line beats it every other time. Shoppers who take long stay at the register longer, so I am more likely than average to end up behind one. And the losing days stick in memory while the winning days slip by. As Erlang found with telephone calls, no individual's luck can be predicted, but put enough people together and a steady shape appears. The feeling that I lose often is part of that shape.
Even so, I don't think the indignation in my notebook is the wrong feeling. As Maister said, the clock sets how long a wait is, but fairness, anxiety and having something to do set how it feels. When the people who design lines know this, lines hurt less. When the people standing in them know it, they glance sideways less. If the other line moves first again at a checkout this December, I plan to think of one in three and tidy up my basket.
A Page for Today is a series in which I open my idea notebook to a random page and lay that day's thoughts on the line I find there. Today's line was "Whenever I pick a line at the supermarket, the one next to me moves first. Am I just unlucky?"
- The start of queueing theory: A. K. Erlang, Nyt Tidsskrift for Matematik B 20, 1909 · A. K. Erlang, Elektroteknikeren 13, 1917 · E. Brockmeyer, H. L. Halstrøm, A. Jensen, The Life and Works of A. K. Erlang (1948) · J. J. O'Connor, E. F. Robertson, MacTutor "Agner Krarup Erlang" · D. G. Kendall, Annals of Mathematical Statistics 24(3), 1953
- Little's law and congestion: P. M. Morse, Queues, Inventories and Maintenance (1958) · J. D. C. Little, Operations Research 9(3), 1961 · J. D. C. Little, Operations Research 59(3), 2011 · J. F. C. Kingman, Proceedings of the Cambridge Philosophical Society 57(4), 1961
- One line and many: B. Hammack, "Why the Other Line Always Moves Faster," Engineer Guy (Dec. 2004) · R. C. Larson, Operations Research 35(6), 1987 · R. C. Larson, MIT OCW ESD.86 lecture slides (2007) · M. Shunko, J. Niederhoff, Y. Rosokha, Management Science 64(1), 2018 · H. Song, A. L. Tucker, K. L. Murrell, Management Science 61(12), 2015 · Y. Lu, A. Musalem, M. Olivares, A. Schilkrut, Management Science 59(8), 2013
- The other line and probability: E. Scalas, N. Georgiou, "There's a mathematical formula for choosing the fastest queue," The Conversation (May 2017) · R. Zhou, D. Soman, Journal of Consumer Research 29(4), 2003
- The psychology of waiting: D. H. Maister, "The Psychology of Waiting Lines," in J. A. Czepiel et al. (eds.), The Service Encounter (1985) · W. E. Sasser et al. (1979, as cited in Maister 1985) · A. Stone, "Why Waiting Is Torture," The New York Times (Aug. 18, 2012) · K. L. Katz, B. M. Larson, R. C. Larson, Sloan Management Review 32(2), 1991 · F. Oberholzer-Gee, Kyklos 59(3), 2006
- The devices: self-checkout, CheckRobot and Kroger, 1986 (secondary sources) · B. Gandillon, "Posted vs Actual Wait Times," TouringPlans (Feb. 2023)