Bus waiting time paradox calculator
Buses come every 10 minutes on average and you turn up at a random time. How long do you wait? It depends on how regular the buses are, and the answer for random arrivals surprises nearly everyone. Pick a timetable below and you'll see your expected wait, and the average gap you land in, which is longer than the average gap between buses.
| Timetable | Expected wait | Gap you land in |
|---|---|---|
| Exactly on time | ||
| Gap uniform between m - s and m + s | ||
| Random arrivals (Poisson) |
How it works
You're more likely to arrive during a long gap than a short one, simply because long gaps take up more of the clock. If gaps have length X, the gap you land in has average E[X2]/E[X], and since you arrive at a random point inside it, your expected wait is half of that, E[X2]/(2E[X]).
With buses exactly 10 minutes apart you wait 5 minutes on average. With gaps spread uniformly from 5 to 15 minutes it's about 5.42. With random arrivals at the same average rate, the gaps are exponential, E[X2] is twice the mean squared, and you wait the full 10 minutes in a gap that averages 20. I've checked all three against a simulation with 200,000 passengers on each timetable.
More probability questions of this kind, with worked answers: quant interview probability questions