Slovenia vs Bosnia and Herzegovina: population pyramids in 2026
SloveniaBosnia and Herzegovina
Each bar is the share of the total population at that single year of age (men left, women right), so countries of different sizes can be compared.
Slovenia and Bosnia and Herzegovina compared
In 2026, Slovenia has a population of 2.12 million and Bosnia and Herzegovina 3.13 million; Bosnia and Herzegovina is about 1.5 times the size of Slovenia.
The share aged 65 and over is 22.4% in Slovenia and 23.2% in Bosnia and Herzegovina, 0.7 points higher in Bosnia and Herzegovina. The median age is 45.0 years in Slovenia and 46.1 years in Bosnia and Herzegovina.
The total fertility rate is 1.58 in Slovenia and 1.50 in Bosnia and Herzegovina, both below the replacement level of about 2.1. Life expectancy at birth is 82.1 years in Slovenia and 78.4 years in Bosnia and Herzegovina.
By 2050, the population of Slovenia is projected to shrink by 6.2% and that of Bosnia and Herzegovina to shrink by 21.0% compared with 2026.
GDP per person is $37K in Slovenia (2025) and $10K in Bosnia and Herzegovina (2025).
Figures from 2024 are UN medium-variant projections.
Key figures (2026)
| Slovenia | Bosnia and Herzegovina | |
|---|---|---|
| Population | 2.12 million | 3.13 million |
| Aged 0–14 | 14.4% | 12.8% |
| Aged 15–64 | 63.2% | 64.1% |
| Aged 65+ | 22.4% | 23.2% |
| Median age | 45.0 yrs | 46.1 yrs |
| Old-age dependency | 35.5 | 36.2 |
| Total fertility rate | 1.58 | 1.50 |
| Life expectancy | 82.1 yrs | 78.4 yrs |
| Population growth | -0.13% | -0.84% |
| Net migration (per year) | +2,609 | -7,581 |
| GDP | $80B (2025) | $33B (2025) |
| GDP per person | $37K (2025) | $10K (2025) |
| Unemployment | 3.2% (2025) | 11% (2025) |
Economic figures are the latest year published for each country.
Prices by category (2021, World = 100)
| Slovenia | Bosnia and Herzegovina | Slovenia as % of Bosnia and Herzegovina | |
|---|---|---|---|
| Food and non-alcoholic drinks | 117 | 92 | 127% |
| Bread and cereals | 133 | 96 | 139% |
| Meat | 120 | 80 | 149% |
| Milk, cheese and eggs | 106 | 82 | 129% |
| Fruit | 115 | 87 | 132% |
| Vegetables | 133 | 136 | 98% |
| Alcoholic drinks | 87 | 77 | 112% |
| Tobacco | 115 | 85 | 136% |
| Clothing and footwear | 126 | 126 | 100% |
| Housing, water, electricity and gas | 108 | 39 | 278% |
| Health | 96 | 50 | 192% |
| Transport services | 203 | 162 | 125% |
| Communication | 130 | 116 | 113% |
| Recreation and culture | 105 | 71 | 148% |
| Education | 110 | 34 | 319% |
| Restaurants and hotels | 116 | 78 | 149% |
Price level indices from the World Bank's International Comparison Program (ICP 2021, CC BY 4.0): the same goods and services at market exchange rates of 2021. Rankings by category