2022 Best Computer Science Schools

502 Colleges in the United States
53,241 CompSci Degrees Awarded
$66,561 Avg Early-Career Salary
If you pursue a degree in computer science, you won't be alone. The field of study is the #19 most popular program in the country. So, there are lots of possibilities to explore when you're trying to determine where you want to get your degree.

College Factual looked at 502 colleges and universities when compiling its 2022 Best Computer Science Schools ranking. Combined, these schools handed out 53,241 degrees in computer science to qualified students.

Jump to one of the following sections:

Choosing a Great Computer Science School

Best Computer Science Schools The compsci program you select can have a big impact on your future. That's why we developed our collection of Best Schools for Computer Science rankings. For our Best Overall Computer Science School rankings, we roll up the results of our degree-level rankings, weighted by the number of degrees awarded at that level.

You may want to choose one of the degree levels below to find the schools of most interest to you.

Computer Science Rankings by Degree Level

Since picking the right college can be one of the most important decisions of your life, we've developed the Best Computer Science Schools ranking, along with many other major-related rankings, to help you make that decision. More interested in schools in a specific area of the country? Filter this list by region or state.

To further help you make the college decision, we've developed a unique tool called College Combat that allows you to compare schools based on the factors that matter the most to you. Go ahead and give it a try, or bookmark the link so you can check it out later.

Read more about College Factual's methodology.

Best Schools for Computer Science in the United States

The schools below may not offer all types of compsci degrees so you may want to filter by degree level first. However, they are great for the degree levels they do offer. Only those schools that rank in the top 15% of all the schools we analyze get awarded with a place on this list.

25 Top Schools in CompSci

#1

Stanford University

Stanford, CA
Doctor's Degree Highest Degree Type
5th Most Popular In CA
645 CompSci Degrees Awarded

It is difficult to beat Stanford University if you want to pursue a degree in computer science. Stanford is a large private not-for-profit university located in the suburb of Stanford. A Best Schools rank of #3 out of 2,576 schools nationwide means Stanford is a great university overall.

There were about 645 computer science students who graduated with this degree at Stanford in the most recent year we have data available.

More information about a degree in computer science from Stanford University

Doctor's Degree Highest Degree Type
704 CompSci Degrees Awarded

Massachusetts Institute of Technology is a wonderful choice for students interested in a degree in computer science. Located in the city of Cambridge, MIT is a private not-for-profit school with a fairly large student population. A Best Schools rank of #2 out of 2,576 colleges nationwide means MIT is a great school overall.

There were approximately 704 computer science students who graduated with this degree at MIT in the most recent data year. Degree recipients from the computer science program at Massachusetts Institute of Technology earn $51,539 more than the average graduate in this field shortly after graduation.

More information about a degree in computer science from Massachusetts Institute of Technology

#3

Harvey Mudd College

Claremont, CA
Bachelor's Degree Highest Degree Type
47 CompSci Degrees Awarded

Every student pursuing a degree in computer science has to look into Harvey Mudd College. Harvey Mudd College is a small private not-for-profit college located in the suburb of Claremont. A Best Schools rank of #1 out of 2,576 schools nationwide means Harvey Mudd College is a great college overall.

There were about 47 computer science students who graduated with this degree at Harvey Mudd College in the most recent data year. Those computer science students who get their degree from Harvey Mudd College make $57,939 more than the average compsci graduate.

More information about a degree in computer science from Harvey Mudd College

#4

Pomona College

Claremont, CA
Bachelor's Degree Highest Degree Type
46th Most Popular In CA
34 CompSci Degrees Awarded

It is hard to beat Pomona College if you want to pursue a degree in computer science. Located in the suburb of Claremont, Pomona is a private not-for-profit college with a small student population. A Best Schools rank of #11 out of 2,576 schools nationwide means Pomona is a great college overall.

There were roughly 34 computer science students who graduated with this degree at Pomona in the most recent data year.

More information about a degree in computer science from Pomona College

Doctor's Degree Highest Degree Type
28th Most Popular In CA
73 CompSci Degrees Awarded

Caltech is a small private not-for-profit school located in the midsize city of Pasadena. A Best Schools rank of #17 out of 2,576 colleges nationwide means Caltech is a great school overall.

There were about 73 computer science students who graduated with this degree at Caltech in the most recent data year.

More information about a degree in computer science from California Institute of Technology

#6

Duke University

Durham, NC
Doctor's Degree Highest Degree Type
397 CompSci Degrees Awarded

Located in the large city of Durham, Duke is a private not-for-profit university with a fairly large student population. A Best Schools rank of #9 out of 2,576 colleges nationwide means Duke is a great university overall.

There were roughly 397 computer science students who graduated with this degree at Duke in the most recent year we have data available. Those computer science students who get their degree from Duke University earn $33,039 more than the average compsci grad.

