Afghanistan, Islamic Republic of vs Spain: Secondary education, pupils

Afghanistan, Islamic Republic of
3.43 million
in 2023
Spain
3.71 million
in 2024
Afghanistan, Islamic Republic of rank
34th
Spain rank
31st

Secondary education, pupils over time

  • Afghanistan, Islamic Republic of
  • Spain
01.0M2.0M3.0M4.0M5.0M197019972024

How they compare

Spain currently reports 3.71 million against 3.43 million in Afghanistan, Islamic Republic of, a difference of 281,010.

That makes Spain's figure about 1.1 times Afghanistan, Islamic Republic of's.

Across all 39 years both countries report, Spain has been ahead every year.

Afghanistan, Islamic Republic of ranks 34th and Spain ranks 31st of 206 countries.

Spain has averaged higher in every one of the 6 decades both report.

Head to head by decade

Decade Afghanistan, Islamic Republic of Spain Difference Ahead
1970s 184,742 2.84 million 2.65 million Spain
1980s 225,637 4.31 million 4.09 million Spain
1990s 361,410 4.78 million 4.42 million Spain
2000s 899,861 3.09 million 2.19 million Spain
2010s 2.57 million 3.30 million 723,316 Spain
2020s 3.43 million 3.66 million 234,040 Spain

Averages of every year both report within each decade.

Frequently asked questions

Which has higher secondary education, pupils, Afghanistan, Islamic Republic of or Spain?
Spain, at 3.71 million against 3.43 million in Afghanistan, Islamic Republic of as of 2024.
What is the difference in secondary education, pupils between Afghanistan, Islamic Republic of and Spain?
281,010, with Spain ahead.
How many years of comparable data are there for Afghanistan, Islamic Republic of and Spain?
39 years are reported by both, from 1971 to 2023.
How do Afghanistan, Islamic Republic of and Spain rank globally for secondary education, pupils?
Afghanistan, Islamic Republic of ranks 34th and Spain ranks 31st of 206 countries.
Where does this data come from?
Data API, UN Educational, Scientific and Cultural Organization (UNESCO), published as Secondary education, pupils. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

Share, cite or embed this page

Cite this page

Afghanistan, Islamic Republic of vs Spain: Secondary education, pupils. Statizoid, drawing on Data API, UN Educational, Scientific and Cultural Organization (UNESCO). Retrieved 18 August 2026, from https://education.statizoid.com/compare/secondary-education-pupils/afghanistan/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (World Bank Open Data); please keep the attribution.

<a href="https://education.statizoid.com/compare/secondary-education-pupils/afghanistan/spain/">Afghanistan, Islamic Republic of vs Spain: Secondary education, pupils</a> — Statizoid

About this data

Indicator
Secondary education, pupils
Source
Data API, UN Educational, Scientific and Cultural Organization (UNESCO)
Licence
CC BY 4.0 (World Bank Open Data)
Coverage
251 places, 10,025 data points, 1970–2025
Last refreshed

Secondary education pupils is the total number of pupils enrolled at secondary level in public and private schools.