It's a frustration every public transport user knows - waiting for an overdue bus, only to have several turn up at once.
Now Kiwi researchers have found a way to model "bus bunching" and predict where and when it will occur.
University of Canterbury researchers hope the study will help transport planners and bus operators keep buses running to schedule.
"No one has really shown much interest in working out why bus bunching occurs and how to avoid it," said transport engineering professor Alan Nicholson.
The main factors were buses being delayed in traffic between stops, which resulted in more people waiting to board, and a longer boarding time at each stop.