Best colleges for computer science, ranked by value
Princeton University ranks first of 466 colleges for computer science value; its graduates' median earnings 4 years after the bachelor's degree are $217,973 (College Scorecard field-of-study data, 2025).
Computer science bachelor's programs ranked by value: what graduates earn, what they borrow, what a year costs after grants, and how many students finish.
Data verified Nov 2026 · CollegesRef 2026–27 edition · Source: College Scorecard field of study, reporting year 2025 · 466 colleges ranked · Updated November 4, 2026
#1 for computer science
Princeton, NJ
- Earnings
- $217,973
- 4 yrs after
- Net price
- $7,815
- per year
- Grad rate
- 97%
- six years
At a glance
- Colleges ranked
- 466
- Of 1,194 with a computer science bachelor's program in the data.
- Median graduate earnings
- $97,375
- 4 years after the bachelor's degree, at the median ranked college.
- Median federal debt
- $19,500
- Borrowed at the college by computer science graduates.
- Median average net price
- $16,804
- What aided first-year students pay a year after grants.
What the data shows
Key findings
466 colleges qualify. At the median one, computer science graduates earn $97,375 4 years after graduating, and the average net price is $16,804 a year.
Princeton University ranks first with a value score of 97.5: graduates earn $217,973 and the average net price is $7,815.
The highest earnings are at Carnegie Mellon University ($268,121), which ranks #46 once cost, debt and graduation rate are counted.
Public colleges hold 10 of the top 25 places.
How the value score is weighted
- Graduate earnings40%
- Average net price25%
- Debt-to-earnings20%
- Graduation rate15%
Each part is a percentile among ranked colleges, so a score of 80 means better than 80% of them on that measure. Full methodology
Top 25 by value score
The ranking
Every figure behind each rank is shown. Filter by state, public or private, and net price; ranks stay national.
Top 25 of 466 ranked colleges.
- Earnings
- $217,973
- 4 yrs after
- Median debt
- —
- not reported
- Net price
- $7,815
- per year
- Grad rate
- 97%
- Graduates
- 213
- latest year
Percentile among ranked colleges
- Earnings
- 99.1
- Net price
- 93.5
- Debt (Debt-to-earnings)
- not reported
- Graduation
- 100.0
- Rank 2

California Institute of Technology
Pasadena, CA · Private nonprofit · Computer Science
94.3Value score- Earnings
- $200,511
- 4 yrs after
- Median debt
- —
- not reported
- Net price
- $8,509
- per year
- Grad rate
- 90%
- Graduates
- 94
- latest year
Percentile among ranked colleges
- Earnings
- 97.4
- Net price
- 91.4
- Debt (Debt-to-earnings)
- not reported
- Graduation
- 90.8
- Rank 3

Rice University
Houston, TX · Private nonprofit · Computer and Information Sciences, General
93.6Value score- Earnings
- $182,443
- 4 yrs after
- Median debt
- $8,375
- Net price
- $11,164
- per year
- Grad rate
- 95%
- Graduates
- 166
- latest year
Percentile among ranked colleges
- Earnings
- 95.9
- Net price
- 83.0
- Debt (Debt-to-earnings)
- 99.0
- Graduation
- 98.1
- Rank 4

Yale University
New Haven, CT · Private nonprofit · Computer and Information Sciences, General
92.7Value score- Earnings
- $188,157
- 4 yrs after
- Median debt
- $15,500
- Net price
- $11,340
- per year
- Grad rate
- 96%
- Graduates
- 176
- latest year
Percentile among ranked colleges
- Earnings
- 96.1
- Net price
- 81.3
- Debt (Debt-to-earnings)
- 95.3
- Graduation
- 99.4
- Earnings
- $214,907
- 4 yrs after
- Median debt
- $12,000
- Net price
- $12,307
- per year
- Grad rate
- 92%
- Graduates
- 341
- latest year
Percentile among ranked colleges
- Earnings
- 98.7
- Net price
- 77.2
- Debt (Debt-to-earnings)
- 98.3
- Graduation
- 93.1
- Rank 6

