Who will win the race to be president? In the presidential election each state is worth a number of votes, based on its population, and if the race is close it could come down to a single state. The winner is the candidate who secures 270 votes or more. The bar below shows the votes that are considered safe for each candidate and, in the middle, the battleground states that could be won by either side. Explore what might happen in the election and compare your prediction with those of the experts

The BBC will be providing full online live results of the US presidential election on 6 November. More details here