Computer science students collaborating in modern university lab with multiple monitors showing code
Updated June 27, 2026

Best Computer Science Degree Programs

Search every computer science degree program by what you actually want. All 742 accredited programs, ranked on real outcomes across bachelor's, master's, and online. $130,160 median salary with +25% projected job growth.

Accredited Programs742
Median Salary$130,160
Job Growth+25%
Annual Openings140,000+
On this page

Key Takeaways

  • 1.Hakia ranks the best computer science degree programs in 2026, computer science professionals earn a median salary of $136,620/year, with 25% job growth projected through 2032, much faster than average.
  • 2.Our top-ranked computer science programs are University of California-Berkeley, University of Washington-Seattle Campus, and Carnegie Mellon University, selected based on graduation rates, program size, and career outcomes.
  • 3.Best value: University of North Carolina at Charlotte offers computer science degrees at just $3,812/year with a 76% graduation rate.
  • 4.726 accredited computer science programs available nationwide, with options at every degree level from associate's to doctoral.
  • 5.Entry-level positions require a bachelor's degree. Master's degrees unlock senior roles with 20-40% higher salaries and leadership opportunities.

Quick Answer: Is a Computer Science Degree Worth It?

Answer
Yes - $130,160 median salary, 25% job growth

Source: A CS degree is worth it for most students. With $130,160 median salary, 25% job growth, and 140,000+ annual job openings, CS offers among the best career outcomes of any major. ROI analysis shows graduates recoup tuition costs within 2-4 years of employment.

Best Computer Science Programs - Top 10

These are the best computer science programs in the United States based on our comprehensive methodology that considers graduation rates, program size, institutional reputation, and career outcomes. Rankings are updated annually using data from IPEDS and BLS.

Best Computer Science Programs - Top 10

🥇

University of California-Los Angeles

Bachelor's in Computer ScienceOn-campus
Los Angeles, CAPublic

$116,580 median salary · 93% graduation rate

97.2
Score
$12K
Tuition/yr
93%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #1

Ranked #1 among computer science bachelor's programs by Hakia Score (97.2/100): 93% graduation rate, $116,580 median salary, $12,260 in-state tuition, 352 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 93% graduation rate
  • $116,580 median salary
  • $12,260 in-state tuition
  • 352 graduates annually
🥈

University of California-Berkeley

Bachelor's in Computer ScienceOn-campus
Berkeley, CAPublic

$116,580 median salary · 93% graduation rate

97.1
Score
$12K
Tuition/yr
93%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #2

Ranked #2 among computer science bachelor's programs by Hakia Score (97.1/100): 93% graduation rate, $116,580 median salary, $12,260 in-state tuition, 796 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 93% graduation rate
  • $116,580 median salary
  • $12,260 in-state tuition
  • 796 graduates annually
🥉

University of North Carolina at Chapel Hill

Bachelor's in Computer ScienceOn-campus
Chapel Hill, NCPublic

$116,580 median salary · 91% graduation rate

96.6
Score
$7K
Tuition/yr
91%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #3

Ranked #3 among computer science bachelor's programs by Hakia Score (96.6/100): 91% graduation rate, $116,580 median salary, $7,019 in-state tuition, 334 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 91% graduation rate
  • $116,580 median salary
  • $7,019 in-state tuition
  • 334 graduates annually
#4

Harvard University

Bachelor's in Computer ScienceOn-campus
Cambridge, MAPrivate nonprofit

$116,580 median salary · 98% graduation rate

96.4
Score
$57K
Tuition/yr
98%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #4

Ranked #4 among computer science bachelor's programs by Hakia Score (96.4/100): 98% graduation rate, $116,580 median salary, $56,550 in-state tuition, 184 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 98% graduation rate
  • $116,580 median salary
  • $56,550 in-state tuition
  • 184 graduates annually
#5

Columbia University in the City of New York

Bachelor's in Computer ScienceOn-campus
New York, NYPrivate nonprofit

$116,580 median salary · 96% graduation rate

96.4
Score
$67K
Tuition/yr
96%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #5

Ranked #5 among computer science bachelor's programs by Hakia Score (96.4/100): 96% graduation rate, $116,580 median salary, $66,722 in-state tuition, 408 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 96% graduation rate
  • $116,580 median salary
  • $66,722 in-state tuition
  • 408 graduates annually
#6

University of Pennsylvania

Bachelor's in Computer ScienceOn-campus
Philadelphia, PAPrivate nonprofit

$116,580 median salary · 97% graduation rate

95.8
Score
$61K
Tuition/yr
97%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #6

Ranked #6 among computer science bachelor's programs by Hakia Score (95.8/100): 97% graduation rate, $116,580 median salary, $60,920 in-state tuition, 95 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 97% graduation rate
  • $116,580 median salary
  • $60,920 in-state tuition
  • 95 graduates annually
#7

University of California-San Diego

Bachelor's in Computer ScienceOn-campus
La Jolla, CAPublic

$116,580 median salary · 86% graduation rate

