Hungary vs Middle East, North Africa, Afghanistan & Pakistan: Compulsory education, duration

Hungary
13 years
in 2025
Middle East, North Africa, Afghanistan & Pakistan
9.5 years
in 2025
Hungary rank
17th
Middle East, North Africa, Afghanistan & Pakistan rank
20th

Compulsory education, duration over time

  • Hungary
  • Middle East, North Africa, Afghanistan & Pakistan
051015199820112025

How they compare

Hungary currently reports 13 years against 9.5 years in Middle East, North Africa, Afghanistan & Pakistan, a difference of 3.5 years.

That makes Hungary's figure about 1.4 times Middle East, North Africa, Afghanistan & Pakistan's.

Across all 27 years both countries report, Hungary has been ahead every year.

Hungary ranks 17th and Middle East, North Africa, Afghanistan & Pakistan ranks 20th of 197 countries.

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

Head to head by decade

Decade Hungary Middle East, North Africa, Afghanistan & Pakistan Difference Ahead
1990s 13 years 9 years 4 years Hungary
2000s 13 years 9 years 4 years Hungary
2010s 12.6 years 9 years 3.6 years Hungary
2020s 13 years 9.42 years 3.58 years Hungary

Averages of every year both report within each decade.

Frequently asked questions

Which has higher compulsory education, duration, Hungary or Middle East, North Africa, Afghanistan & Pakistan?
Hungary, at 13 years against 9.5 years in Middle East, North Africa, Afghanistan & Pakistan as of 2025.
What is the difference in compulsory education, duration between Hungary and Middle East, North Africa, Afghanistan & Pakistan?
3.5 years, with Hungary ahead.
How many years of comparable data are there for Hungary and Middle East, North Africa, Afghanistan & Pakistan?
27 years are reported by both, from 1999 to 2025.
How do Hungary and Middle East, North Africa, Afghanistan & Pakistan rank globally for compulsory education, duration?
Hungary ranks 17th and Middle East, North Africa, Afghanistan & Pakistan ranks 20th 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

Share, cite or embed this page

Cite this page

Hungary vs Middle East, North Africa, Afghanistan & Pakistan: Compulsory education, duration. Statizoid, drawing on Data API, UN Educational, Scientific and Cultural Organization (UNESCO). Retrieved 11 September 2026, from https://education.statizoid.com/compare/compulsory-education-duration-years/hungary/middle-east-north-africa-afghanistan-and-pakistan/

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/compulsory-education-duration-years/hungary/middle-east-north-africa-afghanistan-and-pakistan/">Hungary vs Middle East, North Africa, Afghanistan & Pakistan: Compulsory education, duration</a> — Statizoid

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.