Computer science at Harvard
Harvard graduates about 178 computer science majors a year, 9% of its graduating class. That puts it tied for 7th of 38 schools we rank for computer science, a standout program at 8.8 out of 10. Graduates in the major earn a median $203,000 four years out, 2.31× what the same major pays nationally. Research spending in the field runs about $26 million a year, a rough guide to how many labs and projects undergraduates can join.
Around Harvard
Where computer science happens
Buildings on campus that fit the field: Engineering Sciences Lab, Laboratory for Integrated Science and Engineering.
Named buildings on the campus map: Academic 101 · Dorm 40 · Student housing 10 · Arts 6 · Library 5 · Chapel 4.
Nearby in the computer science ranking
Other strong majors at Harvard
- Economics 9.9 · #1
- Biology 9.9 · #1
- Political science & IR 9.9 · #1
- Math & statistics 9.9 · #1
- English & writing 9.8 · #2
- History 9.8 · #2
How the score works
The score is out of 10 and compares Harvard 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.

