Step-by-step explanation:
In the Electoral College system, each state gets a certain number of electors based on its total number of representatives in Congress. Each elector casts one electoral vote following the general election; there are a total of 538 electoral votes. The candidate that gets more than half (270) wins the election
Though Americans choose most of their elected officials by popular vote, the selection of a U.S. president is not as direct.
The presidency is decided by vote of the Electoral College, a temporary slate of 538 electors, all chosen by their state political parties. Each elector casts one vote; a presidential candidate needs 270 of these votes to win.