WhatMajorsPay

Computer Science at Stanford University: what graduates earn

Federal program name: Computer Science (CIP 11.07) · Stanford University

Graduates of Stanford University's Computer Science program earned a median of $157,763 one year after finishing, based on 63 working graduates. That ranks 7 of 416 schools reporting pay for this major, where the typical school's figure is $71,886.

Median pay, 1 year out
$157,763
Median pay, 5 years out
$236,767
+50% vs. 1 year
Median federal debt
$12,000
Debt vs. first-year pay
8%

Source: College Scorecard, November 2026 release

How it compares with the top-paying majors here

Median pay 1 year after graduation, Stanford University

Computer Science pay at other schools

Schools ranked next to Stanford University by first-year pay. See all 416 schools

Pay rankSchool1 year out5 years outMedian debt
3Massachusetts Institute of Technology$171,815$203,879$10,000
4Harvard University$171,540$208,886$13,000
5UC Berkeley$161,143$228,465$13,289
6California Institute of Technology$160,167$248,772—
7Stanford University$157,763$236,767$12,000
8University of Pennsylvania$156,295——
9Princeton University$155,162——
10University of Southern California$153,063$195,257$16,550
11Cornell University$151,551$239,085$12,500

Where these numbers come from

Figures come from the U.S. Department of Education's College Scorecard (College Scorecard, November 2026 release), with gaps filled from earlier Scorecard years and the U.S. Census Bureau's Post-Secondary Employment Outcomes (PSEO). Any figure from a source other than the newest Scorecard release is marked. Scorecard covers graduates who received federal aid and were working and not enrolled in school; debt is the median federal loan balance among borrowers. Programs with very few graduates are hidden to protect privacy. Read the full methodology