Massachusetts Institute of Technology
Cambridge, MA · Private nonprofit · Computer Science
90.3Value score- Earnings
- $225,141
- 4 yrs after
- Median debt
- $10,000
- Net price
- $14,815
- per year
- Grad rate
- 96%
- Graduates
- 366
- latest year
Percentile among ranked colleges
- Earnings
- 99.6
- Net price
- 63.2
- Debt (Debt-to-earnings)
- 99.3
- Graduation
- 98.7
- Rank 7

University of Florida
Gainesville, FL · Public · Computer and Information Sciences, General
89.9Value score- Earnings
- $126,268
- 4 yrs after
- Median debt
- $13,000
- Net price
- $5,969
- per year
- Grad rate
- 92%
- Graduates
- 472
- latest year
Percentile among ranked colleges
- Earnings
- 83.7
- Net price
- 95.7
- Debt (Debt-to-earnings)
- 92.1
- Graduation
- 93.5
- Rank 8

Washington University in St Louis
Saint Louis, MO · Private nonprofit · Computer Science
89.4Value score- Earnings
- $177,066
- 4 yrs after
- Median debt
- $15,250
- Net price
- $13,360
- per year
- Grad rate
- 93%
- Graduates
- 230
- latest year
Percentile among ranked colleges
- Earnings
- 95.1
- Net price
- 73.3
- Debt (Debt-to-earnings)
- 94.5
- Graduation
- 94.4
- Earnings
- $204,379
- 4 yrs after
- Median debt
- $13,289
- Net price
- $14,538
- per year
- Grad rate
- 94%
- Graduates
- 890
- latest year
Percentile among ranked colleges
- Earnings
- 98.1
- Net price
- 64.7
- Debt (Debt-to-earnings)
- 97.2
- Graduation
- 96.1
- Earnings
- $209,574
- 4 yrs after
- Median debt
- $12,000
- Net price
- $15,157
- per year
- Grad rate
- 95%
- Graduates
- 63
- latest year
Percentile among ranked colleges
- Earnings
- 98.3
- Net price
- 61.3
- Debt (Debt-to-earnings)
- 97.9
- Graduation
- 97.6
- Rank 11

University of Illinois at Urbana-Champaign
Champaign, IL · Public · Computer Science
88.8Value score- Earnings
- $181,981
- 4 yrs after
- Median debt
- $15,000
- Net price
- $13,042
- per year
- Grad rate
- 86%
- Graduates
- 361
- latest year
Percentile among ranked colleges
- Earnings
- 95.7
- Net price
- 74.0
- Debt (Debt-to-earnings)
- 95.3
- Graduation
- 86.5
- Rank 12

Georgia Institute of Technology
Atlanta, GA · Public · Computer and Information Sciences, General
88.1Value score- Earnings
- $150,628
- 4 yrs after
- Median debt
- $19,375
- Net price
- $12,028
- per year
- Grad rate
- 94%
- Graduates
- 1,282
- latest year
Percentile among ranked colleges
- Earnings
- 91.8
- Net price
- 78.5
- Debt (Debt-to-earnings)
- 86.8
- Graduation
- 95.9
- Rank 13

University of North Carolina at Chapel Hill
Chapel Hill, NC · Public · Computer Science
88.0Value score- Earnings
- $137,047
- 4 yrs after
- Median debt
- $11,958
- Net price
- $11,305
- per year
- Grad rate
- 91%
- Graduates
- 404
- latest year
Percentile among ranked colleges
- Earnings
- 87.1
- Net price
- 81.7
- Debt (Debt-to-earnings)
- 94.0
- Graduation
- 92.7
- Rank 14

Columbia University in the City of New York
New York, NY · Private nonprofit · Computer Science
86.8Value score- Earnings
- $188,265
- 4 yrs after
- Median debt
- $16,500
- Net price
- $15,370
- per year
- Grad rate
- 95%
- Graduates
- 449
- latest year
Percentile among ranked colleges
- Earnings
- 96.3
- Net price
- 59.8
- Debt (Debt-to-earnings)
- 93.7
- Graduation
- 97.4
- Rank 15

