(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: 'Why Would Something Like This Happen To Me?' 94-Year-Old Anh 'Peng' Taylor Recovering After Shocking SF Stabbing Attack

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

READ MORE: House Votes To Repeal Of 2002 Iraq War Authorization, Long Championed By Oakland Rep. Barbara Lee

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: 'Landmark Victory;' Bay Area Lawmakers React to Obamacare Decision By U.S. Supreme Court Decision

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