Researchers realised that brain weight and the number of neurons in the outer layer of the brain, called the cortex, can reliably predict yawn length. Humans, with about 12000 million cortical neurons, had the longest average yawn, lasting a little more than 6 seconds.