More information about a degree in computer science from Duke University

#7

Harvard University

Cambridge, MA
Doctor's Degree Highest Degree Type
236 CompSci Degrees Awarded

Harvard is a fairly large private not-for-profit university located in the medium-sized city of Cambridge. A Best Schools rank of #10 out of 2,576 schools nationwide means Harvard is a great university overall.

There were about 236 computer science students who graduated with this degree at Harvard in the most recent year we have data available. Those computer science students who get their degree from Harvard University make $62,339 more than the average compsci student.

More information about a degree in computer science from Harvard University

#8

Cornell University

Ithaca, NY
Doctor's Degree Highest Degree Type
694 CompSci Degrees Awarded

Cornell is a fairly large private not-for-profit university located in the small city of Ithaca. A Best Schools rank of #16 out of 2,576 colleges nationwide means Cornell is a great university overall.

There were about 694 computer science students who graduated with this degree at Cornell in the most recent data year. Degree recipients from the computer science degree program at Cornell University earn $48,439 above the typical graduate with the same degree shortly after graduation.

More information about a degree in computer science from Cornell University

#9

Brown University

Providence, RI
Doctor's Degree Highest Degree Type
345 CompSci Degrees Awarded

Located in the midsize city of Providence, Brown is a private not-for-profit university with a medium-sized student population. This university ranks 1st out of 10 schools for overall quality in the state of Rhode Island.

There were approximately 345 computer science students who graduated with this degree at Brown in the most recent year we have data available. Those computer science students who get their degree from Brown University make $74,539 more than the typical compsci grad.

More information about a degree in computer science from Brown University

#10

Carnegie Mellon University

Pittsburgh, PA
Doctor's Degree Highest Degree Type
341 CompSci Degrees Awarded

Located in the city of Pittsburgh, Carnegie Mellon is a private not-for-profit university with a large student population. This university ranks 2nd out of 134 schools for overall quality in the state of Pennsylvania.

There were roughly 341 computer science students who graduated with this degree at Carnegie Mellon in the most recent year we have data available. Those computer science students who get their degree from Carnegie Mellon University earn $72,339 more than the standard compsci student.

More information about a degree in computer science from Carnegie Mellon University

#11

University of Pennsylvania

Philadelphia, PA
Master's Degree Highest Degree Type
201 CompSci Degrees Awarded

Located in the large city of Philadelphia, UPenn is a private not-for-profit university with a fairly large student population. A Best Schools rank of #13 out of 2,576 schools nationwide means UPenn is a great university overall.

There were roughly 201 computer science students who graduated with this degree at UPenn in the most recent year we have data available. Degree recipients from the computer science program at University of Pennsylvania make $42,639 above the average graduate with the same degree when they enter the workforce.

More information about a degree in computer science from University of Pennsylvania

#12

Dartmouth College

Hanover, NH
Doctor's Degree Highest Degree Type
120 CompSci Degrees Awarded

Dartmouth is a moderately-sized private not-for-profit college located in the remote town of Hanover. A Best Schools rank of #6 out of 2,576 schools nationwide means Dartmouth is a great college overall.

There were roughly 120 computer science students who graduated with this degree at Dartmouth in the most recent year we have data available. Those computer science students who get their degree from Dartmouth College receive $33,939 more than the standard compsci graduate.

More information about a degree in computer science from Dartmouth College

Doctor's Degree Highest Degree Type
897 CompSci Degrees Awarded

UC Berkeley is a fairly large public university located in the midsize city of Berkeley. This university ranks 8th out of 203 schools for overall quality in the state of California.

There were roughly 897 computer science students who graduated with this degree at UC Berkeley in the most recent data year. Computer Science degree recipients from University of California - Berkeley earn a boost of around $48,239 above the average earnings of computer science majors.

More information about a degree in computer science from University of California - Berkeley

Doctor's Degree Highest Degree Type
804 CompSci Degrees Awarded

Located in the city of New York, Columbia is a private not-for-profit university with a fairly large student population. This university ranks 2nd out of 160 schools for overall quality in the state of New York.

There were approximately 804 computer science students who graduated with this degree at Columbia in the most recent data year. Those computer science students who get their degree from Columbia University in the City of New York make $47,889 more than the standard compsci grad.

More information about a degree in computer science from Columbia University in the City of New York

#15

Vanderbilt University

Nashville, TN
Doctor's Degree Highest Degree Type
1st Most Popular In TN
185 CompSci Degrees Awarded

Vanderbilt is a large private not-for-profit university located in the city of Nashville. This university ranks 1st out of 50 colleges for overall quality in the state of Tennessee.

There were approximately 185 computer science students who graduated with this degree at Vanderbilt in the most recent year we have data available.

More information about a degree in computer science from Vanderbilt University