95.5
Score
$12K
Tuition/yr
86%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #7

Ranked #7 among computer science bachelor's programs by Hakia Score (95.5/100): 86% graduation rate, $116,580 median salary, $12,260 in-state tuition, 415 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 86% graduation rate
  • $116,580 median salary
  • $12,260 in-state tuition
  • 415 graduates annually
#8

University of Chicago

Bachelor's in Computer ScienceOn-campus
Chicago, ILPrivate nonprofit

$116,580 median salary · 96% graduation rate

95.5
Score
$67K
Tuition/yr
96%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #8

Ranked #8 among computer science bachelor's programs by Hakia Score (95.5/100): 96% graduation rate, $116,580 median salary, $67,446 in-state tuition, 178 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 96% graduation rate
  • $116,580 median salary
  • $67,446 in-state tuition
  • 178 graduates annually
#9

Massachusetts Institute of Technology

Bachelor's in Computer ScienceOn-campus
Cambridge, MAPrivate nonprofit

$116,580 median salary · 96% graduation rate

95.5
Score
$62K
Tuition/yr
96%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #9

Ranked #9 among computer science bachelor's programs by Hakia Score (95.5/100): 96% graduation rate, $116,580 median salary, $61,990 in-state tuition, 323 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 96% graduation rate
  • $116,580 median salary
  • $61,990 in-state tuition
  • 323 graduates annually
#10

Cornell University

Bachelor's in Computer ScienceOn-campus
Ithaca, NYPrivate nonprofit

$116,580 median salary · 95% graduation rate

95.5
Score
$68K
Tuition/yr
95%
Grad Rate
$117K
Median Salary
View
Program

Why it ranks #10

Ranked #10 among computer science bachelor's programs by Hakia Score (95.5/100): 95% graduation rate, $116,580 median salary, $68,380 in-state tuition, 467 graduates a year. Federal data, IPEDS 2024 and BLS.

View full research

Program Strengths

  • 95% graduation rate
  • $116,580 median salary
  • $68,380 in-state tuition
  • 467 graduates annually

Best Computer Science Programs - Top 10, Complete Program Data

  1. #1. University of California-Los Angeles — Bachelor's Computer Science

    Hakia ranks University of California-Los Angeles's bachelor's computer science program #1. Degree: Bachelor's. Delivery: on-campus. Location: Los Angeles, CA | Type: Public | Tuition: $12,260/year | Graduation Rate: 93% | Median Salary: $116,580 | Score: 97.2

  2. #2. University of California-Berkeley — Bachelor's Computer Science

    Hakia ranks University of California-Berkeley's bachelor's computer science program #2. Degree: Bachelor's. Delivery: on-campus. Location: Berkeley, CA | Type: Public | Tuition: $12,260/year | Graduation Rate: 93% | Median Salary: $116,580 | Score: 97.1

  3. #3. University of North Carolina at Chapel Hill — Bachelor's Computer Science

    Hakia ranks University of North Carolina at Chapel Hill's bachelor's computer science program #3. Degree: Bachelor's. Delivery: on-campus. Location: Chapel Hill, NC | Type: Public | Tuition: $7,019/year | Graduation Rate: 91% | Median Salary: $116,580 | Score: 96.6

  4. #4. Harvard University — Bachelor's Computer Science

    Hakia ranks Harvard University's bachelor's computer science program #4. Degree: Bachelor's. Delivery: on-campus. Location: Cambridge, MA | Type: Private nonprofit | Tuition: $56,550/year | Graduation Rate: 98% | Median Salary: $116,580 | Score: 96.4

  5. #5. Columbia University in the City of New York — Bachelor's Computer Science

    Hakia ranks Columbia University in the City of New York's bachelor's computer science program #5. Degree: Bachelor's. Delivery: on-campus. Location: New York, NY | Type: Private nonprofit | Tuition: $66,722/year | Graduation Rate: 96% | Median Salary: $116,580 | Score: 96.4

  6. #6. University of Pennsylvania — Bachelor's Computer Science

    Hakia ranks University of Pennsylvania's bachelor's computer science program #6. Degree: Bachelor's. Delivery: on-campus. Location: Philadelphia, PA | Type: Private nonprofit | Tuition: $60,920/year | Graduation Rate: 97% | Median Salary: $116,580 | Score: 95.8

  7. #7. University of California-San Diego — Bachelor's Computer Science

    Hakia ranks University of California-San Diego's bachelor's computer science program #7. Degree: Bachelor's. Delivery: on-campus. Location: La Jolla, CA | Type: Public | Tuition: $12,260/year | Graduation Rate: 86% | Median Salary: $116,580 | Score: 95.5

  8. #8. University of Chicago — Bachelor's Computer Science

    Hakia ranks University of Chicago's bachelor's computer science program #8. Degree: Bachelor's. Delivery: on-campus. Location: Chicago, IL | Type: Private nonprofit | Tuition: $67,446/year | Graduation Rate: 96% | Median Salary: $116,580 | Score: 95.5

  9. #9. Massachusetts Institute of Technology — Bachelor's Computer Science

    Hakia ranks Massachusetts Institute of Technology's bachelor's computer science program #9. Degree: Bachelor's. Delivery: on-campus. Location: Cambridge, MA | Type: Private nonprofit | Tuition: $61,990/year | Graduation Rate: 96% | Median Salary: $116,580 | Score: 95.5

  10. #10. Cornell University — Bachelor's Computer Science

    Hakia ranks Cornell University's bachelor's computer science program #10. Degree: Bachelor's. Delivery: on-campus. Location: Ithaca, NY | Type: Private nonprofit | Tuition: $68,380/year | Graduation Rate: 95% | Median Salary: $116,580 | Score: 95.5

