Master's · Stanford, California
Is Computer Science at Stanford University worth it?
Medium confidence Medium confidence: 40–99 graduates behind the earnings figures.
The verdict · all families, in-state, half paid with loans
Pays back fast: graduates typically recover the cost in about 0.4 years.
- Earnings 1 year after graduating
- $204,917
- Treasury AY2020-21, AY2021-22 pooled earnings cohort measured in CY2022, CY2023, inflation adjusted to 2024 dollars
- Earnings 4 years after graduating
- $274,617
- Treasury AY2017-2018, AY2018-2019 pooled earnings cohort measured in CY2022, CY2023, inflation adjusted to 2024 dollars
- Typical federal debt at graduation
- $33,500
- NSLDS pooled AY2022-23, AY2023-24 cohort
- Typical borrowing (no graduate net price is published)
- $36k (likely $36k – $36k)
- AcadYr 2024-25, reported in IPEDS DCY2025-26
- Earnings bump, year 4
- $206k a year vs bachelor's graduates 4 years out in CA
- 2023 ACS 5-year pooled, adjusted to 2024 dollars
- Payback
- 0.4 years (likely 0.4–0.5)
- Bump vs net cost plus loan interest
- 10-year net return
- $1.81M (likely $1.53M – $2.10M)
- Today's dollars
- 20-year net return
- $4.23M (likely $3.54M – $4.97M)
- Today's dollars
Change income, residency or loans Compare Computer Science at other schools
Scorecard reports no net price for graduate programs; cost is based on what graduates typically borrowed.
Other majors at Stanford University
- Business Administration, Management and Operations (Master's)$261,816
- Law (First professional)$259,944
- Electrical, Electronics, and Communications Engineering (Doctoral)$231,917
- Medical Illustration and Informatics (Master's)$230,298
- Mechanical Engineering (Doctoral)$218,808
- Computer Science (Bachelor's)$214,907
- Engineering-Related Fields (Master's)$206,093
- Management Sciences and Quantitative Methods (Master's)$206,046
- Electrical, Electronics, and Communications Engineering (Master's)$181,705
- Chemistry (Doctoral)$170,898
- Mechanical Engineering (Master's)$167,632
- Allied Health Diagnostic, Intervention, and Treatment Professions (Master's)$162,219
Computer Science at other schools in California
- California Polytechnic State University-San Luis Obispo$235,241
- University of California-San Diego$231,397
- University of Southern California$188,871
- California State University-Northridge$178,136
- University of California-Irvine$175,922
- California State Polytechnic University-Pomona$141,744
- National University$132,798
- University of California-Riverside$127,113
- California State University-Fullerton$126,439
- California State University-Long Beach$115,854