Why the Other Line Always Moves Faster

An interactive exploration of the mathematics behind your supermarket misery

↓ scroll to begin
Act I

The Misery Is Real

You know the feeling. You're at the supermarket, three items in hand. You scan the checkout lanes. Lane 2 looks short. You commit. You plant your feet. And then Lane 1 and Lane 3 start flying.

The person in front of you is paying in exact change — coins extracted one by one from a zip-lock bag, like a very slow magic trick. Meanwhile, the lanes on either side of you are processing customers like an assembly line designed by NASA.

You've always suspected the universe has it out for you. Here's the thing: it sort of does.

Let's prove it. Below is a simulation of three checkout lanes. You're the orange dot. Hit "Run" and watch what happens.

Try changing the number of lanes to 8. Watch your win rate plummet.

With three lanes, you pick the fastest one only about a third of the time. With eight lanes? You lose roughly seven out of eight times. You're not paranoid. You're just outnumbered by alternatives.

If you pick one line out of N, there's an (N−1)/N chance that at least one other line finishes before yours. More lanes = more chances to feel like a loser.

But it gets worse. Even if the odds were perfectly even, your brain would still convince you that you chose wrong. Let's see why.

Act II

Your Brain Is Making It Worse

Imagine you're standing in line. The line next to you moves forward one person. You feel a little stab of regret. Then YOUR line moves forward one person. Do you feel a rush of triumph? Of course not. You feel nothing. That was just... expected.

This asymmetry is real and it's brutal. Psychologists call it negativity bias — bad experiences register about twice as strongly as equivalent good ones. In queue terms: every time the other line advances, it hurts. Every time your line advances, it's invisible.

Let's track it in real time. Below, you're in the middle lane. Watch the simulation and pay attention to the emotion counter.

😤 0 jealousy stabs
😌 0 satisfaction moments
🧠 pain ratio

Run it a few times. Notice the jealousy stabs almost always outnumber the satisfaction moments — even when the queues are perfectly fair.

Here's what's happening: with two neighbouring lanes, there are two opportunities for jealousy stabs (either neighbour advances) but only one opportunity for satisfaction (your lane advances). You're monitoring more failure channels than success channels. The emotional scoreboard is rigged 2-to-1 against you before a single person is served.

So even in a perfectly fair universe, your brain would still report that you chose the slow lane. But here's the punchline: the universe isn't perfectly fair. There's a villain we haven't met yet.

Act III

The Variance Monster

Imagine two cashiers. Cashier A serves every customer in exactly 60 seconds. No faster, no slower. A metronomic checkout savant. Cashier B averages 60 seconds too — but sometimes takes 15 seconds, sometimes takes 3 minutes. Same average. Very different experience.

The average service time is the same. So the lines should behave the same, right?

Not even close.

Below, each cashier processes 40 customers. Adjust the "chaos slider" — it controls how unpredictable the service time is. At zero, every customer takes exactly the same time. At max, some breeze through and others... don't.

Avg wait time
Worst wait
Best wait

Start with chaos at 0% and hit simulate. Then crank it to 100% and simulate again. Watch the "worst wait" explode.

At zero chaos, everyone waits the same amount — it's perfectly predictable. But as variance increases, the average wait barely changes while the worst-case wait goes through the roof. One slow customer creates a traffic jam that ripples through every person behind them.

This is the variance monster, and it's the real reason queues feel so terrible. It's not that the average service is slow — it's that the spread is huge. One person arguing about an expired coupon can add five minutes to everyone behind them.

In queuing theory, variance is the villain, not the average. A predictable line always feels faster than an unpredictable one, even if they have the same average speed.

So: the math is stacked against you, your brain amplifies the misery, and the inherent chaos of human behaviour makes it worse. Is there any hope? Actually, yes. And the solution has been hiding in plain sight at every airport and bank.

Act IV

The Serpentine Cure

You've seen it at the airport: one long, snaking line that feeds multiple counters. When a counter opens up, the next person in the single line goes. It looks inefficient — all those people in one huge line! But it's a mathematical miracle.

The serpentine line doesn't change the average wait time. If you have 3 cashiers and 30 customers, the total work is the same either way. What it annihilates is the variance.

Below is the proof. On the left: three separate lines (you pick one and pray). On the right: one serpentine line feeding three cashiers. Same customers, same cashier speeds. Hit run and watch.

🎰 Three Separate Lines

🐍 One Serpentine Line

Run it several times. Notice how the serpentine worst-case is consistently better. Now crank chaos to 100% — the gap becomes enormous.

The serpentine line works because of pooling. In separate lines, if you get stuck behind a slow customer, you're trapped. In the serpentine, a slow customer at one counter just means the other counters absorb the flow. The variance gets diluted across all servers instead of concentrating on unlucky individuals.

This is why banks, airports, and post offices switched to serpentine lines — not because it's faster on average, but because it makes the worst case dramatically less terrible. The person who drew the short straw no longer has to watch everyone else leave while they're stuck behind Coupon Guy.

The serpentine line doesn't speed up the average — it kills the worst case. It's a fairness machine.
Act V

The Supermarket Simulator

Now you get to play God — or at least, store manager. Below is a full supermarket simulation. Adjust the number of cashiers, the customer arrival rate, the chaos factor, and toggle between separate lines and serpentine. Watch the live wait-time statistics update as customers flow through.

0
Served
Avg wait
Max wait
Min wait

Start with serpentine ON and chaos at 80%. Note the max wait. Then uncheck serpentine (keeping everything else the same) and watch the max wait climb.

There's a beautiful lesson buried in here. The best systems aren't the ones that make everything fast — they're the ones that make everything fair. The serpentine line doesn't perform magic. It performs justice.

Epilogue

Next Time You're in Line

So here's what you now know. The other line probably is moving faster — there are more of them, so the odds are against you. Your brain makes it feel even worse by tallying jealousy stabs while ignoring your own progress. And the chaos of human behaviour creates wild swings that make your personal experience a terrible sample size of one.

The serpentine line is one of those rare cases where a simple structural change makes everything better for everyone. No new technology, no extra staff, no faster scanners. Just... a different shape of queue.

Next time you're standing in a bank's serpentine line, feeling frustrated by how long it is, remember: that long snake is protecting you from a much darker timeline where Coupon Guy picks your lane.

The mathematics of misery isn't about bad luck. It's about the shape of the system. Change the shape, change the experience.