Get my odds

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.

Top 38 colleges for computer science
RankSchoolScore (out of 10)TierGraduates per year in the majorShare of the classPay vs. national, same majorAcceptance rate
T-1Massachusetts Institute of Technology Cambridge, MA9.9Standout39027.6%2.56×5%
T-1Stanford University Stanford, CA9.9Standout28517%2.45×4%
3Carnegie Mellon University Pittsburgh, PA9.7Standout36919.4%2.81×11%
4University of California, Berkeley Berkeley, CA9.4Standout1,62415.7%2.33×11%
T-5Princeton University Princeton, NJ9.1Standout18614.4%2.48×4%
T-5Cornell University Ithaca, NY9.1Standout71817.2%2.29×9%
T-7University of Illinois Urbana-Champaign Champaign, IL8.8Standout5125.6%2.03×37%
T-7University of Washington Seattle, WA8.8Standout1,11211.2%1.52×39%
T-7California Institute of Technology Pasadena, CA8.8Standout7734.1%2.28×3%
T-7Harvard University Cambridge, MA8.8Standout1788.9%2.31×4%
T-11University of Michigan–Ann Arbor Ann Arbor, MI8.7Standout1,31214.5%1.89×16%
T-11Georgia Institute of Technology Atlanta, GA8.7Standout97323.6%1.72×13%
13The University of Texas–Austin Austin, TX8.6Standout4994.7%1.64×22%
14Columbia University New York, NY8.5Standout38614%2.14×5%
T-15University of Pennsylvania Philadelphia, PA8.3Standout2707.5%2.75×5%
T-15University of California, Los Angeles Los Angeles, CA8.3Standout4654.7%2.47×9%
T-17University of California San Diego La Jolla, CA8.2Standout7428%1.82×29%
T-17Harvey Mudd College Claremont, CA8.2Standout5222%2.26×13%
19Yale University New Haven, CT8.1Standout1548.9%2.14×5%
T-20Brown University Providence, RI8.0Standout28613%2.44×5%
T-20Duke University Durham, NC8.0Standout39114.5%2.23×5%
T-20University of Chicago Chicago, IL8.0Standout1425.9%2.03×4%
T-23University of Southern California Los Angeles, CA7.9Strong3535.8%2.08×10%
T-23University of Wisconsin–Madison Madison, WI7.9Strong8027.9%1.36×41%
T-23Rice University Houston, TX7.9Strong14211.4%2.08×8%
T-26University of Maryland, College Park College Park, MD7.8Strong1,55617.3%1.46×45%
T-26New York University New York, NY7.8Strong6789%1.62×9%
T-28Purdue University–Main Campus West Lafayette, IN7.7Strong97011.2%1.25×43%
T-28Johns Hopkins University Baltimore, MD7.7Strong1618.3%2.24×8%
30Northwestern University Evanston, IL7.6Strong2037.2%1.81×7%
31Northeastern University Boston, MA7.4Strong59813.2%1.86×5%
T-32University of Massachusetts–Amherst Amherst, MA7.3Strong4906.8%1.41×60%
T-32Washington University in St. Louis St. Louis, MO7.3Strong2078.6%2.02×12%
T-34University of Minnesota–Twin Cities Minneapolis, MN7.2Strong7648.7%1.24×80%
T-34University of California, Irvine Irvine, CA7.2Strong7708.7%1.35×29%
36Virginia Tech Blacksburg, VA7.0Strong4465.8%1.64×55%
37University of California, Davis Davis, CA6.9Strong6096.4%1.58×44%
38Rutgers University–New Brunswick Piscataway, NJ6.7Strong1,00211.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

Rankings for other majors