Computer science at Stanford
Stanford graduates about 285 computer science majors a year, 17% of its graduating class. That puts it tied for 1st of 38 schools we rank for computer science, a standout program at 9.9 out of 10. Its current catalog lists 140 undergraduate courses in the field, more than 99% of the schools we've counted. Graduates in the major earn a median $215,000 four years out, 2.45× what the same major pays nationally. Research spending in the field runs about $30 million a year, a rough guide to how many labs and projects undergraduates can join.
Where computer science happens
Buildings on campus that fit the field: Stanford Neuroscience Health Center, Green Earth Sciences Building, Mitchell Earth Sciences Building, Mechanical Engineering Administration, Mechanical Engineering, TSG, Northwest Data Center and Communications Hub, Automotive Innovation Facility, Stanford Neurosciences Building, Huang Engineering Center, Forsythe Data Center, Mechanical Engineering Laboratory, Blume Earthquake Engineering Center.
Named buildings on the campus map: Academic 127 · Dorm 58 · Athletics 26 · Dining 11 · Arts 7 · Library 5.
Nearby in the computer science ranking
Other strong majors at Stanford
- Psychology 10.0 · #1
- Biology 9.9 · #1
- Economics 9.8 · #3
- Engineering (all) 9.8 · #2
- Electrical & computer engineering 9.8 · #2
- Political science & IR 9.7 · #3
How the score works
The score is out of 10 and compares Stanford with every school we rank in computer science. It weighs its strength in the field: the department's faculty and standing in the discipline, the undergraduate program, and where its graduates go, as judged independently by three AI reviewers and averaged (85%), plus campus resources and comfort: library and endowment per student, dorms, campus upkeep, faculty pay and classmates' family income (15%). Reviewers chose among schools with at least 5 bachelor's graduates a year in the major; a school a reviewer left out of its top 40 counts just below that reviewer's 40th, and a school needs two of the three reviewers to be ranked. Graduates, pay and course counts are shown for context; they don't set the score. Scores run 0–10: 8.0+ is a standout program, 6.5+ strong, 4.5+ solid. Schools with the same score share a rank. Sources: US Department of Education (College Scorecard, IPEDS), NSF HERD, each school's current course catalog, OpenStreetMap and Wikimedia Commons.