Education Atlas

College Scorecard · field of study · all U.S. colleges

Is a Computer Science degree worth the debt?

The figures below lead with the Bachelor's, aggregated across 318 colleges (318 of 318 programs report earnings). Other credential levels are in the table further down.

Median pay · 1 yr after
$63,428

Graduates only, early career.$67,101 two years out.

Median federal debt
$21,750

Federal loans only — not private or Parent PLUS.

Debt vs a year's pay
0.34×

34% of a first year's earnings.

Typical debt is well under a single year's early-career pay.

The college you pick moves this a lot

The middle 50% of Bachelor's programs in Computer Science report early-career pay between $55,748 and $72,790 — a spread of $17,042 that depends on the program and who attends it, not the major alone.

25th pct $55,748 median $63,428 75th pct $72,790

By degree level

Each level is a separate decision — more schooling usually means more pay and more debt.

LevelPay · 1yrDebtDebt/pay
Associate's 8 colleges $35,924 $9,814 0.34×
Bachelor's 318 colleges $63,428 $21,750 0.34×
Master's 39 colleges $98,509 $32,231 0.32×

Where a Bachelor's in this field reports the highest early-career pay

The 15 programs with the highest reported pay one year after completion. This reflects who enrolls and where they live as much as the program itself — it is not a causal quality ranking.

Carnegie Mellon University PA $161,723 $21,442 debt
Harvard University MA $140,072
Stanford University CA $136,126 $10,399 debt
Brown University RI $130,101 $11,500 debt
Cornell University NY $127,764 $14,750 debt
University of Pennsylvania PA $127,623
University of California-Berkeley CA $125,250 $13,750 debt
Harvey Mudd College CA $123,339 $22,949 debt
Massachusetts Institute of Technology MA $118,191 $11,077 debt
Duke University NC $115,135 $13,500 debt
Dartmouth College NH $111,259 $18,490 debt
Pomona College CA $110,738
Williams College MA $109,470 $12,208 debt

What these numbers are — and are not

Every figure here is a median across college programs in Computer Science, from the U.S. Dept. of Education College Scorecard. It is not a prediction of what you would earn (your college, effort, and local job market vary enormously — see the spread above), not lifetime earnings (it is measured 1–2 years after completion, early career), not proof the major caused the outcome (who enters a field differs by field — selection, not causation), and not a "best majors" ranking: earnings are one dimension of worth, not the whole of it. Teaching and social work pay far less than the fields at the top of this list and matter enormously. Earnings cover federally-aided completers at programs large enough to report.

Also available: structured data (JSON-LD) · plain text · JSON. Source: U.S. Dept. of Education College Scorecard — Field of Study (2026-06-10 release). · explore this field on the official Scorecard