Age composition in 2026:
| Bosnia and Herzegovina | Spain | |
|---|---|---|
| Young Population | 12.71%395,713 | 12.33%5,899,361 |
| Working Age Population | 63.79%1,986,650 | 65.51%31,346,454 |
| Elderly Population | 23.50%731,884 | 22.16%10,604,977 |
In 2026, the median age is 47.1 years in Bosnia and Herzegovina and 47.3 years in Spain.
The total population of Bosnia and Herzegovina peaks in 1991 at 4,458,350.The total population of Spain peaks in 2023 at 47,911,583.
By 2050, the dependency ratio of Bosnia and Herzegovina will be 84.1%, and 33.99% of the population will be elderly.By 2050, the dependency ratio of Spain will be 90.7%, and 36.06% of the population will be elderly.
| Bosnia and Herzegovina | Spain | ||
|---|---|---|---|
| Demographic dividend (dependency ratio below 50%) | 1982โ1992 1996โ2018 |
1991โ2014 | |
| Aging society (65+ reaches 7%) | 1992 | 1950 or earlier | |
| Aged society (65+ reaches 14%) | 2007 15 years later | 1992 | |
| Super-aged society (65+ reaches 20%) | 2020 | 2022 2 years later |