University of Michigan-Ann Arbor
Ann Arbor, MI · Public · Computer and Information Sciences, General
86.6Value score- Earnings
- $172,904
- 4 yrs after
- Median debt
- $19,250
- Net price
- $14,362
- per year
- Grad rate
- 93%
- Graduates
- 1,237
- latest year
Percentile among ranked colleges
- Earnings
- 94.6
- Net price
- 65.4
- Debt (Debt-to-earnings)
- 90.6
- Graduation
- 95.1
- Earnings
- $160,021
- 4 yrs after
- Median debt
- $15,000
- Net price
- $15,497
- per year
- Grad rate
- 93%
- Graduates
- 243
- latest year
Percentile among ranked colleges
- Earnings
- 94.0
- Net price
- 59.1
- Debt (Debt-to-earnings)
- 92.9
- Graduation
- 94.2
- Earnings
- $159,487
- 4 yrs after
- Median debt
- $14,000
- Net price
- $14,794
- per year
- Grad rate
- 86%
- Graduates
- 415
- latest year
Percentile among ranked colleges
- Earnings
- 93.5
- Net price
- 63.7
- Debt (Debt-to-earnings)
- 93.7
- Graduation
- 86.2
- Rank 18

Brigham Young University-Provo
Provo, UT · Private nonprofit · Computer Science
84.7Value score- Earnings
- $142,800
- 4 yrs after
- Median debt
- $12,000
- Net price
- $13,397
- per year
- Grad rate
- 81%
- Graduates
- 197
- latest year
Percentile among ranked colleges
- Earnings
- 89.5
- Net price
- 72.7
- Debt (Debt-to-earnings)
- 95.0
- Graduation
- 78.3
- Earnings
- $178,068
- 4 yrs after
- Median debt
- $14,037
- Net price
- $16,776
- per year
- Grad rate
- 95%
- Graduates
- 210
- latest year
Percentile among ranked colleges
- Earnings
- 95.5
- Net price
- 50.5
- Debt (Debt-to-earnings)
- 95.8
- Graduation
- 97.2
- Rank 20

University of California-Davis
Davis, CA · Public · Computer and Information Sciences, General
83.7Value score- Earnings
- $138,673
- 4 yrs after
- Median debt
- $11,000
- Net price
- $14,318
- per year
- Grad rate
- 86%
- Graduates
- 58
- latest year
Percentile among ranked colleges
- Earnings
- 88.2
- Net price
- 65.6
- Debt (Debt-to-earnings)
- 95.8
- Graduation
- 85.4
- Earnings
- $159,541
- 4 yrs after
- Median debt
- $12,000
- Net price
- $16,754
- per year
- Grad rate
- 91%
- Graduates
- 101
- latest year
Percentile among ranked colleges
- Earnings
- 93.8
- Net price
- 51.0
- Debt (Debt-to-earnings)
- 96.1
- Graduation
- 92.5
- Rank 22

University of Washington-Bothell Campus
Bothell, WA · Public · Computer Science
83.3Value score- Earnings
- $175,616
- 4 yrs after
- Median debt
- $12,051
- Net price
- $13,802
- per year
- Grad rate
- 68%
- Graduates
- 242
- latest year
Percentile among ranked colleges
- Earnings
- 94.8
- Net price
- 68.6
- Debt (Debt-to-earnings)
- 96.8
- Graduation
- 59.4
- Rank 23

Johns Hopkins University
Baltimore, MD · Private nonprofit · Computer and Information Sciences, General
83.2Value score- Earnings
- $196,467
- 4 yrs after
- Median debt
- $7,625
- Net price
- $18,431
- per year
- Grad rate
- 93%
- Graduates
- 194
- latest year
Percentile among ranked colleges
- Earnings
- 97.0
- Net price
- 40.6
- Debt (Debt-to-earnings)
- 99.8
- Graduation
- 95.5
- Earnings
- $203,169
- 4 yrs after
- Median debt
- $13,000
- Net price
- $19,148
- per year
- Grad rate
- 97%
- Graduates
- 208
- latest year
Percentile among ranked colleges
- Earnings
- 97.8
- Net price
- 38.1
- Debt (Debt-to-earnings)
- 97.5
- Graduation
- 99.8
- Rank 25

