Donald Trump's election surprised pollsters across the board, with the overwhelming majority deducing the former reality TV host had no chance of winning the White House.

But Tom Jackson and Martin Sykora, researchers at Loughborough University in the United Kingdom, were able to calculate a Trump triumph ahead of time by using Twitter.

Their election-predicting tool, called Emotive, was able to gather information on thousands of tweets every second to create a snapshot of how people truly felt about the two candidates.

Scroll down for video

Two pollsters say data proved Donald Trump 'dominated' the campaign - so much so they were able to predict his win days before the election

Tom Jackson (right) and Martin Sykora (left), researchers at Loughborough University in the United Kingdom, were able to calculate a Trump triumph ahead of time by using Twitter

Tweets were then assigned into one of eight categories: anger, disgust, fear, happiness, sadness, surprise, shame or confusion.

The basic rule of the analysis was that the more a candidate was tweeted about with 'extreme emotion', the lower their final vote count would be on November 8.

They also looked at 'choppiness', which was when there were seemingly differing emotions on a candidate. It was better for a candidate to be steady.

Trump was much steadier than Clinton, the results found, with the Democratic nominee significantly 'choppier'.

The research also found the emotions people used when tweeting about Hillary Clinton changed more throughout the campaign

These charts show the emotions with which people tweeted about both candidates during the campaign

This graph shows how the emotions people used towards Hillary Clinton spiked and dropped regularly during the campaign

By contrast, Donald Trump maintained a relatively steady emotion, which made him the stronger candidate, according to the study

'We did think: this can’t be right,' Jackson told the Huffington Post.

'People were saying "you’ve got it wrong, you’ve got it wrong". But we were saying - "we’ve done a lot of analysis before, this is what it’s saying."'

Sykora told the website Trump incredibly managed to be a more calming figure on Twitter, despite being dogged by a number of sexual assault allegations and the infamous 'p***ygate' recording.

'In the three weeks ahead of November 8, our model was telling us Trump was ahead based on the measures we were using,' he said.

'There were maybe two or three instances where Hillary caught up and was slightly ahead, but the data was telling us he was dominating.'

These word graphs show the different words most associated with key phrases and hashtags during the campaign

Jackson went on to say he believes the method can help pollsters in future, as the traditional method of asking people who they plan to vote for becomes increasingly outdated.

'The world has changed. The pollsters ask "who are you going to vote for?" That’s a snapshot in time,' he said.

'With this type of system - longitudinal, over a long period of time - you can’t really lie.