2021 Best Colleges for Computer Science

If you’re searching for the best colleges and universities for Computer Science, you’re in the right place. Below is a list of all universities in the US offering a Computer Science degree or major, along with earnings after graduation, average student loan debt, acceptance rate and more. Read More

We rigorously analyzed a host of variables to determine what colleges and universities offer the best Computer Science programs in America. The list includes 601 programs and you can sort by average salary, debt, acceptance rate and more to hone in on the the best programs for you.

If you’re still wondering whether Computer Science is the right field of study for you, check out our guide to majoring in Computer Science: what you can do with the major, how much you’ll make, and more.

For the purposes of these rankings we prioritized earnings after graduation 6 years and 10 years out for students that majored in Computer Science. Please note that earnings are one metric of success that can be used to judge a Computer Science program, but are by no means the best or only option. However, because this variable is provided by the vast majority of universities offering Computer Science we used it as the primary method or ordering the best universities for Computer Science.

By scrolling all the way through the list you’ll find every college or university that offers a Computer Science in America.

Frequently Asked Questions about the Best Universities offering Computer Science Majors and Degrees

What is the best university for majoring in Computer Science?

Carnegie Mellon University is the best university for majoring in Computer Science based on earnings data. On average, graduates from Carnegie Mellon University earned an average of $160,116 2 years after graduating.

What is the cheapest university for majoring in Computer Science?

Brigham Young University-Idaho is the cheapest university for majoring in Computer Science based on the Department of Education tuition data. On average, students pay $3,830 to attend Brigham Young University-Idaho.

What is the most expensive university for majoring in Computer Science?

Columbia University in the City of New York is the most expensive university for majoring in Computer Science based on the Department of Education tuition data. On average, students pay $53,000 to attend Columbia University in the City of New York.

Show Less

Sort By:

