How many students at Stanford?
For the academic year 2024-2025, Stanford University has a total enrollment of 18,625 students, including 7,904 undergraduate and 10,721 graduate students.
- Gender Breakdown: 9,667 male students (51.9%) and 8,958 female students (48.1%) are attending .
- Race and Ethnicity Breakdown: The two largest race/ethnicity groups are 4,386 White students (23.5%) and 4,160 Asian students (22.3%).
- Class Level Breakdown: 7,904 undergraduate students (42.4%) and 10,721 graduate students (57.6%).
- Class Delivery: 350 students are enrolled online exclusively, while 854 students take a hybrid mix of online and on-campus courses.
Compared to similar private (not-for-profit) Research University (very high research activity) - which average 19,644 - Stanford's body is relatively small.
Explore complete student demographics below, including gender ratio, race and ethnicity, age distribution, and distance learning statistics.
Enrollment by Gender and Class Level
By gender, 9,667 male (51.90%) and 8,958 female (48.10%) students are attending Stanford University. The number of male students per 100 females students (male-to-female ratio) is 107.91.
By class level, 7,904 (42.44%) are undergraduate students and 10,721 (57.56%) are graduate students. Among undergraduates, 48.58% are male and 51.42% are female, while among graduate students, 54.35% are male and 45.65% are female.
Total Student Enrolled By Gender
| Total | Undergraduate | Graduate |
| Total | 18,625 | 7,904 | 10,721 |
| Men | 9,667 | 3,840 | 5,827 |
| Women | 8,958 | 4,064 | 4,894 |
Student Distribution by Race/Ethnicity
By race/ethnicity, 4,386 White, 1,051 Black, and 4,160 Asian students out of a total of 18,625 are attending at Stanford University. Comprehensive enrollment statistic data by race/ethnicity is shown in the chart below (academic year 2024-2025 data).
Stanford University is highly diverse with a diversity index of 87% measured by Census Bureau Diversity Index. The institution demonstrates strong racial and ethnic diversity among its student body.
Race/Ethnicity Distribution (Total)
| Race | Total | Men | Women |
| American Indian or Native American | 79 | 31 | 48 |
|---|
| Asian | 4,160 | 2,040 | 2,120 |
|---|
| Black | 1,051 | 481 | 570 |
|---|
| Hispanic | 2,391 | 1,176 | 1,215 |
|---|
| Native Hawaiian or Other Pacific Islanders | 22 | 12 | 10 |
|---|
| White | 4,386 | 2,303 | 2,083 |
|---|
| Two or more races | 1,210 | 546 | 664 |
|---|
| Race Unknown | 536 | 346 | 190 |
Race/Ethnicity Distribution (Undergraduate)
| Race | Total | Men | Women |
| American Indian or Native American | 62 | 26 | 36 |
|---|
| Asian | 2,199 | 1,042 | 1,157 |
|---|
| Black | 644 | 286 | 358 |
|---|
| Hispanic | 1,501 | 719 | 782 |
|---|
| Native Hawaiian or Other Pacific Islanders | 16 | 8 | 8 |
|---|
| White | 1,754 | 902 | 852 |
|---|
| Two or more races | 724 | 340 | 384 |
|---|
| Race Unknown | 39 | 23 | 16 |
Race/Ethnicity Distribution (Graduate)
| Race | Total | Men | Women |
| American Indian or Native American | 17 | 5 | 12 |
|---|
| Asian | 1,961 | 998 | 963 |
|---|
| Black | 407 | 195 | 212 |
|---|
| Hispanic | 890 | 457 | 433 |
|---|
| Native Hawaiian or Other Pacific Islanders | 6 | 4 | 2 |
|---|
| White | 2,632 | 1,401 | 1,231 |
|---|
| Two or more races | 486 | 206 | 280 |
|---|
| Race Unknown | 497 | 323 | 174 |
Student Age Distribution
By age, Stanford has 283 students under 18 years old and 31 students over 65 years old. There are 11,041 students under 25 years old, and 7,584 students over 25 years old out of 18,625 total students.
Stanford has 7,778 undergraduate students aged under 25 and 126 students aged 25 and over.
It has 3,263 graduate students aged under 25 and 7,458 students aged 25 and over.
Student Age Distribution (Total)
| Age | Total | Men | Women |
| Under 18 | 283 | 137 | 146 |
|---|
| 18-19 | 2,321 | 1,219 | 1,102 |
|---|
| 20-21 | 3,442 | 1,799 | 1,643 |
|---|
| 22-24 | 4,995 | 2,424 | 2,571 |
|---|
| 25-29 | 5,029 | 2,361 | 2,668 |
|---|
| 30-34 | 1,638 | 687 | 951 |
|---|
| 35-39 | 491 | 186 | 305 |
|---|
| 40-49 | 269 | 82 | 187 |
|---|
| 50-64 | 126 | 44 | 82 |
|---|
| Over 65 | 31 | 19 | 12 |
Student Age Distribution (Undergraduate)
| Age | Total | Men | Women |
| Under 18 | 283 | 137 | 146 |
|---|
| 18-19 | 2,318 | 1,218 | 1,100 |
|---|
| 20-21 | 3,366 | 1,765 | 1,601 |
|---|
| 22-24 | 1,811 | 911 | 900 |
|---|
| 25-29 | 96 | 22 | 74 |
|---|
| 30-34 | 20 | 10 | 10 |
|---|
| 35-39 | 6 | 0 | 6 |
|---|
| 40-49 | 4 | 1 | 3 |
Student Age Distribution (Graduate)
| Age | Total | Men | Women |
| 18-19 | 3 | 1 | 2 |
|---|
| 20-21 | 76 | 34 | 42 |
|---|
| 22-24 | 3,184 | 1,513 | 1,671 |
|---|
| 25-29 | 4,933 | 2,339 | 2,594 |
|---|
| 30-34 | 1,618 | 677 | 941 |
|---|
| 35-39 | 485 | 186 | 299 |
|---|
| 40-49 | 265 | 81 | 184 |
|---|
| 50-64 | 126 | 44 | 82 |
|---|
| Over 65 | 31 | 19 | 12 |
Online Student Enrollment
Distance learning, also called online education, is very attractive to students, especially those who want to continue education and work in the field. At Stanford University, 350 students are enrolled exclusively in online courses and 854 students are enrolled in some online courses.
139 students who live in California or the jurisdiction in which the school is located are enrolled exclusively in online courses and 211 students live in another State or outside of the United States.
Online Student Population
| All Students | Enrolled Exclusively Online Courses | Enrolled in Some Online Courses |
| All Students | 18,625 | 350 | 854 |
| Undergraduate | 7,904 | 350 | 0 |
|---|
| Graduate | 10,721 | 0 | 854 |
Online Student Population by Locality
| California Residents | Other States in U.S. | Outside of U.S. |
| All Students | 139 | 211 | 0 |
|---|
| Undergraduate | 139 | 211 | 0 |
| Graduate | 0 | 0 | 0 |
Transfer-in Students (Undergraduate)
Among 7,904 enrolled in undergraduate programs, 56 students have transferred-in from other institutions. The percentage of transfer-in students is 0.71%.
Transfer-in Students (Undergraduate)
| Number of Students |
| Regular Full-time | 7,498 |
| Transfer-in Full-time | 56 |
| Regular Part-time | 350 |
| Transfer-in Part-time | 0 |
Stanford Enrollment Frequently Asked Questions
For the academic year 2024-2025, 18,625 students are enrolled at Stanford.
7,904 undergraduate and 10,721 graduate students are enrolled at Stanford.
9,667 male (51.90%) and 8,958 female (48.10%) students are attending Stanford.
4,790 international students (25.72%) are enrolled at Stanford, including 965 undergraduate and 3,825 graduate students.
Stanford has a student population that is notably includes a large Asian student body: 4,386 White (23.55%), 1,051 Black (5.64%), and 4,160 Asian (22.34%) students are enrolled.
283 students are under 18 and 31 students are over 65 years old.
350 students are enrolled exclusively online, and 854 students take some online courses.