<Table> United States presidential election, 2012 <Tr> <Th_colspan="2"> </Th> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> ← 2008 </Td> <Td> November 6, 2012 </Td> <Td> 2016 → </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th_colspan="2"> All 538 electoral votes of the Electoral College 270 electoral votes needed to win </Th> </Tr> <Tr> <Th> Turnout </Th> <Td> 54.9% 3.4 pp </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Th> Nominee </Th> <Td> Barack Obama </Td> <Td> Mitt Romney </Td> <Td> </Td> </Tr> <Tr> <Th> Party </Th> <Td> Democratic </Td> <Td> Republican </Td> </Tr> <Tr> <Th> Home state </Th> <Td> Illinois </Td> <Td> Massachusetts </Td> </Tr> <Tr> <Th> Running mate </Th> <Td> Joe Biden </Td> <Td> Paul Ryan </Td> </Tr> <Tr> <Th> Electoral vote </Th> <Td> 332 </Td> <Td> 206 </Td> </Tr> <Tr> <Th> States carried </Th> <Td> 26 + DC </Td> <Td> 24 </Td> </Tr> <Tr> <Th> Popular vote </Th> <Td> 65,915,795 </Td> <Td> 60,933,504 </Td> </Tr> <Tr> <Th> Percentage </Th> <Td> 51.1% </Td> <Td> 47.2% </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> Presidential election results map . Blue denotes those won by Obama / Biden, red denotes states won by Romney / Ryan . Numbers indicate electoral votes allotted to the winner of each state . </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> President before election <P> Barack Obama Democratic </P> </Td> <Td> Elected President <P> Barack Obama Democratic </P> </Td> </Tr> </Table> </Td> </Tr> </Table> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> ← 2008 </Td> <Td> November 6, 2012 </Td> <Td> 2016 → </Td> </Tr> </Table> </Td> </Tr>

Who won the popular vote in the 2012 presidential race