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.
AI master's degrees · 202494,917in the USMaster's degrees in AI software-related fields awarded by US institutions in one year.202252,139202494,917Change since 2022 +82%New AI PhDs · 202431.6%to academiaShare of new AI PhDs in the US and Canada who took academic jobs.202219.9%202431.6%Change since 2022 +11.7 ptsSchools teaching CS · 202460%of schoolsUS public high schools that teach a foundational computer science course.
In brief
01Biggest rise202252,139202494,917AI software master's degrees: up 82%US master's graduates in AI software-related fields rose 82% in two years, to 94,917 in 2024Open the chart →02Biggest fall2020110,511202496,150AI hardware bachelor's: down 13%US bachelor's degrees in AI hardware-related fields fell 13% from their 2020 peak, to 96,150 in 2024Open the chart →03Where the data comes from6 sources behind these 30 chartsCharts per source, most often Code.org (12), National Center for Education Statistics, Integrated Postsecondary Education Data System (6) and OECD (5). Each chart page names its source.See all sources →
More findings
Who earns AI degrees
67%Two in three US master's graduates in AI software-related fields in 2024 were not US residents36%Women earned 36% of US AI software-related master's degrees in 2024, their highest share at any levelAccess depends on the school
91%91% of large US public high schools offered foundational CS in 2025, against 44% of small ones71%71% of suburban US public high schools offered foundational CS in 2025, against 57% of rural schoolsA changing mix of AP students
35.1%White students took 35.1% of AP computer science exams in 2024, down from 60.8% in 20072007: 60.8% 2024: 35.1%46,526AP computer science exams taken by Hispanic or Latino students rose 37-fold from 2007, to 46,526 in 20242007: 1,268 2024: 46,526Read 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.
3 charts in this topic · pick one to show it
94,917US master's graduates in AI software-related fields rose 82% in two years, to 94,917 in 2024On screen96,150US bachelor's degrees in AI hardware-related fields fell 13% from their 2020 peak, to 96,150 in 2024On screen67%Two in three US master's graduates in AI software-related fields in 2024 were not US residentsOn screen02
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.
4 charts in this topic · pick one to show it
122,814The US had 122,814 new ICT bachelor's graduates in 2023; Brazil, second, grew 30% in a year to 80,316On screen39,213The US had 39,213 new short-cycle ICT graduates in 2023, nearly twice Spain or TurkeyOn screen86,301US ICT master's graduates rose 55% in a year to 86,301 in 2023, 3.1 times the UK's 27,624On screen2,874The US awarded 2,874 ICT PhDs in 2023, 2.4 times the UK; Mexico's count rose 76% in a yearOn screenChapter 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.
3 charts in this topic · pick one to show it
36%Women earned 36% of US AI software-related master's degrees in 2024, their highest share at any levelOn screen40%Women were 22% of new ICT bachelor's graduates on average in 2023; Sweden was highest at 40%On screen0.68Girls' share of US high school CS enrolment is 0.68 of their share of students, little changed from 0.65On screen06
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.
4 charts in this topic · pick one to show it
3.09Asian students' share of US AI software master's degrees is 3.09 times their share of all master's degreesOn screen1.99Asian students' share of US AI hardware master's degrees is twice their share of all master's degreesOn screen91%91% of Asian US high school students can take foundational CS at their school; 70% of Native American studentsOn screen2.34Asian students' share of US high school CS enrolment is 2.34 times their share of students; Hispanic 0.72On screenChapter 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.
5 charts in this topic · pick one to show it
60%60% of US public high schools taught foundational computer science in 2024–25, the same as a year earlierOn screen100%Arkansas and Maryland teach foundational CS in every public high school; Alaska and Minnesota in 34%On screen91%91% of large US public high schools offered foundational CS in 2025, against 44% of small onesOn screen71%71% of suburban US public high schools offered foundational CS in 2025, against 57% of rural schoolsOn screen25.7%South Carolina (25.7%) and Arkansas (25.1%) lead US states for high school CS enrolment; Idaho is at 1.8%On screen08
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.
4 charts in this topic · pick one to show it
254,800254,800 AP computer science exams were taken in 2024, up 4.8%, after 21% growth the year beforeOn screen46,526AP computer science exams taken by Hispanic or Latino students rose 37-fold from 2007, to 46,526 in 2024On screen35.1%White students took 35.1% of AP computer science exams in 2024, down from 60.8% in 2007On screen7.78Asian boys take AP computer science exams at 7.78 times their share of US students; Asian girls at 4.20On screen09
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.
3 charts in this topic · pick one to show it
95%95% of university students in Indonesia had used generative AI for their studies by 2025; 67% in the US and UKOn screen56%Understanding a concept is university students' top use of generative AI for schoolwork, at 56% in 2025On screen50.75%About half of US high school students surveyed use generative AI for research, editing essays or brainstormingOn screenFour 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 →AI Adoption · 2026AI Statistics: the pocket guide83Free for subscribersAll 83 key numbers on two pages, with sources.Every hub's headline numbers in one PDF, ready for a board paper or a slide.Get the guide
Keep exploring
All 13 hubs →Related hubs
37 chartsAI Jobs4.7%Share of job postings in Singapore asking for AI skills in 2025, highest of 22 countriesOpen the hub →28 chartsAI in Healthcare335AI-enabled medical devices authorised by the FDA in 2025, up from 235 in 2024Open the hub →22 chartsPublic Opinion on AI59%Adults in 30 countries seeing more benefits than drawbacks in AI products, 2025Open the hub →58 chartsAI Benchmarks98.7%Best SWE-bench Verified score as a share of the human baseline, 2025Open the hub →
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.