(CBS SF) — Three Bay Area universities are among the best in the world, according to a new ranking.

Stanford is number two while UC Berkeley is fourth. UC San Francisco treads behind to claim the 18th spot.

READ MORE: COVID Vaccine: San Francisco Opens Eligibility to All Residents Age 16 and Up

Harvard came in first for the 13th year while MIT placed third and Columbia University in New York eighth.

READ MORE: UPDATE: Paul Flores, Suspect In Cal Poly Student Kristin Smart's 1996 Disappearance Arrested

The Center for World-Class universities in Shanghai took half a dozen factors into account including alumni and staff winning prestigious awards and the number of articles published in nature and science journals.

Top 200 universities in five broad subject fields and in five selected subject fields are listed, where the best five universities are:

MORE NEWS: COVID: 4/20 Celebration At Hippie Hill In Golden Gate Park Canceled For 2nd Year In A Row

The complete lists and detailed methodologies can be found at the Academic Ranking of World Universities website.