Costa Rica vs Peru: Number of years of compulsory primary and secondary education
Costa Rica
11
in 2025
Peru
11
in 2025
Costa Rica rank
47th
Peru rank
47th
Number of years of compulsory primary and secondary education over time
- Costa Rica
- Peru
How they compare
Costa Rica currently reports 11 against 11 in Peru, a difference of 0.
Across all 28 years both countries report, Peru has been ahead every year.
Costa Rica ranks 47th and Peru ranks 47th of 214 countries.
Peru has averaged higher in every one of the 4 decades both report.
Head to head by decade
| Decade | Costa Rica | Peru | Difference | Ahead |
|---|---|---|---|---|
| 1990s | 9 | 11 | 2 | Peru |
| 2000s | 9 | 11 | 2 | Peru |
| 2010s | 10.8 | 11 | 0.2 | Peru |
| 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 Peru?
- Costa Rica, at 11 against 11 in Peru as of 2025.
- What is the difference in number of years of compulsory primary and secondary education between Costa Rica and Peru?
- 0, with Costa Rica ahead.
- How many years of comparable data are there for Costa Rica and Peru?
- 28 years are reported by both, from 1998 to 2025.
- How do Costa Rica and Peru rank globally for number of years of compulsory primary and secondary education?
- Costa Rica ranks 47th and Peru 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