Age composition in 2026:
| Spain | Slovenia | |
|---|---|---|
| Young Population | 12.33%5,899,361 | 14.24%301,024 |
| Working Age Population | 65.51%31,346,454 | 63.09%1,334,103 |
| Elderly Population | 22.16%10,604,977 | 22.67%479,443 |
In 2026, the median age is 47.3 years in Spain and 46.0 years in Slovenia.Spain already reached Sloveniaโs current median age in 2024, about 2 years ahead in population aging.
The total population of Spain peaks in 2023 at 47,911,583.The total population of Slovenia peaks in 2024 at 2,118,692.
By 2050, the dependency ratio of Spain will be 90.7%, and 36.06% of the population will be elderly.By 2050, the dependency ratio of Slovenia will be 82.9%, and 31.77% of the population will be elderly.
| Spain | Slovenia | ||
|---|---|---|---|
| Demographic dividend (dependency ratio below 50%) | 1991โ2014 | 1983โ2015 | |
| Aging society (65+ reaches 7%) | 1950 or earlier | 1950 or earlier | |
| Aged society (65+ reaches 14%) | 1992 | 2001 9 years later | |
| Super-aged society (65+ reaches 20%) | 2022 2 years later | 2020 |