Our rankings methodology weighs program strength (25%), graduation rate (20%), career outcomes (15%), institutional quality (12%), industry recognition (10%), selectivity (10%), and data transparency (8%). Learn more about our methodology →

Who Should Study Computer Science?

Computer science is ideal for students who enjoy logical problem-solving, have curiosity about how technology works, and are comfortable with mathematics. You don't need prior programming experience, most programs start with introductory courses, but you should enjoy analytical thinking.

  • Problem solvers who enjoy breaking down complex challenges into logical steps
  • Math-comfortable students willing to engage with discrete math, algorithms, and some calculus
  • Curious builders who want to understand how software, systems, and technology work
  • Career-focused students seeking high-paying, in-demand jobs with strong growth
  • Flexible thinkers who want a degree that opens doors across many industries

CS is also excellent for career changers who want to transition to tech from other fields, as the analytical skills transfer well from backgrounds in engineering, mathematics, science, or business.

Computer Science Degree Levels Compared

CS degrees are available at multiple levels, each suited to different goals and career paths.

Computer Science Programs by Degree Level

Best Computer Science Programs - Bachelor's

A bachelor's degree in computer science is the standard credential for entry-level positions. These 4-year programs provide comprehensive training and hands-on experience.

Best Computer Science Programs - Top 3 Bachelor's

🥇 #1

University of California-Los Angeles

Bachelor's in Computer ScienceOn-campus
Los Angeles, CAPublic

$116,580 median salary · 93% grad rate · 352 grads/yr

$12K
Tuition/yr
93%
Grad Rate
97.2
Score
Visit
Program
🥈 #2

University of California-Berkeley

Bachelor's in Computer ScienceOn-campus
Berkeley, CAPublic

$116,580 median salary · 93% grad rate · 796 grads/yr

$12K
Tuition/yr
93%
Grad Rate
97.1
Score
Visit
Program
🥉 #3

University of North Carolina at Chapel Hill

Bachelor's in Computer ScienceOn-campus
Chapel Hill, NCPublic

$116,580 median salary · 91% grad rate · 334 grads/yr

$7K
Tuition/yr
91%
Grad Rate
96.6
Score
Visit
Program

4. Cornell University (Ithaca, NY) - Score: 94.1, Tuition: $65,204

5. Massachusetts Institute of Technology (Cambridge, MA) - Score: 89.8, Tuition: $59,750

6. University of California-San Diego (La Jolla, CA) - Score: 88.8, Tuition: $11,834

7. Purdue University-Main Campus (West Lafayette, IN) - Score: 88.2, Tuition: $9,718

8. University of Illinois Urbana-Champaign (Champaign, IL) - Score: 87.5, Tuition: $14,768

9. University of Southern California (Los Angeles, CA) - Score: 87.0, Tuition: $66,640

10. University of California-Irvine (Irvine, CA) - Score: 85.8, Tuition: $11,834

Best Computer Science Programs - Master's

A master's degree in computer science prepares students for senior and specialized roles. These 1-2 year programs offer advanced expertise and leadership training.

Best Computer Science Programs - Top 3 Master's

🥇 #1

Columbia University in the City of New York

Master's in Computer ScienceOn-campus
New York, NYPrivate nonprofit

$116,580 median salary · 96% grad rate · 403 grads/yr

$67K
Tuition/yr
96%
Grad Rate
95.3
Score
Visit
Program
🥈 #2

University of Pennsylvania

Master's in Computer ScienceOn-campus
Philadelphia, PAPrivate nonprofit

$116,580 median salary · 97% grad rate · 160 grads/yr

$61K
Tuition/yr
97%
Grad Rate
94.7
Score
Visit
Program
🥉 #3

Georgia Institute of Technology-Main Campus

Master's in Computer ScienceOn-campus
Atlanta, GAPublic

$116,580 median salary · 94% grad rate · 170 grads/yr

$11K
Tuition/yr
94%
Grad Rate
94.4
Score
Visit
Program

4. Cornell University (Ithaca, NY) - Score: 88.1, Tuition: $65,204

5. Columbia University in the City of New York (New York, NY) - Score: 88.0, Tuition: $64,526

6. Stanford University (Stanford, CA) - Score: 86.5, Tuition: $61,731

7. Massachusetts Institute of Technology (Cambridge, MA) - Score: 85.9, Tuition: $59,750

