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.

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

Afghanistan has averaged higher in every one of the 4 decades both report.

Head to head by decade

Decade Afghanistan Iran Difference Ahead
1990s 6 years 5 years 1 years Afghanistan
2000s 6.6 years 6.5 years 0.1 years Afghanistan
2010s 9 years 8.7 years 0.3 years Afghanistan
2020s 9 years 9 years 0 years

Averages of every year both report within each decade.

Frequently asked questions

Which has higher compulsory education, duration, Afghanistan or Iran?
Afghanistan, at 9 years against 9 years in Iran as of 2025.
What is the difference in compulsory education, duration between Afghanistan and Iran?
0 years, with Afghanistan ahead.
How many years of comparable data are there for Afghanistan and Iran?
28 years are reported by both, from 1998 to 2025.
How do Afghanistan and Iran rank globally for compulsory education, duration?
Afghanistan ranks 115th and Iran ranks 115th of 197 countries.
Where does this data come from?
Data API, UN Educational, Scientific and Cultural Organization (UNESCO), published as Compulsory education, duration (years). Statizoid refreshes it automatically from the source and publishes the full history for both places.

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.