Work & Society · 30 charts · 9 topics
Source
Stanford AI Index Report 2026
Charts
30 with CSV data
Last checked
20 Oct 2026
The number of people graduating in AI-related fields in the US keeps rising. 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. Among new AI PhDs in the US and Canada, 31.6% took academic jobs in 2024, up from 19.9% in 2022, while industry's share fell from 70.7% to 62.7%.
Read the full overview
Earlier in the pipeline, growth has stalled. 60% of US public high schools taught foundational computer science in 2024–25, the same as a year earlier and the first year without a rise in the series, and 91% of large schools offered it against 44% of small ones. US students took 254,800 AP computer science exams in 2024, 13 times as many as in 2007, while white students' share of those exams fell from 60.8% to 35.1%. Generative AI is already part of study: in Chegg's 2025 survey, 95% of university students in Indonesia and 67% in the US and UK had used it for their studies.
The page covers AI degrees, AI PhDs, computing faculty, computer science graduates by country, women in computer science, diversity in computer science, computer science in high schools, AP computer science and how students use AI. Women earned 36% of US master's degrees in AI software-related fields in 2024, and girls' share of US high school computer science enrolment was 0.68 of their share of all students.
The figures come from Stanford's AI Index Report 2026, which draws on US degree completions data (IPEDS), the Computing Research Association's Taulbee Survey, OECD graduate statistics, Code.org, the College Board and Chegg. Most of the data covers the US, or the US and Canada. The OECD comparisons leave out India, China and most of Africa, degree completions lag enrolment by several years, and school data counts computer science courses because there is little standardised data on AI courses.
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
01

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.
02

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.
03

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.
04

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.
05

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.
06

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.
07

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.
08

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%.
09

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.

Related hubs

All 13 hubs →
About the data: 30 interactive charts from the AI Index Report 2026 (Stanford HAI), using data from research partners credited on each chart. Each chart page explains what the chart shows, lists its key numbers, cites its source and links to the data as a CSV.