Work & Society · 30 charts · 9 topics

AI in Education

Who studies AI and computing, from US high schools to PhD programmes, how representative those students are, and how students use generative AI, from Stanford's AI Index Report 2026.
30 charts with CSV data6 sourcesChecked 20 Oct 2026 All CSVs (zip)
In brief
More findings
Read with care
  • From 6 sources, most often Code.org (12 charts), National Center for Education Statistics, Integrated Postsecondary Education Data System (6) and OECD (5). All sources →
  • Most degree figures cover US institutions only. The country charts count ICT graduates, a wider field than AI.
  • Representation figures divide a group's share of computing students by its share of all students, so a value of one means parity.
  • Student AI use comes from two surveys: Chegg asked university students and the College Board asked US high school students.
  • The latest faculty figure is a projection by the Computing Research Association, not a count.
Chapter 1 · 4 topics · 11 charts
Degrees and careers
Who graduates in AI and computing, and where new AI PhDs go to work.
01
Degrees and careers · 3 charts

AI Degrees

US institutions awarded 94,917 master's degrees in AI software-related fields in 2024, up 82% from 52,139 in 2022, and 67% of those graduates were non-residents. Hardware-related fields moved the other way: bachelor's degrees fell 13% from their 2020 peak, to 96,150 in 2024.
What it measuresGraduates of US institutions in AI software-related and AI hardware-related fields, by degree level, and the share who are not US residents.
02
Degrees and careers · 2 charts

AI PhDs

442 new AI PhDs in the US and Canada took jobs in industry, academia or government in 2024, up 22% from 362 in 2022. Academia's share rose from 19.9% to 31.6% over those two years, while industry's share fell from 70.7% to 62.7%, its lowest since 2020.
What it measuresNew AI PhDs in the US and Canada who took jobs, and the shares that went to industry, academia and government.
03
Degrees and careers · 2 charts

Computing Faculty

The Computing Research Association counted 6,683 computer science, computer engineering and information faculty in the US and Canada in 2024–25 and projects 7,501 by 2026–27, up 12%. Asian women are the only group of women represented above parity, at 1.30 times their share of all US faculty; white women are at 0.35.
What it measuresComputer science, computer engineering and information faculty in the US and Canada, with a projection, and how groups of women are represented among them.
04
Degrees and careers · 4 charts

Computer Science Graduates by Country

The US produced 122,814 ICT bachelor's graduates in 2023, 1.5 times Brazil (80,316), whose count rose 30% in a year against 5.5% in the US. At master's level the US had 86,301 graduates, 3.1 times the United Kingdom, and it awarded 2,874 ICT PhDs, 2.4 times the UK.
What it measuresNew ICT graduates by country at short-cycle, bachelor's, master's and PhD level.
Chapter 2 · 2 topics · 7 charts
Who studies computing
How women and other groups are represented, from high school classes to master's degrees.
05
Who studies computing · 3 charts

Women in Computer Science

Women earned 36% of US master's degrees in AI software-related fields in 2024, their highest share at any level, but only 27% of bachelor's degrees. Across 42 countries, women were 22% of new ICT bachelor's graduates in 2023 on average, from 12% in Chile to 40% in Sweden.
What it measuresWomen's share of AI and ICT graduates, in the US and across countries, and girls' share of US high school computer science classes.
06
Who studies computing · 4 charts

Diversity in Computer Science

Asian students' share of US master's degrees in AI software-related fields is 3.09 times their share of all master's degrees, while Black (0.61) and Hispanic (0.72) students are underrepresented. In high schools, 91% of Asian students can take foundational computer science at their school, against 70% of Native American students.
What it measuresHow each ethnic group's share of AI and computer science students compares with its share of all students, and which students can take computer science at their school.
Chapter 3 · 3 topics · 12 charts
Schools and students
Computer science in US high schools, AP exams, and how students use generative AI.
07
Schools and students · 5 charts

Computer Science in High Schools

60% of US public high schools taught foundational computer science in 2024–25, unchanged from a year earlier and up from 35% in 2017–18. Access varies by school: 91% of large schools offered it in 2025 against 44% of small ones, and every public high school in Arkansas and Maryland does.
What it measuresUS public high schools that teach foundational computer science, by state, school size and location, and the share of students who enrol.
08
Schools and students · 4 charts

AP Computer Science

US students took 254,800 AP computer science exams in 2024, up 4.8% on 2023 after 21% growth the year before, and 13 times the 2007 count. White students' share of exams fell from 60.8% in 2007 to 35.1% in 2024, while the Hispanic or Latino share rose from 6.7% to 18.3%.
What it measuresAP computer science exams taken in the US each year, by students' ethnicity and gender.
09
Schools and students · 3 charts

How Students Use AI

In Chegg's 2025 survey, 95% of university students in Indonesia had used generative AI for their studies, against 67% in the US and UK. Understanding a concept is students' most common use, at 56%. Among US high school students surveyed by the College Board, 50.75% use it for research and finding sources.
What it measuresSurvey answers on whether students use generative AI for their studies, and what they use it for.
Four things to check before you repeat a number

How to read AI education figures

Which field is counted
US degree counts group several fields as AI software-related or AI hardware-related. The country charts count ICT graduates, a wider group. Check the field before you compare two figures.
Glossary: Artificial intelligence →
Offered is not taken
A school that offers computer science may still enrol few students. Some charts count schools with a course, others count the students who take one.
Glossary: AI literacy →
Ratios, not head counts
A representation figure compares a group's share of computing students with its share of all students. Above one, the group is overrepresented; below one, it is underrepresented. It does not tell you how many students that is.
Glossary: AI skills →
Two different surveys
Chegg surveyed university students in several countries and the College Board surveyed US high school students. They asked different questions, so do not set their figures side by side. Having used generative AI once counts the same as using it every day.
Glossary: Generative AI →
About the data: 30 interactive charts from 6 sources, most often Code.org (12 charts), National Center for Education Statistics, Integrated Postsecondary Education Data System (6) and OECD (5). Each chart page explains what the chart shows, lists its key numbers, names its source with a card on our Sources page and links to the data as a CSV.