Computer science at Stanford
Stanford graduates about 293 computer science majors a year, 18% of its graduating class. That puts it 2nd of 691 schools we score for computer science, a standout program at 98 out of 100. 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.01× what the same major pays nationally. Research spending in the field runs about $15 million a year, a rough guide to how many labs and projects undergraduates can join.
Around Stanford




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
- Neuroscience 97 · #1
- Physics & astronomy 97 · #6
- Engineering (all) 97 · #2
- Math & statistics 96 · #8
- Economics 95 · #12
- English & writing 95 · #3
How the score works
The score is out of 100 and compares Stanford with every school we score in computer science. It weighs the school's overall strength; how many students graduate in the major and what share of the class they are; research spending in the field (NSF); early pay against the same major nationally; how many courses the catalog lists; and test scores. 80+ is a standout program, 65+ strong, 45+ solid. Sources: US Department of Education (College Scorecard, IPEDS), NSF HERD, each school's current course catalog, OpenStreetMap and Wikimedia Commons.