Population of compulsory school age, both sexes in Spain

Spain: Population of compulsory school age, both sexes was 4.83 million in 2024. ▲ Rising

Latest (2024)
4.83 million
Change on year
down 0.4%
World rank
48th
of 197 countries
All-time high
4.88 million
in 2020
All-time low
4.10 million
in 2002
Years of data
24
2001–2024

Population of compulsory school age, both sexes in Spain, 2001–2024

01.0M2.0M3.0M4.0M5.0M2001201220242001: 4.2M2002: 4.1M2003: 4.1M2004: 4.1M2005: 4.1M2006: 4.1M2007: 4.2M2008: 4.3M2009: 4.3M2010: 4.4M2011: 4.5M2012: 4.5M2013: 4.6M2014: 4.6M2015: 4.7M2016: 4.8M2017: 4.8M2018: 4.8M2019: 4.9M2020: 4.9M2021: 4.9M2022: 4.8M2023: 4.9M2024: 4.8M

Source: UNESCO Institute for Statistics.

Analysis

In 2024, population of compulsory school age, both sexes in Spain stood at 4.83 million.

Compared with earlier readings it is down 0.4% on the previous year and up 4.0% over ten years.

Over the whole period, population of compulsory school age, both sexes in Spain peaked at 4.88 million in 2020 and was at its lowest, 4.10 million, in 2002.

Spain ranks 48th of 197 countries on this measure, in the top quarter.

The long-run direction has been consistently rising across the 24 years of available data.

Population of compulsory school age, both sexes in Spain, year by year

Annual values for Population of compulsory school age, both sexes (number) in Spain, 2001 to 2024.
Year Value Change
2001 4.16 million
2002 4.10 million -1.6%
2003 4.10 million +0.0%
2004 4.11 million +0.3%
2005 4.11 million +0.1%
2006 4.14 million +0.7%
2007 4.20 million +1.4%
2008 4.28 million +1.9%
2009 4.33 million +1.2%
2010 4.38 million +1.2%
2011 4.45 million +1.6%
2012 4.53 million +1.7%
2013 4.59 million +1.4%
2014 4.65 million +1.2%
2015 4.73 million +1.8%
2016 4.78 million +1.0%
2017 4.81 million +0.7%
2018 4.85 million +0.7%
2019 4.88 million +0.6%
2020 4.88 million +0.1%
2021 4.86 million -0.5%
2022 4.83 million -0.5%
2023 4.85 million +0.4%
2024 4.83 million -0.4%

Averages by decade

DecadeAverage LowestHighest Years
2000s 4.17 million 4.10 million 4.33 million 9
2010s 4.66 million 4.38 million 4.88 million 10
2020s 4.85 million 4.83 million 4.88 million 5

Countries ranked near Spain

  1. 45 Nepal 5.03 million compare
  2. 46 Senegal 4.97 million compare
  3. 47 Saudi Arabia 4.91 million compare
  4. 49 Cameroon 4.74 million compare
  5. 50 Ecuador 4.63 million compare
  6. 51 Ukraine 4.58 million compare

See the full ranking of 418 places →

More education data for Spain

All data for Spain →

Frequently asked questions

What is population of compulsory school age, both sexes in Spain?
Population of compulsory school age, both sexes in Spain was 4.83 million in 2024, according to UNESCO Institute for Statistics.
What is the highest population of compulsory school age, both sexes recorded in Spain?
The highest recorded value was 4.88 million in 2020.
What is the lowest population of compulsory school age, both sexes recorded in Spain?
The lowest recorded value was 4.10 million in 2002.
How does Spain rank for population of compulsory school age, both sexes?
Spain ranks 48th out of 197 countries with data for 2024.
Is population of compulsory school age, both sexes rising or falling in Spain?
Over the last ten years it is up 4.0%. The long-run trend across the full record is rising.
Where does this Spain data come from?
The figures come from UNESCO Institute for Statistics, published as part of Population of compulsory school age, both sexes (number). Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 24 observations, free to reuse under CC BY-SA 3.0 IGO (UNESCO Institute for Statistics).

Share, cite or embed this page

Cite this page

Population of compulsory school age, both sexes in Spain. Statizoid, drawing on UNESCO Institute for Statistics. Retrieved 27 August 2026, from https://education.statizoid.com/stat/population-of-compulsory-school-age-both-sexes-number-2/spain/

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-SA 3.0 IGO (UNESCO Institute for Statistics); please keep the attribution.

<a href="https://education.statizoid.com/stat/population-of-compulsory-school-age-both-sexes-number-2/spain/">Population of compulsory school age, both sexes in Spain</a> — Statizoid

About this data

Indicator
Population of compulsory school age, both sexes (number)
Source
UNESCO Institute for Statistics
Licence
CC BY-SA 3.0 IGO (UNESCO Institute for Statistics)
Coverage
418 places, 11,049 data points, 1974–2025
Last refreshed

February 2026 Data Release