College Factual  by our College Data Analytics Team
       Unbiased Factual Guarantee

Computer Science at Stanford University

277 Bachelor's Degrees
332 Master's Degrees
36 Doctor's Degrees
The Computer Science major is part of the computer & information sciences program at Stanford University.

Here, you'll find out more about the major, including such details as the number of graduates, what degree levels are offered, ethnicity of students, average salaries, and more. Also, learn how Stanford ranks among other schools offering degrees in compsci.

Jump to any of the following sections:

Computer Science Degrees Available at Stanford

Stanford CompSci Rankings

In College Factual's most recent rankings for the best schools for compsci majors, Stanford came in at #9. This puts it in the top 5% of the country in this field of study. It is also ranked #2 in California.

Ranking Type Rank
Best Computer Science Master’s Degree Schools 5
Best Computer Science Graduate Degree Schools 7
Best Computer Science Doctor’s Degree Schools 7
Best Computer Science Schools 9
Best Computer Science Bachelor’s Degree Schools 12

Popularity of CompSci at Stanford

During the 2021-2022 academic year, Stanford University handed out 277 bachelor's degrees in computer science. This is an increase of 7% over the previous year when 260 degrees were handed out.

In 2022, 332 students received their master’s degree in compsci from Stanford. This makes it the #5 most popular school for compsci master’s degree candidates in the country.

In addition, 36 students received their doctoral degrees in compsci in 2022, making the school the #5 most popular school in the United States for this category of students.

How Much Do CompSci Graduates from Stanford Make?

$138,613 Bachelor's Median Salary
$199,761 Master's Median Salary

Salary of CompSci Graduates with a Bachelor's Degree

CompSci majors who earn their bachelor's degree from Stanford go on to jobs where they make a median salary of $138,613 a year. This is higher than $70,400, which is the national median for all compsci bachelor's degree recipients.

undefined

How Much Does a Bachelor’s in CompSci from Stanford Cost?

$62,484 Average Tuition and Fees (In-State)

Stanford Undergraduate Tuition and Fees

During the 2022-2023 academic year, part-time undergraduate students at Stanford paid an average of $1,372 per credit hour. No discount was available for in-state students. Information about average full-time undergraduate tuition and fees is shown in the table below.

In State Out of State
Tuition $61,731 $61,731
Fees $753 $753
Books and Supplies $825 $825
On Campus Room and Board $19,922 $19,922
On Campus Other Expenses $4,602 $4,602

Learn more about Stanford tuition and fees.

Stanford Computer Science Bachelor’s Program Diversity

Of the 277 students who earned a bachelor's degree in Computer Science from Stanford in 2021-2022, 66% were men and 34% were women.

undefined

The following table and chart show the ethnic background for students who recently graduated from Stanford University with a bachelor's in compsci.

undefined
Ethnic Background Number of Students
Asian 113
Black or African American 9
Hispanic or Latino 32
White 56
Non-Resident Aliens 38
Other Races 29

Does Stanford Offer an Online BS in CompSci?

Stanford does not offer an online option for its compsci bachelor’s degree program at this time. To see if the school offers distance learning options in other areas, visit the Stanford Online Learning page.

Salary of CompSci Graduates with a Master's Degree

CompSci majors graduating with a master's degree from Stanford make a median salary of $199,761 a year. This is a better than average outcome since the median salary for all compsci graduates with a master's is $107,251.

undefined

Stanford Computer Science Master’s Program Diversity

Of the 334 compsci students who graduated with a master's degree in 2021-2022 from Stanford, about 65% were men and 35% were women.

undefined

The following table and chart show the ethnic background for students who recently graduated from Stanford University with a master's in compsci.

undefined
Ethnic Background Number of Students
Asian 121
Black or African American 10
Hispanic or Latino 23
White 64
Non-Resident Aliens 97
Other Races 19

CompSci Student Diversity at Stanford

Take a look at the following statistics related to the make-up of the compsci majors at Stanford University.

References

More about our data sources and methodologies.

Popular Reports

College Rankings
Best by Location
Degree Guides by Major
Graduate Programs

Compare Your School Options