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:
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.
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.
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.
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.
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.
The following table and chart show the ethnic background for students who recently graduated from Stanford University with a bachelor's in compsci.
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 |
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.
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.
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.
The following table and chart show the ethnic background for students who recently graduated from Stanford University with a master's in compsci.
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 |
Take a look at the following statistics related to the make-up of the compsci majors at Stanford University.
More about our data sources and methodologies.