Over 57.5% of US public high schools offer foundational computer science across 31 state mandates, 215,000+ students take AP CS exams, and US universities award 104,000+ annual CS degrees (a 3.2x decade surge), while women earn just 22.3% of CS degrees. While 375,000 annual computing jobs outpace domestic graduations and 44 states face CS teacher shortages, 82% of university CS programs have integrated AI coding tools into their curricula. The figures below come from empirical research published by Code.org, the College Board, the CRA Taulbee Survey, the NCES, the NSF, and the U.S. BLS.
TL;DR
- 57.5% of US public high schools teach foundational Computer Science courses (Code.org / CSTA)
- 31 US states have enacted statewide computer science graduation requirements for all high schoolers
- Only 5.9% of high school students actually enroll in an available computer science course (Code.org)
- Over 215,000 students take College Board AP Computer Science exams annually (College Board)
- Female participation in AP Computer Science Principles reached 34.0% (up from 20% in AP CS A)
- Over 104,000 undergraduate Computer Science Bachelor’s degrees are awarded annually in the US (NCES)
- Undergraduate CS major enrollment expanded by 3.2x over the past decade (CRA Taulbee Survey)
- 68.0% of top-tier university CS departments enforce enrollment caps or secondary admissions filters
- Women earn only 22.3% of CS Bachelor’s degrees in the US (down from 37% in 1984) (NSF NCSES)
- Women represent 26.0% of the professional software engineering and computing workforce (U.S. BLS)
- 44 US states report critical shortages of certified K-12 Computer Science teachers (CSTA)
- 74.0% of high school CS teachers transitioned from other subjects without a formal CS degree
- 82.0% of university computer science departments integrate AI pair-programming into introductory courses
1. K-12 Access: 57.5% School Availability and 31 State Mandates
State policy advocacy and grassroots curricular initiatives have substantially expanded high school computing access. Code.org and CSTA record that 57.5% of US public high schools teach foundational CS.
Legislative momentum builds: 31 states enforce CS graduation requirements, yet only 5.9% of students enroll in available classes (Code.org), with rural schools lagging suburban access (50.0% vs. 64.0%).
| Metric | Value | Source |
|---|---|---|
| US public high schools that teach at least one foundational Computer Science (CS) course | 57.5% of public high schools (up from 35% in 2018) | Code.org, CSTA & ECEP State of CS Education |
| US states that have officially adopted computer science graduation requirement policies for all high schoolers | 31 US states with CS graduation mandates | Code.org Policy Advocacy Coalition Tracker |
| High school students who attend a school offering computer science but do not enroll in a CS course | Only 5.9% of high school students actually take CS | Code.org National CS Student Enrollment Data |
| Rural vs. suburban public high schools offering foundational computer science courses | 50.0% in rural schools vs. 64.0% in suburban schools | CSTA / NCES High School Survey |
School technology policy connects to our school phone ban statistics. Source: Code.org State of CS Education.
2. Advanced Placement (AP) Metrics: 215,000 Exam Takers and Principles Growth
The introduction of AP Computer Science Principles has widened introductory participation across non-traditional student cohorts. The College Board tracks over 215,000 annual AP CS exam takers.
Broadening demographic reach: female participation rose to 34.0% in AP CS Principles (versus 20.0% in traditional Java AP CS A), with underrepresented minority students representing 23.5% of exam takers.
| Metric | Value | Source |
|---|---|---|
| Total high school students taking College Board AP Computer Science exams (AP CS A + AP CS Principles) | 215,000+ students annually | College Board AP Program Results |
| Female student participation share of College Board AP Computer Science Principles exams | 34.0% female participation (up from 20% in AP CS A) | College Board AP Demographics |
| Underrepresented racial and ethnic minority student participation share in AP CS exams | 23.5% Black, Hispanic, and Indigenous students | College Board Annual AP Report |
Mathematics educational proficiency connects to our math scores statistics. Source: College Board AP Program Results.
3. Higher Ed Boom: 104,000 Annual Degrees and the 3.2x Surge
Undergraduate demand for computing credentials has placed historic structural strain on university faculty and infrastructure. NCES IPEDS data confirms over 104,000 annual CS Bachelor’s degrees awarded.
Capacity constraints emerge: the CRA Taulbee Survey documents a 3.2x decade surge in CS majors, forcing 68.0% of university departments to enforce strict GPA caps and secondary admissions filters.
| Metric | Value | Source |
|---|---|---|
| Undergraduate Computer Science Bachelor’s degrees awarded annually in the United States | 104,000+ CS Bachelor’s degrees/year | National Center for Education Statistics (NCES IPEDS) |
| Computing Research Association (CRA) Taulbee Survey: CS undergraduate major enrollment growth over decade | 3.2x enrollment surge over 10 years | CRA Taulbee Survey (North American Universities) |
| Universities implementing enrollment caps or secondary admissions filters for Computer Science majors | 68.0% of top-tier university CS departments | CRA Department Survey |
Higher education enrollment trends connect to our college enrollment statistics. Source: CRA Taulbee Survey.
4. The Persistent Gender Gap: 22.3% Women Grads and 26% Workforce Share
Despite massive overall enrollment growth, gender representation in computing remains severely imbalanced. The National Science Foundation records women earning just 22.3% of US CS Bachelor’s degrees.
Workforce underrepresentation persists: women hold 26.0% of professional computing roles (U.S. BLS)—far below the 37.0% peak of 1984—though targeted programs (Girls Who Code) drive 2.8x higher college CS major intent.
| Metric | Value | Source |
|---|---|---|
| Women share of undergraduate Computer Science Bachelor’s degrees awarded in the United States | 22.3% women CS graduates (vs 37% in 1984) | National Science Foundation (NSF NCSES) / NCES |
| Women share of professional software engineering and computing occupations in the US labor force | 26.0% of computing workforce | U.S. Bureau of Labor Statistics (BLS) |
| High schools offering targeted coding initiatives (Girls Who Code, Black Girls CODE) closing gender gaps | 2.8x higher female CS major intent | Girls Who Code Annual Impact Report |
Broad STEM diversity metrics connect to our women in stem statistics. Source: National Science Foundation (NSF NCSES).
5. Educator Supply Deficit: 44 State Shortages and 74% Cross-Subject Teachers
The expansion of K-12 computer science faces severe bottlenecks due to private sector software engineering wage competition. The CSTA reports acute CS teacher shortages across 44 US states.
Cross-disciplinary staffing: 74.0% of K-12 CS instructors were reassigned from math, business, or science departments without formal CS backgrounds, supported by $4.2 million in average state professional development funding.
| Metric | Value | Source |
|---|---|---|
| US states facing certified Computer Science teacher shortages in K-12 public school districts | 44 US states report acute CS teacher shortages | Computer Science Teachers Association (CSTA) / NCES |
| Average funding allocated per state specifically for K-12 Computer Science teacher professional development | $4.2M average state allocation | Code.org State Policy Report |
| High school CS teachers who transitioned from other subjects (Math, Business, Science) without CS degrees | 74.0% of K-12 CS educators | CSTA National Teacher Survey |
Accelerated software training programs connect to our coding bootcamp statistics. Source: Computer Science Teachers Association (CSTA).
6. AI Curricular Integration and the 375,000 Job Opening Reality
Generative AI coding assistants have prompted comprehensive structural realignments in how programming fundamentals are taught. ACM SIGCSE reports 82.0% of college CS departments integrate AI tools.
Labor demand outpaces supply: the U.S. BLS projects 375,000+ annual computing openings (3.6x domestic CS graduations), while 48.0% of K-12 school districts integrate foundational algorithmic AI literacy (AI4K12).
| Metric | Value | Source |
|---|---|---|
| K-12 school districts integrating generative AI and algorithmic literacy into CS and general curricula | 48.0% of US school districts | EdWeek Research Center / AI4K12 |
| College CS departments updating introductory courses (CS1/CS2) to incorporate AI pair-programming | 82.0% of university CS programs | ACM Special Interest Group on CS Education (SIGCSE) |
| Projected computing job openings in the US economy annually (vs ~104k annual domestic CS graduates) | 375,000+ annual computing job openings | U.S. Bureau of Labor Statistics (BLS Projections) |
Summary: Computer Science Education by the Numbers
| Metric | Value | Primary Source |
|---|---|---|
| US high schools teaching foundational CS | 57.5% of schools | Code.org / CSTA / ECEP |
| States with CS graduation mandates | 31 US states | Code.org Policy Tracker |
| High schoolers actually taking CS | Only 5.9% of students | Code.org Enrollment Data |
| Rural vs suburban high school CS availability | 50% rural vs 64% suburb | CSTA / NCES Survey |
| AP Computer Science annual exam takers | 215,000+ students | College Board AP Results |
| Female share in AP CS Principles | 34.0% | College Board Demographics |
| Annual US CS Bachelor’s degrees awarded | 104,000+ degrees | NCES IPEDS Data |
| 10-year CS undergraduate enrollment surge | 3.2x enrollment growth | CRA Taulbee Survey |
| University CS departments with enrollment caps | 68.0% | CRA Department Survey |
| Women share of CS Bachelor’s degrees | 22.3% (down from 37% in 1984) | NSF NCSES / NCES |
| Women share of US computing workforce | 26.0% | U.S. BLS Data |
| States reporting CS teacher shortages | 44 US states | CSTA Teacher Survey |
| CS teachers without formal CS degree | 74.0% | CSTA National Survey |
| CS programs incorporating AI coding tools | 82.0% | ACM SIGCSE Report |
| Annual US computing job openings vs grads | 375k jobs vs 104k grads | U.S. BLS Projections |
Methodology and Sources
The statistics in this report were compiled from annual K-12 access and state policy tracking from Code.org, CSTA, and ECEP, national standardized exam telemetry from the College Board, university enrollment and degree reporting from the NCES IPEDS and Computing Research Association (CRA), and STEM labor projections from the NSF and U.S. BLS.
-
Code.org, CSTA & ECEP: State of Computer Science Education: Policy, Access, and Diversity (57.5% school access, 31 state mandates, 5.9% student uptake).
-
College Board: AP Program Results: AP Computer Science A and Principles Demographics (215k exam takers, 34% female participation).
-
Computing Research Association (CRA): CRA Taulbee Survey of Computer Science Enrollments and Degrees (3.2x undergraduate surge, 68% caps).
-
National Center for Education Statistics (NCES IPEDS): Degrees in Computer and Information Sciences Awarded (104,000+ annual degrees, gender trends).
-
National Science Foundation (NSF NCSES) & BLS: Diversity and STEM: Women, Minorities, and Persons with Disabilities (22.3% women CS grads, 26% workforce share).
-
ACM SIGCSE & EdWeek Research Center: AI Integration in K-12 and Higher Education Computer Science (82% college AI integration, 48% K-12 AI literacy).
-
Data watch: Computer Science Education statistics reflect foundational computing and programming curricula across K-12 public schools, College Board AP assessments, and accredited undergraduate CS degree programs. Basic computer literacy typing classes are excluded.
-
Last updated: August 2026. This roundup is updated quarterly as Code.org State of CS reports, College Board AP results, and CRA Taulbee university surveys are published.