Laws · Queues and systems

Kingman's formula

Waiting time depends on how busy the server is multiplied by how unpredictable the work is. Both make queues longer.

Walk-ins, any order9 minWalk-ins, one drink4.5 minBooked, one drinkalmost noneAverage wait at a barista 90% busy, 1 minute acoffee, by Kingman's formula

In real life

A barista takes a minute per coffee. At 80% busy the line waits about 4 minutes; at 90% about 9; at 95% about 19. Each step closer to full roughly doubles the wait.

In data and work

Wait is roughly busy-ness ÷ (1 − busy-ness) × variability × job time. Making the work steadier can cut waits as much as adding staff.

Watch out

It is an approximation for a single server and works best when that server is very busy; it says little about queues that are mostly empty.

John Kingman published it in 1961 in The single server queue in heavy traffic, in the Mathematical Proceedings of the Cambridge Philosophical Society.

Source: Wikipedia

Related

50% busy1× job time80% busy4×90% busy9×95% busy19×99% busy99×Average wait in line = busy ÷ (1 − busy) × job time,for a single server with random arrivals
Queueing theoryThe maths of waiting in line. The busier a server gets, the faster waiting times grow -- slowly at first, then explosively near 100%.
10 arrive per hour1Each stays 0.5 hours2About 5 inside at once3
Little's lawThe number of things in a system equals how fast they arrive times how long each one stays.