This is how things will go down on US election night

Updated: 

It seemed like it would never come but the day is finally upon us. After months of rallies, reaction and general ridiculousness we're on the cusp of finding out who will be the 45th President of the United States.

So here's a guide to how the result of the US presidential election will be decided and how the events will unfold:

What will actually happen on election day, November 8?

a US citizen voting in the Democrats Abroad Global Presidential Primary (Steve Parsons/PA)
(Steve Parsons/PA)

Polls open at different times across the United States and will remain open for most of the day.

In many states people have been able to vote in advance and it is estimated at least one-third of all votes will have been cast before November 8.

What happens when the polls close?

The main US TV networks will "call" each state for either Hillary Clinton (Democrat) or Donald Trump (Republican).

Most states vote the same way each election and these will be called as soon as their polls close. Examples are New York and California for the Democrats, and Louisiana and Tennessee for the Republicans.

Which states will be called first?

mike pence indiana governor (Michael Conroy/AP)
(Michael Conroy/AP)

Indiana and Kentucky (polls close 11pm UK time). Both of these are safe Republican states, so these ought to be called for Trump straight away.

Polls in the rest of the states will close over the next few hours, ending at 4am.

Which states are worth watching out for?

The so-called "swing states", which tend to vote different ways in each election. Neither Clinton nor Trump can win without taking at least some of these states.

Here is when these polls are due to close (UK time): Florida and New Hampshire 12am; North Carolina and Ohio 12.30am; Arizona and Colorado 2am; Iowa and Nevada: 3am.

Who currently has the advantage in these states?

Hillary Clinton speaks at a rally (Paul Sancya/AP)
(Paul Sancya/AP)

Polls suggest Clinton is ahead in most of them, but not by much. She also has a slightly easier route to victory than Trump.

If she holds all of the "safe" Democratic states, a win in Florida could be enough to see her over the finishing line. Trump needs to take almost all of the swing states to get him past the winning post.

What is the winning post?

270 electoral votes.

And what are electoral votes?

graphic showing weighting of states on electoral votes (PA)

Each state is worth a different number of electoral votes, based on population size - so California, a very populous state, is worth 55 votes while the sparsely inhabited Montana is worth just three.

A candidate collects all the electoral votes for a state by coming top of the popular vote. For example, in Florida the polls suggest Clinton currently leads Trump by around 47% to 45%. If this were repeated on election day, Clinton would collect all of Florida's 29 electoral college votes.

When will we know who is the next president?

If Clinton or Trump has won comfortably, it should be obvious by around 4am on Wednesday morning.

If the result is close, the final picture might not be clear until late morning. But should some of the swing states be extremely close, recounts and legal challenges could hold things up for days or - as was the case with Florida in 2000 - weeks.

How is the winner declared?

trump and clinton shake hands (Evan Vucci/AP)
(Evan Vucci/AP)

Usually by the loser conceding defeat. The actual process of counting votes takes many hours, sometimes days. If the overall result is close, do not expect anybody to concede any time soon.

Is there a cut-off point when the result has to become official?

Yes - January 6 2017. This is when the US Congress meets to count and authorise the electoral votes.

And Barack Obama stays in office throughout this period?

President Barack Obama greets supporters (Gerry Broome/AP)
(Gerry Broome/AP)

Yes, until 12pm on January 20 2017 when the president-elect will take the oath of office and become the 45th President of the United States.