Doctor's Degree Highest Degree Type
723 CompSci Degrees Awarded

Located in the city of Champaign, UIUC is a public university with a fairly large student population. This university ranks 3rd out of 102 colleges for overall quality in the state of Illinois.

There were approximately 723 computer science students who graduated with this degree at UIUC in the most recent data year. Computer Science degree recipients from University of Illinois at Urbana-Champaign receive an earnings boost of about $41,089 above the average earnings of computer science graduates.

More information about a degree in computer science from University of Illinois at Urbana-Champaign

#17

Northwestern University

Evanston, IL
Doctor's Degree Highest Degree Type
183 CompSci Degrees Awarded

Northwestern is a very large private not-for-profit university located in the small city of Evanston. A Best Schools rank of #14 out of 2,576 colleges nationwide means Northwestern is a great university overall.

There were approximately 183 computer science students who graduated with this degree at Northwestern in the most recent year we have data available. Computer Science degree recipients from Northwestern University earn a boost of approximately $21,939 above the average income of computer science graduates.

More information about a degree in computer science from Northwestern University

Doctor's Degree Highest Degree Type
300 CompSci Degrees Awarded

Located in the suburb of Saint Louis, WUSTL is a private not-for-profit university with a large student population. This university ranks 1st out of 55 schools for overall quality in the state of Missouri.

There were about 300 computer science students who graduated with this degree at WUSTL in the most recent year we have data available. Those computer science students who get their degree from Washington University in St Louis make $29,639 more than the average compsci grad.

More information about a degree in computer science from Washington University in St Louis

#19

University of Chicago

Chicago, IL
Doctor's Degree Highest Degree Type
264 CompSci Degrees Awarded

Located in the city of Chicago, UChicago is a private not-for-profit university with a fairly large student population. A Best Schools rank of #7 out of 2,576 colleges nationwide means UChicago is a great university overall.

There were about 264 computer science students who graduated with this degree at UChicago in the most recent year we have data available. Computer Science degree recipients from University of Chicago receive an earnings boost of around $19,539 over the typical earnings of computer science graduates.

More information about a degree in computer science from University of Chicago

#20

Tufts University

Medford, MA
Doctor's Degree Highest Degree Type
239 CompSci Degrees Awarded

Tufts is a fairly large private not-for-profit university located in the suburb of Medford. This university ranks 6th out of 72 schools for overall quality in the state of Massachusetts.

There were roughly 239 computer science students who graduated with this degree at Tufts in the most recent data year. Those computer science students who get their degree from Tufts University receive $21,639 more than the typical compsci graduate.

More information about a degree in computer science from Tufts University

#21

Amherst College

Amherst, MA
Bachelor's Degree Highest Degree Type
13th Most Popular In MA
46 CompSci Degrees Awarded

Amherst is a small private not-for-profit college located in the suburb of Amherst. This college ranks 4th out of 72 colleges for overall quality in the state of Massachusetts.

There were about 46 computer science students who graduated with this degree at Amherst in the most recent year we have data available.

More information about a degree in computer science from Amherst College

#22

Williams College

Williamstown, MA
Bachelor's Degree Highest Degree Type
64 CompSci Degrees Awarded

Located in the fringe town of Williamstown, Williams is a private not-for-profit college with a small student population. This college ranks 3rd out of 72 schools for overall quality in the state of Massachusetts.

There were approximately 64 computer science students who graduated with this degree at Williams in the most recent year we have data available. Computer Science degree recipients from Williams College receive an earnings boost of around $24,439 above the average earnings of computer science graduates.

More information about a degree in computer science from Williams College

Doctor's Degree Highest Degree Type
1,273 CompSci Degrees Awarded

USC is a fairly large private not-for-profit university located in the large city of Los Angeles. This university ranks 9th out of 203 schools for overall quality in the state of California.

There were roughly 1273 computer science students who graduated with this degree at USC in the most recent data year. Those computer science students who get their degree from University of Southern California make $30,139 more than the standard compsci student.

More information about a degree in computer science from University of Southern California

Doctor's Degree Highest Degree Type
296 CompSci Degrees Awarded

RPI is a moderately-sized private not-for-profit school located in the small city of Troy. This school ranks 8th out of 160 colleges for overall quality in the state of New York.

There were about 296 computer science students who graduated with this degree at RPI in the most recent data year. Computer Science degree recipients from Rensselaer Polytechnic Institute receive an earnings boost of about $25,339 over the average income of computer science majors.

More information about a degree in computer science from Rensselaer Polytechnic Institute

Associate Degree Highest Degree Type
11th Most Popular In MA
58 CompSci Degrees Awarded

Located in the large city of Boston, BHCC is a public college with a medium-sized student population. This college ranks 30th out of 72 schools for overall quality in the state of Massachusetts.

There were about 58 computer science students who graduated with this degree at BHCC in the most recent year we have data available.

