This election is still too close to call. Counts are continuing in key states with tight margins. There are more paths to the magic 270 open to the former Vice President Joe Biden, but President Donald Trump does still have a viable route to re-election.
Both candidates have engaged teams of lawyers, as is standard practice in US elections, and can request recounts under certain circumstances.
In some of the states if the race gets very close, an automatic recount will be triggered. President Trump's campaign team have already said he wants a recount in Wisconsin. Can he do that and if so how?
Here's the tipsheet to recounts in the remaining battleground states:
The rules in Arizona state that neither candidates nor voters can directly request recounts. However if, when the final result is declared, the margin between the candidates is less than or equal to 0.1% of the votes cast, a recount is automatically triggered.
Voters can contest election results in the state courts if they suspect misconduct, illegal voting or counting errors.
Here candidates can ask for a recount if the margin between them is less than 1% of the total votes cast. Currently that margin is less than 0.1%, with Joe Biden ahead by just 1,585 votes. The Georgia Secretary of State Brad Raffensperger has confirmed that a recount will take place.
"With a margin that small, there will be a recount". He said "the final tally at this point has huge implications for the entire country," he told a press event on Friday.
An automatic recount is triggered in Michigan if there are just 2,000 votes or less between the candidates. Above that threshold, a candidate can request a recount if they feel they have a "reasonable chance of winning the election".
Michigan has been called for Joe Biden, with a winning margin of almost 150,000 votes.
If the race is tied here, then either candidate can request a recount. If there is a winner, irrespective of the margin, only the loser files for a recount. There is no automatic trigger for a recount.
There is an automatic recount provision in Pennsylvania if there is 0.5% or less of the total votes cast between the candidates. If any voters suspect there are errors in the vote totals, they can request a recount in their district and they have five days after the election to do that.
Once the official results are finalised, if there is 1% or less between the candidates, the loser can force a recount. If the margin is larger than that, no recount is possible.
President Trump’s campaign team has already indicated that it will ask for a recount. The results in this stage have not been finalised but it has been called for former Vice President Biden with a margin of just 0.6% so the Trump team can legally request a recount here.