Afghanistan vs Iran: Compulsory education, duration

Afghanistan
9 years
in 2025
Iran
9 years
in 2025
Afghanistan rank
115th
Iran rank
115th

Compulsory education, duration over time

  • Afghanistan
  • Iran
0246810199820112025

How they compare

Afghanistan currently reports 9 years against 9 years in Iran, a difference of 0 years.

The two have swapped places 3 times across 28 shared years of data; in 1998 it was Afghanistan ahead.

Globally, Afghanistan ranks 115th and Iran ranks 115th of 197 countries.

Individual pages

About this data

Indicator
Compulsory education, duration (years)
Unit
years
Source
Data API, UN Educational, Scientific and Cultural Organization (UNESCO)
Licence
CC BY 4.0 (World Bank Open Data)
Coverage
243 places, 6,506 data points, 1975–2025
Last refreshed

Duration of compulsory education is the number of years that children are legally obliged to attend school.