Gibraltar vs Mexico: Number of years of compulsory primary and secondary education
Gibraltar
12
in 2025
Mexico
12
in 2025
Gibraltar rank
5th
Mexico rank
5th
Number of years of compulsory primary and secondary education over time
- Gibraltar
- Mexico
How they compare
Gibraltar currently reports 12 against 12 in Mexico, a difference of 0.
The two have swapped places 1 time across 28 shared years of data; in 1998 it was Gibraltar ahead.
Gibraltar ranks 5th and Mexico ranks 5th of 214 countries.
Across the 4 decades both report, Gibraltar averaged higher in 2 and Mexico in 2.
Head to head by decade
| Decade | Gibraltar | Mexico | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 10 | 9 | 1 | Gibraltar |
| 2000s | 10 | 9 | 1 | Gibraltar |
| 2010s | 10 | 11.4 | 1.4 | Mexico |
| 2020s | 11.33 | 12 | 0.6667 | Mexico |
Averages of every year both report within each decade.
Frequently asked questions
- Which has higher number of years of compulsory primary and secondary education, Gibraltar or Mexico?
- Gibraltar, at 12 against 12 in Mexico as of 2025.
- What is the difference in number of years of compulsory primary and secondary education between Gibraltar and Mexico?
- 0, with Gibraltar ahead.
- How many years of comparable data are there for Gibraltar and Mexico?
- 28 years are reported by both, from 1998 to 2025.
- How do Gibraltar and Mexico rank globally for number of years of compulsory primary and secondary education?
- Gibraltar ranks 5th and Mexico ranks 5th 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