There is a moment most mornings in any busy café when the room changes. At ten past eight three people are waiting and the two staff are chatting with customers. At a quarter past there are eleven, the line has reached the door, and somebody outside looks through the window, checks the time and keeps walking.
Nothing dramatic happened in those five minutes. A few more people arrived than in the five before. The staff worked at the same speed. Yet the queue more than tripled.
This behaviour was first analysed mathematically by a Danish engineer, Agner Krarup Erlang, who was working out how many lines the Copenhagen telephone exchange needed in the 1900s. The theory he started explains the quarter-past-eight problem precisely, and it suggests remedies that are not the obvious ones.
Two numbers
A queue is governed by two rates.
The arrival rate is how many customers turn up per minute, on average. The service rate is how many the counter can serve per minute, on average, when working flat out.
Divide the first by the second and you get utilisation: the fraction of capacity in use. If one customer arrives every minute and the staff can serve one every forty-five seconds, utilisation is 75 per cent.
Intuition says that as long as utilisation is below 100 per cent, there should be no real queue, since customers are being served faster than they arrive. Intuition is wrong, and the reason is the phrase "on average".
Randomness is the whole story
Customers do not arrive evenly spaced. Four come through the door together, then nobody for two minutes. Service is uneven as well: one person wants a filter coffee and the next wants four different drinks and has a question about the cake.
When a cluster arrives, a queue forms. When there is a lull, the staff catch up. But a lull with nobody waiting is capacity that is simply lost. An idle minute cannot be saved and spent later. So the bunching hurts and the gaps do not fully compensate.
The simplest model of this gives a formula for the average number of people in the system: utilisation divided by one minus utilisation. It is worth running the numbers.
| Utilisation | Average number waiting or being served |
|---|---|
| 50% | 1 |
| 75% | 3 |
| 85% | about 6 |
| 90% | 9 |
| 95% | 19 |
From 50 to 75 per cent, the line grows by two people. From 90 to 95, it grows by ten. The curve is nearly flat for a long way and then goes almost vertical.
That is the quarter-past-eight effect. The café did not go from coping to overwhelmed. It went from about 85 per cent busy to about 93, and the mathematics did the rest. The real formula for a café with two staff is more complicated, but the shape is the same.
Measure before deciding
The two rates are easy to obtain.
Arrivals are in the till. Count transactions in each five-minute period of the morning for a couple of weeks. The peak will be sharper than the hourly figures suggest.
For service time, stand to one side with a stopwatch for half an hour and time twenty or thirty customers from the moment they reach the counter to the moment they leave it. Note the average, and note the spread. The spread matters as much as the average, which is the next point.
Remedy one: reduce variability
If the trouble comes from unevenness, evening things out helps even when average speed stays the same. This is the least obvious finding of queueing theory and the most useful to a small shop.
- Simplify the peak menu. The four-minute order in the middle of the rush delays everyone behind it. Some cafés offer a shorter menu before nine, or keep the slow items off the board.
- Prepare ahead. Batch-brewed filter coffee poured in ten seconds, pastries already plated. Anything that turns a variable task into a fixed one.
- Standardise the routine. When every order follows the same sequence, the spread of service times narrows.
- Take the order early. A person working down the line with a pad, or orders placed ahead by phone, moves the slow, variable part of the transaction, which is the deciding, out of the bottleneck.
Remedy two: add a little capacity at the right place
Because the curve is so steep near the top, a small increase in capacity produces a large fall in the queue. Going from 95 to 85 per cent utilisation needs about twelve per cent more capacity, and cuts the average line by more than two thirds.
It does not need to be a whole extra person all morning. It needs to be extra hands for the forty minutes that matter: someone who starts at half past seven instead of nine, or the owner stepping onto the till.
And it has to be at the bottleneck. If the espresso machine is the constraint, a second person at the till makes the queue for payment shorter and the wait for drinks exactly as long. Watch where the orders pile up. That station is the only one whose speed counts.
Remedy three: pool the line
Theory and experience agree that one line feeding two servers is better than two separate lines. With separate lines, one server can be idle while people wait in the other. With a single line, nobody waits while a server is free. Banks and airports adopted this decades ago. In a small shop it can be as simple as one queue and "next, please".
Remedy four: the wait people feel
Research on the psychology of queues, much of it summarised in a well-known essay by David Maister, finds that perceived waiting time differs from real waiting time in consistent ways.
Occupied time feels shorter than unoccupied time. Waiting to be acknowledged feels longer than waiting after you have ordered. A wait of unknown length feels longer than a known one. An unfair wait, where someone who came later is served first, feels longest of all.
So greet people in the line. Take the order as early as possible. Make the system visible, so nobody wonders whether they are standing in the right place. These cost nothing and change how the same four minutes are experienced.
The customers you never see
The reason all this matters commercially is the person at the window. Queueing researchers call it balking when someone sees the line and does not join, and reneging when someone joins and gives up.
Neither appears in the till. A café can lose a tenth of its potential morning trade this way and see nothing in its figures except a peak that seems to have a ceiling. If the busiest five minutes look the same every single day, the limit is probably the counter's capacity, and the demand beyond it has been walking past.
One way to find out is crude and effective: for a week, have someone tally the people who look in and leave between eight and nine. The number is usually a surprise.
Slack at the peak
Running at 95 per cent of capacity looks efficient, and for the shop it is. The cost falls on the customers, who pay for it in waiting time, and on the people who gave up.
A counter that seems slightly overstaffed for most of the rush is the one that can absorb a cluster of six people walking in together. Erlang's telephone exchange was built on the same reasoning, with spare lines sized for the expected peaks.



