Countries and regions of the world › Europe › Southern Europe

Flag: {nome}

Slovenia

The capital is Ljubljana, with 246,671 inhabitants in the city. It has 2.1 million inhabitants (146th in the world) on 20,480 km² (150th in the world), with a density of 105 people per km². Life expectancy at birth is 82.1 years, women have 1.58 children on average and half the population is older than 46. GDP per capita is $37,376 (32nd in the world, 2025 figure).

See on the map Population pyramid In the bubble chart

Key data, 2026

Indicator Value Rank World Trend
Territory
Total area (km²) 20,480 (2024) 150th / 195 137 million
Land area (km²) 20,135 (2024) 150th / 194 130 million
Density (people per km²) 105.0 86th / 194 63.8
Population
Population 2,114,574 146th / 194 8.30 billion
Population growth (% a year) -0.12 158th / 194 +0.84
Median age (years) 46.0 13th / 194 32.1
Under 15 (%) 14.2 173rd / 194 24.1
65 and over (%) 22.7 13th / 194 10.6
Urban population (%) 56.0 (2025) 120th / 194 57.7
Births and health
Children per woman 1.58 132nd / 194 2.23
Life expectancy (years) 82.1 32nd / 194 73.8
Life expectancy, men (years) 79.5 38th / 194 71.2
Life expectancy, women (years) 84.7 23rd / 194 76.4
Infant mortality (‰ births) 1.3 192nd / 194 26.1
Migration
Net migration (‰ people) +1.2 52nd / 194 0.0
Economy and environment
GDP (dollars) $79.6B (2025) 85th / 193 $117.32T
GDP per capita (dollars) $37,376 (2025) 32nd / 193 $14,306
GDP growth (%) +1.1 (2025) 158th / 193 +4.3
GNI per capita PPP (international dollars) $58,880 (2025) 33rd / 190 $25,266
Unemployment (%) 3.2 (2025) 136th / 179 5.1
Greenhouse gases per capita (t CO₂e) 8.1 (2024) 42nd / 186 6.3

Sources: United Nations, World Population Prospects 2024 (after 2023 projections, dashed), and World Bank (the latest published figure, with the year in brackets if older). Rank among the 195 states. For regions the World Bank values are computed from the member countries.