More information about a degree in computer science from Bunker Hill Community College

Rest of the Top 50 Best Computer Science Schools

#28

Georgetown University

Washington, DC
#29

Boston College

Chestnut Hill, MA

#33

Carleton College

Northfield, MN
#35

Boston University

Boston, MA
#37

Lehigh University

Bethlehem, PA
#38

University of Rochester

Rochester, NY
#39

Villanova University

Villanova, PA
#40

Grinnell College

Grinnell, IA

#41

Middlebury College

Middlebury, VT

#42

Purdue University - Main Campus

West Lafayette, IN
#43

Bowdoin College

Brunswick, ME
#45

Emory University

Atlanta, GA
#46

Colgate University

Hamilton, NY
#47

Wake Forest University

Winston-Salem, NC
#48

Stony Brook University

Stony Brook, NY

Remaining Award Winners

This list represents the rest of the schools awarded a Best Computer Science Schools badge. Showing in this list means the college was ranked in the top 15% of the 502 different United States computer science schools we analyzed.

Rank College Location
50 University of California - Santa Barbara Santa Barbara, CA
51 LaGuardia Community College Long Island City, NY
52 University of California - Irvine Irvine, CA
53 University of Minnesota - Twin Cities Minneapolis, MN
54 William & Mary Williamsburg, VA
55 Collin County Community College District McKinney, TX
56 Brandeis University Waltham, MA
57 University of Georgia Athens, GA
58 Stevens Institute of Technology Hoboken, NJ
59 North Hennepin Community College Brooklyn Park, MN
60 St Olaf College Northfield, MN
61 Normandale Community College Bloomington, MN
62 University of Massachusetts Amherst Amherst, MA
63 Colorado School of Mines Golden, CO
64 Northern Virginia Community College Annandale, VA
65 Rochester Institute of Technology Rochester, NY
66 University of Connecticut Storrs, CT
67 Brigham Young University - Provo Provo, UT
68 Southern Methodist University Dallas, TX
69 Connecticut College New London, CT
70 Texas A&M University - College Station College Station, TX
71 Smith College Northampton, MA
72 Saint Johns University Collegeville, MN
73 DePauw University Greencastle, IN
74 Seattle University Seattle, WA
75 University of Pittsburgh - Pittsburgh Campus Pittsburgh, PA

Additional Noteworthy Schools

Here are some additional great schools for Computer Science students that almost earned our Best Computer Science Schools award.

Rank College Location
76 Norwalk Community College Norwalk, CT
77 Queensborough Community College Bayside, NY
78 Wentworth Institute of Technology Boston, MA
79 University of California - Santa Cruz Santa Cruz, CA
80 Michigan Technological University Houghton, MI
81 University of Colorado Boulder Boulder, CO
82 Gonzaga University Spokane, WA
83 Providence College Providence, RI
84 George Washington University Washington, DC
85 Stonehill College Easton, MA
86 Creighton University Omaha, NE
87 Iowa State University Ames, IA
88 University of Miami Coral Gables, FL
89 Lake Area Technical Institute Watertown, SD
90 Indiana University - Bloomington Bloomington, IN
91 Wheaton College Illinois Wheaton, IL
92 Binghamton University Vestal, NY
93 University of St Thomas Minnesota Saint Paul, MN
94 University of Portland Portland, OR
95 Furman University Greenville, SC
96 University of Illinois at Chicago Chicago, IL
97 Oregon State University Corvallis, OR
98 Drexel University Philadelphia, PA
99 University at Buffalo Buffalo, NY
100 Kettering University Flint, MI

Computer Science by Region

View the Best Computer Science Schools for a specific region near you.

Region
Southeast
New England
Rocky Mountains
Plains States
Middle Atlantic
Far Western US
Southwest
Great Lakes

View All Rankings >

Computer Science is one of 10 different types of Computer & Information Sciences programs to choose from.

Majors Similar to CompSci

Related Major Annual Graduates
Computer Information Systems 67,284
Information Technology 26,280
Information Science 17,331
Computer Software & Applications 8,955
Computer Programming 5,864
Computer Systems Networking 5,509
Computer Systems Analysis 1,766
Data Processing 1,281
Other Computer & Information Sciences 548
Data Entry 201

View All CompSci Related Majors >

Notes and References

  • The bars on the spread charts above show the distribution of the schools on this list +/- one standard deviation from the mean.
  • The Integrated Postsecondary Education Data System (IPEDS) from the National Center for Education Statistics (NCES), a branch of the U.S. Department of Education (DOE) serves as the core of the rest of our data about colleges.
  • Some other college data, including much of the graduate earnings data, comes from the U.S. Department of Education’s (College Scorecard).
  • Credit for the banner image above goes to Negative Space.

More about our data sources and methodologies.

Find Schools Near You