Costa Rica vs Sri Lanka: Number of years of compulsory primary and secondary education
Costa Rica
11
in 2025
Sri Lanka
11
in 2025
Costa Rica rank
47th
Sri Lanka rank
47th
Number of years of compulsory primary and secondary education over time
- Costa Rica
- Sri Lanka
How they compare
Costa Rica currently reports 11 against 11 in Sri Lanka, a difference of 0.
The two have swapped places 2 times across 28 shared years of data; in 1998 it was Sri Lanka ahead.
Costa Rica ranks 47th and Sri Lanka ranks 47th of 214 countries.
Costa Rica has averaged higher in every one of the 4 decades both report.
Head to head by decade
| Decade | Costa Rica | Sri Lanka | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 9 | 9 | 0 | — |
| 2000s | 9 | 9 | 0 | — |
| 2010s | 10.8 | 9.8 | 1 | Costa Rica |
| 2020s | 11 | 11 | 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, Costa Rica or Sri Lanka?
- Costa Rica, at 11 against 11 in Sri Lanka as of 2025.
- What is the difference in number of years of compulsory primary and secondary education between Costa Rica and Sri Lanka?
- 0, with Costa Rica ahead.
- How many years of comparable data are there for Costa Rica and Sri Lanka?
- 28 years are reported by both, from 1998 to 2025.
- How do Costa Rica and Sri Lanka rank globally for number of years of compulsory primary and secondary education?
- Costa Rica ranks 47th and Sri Lanka ranks 47th 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