<page_title> 2008 United States presidential election in Pennsylvania </page_title> <section_title> Results </section_title> <table> <cell> Barack Obama <col_header> United States presidential election in Pennsylvania, 2008 </col_header> <col_header> Candidate </col_header> <row_header>  </row_header> </cell> <cell> 54.47% <col_header> United States presidential election in Pennsylvania, 2008 </col_header> <col_header> Percentage </col_header> <row_header>  </row_header> </cell> <cell> John McCain <col_header> United States presidential election in Pennsylvania, 2008 </col_header> <col_header> Candidate </col_header> <row_header>  </row_header> </cell> <cell> 44.15% <col_header> United States presidential election in Pennsylvania, 2008 </col_header> <col_header> Percentage </col_header> <row_header>  </row_header> </cell> </table>
Obama had 54.47% of the vote to McCain's 44.15%, a margin of 10.32%.