8. Carnegie Mellon University (Pittsburgh, PA) - Score: 85.5, Tuition: $62,260

9. University of California-Berkeley (Berkeley, CA) - Score: 82.0, Tuition: $11,834

10. University of Washington-Seattle Campus (Seattle, WA) - Score: 81.1, Tuition: $11,524

Best Computer Science Programs - Online

Online computer science programs offer flexibility for working professionals. Top accredited programs provide the same curriculum quality as on-campus alternatives.

Best Computer Science Programs - Top 3 Online

🥇 #1

Texas A&M University-College Station

Bachelor's in Computer ScienceFully online
College Station, TXPublic

$116,580 median salary · 84% grad rate · 407 grads/yr

$9K
Tuition/yr
84%
Grad Rate
91.5
Score
Visit
Program
🥈 #2

Oregon State University

Bachelor's in Computer ScienceFully online
Corvallis, ORPublic

$116,580 median salary · 70% grad rate · 977 grads/yr

$12K
Tuition/yr
70%
Grad Rate
84.0
Score
Visit
Program
🥉 #3

Arizona State University Digital Immersion

Bachelor's in Computer ScienceFully online
Scottsdale, AZPublic

$116,580 median salary · 1 grads/yr

$11K
Tuition/yr
0%
Grad Rate
81.1
Score
Visit
Program

4. Cornell University (Ithaca, NY) - Score: 94.1, Tuition: $65,204

5. University of Illinois Urbana-Champaign (Champaign, IL) - Score: 92.5, Tuition: $14,768

6. Massachusetts Institute of Technology (Cambridge, MA) - Score: 89.8, Tuition: $59,750

7. University of California-San Diego (La Jolla, CA) - Score: 88.8, Tuition: $11,834

8. Purdue University-Main Campus (West Lafayette, IN) - Score: 88.2, Tuition: $9,718

9. University of Southern California (Los Angeles, CA) - Score: 87.0, Tuition: $66,640

10. University of California-Irvine (Irvine, CA) - Score: 85.8, Tuition: $11,834

Best Computer Science Programs - Associate's

An associate's degree in computer science provides a 2-year pathway into the field. These programs are ideal for career starters or those planning to transfer to a 4-year program.

Best Computer Science Programs - Top 3 Associate's

🥇 #1

De Anza College

Associate's in Computer ScienceOn-campus
Cupertino, CAPublic

$116,580 median salary · 68% grad rate · 144 grads/yr

$1K
Tuition/yr
68%
Grad Rate
96.0
Score
Visit
Program
🥈 #2

San Diego Miramar College

Associate's in Computer ScienceOn-campus
San Diego, CAPublic

$116,580 median salary · 48% grad rate · 71 grads/yr

$1K
Tuition/yr
48%
Grad Rate
93.9
Score
Visit
Program
🥉 #3

Irvine Valley College

Associate's in Computer ScienceOn-campus
Irvine, CAPublic

$116,580 median salary · 57% grad rate · 27 grads/yr

$1K
Tuition/yr
57%
Grad Rate
93.8
Score
Visit
Program

4. Green River College (Auburn, WA) - Score: 53.5, Tuition: $4,074

5. Utah Valley University (Orem, UT) - Score: 53.0, Tuition: $5,614

6. CUNY New York City College of Technology (Brooklyn, NY) - Score: 52.5, Tuition: $6,930

7. MiraCosta College (Oceanside, CA) - Score: 52.4, Tuition: $1,104

8. Columbia Basin College (Pasco, WA) - Score: 51.3, Tuition: $5,514

9. De Anza College (Cupertino, CA) - Score: 51.0, Tuition: $1,395

10. Edmonds College (Lynnwood, WA) - Score: 50.9, Tuition: $4,073

Best Computer Science Programs - Graduate

Graduate programs in computer science (PhD and doctoral degrees) prepare students for research, academic, and senior leadership positions.

Best Computer Science Programs - Top 3 Graduate

🥇 #1

Columbia University in the City of New York

Master's in Computer ScienceOn-campus
New York, NYPrivate nonprofit

$116,580 median salary · 96% grad rate · 403 grads/yr

$67K
Tuition/yr
96%
Grad Rate
95.3
Score
Visit
Program
🥈 #2

University of Pennsylvania

Master's in Computer ScienceOn-campus
Philadelphia, PAPrivate nonprofit

$116,580 median salary · 97% grad rate · 160 grads/yr

$61K
Tuition/yr
97%
Grad Rate
94.7
Score
Visit
Program
🥉 #3

Harvard University

Doctorate in Computer ScienceOn-campus
Cambridge, MAPrivate nonprofit

$116,580 median salary · 98% grad rate · 23 grads/yr

$57K
Tuition/yr
98%
Grad Rate
94.5
Score
Visit
Program

4. University of Southern California (Los Angeles, CA) - Score: 85.7, Tuition: $66,640

5. University of Illinois Urbana-Champaign (Champaign, IL) - Score: 83.8, Tuition: $14,768

