Canada's post-secondary schools are among the best universities in the world for 2022, according to a new global ranking.

This month, the 18th edition of the QS World University Rankings named three Canadian universities in the top 50 schools.

Taking the top spot globally in the 2022 ranking was the Massachusetts Institute of Technology, followed by the University of Oxford in second and Stanford University in third.

The first Canadian school named on the list was the University of Toronto, which was ranked 26th overall.

Montreal's McGill University took the spot just behind it, sharing 27th place with the Australian National University and the University of Manchester in the U.K.

It's apparently been a pretty good year for the Quebec school, as it's jumped four places in the QS list compared with its ranking in 2021.

The University of British Columbia was the third and final Canadian school to make the top 50, ranked 46th globally.

How are the universities ranked?

The institutions listed were evaluated using six different metrics, according to the ranking's methodology.

This includes academic reputation, employer reputation, the ratio of faculty to students, the number of citations per faculty and the ratio of international students and faculties.