#1 Best College for Computer Science
Average Salary $160,116
Average Debt $19,500
Program Size 391
Carnegie Mellon University
4 Year
Pittsburgh, PA
Video Rating
Carnegie Mellon University, located in Pittsburgh, PA has 391 students majoring in Computer Science. On average, graduates earn $160,116.
Acceptance Rate 24%
Undergraduates 4,543 students
Tuition $50,665
0
Slide this button to indicate your GPA
4.0
My GPA
Can I Get In?
#2 Best College for Computer Science
Average Salary $153,718
Average Debt $13,535
Program Size 328
Brown University
4 Year
Providence, RI
Video Rating
Brown University, located in Providence, RI has 328 students majoring in Computer Science. On average, graduates earn $153,718.
Acceptance Rate 9%
Undergraduates 2,523 students
Tuition $49,346
0
4.0
My GPA
Can I Get In?
#3 Best College for Computer Science
Average Salary $147,858
Average Debt $14,970
Program Size 593
Stanford University
4 Year
Stanford, CA
Stanford University, located in Stanford, CA has 593 students majoring in Computer Science. On average, graduates earn $147,858.
Acceptance Rate 5%
Undergraduates 4,779 students
Tuition $46,320
0
4.0
My GPA
Can I Get In?
#4 Best College for Computer Science
Average Salary $142,581
Average Debt $21,000
Program Size 72
Harvey Mudd College
4 Year
Claremont, CA
Harvey Mudd College, located in Claremont, CA has 72 students majoring in Computer Science. On average, graduates earn $142,581.
Acceptance Rate 13%
Undergraduates 195 students
Tuition $50,649
0
4.0
My GPA
Can I Get In?
#5 Best College for Computer Science
Average Salary $142,198
Average Debt N/A
Program Size 468
Harvard University
4 Year
Cambridge, MA
Video Rating
Harvard University, located in Cambridge, MA has 468 students majoring in Computer Science. On average, graduates earn $142,198.
Acceptance Rate 6%
Undergraduates 7,803 students
Tuition $45,278
0
4.0
My GPA
Can I Get In?
#6 Best College for Computer Science
Average Salary $135,393
Average Debt N/A
Program Size 89
Pomona College
4 Year
Claremont, CA
Pomona College, located in Claremont, CA has 89 students majoring in Computer Science. On average, graduates earn $135,393.
Acceptance Rate 10%
Undergraduates 387 students
Tuition $47,620
0
4.0
My GPA
Can I Get In?
#7 Best College for Computer Science
Average Salary $129,821
Average Debt N/A
Program Size 124
California Institute of Technology
4 Year
Pasadena, CA
California Institute of Technology, located in Pasadena, CA has 124 students majoring in Computer Science. On average, graduates earn $129,821.
Acceptance Rate 9%
Undergraduates 556 students
Tuition $45,390
0
4.0
My GPA
Can I Get In?
#8 Best College for Computer Science
Average Salary $129,394
Average Debt $14,500
Program Size 653
Cornell University
4 Year
Ithaca, NY
Video Rating
Cornell University, located in Ithaca, NY has 653 students majoring in Computer Science. On average, graduates earn $129,394.
Acceptance Rate 15%
Undergraduates 7,129 students
Tuition $49,116
0
4.0
My GPA
Can I Get In?
#9 Best College for Computer Science
Average Salary $128,909
Average Debt $13,543
Program Size 1,162
University of California-Berkeley
4 Year
Berkeley, CA
Video Rating
University of California-Berkeley, located in Berkeley, CA has 1,162 students majoring in Computer Science. On average, graduates earn $128,909.
Acceptance Rate N/A
Undergraduates 11,486 students
Tuition N/A
0
4.0
My GPA
Can I Get In?
#10 Best College for Computer Science
Average Salary $128,909
Average Debt $13,543
Program Size 1,162
UC Berkeley
4 Year
Berkeley, CA
Video Rating
UC Berkeley, located in Berkeley, CA has 1,162 students majoring in Computer Science. On average, graduates earn $128,909.
Acceptance Rate 17%
Undergraduates 11,486 students
Tuition $13,431
0
4.0
My GPA
Can I Get In?
#11 Best College for Computer Science
Average Salary $127,993
Average Debt $13,000
Program Size 753
Massachusetts Institute of Technology
4 Year
Cambridge, MA
Video Rating
Massachusetts Institute of Technology, located in Cambridge, MA has 753 students majoring in Computer Science. On average, graduates earn $127,993.
Acceptance Rate 8%
Undergraduates 3,445 students
Tuition $46,704
0
4.0
My GPA
Can I Get In?
#12 Best College for Computer Science
Average Salary $125,015
Average Debt N/A
Program Size 108
University of Pennsylvania
4 Year
Philadelphia, PA
Video Rating
University of Pennsylvania, located in Philadelphia, PA has 108 students majoring in Computer Science. On average, graduates earn $125,015.
Acceptance Rate 10%
Undergraduates 7,701 students
Tuition $49,536
0
4.0
My GPA
Can I Get In?
#13 Best College for Computer Science
Average Salary $122,038
Average Debt N/A
Program Size 63
Amherst College
4 Year
Amherst, MA
Video Rating
Amherst College, located in Amherst, MA has 63 students majoring in Computer Science. On average, graduates earn $122,038.
Acceptance Rate 14%
Undergraduates 483 students
Tuition $50,562
0
4.0
My GPA
Can I Get In?
#14 Best College for Computer Science
Average Salary $119,247
Average Debt $10,000
Program Size 482
Duke University
4 Year
Durham, NC
Video Rating
Duke University, located in Durham, NC has 482 students majoring in Computer Science. On average, graduates earn $119,247.
Acceptance Rate 11%
Undergraduates 5,600 students
Tuition $49,241
0
4.0
My GPA
Can I Get In?
#15 Best College for Computer Science
Average Salary $117,572
Average Debt $14,469
Program Size 199
Dartmouth College
4 Year
Hanover, NH
Video Rating
Dartmouth College, located in Hanover, NH has 199 students majoring in Computer Science. On average, graduates earn $117,572.
Acceptance Rate 11%
Undergraduates 1,897 students
Tuition $49,506
0
4.0
My GPA
Can I Get In?
Other Major Rankings
Best Computer Science Programs by State
Most Popular Major Rankings