Afghanistan vs Indonesia: Number of years of compulsory primary and secondary education
Afghanistan
9
in 2025
Indonesia
9
in 2025
Afghanistan rank
106th
Indonesia rank
106th
Number of years of compulsory primary and secondary education over time
- Afghanistan
- Indonesia
How they compare
Afghanistan currently reports 9 against 9 in Indonesia, a difference of 0.
The two have swapped places 1 time across 28 shared years of data; in 1998 it was Afghanistan ahead.
Afghanistan ranks 106th and Indonesia ranks 106th of 214 countries.
Across the 4 decades both report, Afghanistan averaged higher in 1 and Indonesia in 1.
Head to head by decade
| Decade | Afghanistan | Indonesia | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 6 | 0 | 6 | Afghanistan |
| 2000s | 6.6 | 7.2 | 0.6 | Indonesia |
| 2010s | 9 | 9 | 0 | — |
| 2020s | 9 | 9 | 0 | — |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher number of years of compulsory primary and secondary education, Afghanistan or Indonesia?
- Afghanistan, at 9 against 9 in Indonesia as of 2025.
- What is the difference in number of years of compulsory primary and secondary education between Afghanistan and Indonesia?
- 0, with Afghanistan ahead.
- How many years of comparable data are there for Afghanistan and Indonesia?
- 28 years are reported by both, from 1998 to 2025.
- How do Afghanistan and Indonesia rank globally for number of years of compulsory primary and secondary education?
- Afghanistan ranks 106th and Indonesia ranks 106th of 214 countries.
- Where does this data come from?
- UNESCO Institute for Statistics, published as Number of years of compulsory primary and secondary education guaranteed in legal frameworks. Statizoid refreshes it automatically from the source and publishes the full history for both places.
Individual pages
About this data
February 2026 Data Release