Electoral votes in the Electoral College determine the President of the United States. Every state and DC are awarded a certain number of electoral votes with which to elect the President. Each state has electoral votes equal to the total of the 2 representative the state has in the U.S. Senate plus the number of representative the state has in the House of Representatives. The states choose as many electors as it has electoral votes and these electors elect the president. The electors are elected by popular vote in each state and each candidate for elector swears in advance whom he will vote for. 270 electoral votes in the Electoral College are needed to win the U.S. presidency. Since every state has two senators and at least one representative to the House, every state has at least 3 electoral votes. The District of Columbia gets 3 electoral votes. Therefore, the total number of electoral votes in the Electoral College is 538 - 100 (senators) + 435 (representatives) + 3 (for DC). A majority is 270 - one more than half of the total number of 538.
It cast 31 electoral votes for Obama.
Illinois was allowed to cast 21 electoral votes in 2008.
counting the electoral votes that were cast in the presidential election
Virginia had 13 electoral votes in 2004, which they cast for George W. Bush (R).
Virginia cast 13 electoral votes in 2008. These went to Barack Obama (D) who received 1,959,532 votes to John McCain's (R) 1,725,005 votes.
Virginia had 12 electoral votes in 1984, which they cast for Ronald Reagan (R)
Wisconsin had 10 electoral votes in 2004; they were cast for John Kerry (D).
Indiana cast its 11 electoral votes for Donald Trump in the 2016 election.
Tennessee cast its 11 electoral votes for John McCain in the 2008 election.
Missouri cast its 10 electoral votes for Mitt Romney in the 2012 election.
Texas cast its 38 electoral votes for Donald Trump in the 2016 election.
Barack Obama received all 27 electoral votes from Florida.