Rankings by major · 38 schools ranked
Best colleges for computer science
Each school is scored out of 10 for computer science on 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.
The top computer science schools: Massachusetts Institute of Technology, Stanford University, Carnegie Mellon University.
| Rank | School | Score (out of 10) | Tier | Graduates per year in the major | Share of the class | Pay vs. national, same major | Acceptance rate |
|---|---|---|---|---|---|---|---|
| T-1 | Massachusetts Institute of Technology Cambridge, MA | 9.9 | Standout | 390 | 27.6% | 2.56× | 5% |
| T-1 | Stanford University Stanford, CA | 9.9 | Standout | 285 | 17% | 2.45× | 4% |
| 3 | Carnegie Mellon University Pittsburgh, PA | 9.7 | Standout | 369 | 19.4% | 2.81× | 11% |
| 4 | University of California, Berkeley Berkeley, CA | 9.4 | Standout | 1,624 | 15.7% | 2.33× | 11% |
| T-5 | Princeton University Princeton, NJ | 9.1 | Standout | 186 | 14.4% | 2.48× | 4% |
| T-5 | Cornell University Ithaca, NY | 9.1 | Standout | 718 | 17.2% | 2.29× | 9% |
| T-7 | University of Illinois Urbana-Champaign Champaign, IL | 8.8 | Standout | 512 | 5.6% | 2.03× | 37% |
| T-7 | University of Washington Seattle, WA | 8.8 | Standout | 1,112 | 11.2% | 1.52× | 39% |
| T-7 | California Institute of Technology Pasadena, CA | 8.8 | Standout | 77 | 34.1% | 2.28× | 3% |
| T-7 | Harvard University Cambridge, MA | 8.8 | Standout | 178 | 8.9% | 2.31× | 4% |
| T-11 | University of Michigan–Ann Arbor Ann Arbor, MI | 8.7 | Standout | 1,312 | 14.5% | 1.89× | 16% |
| T-11 | Georgia Institute of Technology Atlanta, GA | 8.7 | Standout | 973 | 23.6% | 1.72× | 13% |
| 13 | The University of Texas–Austin Austin, TX | 8.6 | Standout | 499 | 4.7% | 1.64× | 22% |
| 14 | Columbia University New York, NY | 8.5 | Standout | 386 | 14% | 2.14× | 5% |
| T-15 | University of Pennsylvania Philadelphia, PA | 8.3 | Standout | 270 | 7.5% | 2.75× | 5% |
| T-15 | University of California, Los Angeles Los Angeles, CA | 8.3 | Standout | 465 | 4.7% | 2.47× | 9% |
| T-17 | University of California San Diego La Jolla, CA | 8.2 | Standout | 742 | 8% | 1.82× | 29% |
| T-17 | Harvey Mudd College Claremont, CA | 8.2 | Standout | 52 | 22% | 2.26× | 13% |
| 19 | Yale University New Haven, CT | 8.1 | Standout | 154 | 8.9% | 2.14× | 5% |
| T-20 | Brown University Providence, RI | 8.0 | Standout | 286 | 13% | 2.44× | 5% |
| T-20 | Duke University Durham, NC | 8.0 | Standout | 391 | 14.5% | 2.23× | 5% |
| T-20 | University of Chicago Chicago, IL | 8.0 | Standout | 142 | 5.9% | 2.03× | 4% |
| T-23 | University of Southern California Los Angeles, CA | 7.9 | Strong | 353 | 5.8% | 2.08× | 10% |
| T-23 | University of Wisconsin–Madison Madison, WI | 7.9 | Strong | 802 | 7.9% | 1.36× | 41% |
| T-23 | Rice University Houston, TX | 7.9 | Strong | 142 | 11.4% | 2.08× | 8% |
| T-26 | University of Maryland, College Park College Park, MD | 7.8 | Strong | 1,556 | 17.3% | 1.46× | 45% |
| T-26 | New York University New York, NY | 7.8 | Strong | 678 | 9% | 1.62× | 9% |
| T-28 | Purdue University–Main Campus West Lafayette, IN | 7.7 | Strong | 970 | 11.2% | 1.25× | 43% |
| T-28 | Johns Hopkins University Baltimore, MD | 7.7 | Strong | 161 | 8.3% | 2.24× | 8% |
| 30 | Northwestern University Evanston, IL | 7.6 | Strong | 203 | 7.2% | 1.81× | 7% |
| 31 | Northeastern University Boston, MA | 7.4 | Strong | 598 | 13.2% | 1.86× | 5% |
| T-32 | University of Massachusetts–Amherst Amherst, MA | 7.3 | Strong | 490 | 6.8% | 1.41× | 60% |
| T-32 | Washington University in St. Louis St. Louis, MO | 7.3 | Strong | 207 | 8.6% | 2.02× | 12% |
| T-34 | University of Minnesota–Twin Cities Minneapolis, MN | 7.2 | Strong | 764 | 8.7% | 1.24× | 80% |
| T-34 | University of California, Irvine Irvine, CA | 7.2 | Strong | 770 | 8.7% | 1.35× | 29% |
| 36 | Virginia Tech Blacksburg, VA | 7.0 | Strong | 446 | 5.8% | 1.64× | 55% |
| 37 | University of California, Davis Davis, CA | 6.9 | Strong | 609 | 6.4% | 1.58× | 44% |
| 38 | Rutgers University–New Brunswick Piscataway, NJ | 6.7 | Strong | 1,002 | 11.2% | 1.22× | 65% |
How this ranking works
A dash for pay means the Department of Education withheld it (small programs, or most graduates in grad school); those schools are scored on the other inputs.
Updated November 19, 2026. Sources: early-career pay for graduates of each program, by field of study (College Scorecard; 5- or 1-year pay against the same horizon nationally where the 4-year figure is withheld), graduates per year in the major (IPEDS), research spending by field (NSF HERD), undergraduate courses listed in each department's current catalog, and the student body's test scores. No outside ranking is used.
To cite: prefrosh.ai, "Best colleges for computer science," updated November 19, 2026, https://prefrosh.ai/majors/computer-science. For a specific student's chances at these schools, use Chance me, which reads odds from the student's own high school's admissions chart.
See your odds of getting in · All rankings by major · Overall ranking