Mr Macron defeated candidate Marine Le Pen by about 65.5% to 34.5% to become, at 39, the country’s youngest president, the results show.
Mr Macron will also become the first president from outside the two traditional main parties since the modern republic’s foundation in 1958.
He said that a “new chapter of hope and confidence is opening”.
Mr Macron’s supporters gathered to celebrate in central Paris after the bitterly fought election concluded on Sunday amid massive security.The Macron team said that the new president had had a “cordial” telephone conversation with Ms Le Pen.
In a speech she thanked the 11 million people who had voted for her. She said the election had shown a division between “patriots and globalists” and called for the emergence of a new political force.
Ms Le Pen said her National Front party needed to renew itself and that she would start the “deep transformation of our movement”, vowing to lead it into upcoming parliamentary elections.
She also said she had wished Mr Macron success in tackling the “huge challenges” facing him.
President François Hollande congratulated Mr Macron and said the result showed the French people wanted to unite around the “values of the republic”.
This is the most remarkable success story of how a man who three years ago was utterly unknown to the French public, through sheer self-belief, energy and connections forged a political movement that has trounced all the established French political parties.
He is a liberal centrist, pro-business and a strong supporter of the European Union.
He left the Socialist government of President François Hollande last August to form his new movement – En Marche – saying it was neither left nor right wing.
His campaign pledges included a 120,000 reduction in public-sector jobs, a cut in public spending by €60bn (£50bn; $65bn), and a lowering of the unemployment rate to below 7%.
He vowed to ease labour laws and give new protections to the self-employed.
Mr Macron also stood on a pro-EU platform, in stark contrast to his opponent.