As the popular vote is not used to determine who is elected as the nation's president or vice president, it is possible for the winner of the popular vote to end up losing the election, an outcome that has occurred on five occasions, most recently in 2016.
[2][3] The Twelfth Amendment to the United States Constitution (1804) provides the procedure by which the president and vice president are elected; electors vote separately for each office.
The appointment of electors is a matter for each state's legislature to determine; in 1872 and in every presidential election since 1880, all states have used a popular vote to do so.
The 1824 election was the first in which the popular vote was first fully recorded and reported.
[4] Since the 1988 election, the popular vote of presidential elections was decided by single-digit margins, the longest streak of close-election results since states began popularly electing presidents in the 1820s.