6. Stanford University (Stanford, CA) - Score: 82.8, Tuition: $61,731

7. Princeton University (Princeton, NJ) - Score: 82.6, Tuition: $59,710

8. Cornell University (Ithaca, NY) - Score: 81.8, Tuition: $65,204

9. University of California-San Diego (La Jolla, CA) - Score: 79.2, Tuition: $11,834

10. Purdue University-Main Campus (West Lafayette, IN) - Score: 78.6, Tuition: $9,718

Most Affordable Computer Science Programs

Looking for quality computer science education without the hefty price tag? These programs offer the best value, balancing tuition costs with strong academic outcomes and career prospects. Our Value Score factors in graduation rates, program strength, and institutional quality relative to cost.

Top 5 Most Affordable Computer Science Programs

RankProgram & SchoolDeliveryAnnual TuitionGrad RateMedian SalaryHakia Score
#1
Bachelor's in Computer Science
University of California-Los Angeles
Los Angeles, CA · Public
On-campus$12,26093%$116,58097.2
#2
Bachelor's in Computer Science
University of California-Berkeley
Berkeley, CA · Public
On-campus$12,26093%$116,58097.1
#3
Bachelor's in Computer Science
University of North Carolina at Chapel Hill
Chapel Hill, NC · Public
On-campus$7,01991%$116,58096.6
#4
Bachelor's in Computer Science
Harvard University
Cambridge, MA · Private nonprofit
On-campus$56,55098%$116,58096.4
#5
Bachelor's in Computer Science
Columbia University in the City of New York
New York, NY · Private nonprofit
On-campus$66,72296%$116,58096.4
#6
Bachelor's in Computer Science
University of Pennsylvania
Philadelphia, PA · Private nonprofit
On-campus$60,92097%$116,58095.8
#7
Bachelor's in Computer Science
University of California-San Diego
La Jolla, CA · Public
On-campus$12,26086%$116,58095.5
#8
Bachelor's in Computer Science
University of Chicago
Chicago, IL · Private nonprofit
On-campus$67,44696%$116,58095.5
#9
Bachelor's in Computer Science
Massachusetts Institute of Technology
Cambridge, MA · Private nonprofit
On-campus$61,99096%$116,58095.5
#10
Bachelor's in Computer Science
Cornell University
Ithaca, NY · Private nonprofit
On-campus$68,38095%$116,58095.5
#11
Bachelor's in Computer Science
Duke University
Durham, NC · Private nonprofit
On-campus$66,32597%$116,58095.5
#12
Bachelor's in Computer Science
California Polytechnic State University-San Luis Obispo
San Luis Obispo, CA · Public
On-campus$6,08486%$116,58095.4
#13
Bachelor's in Computer Science
University of California-Irvine
Irvine, CA · Public
On-campus$12,26087%$116,58095.4
#14
Bachelor's in Computer Science
Stanford University
Stanford, CA · Private nonprofit
On-campus$65,12792%$116,58095.4
#15
Bachelor's in Computer Science
Northwestern University
Evanston, IL · Private nonprofit
On-campus$67,15895%$116,58095.2
#16
Bachelor's in Computer Science
University of Southern California
Los Angeles, CA · Private nonprofit
On-campus$69,90492%$116,58095.1
#17
Bachelor's in Computer Science
Brown University
Providence, RI · Private nonprofit
On-campus$68,61296%$116,58095.1
#18
Bachelor's in Computer Science
University of Maryland-College Park
College Park, MD · Public
On-campus$10,08789%$116,58095.0
#19
Bachelor's in Computer Science
Princeton University
Princeton, NJ · Private nonprofit
On-campus$62,40098%$116,58095.0
#20
Bachelor's in Computer Science
University of Georgia
Athens, GA · Public
On-campus$10,03490%$116,58094.9
#21
Bachelor's in Computer Science
University of Washington-Seattle Campus
Seattle, WA · Public
On-campus$11,86985%$116,58094.8
#22
Bachelor's in Computer Science
Vanderbilt University
Nashville, TN · Private nonprofit
On-campus$65,00894%$116,58094.7
#23
Bachelor's in Computer Science
Washington University in St Louis
St. Louis, MO · Private nonprofit
On-campus$64,50094%$116,58094.6
#24
Bachelor's in Computer Science
Carnegie Mellon University
Pittsburgh, PA · Private nonprofit
On-campus$64,59694%$116,58094.6
#25
Bachelor's in Computer Science
North Carolina State University at Raleigh
Raleigh, NC · Public
On-campus$6,53585%$116,58094.5
#26
Bachelor's in Computer Science
Boston University
Boston, MA · Private nonprofit
On-campus$66,67089%$116,58094.4
#27
Bachelor's in Computer Science
University of California-Davis
Davis, CA · Public
On-campus$12,26086%$116,58094.3
#28
Bachelor's in Computer Science
University of Illinois Urbana-Champaign
Champaign, IL · Public
On-campus$14,97585%$116,58094.1
#29
Bachelor's in Computer Science
Tufts University
Medford, MA · Private nonprofit
On-campus$69,14694%$116,58094.1
#30
Bachelor's in Computer Science
Dartmouth College
Hanover, NH · Private nonprofit
On-campus$66,12396%$116,58093.9
#31
Bachelor's in Computer Science
University of California-Santa Barbara
Santa Barbara, CA · Public
On-campus$12,26083%$116,58093.7
#32
Bachelor's in Computer Science
San Diego State University
San Diego, CA · Public
On-campus$6,08476%$116,58093.7
#33
Bachelor's in Computer Science
Emory University
Atlanta, GA · Private nonprofit
On-campus$63,40091%$116,58093.6
#34
Bachelor's in Computer Science
Binghamton University
Vestal, NY · Public
On-campus$7,07082%$116,58093.6
#35
Bachelor's in Computer Science
Georgetown University
Washington, DC · Private nonprofit
On-campus$67,89695%$116,58093.4
#36
Bachelor's in Computer Science
Boston College
Chestnut Hill, MA · Private nonprofit
On-campus$69,40091%$116,58093.4
#37
Bachelor's in Computer Science
William & Mary
Williamsburg, VA · Public
On-campus$18,70989%$116,58093.4
#38
Bachelor's in Computer Science
Purdue University-Main Campus
West Lafayette, IN · Public
On-campus$9,71883%$116,58092.9
#39
Bachelor's in Computer Science
United States Naval Academy
Annapolis, MD · Public
On-campus93%$116,58092.8
#40
Bachelor's in Computer Science
Stony Brook University
Stony Brook, NY · Public
On-campus$7,07076%$116,58092.3
#41
Bachelor's in Computer Science
Case Western Reserve University
Cleveland, OH · Private nonprofit
On-campus$66,02087%$116,58092.2
#42
Bachelor's in Computer Science
Barnard College
New York, NY · Private nonprofit
On-campus$67,60293%$116,58091.9
#43
Bachelor's in Computer Science
Lehigh University
Bethlehem, PA · Private nonprofit
On-campus$63,93088%$116,58091.9
#44
Bachelor's in Computer Science
Villanova University
Villanova, PA · Private nonprofit
On-campus$66,83892%$116,58091.8
#45
Bachelor's in Computer Science
United States Air Force Academy
USAF Academy, CO · Public
On-campus88%$116,58091.7
#46
Bachelor's in Computer Science
University of Miami
Coral Gables, FL · Private nonprofit
On-campus$60,72084%$116,58091.7
#47
Bachelor's in Computer Science
University of Pittsburgh-Pittsburgh Campus
Pittsburgh, PA · Public
On-campus$20,55685%$116,58091.7
#48
Bachelor's in Computer Science
Auburn University
Auburn, AL · Public
On-campus$11,01682%$116,58091.5
#49
Bachelor's in Computer Science
University of Massachusetts-Amherst
Amherst, MA · Public
On-campus$17,00683%$116,58091.5
#50
Bachelor's in Computer Science
Wake Forest University
Winston-Salem, NC · Private nonprofit
On-campus$66,47089%$116,58091.5

