The student population at Stanford University is 18,625 (7,904 undergraduate and 10,721 graduate students) . The number of students has increased by 1,645 (9.69%) over the past decade.
- Class Level: The percentage of undergraduate students at Stanford is 42.44% which is increased by 904 over last 10 years. The graduate student population increased by 741 and it has been increasing.
- Gender Breakdown: In 2025, there were 108 male students for every 100 female students, down from 138 in 2015.
- 350 students enrolled in online degree program exclusively and the number of online students has increased by 21.53% since 2015.
Student Population Changes
The average student population over the last 11 years is 17,532 where 18,625 students are attending the school for the academic year 2024-2025.
Total enrollment fluctuated between 2016 and 2025, with 6 year-over-year increases and 3 decreases. It peaked at 18,625 students in 2025 and was lowest at 15,953 in 2021. Overall, enrollment rose from 16,980 to 18,625 students, a net gain of 1,645 (9.7%).
The following table and chart illustrate the changes in student population by gender at Stanford University since 2015.
Undergraduate Enrollment Changes
The average number of Undergraduate students over the last 11 years is 7,320 where 7,904 students are attending the Undergraduate school for the academic year 2024-2025. The following table and chart illustrate the changes in Undergraduate enrollment by attending status and gender at Stanford University since 2015.
Graduate Enrollment Changes
The average number of Graduate students over the last 11 years is 10,212 where 10,721 students are attending the Graduate school for the academic year 2024-2025. The following table and chart illustrate the changes in Graduate enrollment by attending status and gender at Stanford University since 2015.
Enrollment by Race/Ethnicity Changes
The percentage of white students is 23.55% and the percentage of black students is 5.64% at Stanford University. 22.34% of enrolled students is Asian. Hispanic students comprise 12.84% of the student body.
Over the past 10 years, the racial composition has shifted. The percentage of white students decreased from 36.88% to 23.55%. Asian enrollment grew from 15.95% to 22.34%. Black student enrollment increased from 3.74% to 5.64%. Hispanic student representation expanded from 9.72% to 12.84%.
The overall racial diversity, measured by the Census Bureau Diversity Index, is 0.8708 which indicates that highly diverse. This increased from 0.8231 a decade ago, suggesting that racial diversity has improved.
The following table and chart illustrate the student population trends by race/ethnicity at Stanford University over the past 11 years (2015-2025).
Distance Learning (Online Courses) Enrollment Changes
350 students are enrolled in online degree programs exclusively for the academic year 2024-2025, which is 2% of total students. The number of online students has increased 21.53% since 2022. The following table and chart illustrate the changes in the online student population by enrolled type at Stanford University from 2015 to 2025.