# Best colleges for computer science > 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. U.S. College Scorecard field-of-study data, data year 2025. - Edition: Data verified Nov 2026 · CollegesRef 2026–27 edition - Page: https://www.collegesref.com/best-colleges/computer-science - Data (CSV, every ranked college): https://www.collegesref.com/best-colleges/computer-science.csv - Snapshot updated: November 4, 2026 - Colleges ranked: 466 of 1,194 with a qualifying program ## Key findings 1. 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. 2. Princeton University ranks first with a value score of 97.5: graduates earn $217,973 and the average net price is $7,815. 3. The highest earnings are at Carnegie Mellon University ($268,121), which ranks #46 once cost, debt and graduation rate are counted. 4. Public colleges hold 10 of the top 25 places. ## Top 50 Earnings are median annual earnings 4 years after the bachelor's degree; debt is median federal loan debt; net price and graduation rate are college-wide. | Rank | College | State | Control | Earnings | Debt | Net price | Grad rate | Graduates | Value score | | ---: | --- | --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | | 1 | Princeton University | NJ | Private nonprofit | $217,973 | — | $7,815 | 97% | 213 | 97.5 | | 2 | California Institute of Technology | CA | Private nonprofit | $200,511 | — | $8,509 | 90% | 94 | 94.3 | | 3 | Rice University | TX | Private nonprofit | $182,443 | $8,375 | $11,164 | 95% | 166 | 93.6 | | 4 | Yale University | CT | Private nonprofit | $188,157 | $15,500 | $11,340 | 96% | 176 | 92.7 | | 5 | Stanford University | CA | Private nonprofit | $214,907 | $12,000 | $12,307 | 92% | 341 | 92.4 | | 6 | Massachusetts Institute of Technology | MA | Private nonprofit | $225,141 | $10,000 | $14,815 | 96% | 366 | 90.3 | | 7 | University of Florida | FL | Public | $126,268 | $13,000 | $5,969 | 92% | 472 | 89.9 | | 8 | Washington University in St Louis | MO | Private nonprofit | $177,066 | $15,250 | $13,360 | 93% | 230 | 89.4 | | 9 | University of California-Berkeley | CA | Public | $204,379 | $13,289 | $14,538 | 94% | 890 | 89.3 | | 10 | Williams College | MA | Private nonprofit | $209,574 | $12,000 | $15,157 | 95% | 63 | 88.9 | | 11 | University of Illinois at Urbana-Champaign | IL | Public | $181,981 | $15,000 | $13,042 | 86% | 361 | 88.8 | | 12 | Georgia Institute of Technology | GA | Public | $150,628 | $19,375 | $12,028 | 94% | 1,282 | 88.1 | | 13 | University of North Carolina at Chapel Hill | NC | Public | $137,047 | $11,958 | $11,305 | 91% | 404 | 88.0 | | 14 | Columbia University in the City of New York | NY | Private nonprofit | $188,265 | $16,500 | $15,370 | 95% | 449 | 86.8 | | 15 | University of Michigan-Ann Arbor | MI | Public | $172,904 | $19,250 | $14,362 | 93% | 1,237 | 86.6 | | 16 | Vanderbilt University | TN | Private nonprofit | $160,021 | $15,000 | $15,497 | 93% | 243 | 85.1 | | 17 | University of California-San Diego | CA | Public | $159,487 | $14,000 | $14,794 | 86% | 415 | 85.0 | | 18 | Brigham Young University-Provo | UT | Private nonprofit | $142,800 | $12,000 | $13,397 | 81% | 197 | 84.7 | | 19 | University of Chicago | IL | Private nonprofit | $178,068 | $14,037 | $16,776 | 95% | 210 | 84.6 | | 20 | University of California-Davis | CA | Public | $138,673 | $11,000 | $14,318 | 86% | 58 | 83.7 | | 21 | Emory University | GA | Private nonprofit | $159,541 | $12,000 | $16,754 | 91% | 101 | 83.4 | | 22 | University of Washington-Bothell Campus | WA | Public | $175,616 | $12,051 | $13,802 | 68% | 242 | 83.3 | | 23 | Johns Hopkins University | MD | Private nonprofit | $196,467 | $7,625 | $18,431 | 93% | 194 | 83.2 | | 24 | Harvard University | MA | Private nonprofit | $203,169 | $13,000 | $19,148 | 97% | 208 | 83.1 | | 25 | University of Maryland-College Park | MD | Public | $137,931 | $15,750 | $14,296 | 88% | 956 | 82.8 | | 26 | Purdue University | IN | Public | $146,685 | $16,750 | $14,851 | 84% | 532 | 82.5 | | 27 | University of California-Irvine | CA | Public | $127,404 | $14,000 | $13,866 | 87% | 608 | 82.0 | | 28 | University of California-Santa Barbara | CA | Public | $149,190 | $10,000 | $16,807 | 84% | 174 | 80.8 | | 29 | Northeastern University | MA | Private nonprofit | $163,708 | $19,500 | $17,850 | 91% | 633 | 80.2 | | 30 | Swarthmore College | PA | Private nonprofit | $150,942 | $17,461 | $17,392 | 92% | 87 | 80.2 | | 31 | Bowdoin College | ME | Private nonprofit | $137,611 | — | $15,595 | 93% | 40 | 79.6 | | 32 | University of Virginia | VA | Public | $142,041 | $14,548 | $18,056 | 94% | 369 | 79.3 | | 33 | Duke University | NC | Private nonprofit | $195,809 | $12,000 | $23,706 | 96% | 421 | 79.1 | | 34 | Pomona College | CA | Private nonprofit | $217,051 | — | $18,978 | 92% | 66 | 79.0 | | 35 | The University of Texas at Austin | TX | Public | $155,168 | $17,500 | $18,554 | 89% | 525 | 78.7 | | 36 | California Polytechnic State University-San Luis Obispo | CA | Public | $154,784 | $15,000 | $18,832 | 87% | 219 | 78.4 | | 37 | University of Washington-Seattle | WA | Public | $114,798 | $12,601 | $13,663 | 85% | 671 | 78.3 | | 38 | University of Pennsylvania | PA | Private nonprofit | $241,380 | $11,000 | $29,577 | 97% | 184 | 78.0 | | 39 | Dartmouth College | NH | Private nonprofit | $201,702 | $11,000 | $26,707 | 95% | 143 | 77.8 | | 40 | Brown University | RI | Private nonprofit | $214,479 | $15,000 | $26,976 | 96% | 287 | 77.7 | | 41 | Wellesley College | MA | Private nonprofit | $177,213 | $6,500 | $23,995 | 91% | 60 | 77.7 | | 42 | University of Illinois at Chicago | IL | Public | $120,470 | $17,025 | $9,540 | 61% | 339 | 77.5 | | 43 | University of California-Riverside | CA | Public | $117,705 | $15,611 | $12,672 | 75% | 301 | 77.3 | | 44 | CUNY Queens College | NY | Public | $112,903 | $9,669 | $1,272 | 53% | 260 | 77.3 | | 45 | Cornell University-New York | NY | Private nonprofit | $223,309 | $12,500 | $33,934 | 95% | 527 | 76.1 | | 46 | Carnegie Mellon University | PA | Private nonprofit | $268,121 | $19,000 | $35,780 | 94% | 255 | 75.4 | | 47 | California State University-East Bay | CA | Public | $119,900 | $15,750 | $6,858 | 49% | 209 | 75.3 | | 48 | University of Wisconsin-Madison | WI | Public | $119,655 | $15,000 | $16,600 | 90% | 875 | 75.3 | | 49 | Colgate University | NY | Private nonprofit | $161,980 | $7,000 | $29,409 | 89% | 45 | 74.5 | | 50 | University of Washington-Tacoma Campus | WA | Public | $114,798 | $12,601 | $11,900 | 60% | 271 | 74.5 | ## 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. ## FAQ ### 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. ## Sources - U.S. Department of Education, College Scorecard (field of study, cost and completion): https://collegescorecard.ed.gov/data/ - CollegesRef methodology: https://www.collegesref.com/methodology ## How to cite CollegesRef, "Best colleges for computer science," value ranking from U.S. Department of Education College Scorecard field-of-study data (data year 2025), updated November 4, 2026. https://www.collegesref.com/best-colleges/computer-science --- Source: CollegesRef, https://www.collegesref.com/best-colleges/computer-science.