Showing all 50 ranked programs.

Computer Science Career Outcomes

Computer science graduates have access to some of the highest-paying and fastest-growing careers in the economy. The BLS projects 25% job growth for software developers through 2032, much faster than average. For detailed salary breakdowns, see our software engineer salary guide and data scientist salary guide.

$75,000
Starting Salary
$130,160
Mid-Career
+25%
Job Growth
140,000
Annual Openings

Computer Science Curriculum Overview

CS programs include core courses in programming, data structures and algorithms, discrete mathematics, computer organization/architecture, operating systems, databases, and software engineering. Upper-level courses allow specialization in high-demand areas.

  • Core Programming: Python, Java, C/C++, functional programming concepts
  • Mathematics: Discrete math, linear algebra, probability, calculus (1-2 courses)
  • Theory: Algorithms, data structures, computation theory, complexity
  • Systems: Operating systems, networks, databases, computer architecture
  • Software Engineering: Development methodology, testing, version control, teamwork
  • Electives: AI/ML, security, graphics, HCI, distributed systems, mobile development

Most programs also require capstone projects, internships, or research experiences. For details on what you'll learn, see our CS curriculum guide and CS fundamentals you need.

Computer Science Programs by State

Best Computer Science Programs in Arizona
Total Programs
25
Median Tuition
$11,500
Top Program
ASU, U of Arizona
Best Computer Science Programs in California
Total Programs
85
Median Tuition
$14,500
Top Program
Stanford, UC Berkeley
Best Computer Science Programs in Colorado
Total Programs
28
Median Tuition
$13,400
Top Program
CU Boulder
Best Computer Science Programs in Connecticut
Total Programs
28
Median Tuition
$16,800
Top Program
Yale, UConn
Best Computer Science Programs in Florida
Total Programs
52
Median Tuition
$6,400
Top Program
UF, FSU
Best Computer Science Programs in Georgia
Total Programs
35
Median Tuition
$9,700
Top Program
Georgia Tech
Best Computer Science Programs in Illinois
Total Programs
42
Median Tuition
$15,100
Top Program
UIUC
Best Computer Science Programs in Indiana
Total Programs
35
Median Tuition
$10,200
Top Program
Purdue, IU Bloomington
Best Computer Science Programs in Maryland
Total Programs
35
Median Tuition
$10,900
Top Program
UMD, Johns Hopkins
Best Computer Science Programs in Massachusetts
Total Programs
45
Median Tuition
$16,400
Top Program
MIT, Harvard
Best Computer Science Programs in Michigan
Total Programs
38
Median Tuition
$15,900
Top Program
U of Michigan
Best Computer Science Programs in Minnesota
Total Programs
32
Median Tuition
$14,600
Top Program
U of Minnesota
Best Computer Science Programs in Missouri
Total Programs
32
Median Tuition
$11,300
Top Program
Wash U, Mizzou
Best Computer Science Programs in New Jersey
Total Programs
42
Median Tuition
$15,200
Top Program
Rutgers, Princeton
Best Computer Science Programs in New York
Total Programs
65
Median Tuition
$8,500
Top Program
Cornell, Columbia
Best Computer Science Programs in North Carolina
Total Programs
38
Median Tuition
$7,200
Top Program
Duke, UNC, NC State
Best Computer Science Programs in Ohio
Total Programs
45
Median Tuition
$10,800
Top Program
OSU, Case Western
Best Computer Science Programs in Oregon
Total Programs
25
Median Tuition
$12,400
Top Program
Oregon State, U of Oregon
Best Computer Science Programs in Pennsylvania
Total Programs
48
Median Tuition
$19,200
Top Program
CMU, Penn State
Best Computer Science Programs in Tennessee
Total Programs
30
Median Tuition
$9,800
Top Program
Vanderbilt, UT Knoxville
Best Computer Science Programs in Texas
Total Programs
72
Median Tuition
$11,800
Top Program
UT Austin, Texas A&M
Best Computer Science Programs in Utah
Total Programs
22
Median Tuition
$8,900
Top Program
U of Utah, BYU
Best Computer Science Programs in Virginia
Total Programs
32
Median Tuition
$14,200
Top Program
UVA, Virginia Tech
Best Computer Science Programs in Washington
Total Programs
38
Median Tuition
$12,100
Top Program
UW Seattle
Best Computer Science Programs in Wisconsin
Total Programs
28
Median Tuition
$10,700
Top Program
UW-Madison

