The certified votes nationally for 50 states and DC had Hillary  Clinton got 65,844,954 votes and Trump got 62,979,879 votes as certified results giving Clinton a margin of +2,865,075 votes.  The margin is all from one state. California, a 100% sanctuary state with an estimated 7 to 8 million illegal immigrants; most who can get a California drivers license legally which is the required ID to register and vote.   Hillary Clinton  got  8,753,788 votes and Donald  Trump got 4,483,810 votes  in California which gave Clinton a margin of +4,269, 978  votes in California.   But for the rest of the country w/o California  Hillary Clinton got  65,844,954 -  8,753,788 = 57,091, 166 votes and  Donald Trump got  62,979,879 -  4,483,810  = 58,496, 069 votes.   That means Donald Trump beat Hillary Clinton by 58,496, 069  -  57,091, 166 = 1,404, 903 votes for the other 49 states plus DC.  The electoral college was 304 to 228 for Trump.  That is why we have had an electoral college for 200+ years.