The popular vote was close but Obama won pretty comfortably in the end as the result comes down to electoral college votes in US presidential elections: 303 - 206 with Florida not included yet.
He's still going to find it hard in his second term as the Republicans still hold control of the US House of Reps.