Computer Science vs Related Fields

Computer science provides the broadest foundation in computing theory, algorithms, data structures, computation theory, and systems design. This theoretical depth translates to versatility: CS graduates can pivot between software development, data science, security, AI research, and technical management throughout their careers.

The key differentiator is abstraction level. CS teaches you to think about problems at multiple levels, from low-level memory management to high-level system architecture. This makes CS graduates particularly strong at debugging complex systems, optimizing performance, and designing scalable solutions.

If you're uncertain about your specific tech career path, CS is often the safest choice. The foundational knowledge transfers across specializations, and you can narrow your focus through electives, projects, and work experience rather than committing to a specialization before you understand the field.

Choose Computer Science if.

  • You want broad foundations in computing theory and practice
  • You're interested in algorithms, systems, or research
  • You want maximum career flexibility across tech roles
  • You enjoy math and abstract problem-solving

Choose Software Engineering if.

  • You want to focus specifically on building software products
  • You prefer practical engineering methodology over theory
  • Your primary goal is becoming a developer quickly
  • You're less interested in algorithms/theory

Choose Data Science if.

  • You're specifically interested in analytics and ML
  • You want to work with data rather than build systems
  • You have strong statistics and math interest
  • You want to focus on insights over infrastructure

Choose Information Technology if.

  • You prefer managing technology over creating it
  • You're interested in networking or systems administration
  • You want an IT management career path
  • You prefer less programming and more operations

Is a Computer Science Degree Worth It?

For most students, yes. The combination of high starting salaries ($75,000+ for new grads), strong job growth (25% through 2032), career flexibility, and 140,000+ annual job openings makes CS one of the highest-ROI degrees available.

When it's worth it: You're interested in tech careers, comfortable with math, and willing to engage with challenging coursework. The credential opens doors at top companies, provides structured learning, and offers networking and internship opportunities bootcamps can't replicate.

When to consider alternatives: You're certain you only want web development (bootcamps may be faster), you have significant financial constraints (start at community college), or you're already working in tech and just need specific skills (certifications or online courses).

Consider the tech job market trends for 2025 and whether self-taught paths might work better for your situation.

Alternative Paths to Tech Careers

While a CS degree is the most common path, alternatives exist for those with different goals, timelines, or budgets

  • Software Engineering Bootcamps, 12-24 week intensive programs for career switchers
  • Data Science Bootcamps. Fast-track to data and analytics roles
  • AWS Certifications Roadmap. Cloud credentials for career advancement
  • Self-Taught Programming. Combining online resources with portfolio building
  • IT Certifications. CompTIA, Cisco, and other vendor-neutral credentials