University of Maryland-College Park
College Park, MD · Public · Computer Science
82.8Value score- Earnings
- $137,931
- 4 yrs after
- Median debt
- $15,750
- Net price
- $14,296
- per year
- Grad rate
- 88%
- Graduates
- 956
- latest year
Percentile among ranked colleges
- Earnings
- 87.7
- Net price
- 65.8
- Debt (Debt-to-earnings)
- 89.8
- Graduation
- 89.0
441 more matching colleges are in the CSV download.
Earnings against net price
Each dot is a ranked college. Higher means graduates earn more; further left means a year costs less after grants. The best value sits top left.
- Top 25
- Other ranked colleges
Scatter plot of 466 colleges. The ranked list above gives every figure.
Methodology
- Programs counted
- Bachelor's degrees reported under CIP 11.01, 11.07 at public and private nonprofit colleges published on CollegesRef. When a college reports more than one qualifying program, its largest one is used.
- Eligibility
- A college needs at least 20 graduates in the latest award year, reported median earnings 4 years after graduation, and a published average net price and graduation rate. A field is published only when at least 50 colleges qualify.
- Value score
- Each figure is turned into a 0–100 percentile among ranked colleges (100 is best: highest earnings or graduation rate, lowest net price or debt-to-earnings). The value score is the weighted average: graduate earnings 40%, average net price 25%, debt-to-earnings 20%, graduation rate 15%. If a college reports no debt figure, that weight is shared among the other three.
- Earnings and debt
- Median annual earnings 4 years after completing the bachelor's degree, for graduates who received federal aid and were working. Debt is the median federal loan amount borrowed at the college by those graduates (College Scorecard field of study).
- Cost and completion
- Average net price is what aided first-year students pay after grants, for the whole college rather than the major. Graduation rate is the college-wide share finishing within six years (150% of normal time).
Limits
- Value, not prestige
- The score rewards high earnings at a low cost. It does not measure research strength, faculty, selectivity or reputation, so famous programs can rank below less-known ones.
- Earnings lag
- Earnings describe students who graduated several years ago and were measured years later. Today's job market and starting salaries can differ.
- Suppressed small programs
- The Department of Education withholds figures for small groups of graduates to protect privacy, so many small programs cannot be ranked at all.
- Federal aid recipients only
- Earnings and debt cover graduates who received federal grants or loans; students who paid without federal aid are not included.
Definitions: average net price. Read the CollegesRef methodology for how college data is checked. Methodology version 1; 726 colleges had too few graduates or suppressed earnings and 2 lacked a net price or graduation rate.
Sources
- Data
- U.S. Department of Education College Scorecard field-of-study, cost and completion data.
- Edition
- 2026–27, data verified Nov 2026
- Source reporting year
- 2025
- Snapshot
- November 4, 2026
Questions about this ranking
See rankings for other majors, compare any two colleges side by side with Compare, or check a family's price with the cost calculator.
What is the best college for computer science?
On value, Princeton University ranks first in this ranking: computer science graduates earn a median of $217,973 4 years after graduating, and the average net price is $7,815 a year. "Best" depends on what you need; this ranking weighs earnings against cost, debt and graduation rate.
What do computer science graduates go on to do?
Most graduates go into software development, data and security roles, where starting pay is among the highest of any bachelor's field. The earnings here are medians for graduates who received federal aid, 4 years after the bachelor's degree.
Why are some well-known computer science programs ranked low or missing?
The ranking measures value, not prestige. A college with high earnings but a high net price can rank below a cheaper college with slightly lower earnings. Programs are missing when federal data suppresses their earnings, when they have fewer graduates than the threshold, or when they are reported under a CIP code this ranking does not count.
Can I see colleges in my state only?
Yes. Use the state filter above the list; ranks stay national so you can see where each college stands overall. You can also filter by public or private and by a maximum net price, or download the full CSV.
Does the net price shown apply to computer science students?
No. Average net price is reported for the whole college, not by major. Your own price depends on your family's finances; each college's net price calculator gives a personal estimate.























