In Switzerland, one in three employees suffers from workplace stress. Those affected often don’t realise that their physical and mental resources are dwindling until it’s too late. This makes it all the more important to identify work-related stress as early as possible where it arises: in the workplace.

Researchers at ETH Zurich are now taking a crucial step in this direction. Using new data and machine learning, they have developed a model that can tell how stressed we are just from the way we type and use our mouse.

And there’s more: “How we type on our keyboard and move our mouse seems to be a better predictor of how stressed we feel in an office environment than our heart rate,” explains study author Mara Nägelin, a mathematician who conducts research at the Chair of Technology Marketing and the Mobiliar Lab for Analytics at ETH Zurich. Applied correctly, these findings could be used in future to prevent increased stress in the workplace early on.

Stressed people type and click differently

The ETH researchers proved in an experiment that stressed people type and move their mouse differently from relaxed people. “People who are stressed move the mouse pointer more often and less precisely and cover longer distances on the screen. Relaxed people, on the other hand, take shorter, more direct routes to reach their destination and take more time doing so,” Nägelin says.

What’s more, people who feel stressed in the office make more mistakes when typing. They write in fits and starts with many brief pauses. Relaxed people take fewer but longer pauses when typing on a keyboard.

The connection between stress and our typing and mouse behaviour can be explained with what is known as neuromotor noise theory: “Increased levels of stress negatively impact our brain’s ability to process information. This also affects our motor skills,” explains psychologist Jasmine Kerr, who researches with Nägelin and is a coauthor of the study.

Simulating office stress as realistically as possible

To develop their stress model, the ETH researchers observed 90 study participants in the lab performing office tasks that were as close to reality as possible, such as planning appointments or recording and analysing data. They recorded the participants’ mouse and keyboard behaviour as well as their heart rates. In addition, the researchers asked the participants several times during the experiment how stressed they felt.