91%
large US public high schools offering foundational computer science in 2025; medium 77%, small 44%
What the chart shows
Access to computer science depends heavily on school size. In 2025, 91% of large US public high schools offered foundational CS courses, compared with 77% of medium-sized schools and 44% of small schools.
A large school is about twice as likely as a small one to offer CS, a gap of 47 percentage points. The AI Index links these differences to disparities in education funding.
Key numbers
| Measure | Value |
|---|---|
| Large schools | 91% |
| Medium schools | 77% |
| Small schools | 44% |
| Gap, large vs small | 47 percentage points |
How to read it
- School-size groups are as defined by Code.org; the report does not give the thresholds.
- 2025 refers to the 2024–25 school year. US public high schools only.
Source: Code.org, 2025, via the AI Index Report 2026 (Stanford HAI), figure 7.3.4: Schools offering foundational CS courses by size, 2025. Chart and text by AI Adoption.
Numbers checked against the published data on 20 October 2026.
Download the data (CSV) · Cite this chart
Numbers checked against the published data on 20 October 2026.
Download the data (CSV) · Cite this chart
Discussion