Many successful developers combine paths, starting with a bootcamp or self-study, then adding a degree later for advancement. For career-specific guidance, see how to become an AI engineer or transitioning to tech.

Computer Science Degree FAQ

What can I do with a computer science degree?
CS graduates work as software developers, data scientists, security analysts, systems architects, AI/ML engineers, product managers, and more. The degree opens doors across virtually every industry, tech, finance, healthcare, entertainment, government, and research. See our software engineer salary guide for compensation details.
Do I need to know programming before starting a CS degree?
No. Most programs start with introductory programming courses designed for complete beginners. However, some prior exposure (through free online courses, high school CS, or self-study) can help you confirm interest and build confidence.
Is a master's degree in CS necessary?
For most software development roles, no, a bachelor's is sufficient to start and advance. A master's is valuable for: specialization (AI/ML, security), career switching from non-CS backgrounds, academic/research paths, or senior technical roles at research-focused companies. Some companies require advanced degrees for research scientist positions.
What's the difference between CS and software engineering?
CS is broader, covering theory, algorithms, systems, and computation fundamentals. Software engineering focuses more specifically on development methodology, project management, and building software products. In practice, both degrees lead to similar jobs, with CS providing more theoretical depth.
Can I get a CS job without a degree?
Some companies hire based on demonstrated skills and portfolio, especially for web development and some software roles. However, a degree significantly expands opportunities, many companies require degrees for entry-level positions, and it's particularly important for competitive positions at major tech firms.
How much math is required for computer science?
Significant math is required: discrete mathematics (logic, proofs, combinatorics), linear algebra, calculus (1-2 courses), probability, and statistics. These are essential for algorithms, machine learning, graphics, and theoretical CS. If math is a concern, some programs have lighter requirements, check program requirements carefully.
How long does it take to get a CS degree?
A bachelor's degree takes 4 years full-time, though accelerated programs exist. A master's takes 1-2 years. Associate degrees take 2 years and provide a pathway to transfer into bachelor's programs. Many working students take longer part-time.
What's the starting salary for CS graduates?
Entry-level CS graduates earn $75,000-$95,000 in base salary nationally. At major tech companies (FAANG), total compensation including stock and bonus ranges from $120,000-$180,000 for new graduates. Location significantly impacts salary. Bay Area pays 40-50% more than average.
Should I choose a specialized CS degree or general CS?
General CS provides more flexibility and broader foundations, which is better for most students. Specialized degrees (like cybersecurity or data science) can be valuable if you're certain about your career path, but may limit options. You can always specialize through electives, projects, and graduate study.
Are online CS degrees respected by employers?
If from accredited institutions. Many top universities offer online CS programs with the same curriculum as on-campus versions. Employers care more about skills, projects, and school reputation than delivery method. Online programs can be excellent for working professionals or those needing flexibility.

How We Rank Computer Science Degree Programs

Based on 742 programs from IPEDS 2024

Ranking 50 computer science programs by graduation rate, selectivity, outcomes, and price, University of California-Los Angeles's Bachelor's in Computer Science comes out first. The Hakia Score is computed from IPEDS 2024 and BLS data with no paid placement. Graduates step into a field where the median wage runs about $116,580.

Ranking Factors

Program Completions35%

Number of graduates per year in this specific field (CIP code). Larger programs indicate established departments with more resources, course offerings, and career services. Measured from IPEDS Completions data.

Graduation Rate25%

Percentage of students completing their degree within 150% of expected time (6 years for bachelor's, 3 years for associate's). Higher rates indicate better student support and program quality. Source: IPEDS Graduation Rates survey.

Selectivity20%

Admission rate (lower = more selective). More selective institutions have stronger academic environments and more competitive graduates. For open-admission institutions, we use graduation rates as a proxy for quality.

Career Outcomes20%

National salary data for computer science graduates, factored into institutional scores based on job market strength.

Ranking Categories

Best Programs

Overall quality using all four factors weighted as shown above. Ideal for students seeking the strongest academic experience.

Online Programs

Same methodology, filtered to schools with fully online or hybrid options (IPEDS Distance Education data). Some schools may have lower graduation rates due to different student demographics.

Most Affordable

Ranked primarily by net cost (tuition minus average institutional aid), with quality factors as tiebreakers. Best for cost-conscious students.

Data Sources

  • IPEDS 2024Institutional characteristics, completions, graduation rates
  • BLS OEWS 2024National and metro salary data by occupation
  • CIP Code MappingPrograms identified using Classification of Instructional Programs codes

Related Resources

Taylor Rupe

Taylor Rupe

Co-founder & Editor (B.S. Computer Science, Oregon State • B.A. Psychology, University of Washington)

Taylor combines technical expertise in computer science with a deep understanding of human behavior and learning. His dual background drives Hakia's mission: leveraging technology to build authoritative educational resources that help people make better decisions about their academic and career paths.