A candidate needs at least 270 Electoral College votes, with most states awarding all their votes to the statewide winner, except Maine and Nebraska.