Skip to content

Population in Slovenia compared to Spain: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Slovenia was 2,130,986 in 2025 vs 49,355,143 people in Spain in 2025. In 2026, based on the adjusted UN estimation, the current Slovenia's population is 2,128,778 people compared to 49,323,658 in Spain.

Population statistics:

  • Spain's population is 23.2 times bigger than Slovenia's.
  • Slovenia is ranked the 147th most populous country in the world, while Spain is the 32nd.
  • The countries together account for 0.62% of the world: 0.03% for Slovenia vs 0.59% for Spain.
  • For the last 10 years, Slovenia has had an average growth rate of +0.3% per year vs +0.55% in Spain.
  • Since 2006, the population of Slovenia has increased from 2.01M people to 2.13M (6.07% growth), while Spain has grown from 44.4M to 49.3M (11.1% growth).

Slovenia vs Spain: population by year and forecast

Slovenia
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Slovenia Spain
2100 1,644,125 34,221,514
2099 1,648,345 34,400,373
2098 1,652,436 34,577,450
2097 1,656,808 34,751,199
2096 1,661,055 34,917,831
2095 1,665,286 35,087,012
2094 1,669,464 35,251,362
2093 1,673,724 35,415,082
2092 1,677,938 35,577,396
2091 1,682,129 35,741,351
2090 1,686,674 35,912,083
2089 1,691,063 36,086,009
2088 1,695,484 36,257,546
2087 1,700,115 36,424,826
2086 1,705,042 36,594,101
2085 1,709,916 36,771,456
2084 1,714,895 36,951,760
2083 1,720,145 37,138,777
2082 1,725,470 37,327,720
2081 1,731,075 37,527,142
2080 1,737,192 37,732,838
2079 1,743,318 37,949,144
2078 1,749,967 38,171,047
2077 1,756,612 38,405,329
2076 1,763,483 38,654,221
2075 1,770,727 38,913,733
2074 1,778,405 39,188,284
2073 1,786,591 39,469,767
2072 1,794,570 39,765,059
2071 1,802,890 40,062,070
2070 1,811,432 40,372,388
2069 1,820,576 40,682,818
2068 1,829,837 41,005,148
2067 1,838,874 41,326,772
2066 1,848,063 41,654,672
2065 1,857,701 41,983,104
2064 1,867,621 42,321,736
2063 1,877,265 42,655,212
2062 1,886,945 42,993,328
2061 1,896,873 43,328,037
2060 1,907,096 43,648,753
2059 1,917,040 43,967,376
2058 1,926,374 44,273,756
2057 1,936,340 44,579,723
2056 1,945,710 44,885,952
2055 1,955,123 45,164,935
2054 1,964,235 45,434,986
2053 1,972,942 45,702,038
2052 1,981,547 45,951,973
2051 1,989,616 46,179,119
2050 1,997,469 46,397,620
2049 2,004,847 46,616,167
2048 2,011,668 46,812,693
2047 2,018,540 47,002,591
2046 2,025,170 47,182,235
2045 2,031,795 47,354,908
2044 2,038,314 47,514,076
2043 2,044,630 47,657,627
2042 2,050,809 47,801,904
2041 2,056,524 47,936,819
2040 2,061,772 48,066,825
2039 2,067,224 48,190,225
2038 2,072,439 48,304,880
2037 2,078,235 48,418,168
2036 2,083,743 48,528,778
2035 2,089,024 48,633,960
2034 2,093,994 48,730,594
2033 2,099,177 48,823,356
2032 2,104,208 48,914,944
2031 2,109,288 49,008,735
2030 2,114,024 49,094,273
2029 2,118,491 49,163,780
2028 2,122,680 49,223,677
2027 2,125,958 49,274,441
2026 2,128,778 49,323,658
2025 2,130,986 49,355,143
2024 2,127,400 48,848,840
2023 2,120,461 48,352,528
2022 2,112,076 47,786,102
2021 2,108,079 47,443,821
2020 2,102,419 47,359,424
2019 2,088,385 47,118,501
2018 2,073,894 46,782,011
2017 2,066,388 46,571,232
2016 2,065,042 46,458,139
2015 2,063,531 46,422,303
2014 2,061,980 46,460,733
2013 2,059,953 46,604,197
2012 2,057,159 46,773,055
2011 2,052,843 46,742,697
2010 2,048,583 46,576,897
2009 2,039,669 46,362,946
2008 2,021,316 45,954,106
2007 2,018,122 45,226,803
2006 2,006,868 44,397,319
2005 2,000,474 43,653,155
2004 1,997,012 42,921,895
2003 1,995,733 42,187,645
2002 1,994,530 41,431,558
2001 1,992,060 40,850,412
2000 1,988,925 40,567,864
1999 1,983,045 40,386,875
1998 1,981,629 40,223,509
1997 1,985,956 40,057,389
1996 1,988,628 39,889,852
1995 1,989,872 39,724,050
1994 1,989,443 39,549,108
1993 1,991,746 39,361,262
1992 1,996,498 39,157,685
1991 1,999,429 38,966,376
1990 1,998,161 38,867,322
1989 1,996,351 38,827,764
1988 1,995,196 38,766,939
1987 1,989,776 38,684,815
1986 1,965,964 38,584,624
1985 1,941,641 38,469,512
1984 1,932,154 38,330,364
1983 1,922,321 38,171,525
1982 1,910,334 37,986,012
1981 1,906,531 37,758,631
1980 1,901,315 37,491,165
1979 1,882,599 37,191,330
1978 1,862,548 36,864,898
1977 1,842,377 36,511,638
1976 1,820,249 36,137,812
1975 1,793,581 35,757,900
1974 1,776,132 35,373,335
1973 1,766,697 34,988,947
1972 1,752,233 34,604,469
1971 1,738,335 34,224,490
1970 1,724,891 33,814,531
1969 1,713,874 33,441,054
1968 1,704,546 33,113,134
1967 1,689,528 32,682,947
1966 1,669,905 32,283,194
1965 1,649,160 31,954,292
1964 1,632,114 31,609,195
1963 1,616,971 31,296,651
1962 1,603,649 31,023,366
1961 1,594,131 30,739,250
1960 1,584,720 30,455,000

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/slovenia/spain | CC BY

From 2006 to 2016, the population of Slovenia increased by 58,174 people (a 2.9% growth), while Spain gained 2,060,820 people (a 4.64% growth).

For the next 10 years, from 2016 to 2026, Slovenia gained 63,736 people (a 3.09% growth), while Spain's population increased by 2,865,519 people (a 6.17% growth).

Slovenia was ranked 141st most populous country in 2006 and is 147th in 2026. Spain was ranked 28th in 2006 and ranked 32nd now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Slovenia's population will shrink by 6.17% to 1,997,469 people and will still be ranked 147th. The population of Spain will decrease by 5.93% to 46,397,620 people and rank change from 32nd to 46th.

Both countries are in a period of decline and in 50 years are projected to lose 17.2% of the population in Slovenia and 21.6% in Spain.

Population growth rate by year

Slovenia
Factual

Projection
Spain
Factual

Projection
1x
Year Growth rate
Slovenia Spain
2100 -0.26% -0.52%
2099 -0.25% -0.51%
2098 -0.26% -0.5%
2097 -0.26% -0.48%
2096 -0.25% -0.48%
2095 -0.25% -0.47%
2094 -0.25% -0.46%
2093 -0.25% -0.46%
2092 -0.25% -0.46%
2091 -0.27% -0.48%
2090 -0.26% -0.48%
2089 -0.26% -0.47%
2088 -0.27% -0.46%
2087 -0.29% -0.46%
2086 -0.29% -0.48%
2085 -0.29% -0.49%
2084 -0.31% -0.5%
2083 -0.31% -0.51%
2082 -0.32% -0.53%
2081 -0.35% -0.55%
2080 -0.35% -0.57%
2079 -0.38% -0.58%
2078 -0.38% -0.61%
2077 -0.39% -0.64%
2076 -0.41% -0.67%
2075 -0.43% -0.7%
2074 -0.46% -0.71%
2073 -0.44% -0.74%
2072 -0.46% -0.74%
2071 -0.47% -0.77%
2070 -0.5% -0.76%
2069 -0.51% -0.79%
2068 -0.49% -0.78%
2067 -0.5% -0.79%
2066 -0.52% -0.78%
2065 -0.53% -0.8%
2064 -0.51% -0.78%
2063 -0.51% -0.79%
2062 -0.52% -0.77%
2061 -0.54% -0.73%
2060 -0.52% -0.72%
2059 -0.48% -0.69%
2058 -0.51% -0.69%
2057 -0.48% -0.68%
2056 -0.48% -0.62%
2055 -0.46% -0.59%
2054 -0.44% -0.58%
2053 -0.43% -0.54%
2052 -0.41% -0.49%
2051 -0.39% -0.47%
2050 -0.37% -0.47%
2049 -0.34% -0.42%
2048 -0.34% -0.4%
2047 -0.33% -0.38%
2046 -0.33% -0.36%
2045 -0.32% -0.33%
2044 -0.31% -0.3%
2043 -0.3% -0.3%
2042 -0.28% -0.28%
2041 -0.25% -0.27%
2040 -0.26% -0.26%
2039 -0.25% -0.24%
2038 -0.28% -0.23%
2037 -0.26% -0.23%
2036 -0.25% -0.22%
2035 -0.24% -0.2%
2034 -0.25% -0.19%
2033 -0.24% -0.19%
2032 -0.24% -0.19%
2031 -0.22% -0.17%
2030 -0.21% -0.14%
2029 -0.2% -0.12%
2028 -0.15% -0.1%
2027 -0.13% -0.1%
2026 -0.1% -0.06%
2025 0.17% 1.04%
2024 0.33% 1.03%
2023 0.4% 1.19%
2022 0.19% 0.72%
2021 0.27% 0.18%
2020 0.67% 0.51%
2019 0.7% 0.72%
2018 0.36% 0.45%
2017 0.07% 0.24%
2016 0.07% 0.08%
2015 0.08% -0.08%
2014 0.1% -0.31%
2013 0.14% -0.36%
2012 0.21% 0.06%
2011 0.21% 0.36%
2010 0.44% 0.46%
2009 0.91% 0.89%
2008 0.16% 1.61%
2007 0.56% 1.87%
2006 0.32% 1.7%
2005 0.17% 1.7%
2004 0.06% 1.74%
2003 0.06% 1.82%
2002 0.12% 1.42%
2001 0.16% 0.7%
2000 0.3% 0.45%
1999 0.07% 0.41%
1998 -0.22% 0.41%
1997 -0.13% 0.42%
1996 -0.06% 0.42%
1995 0.02% 0.44%
1994 -0.12% 0.48%
1993 -0.24% 0.52%
1992 -0.15% 0.49%
1991 0.06% 0.25%
1990 0.09% 0.1%
1989 0.06% 0.16%
1988 0.27% 0.21%
1987 1.21% 0.26%
1986 1.25% 0.3%
1985 0.49% 0.36%
1984 0.51% 0.42%
1983 0.63% 0.49%
1982 0.2% 0.6%
1981 0.27% 0.71%
1980 0.99% 0.81%
1979 1.08% 0.89%
1978 1.09% 0.97%
1977 1.22% 1.03%
1976 1.49% 1.06%
1975 0.98% 1.09%
1974 0.53% 1.1%
1973 0.83% 1.11%
1972 0.8% 1.11%
1971 0.78% 1.21%
1970 0.64% 1.12%
1969 0.55% 0.99%
1968 0.89% 1.32%
1967 1.18% 1.24%
1966 1.26% 1.03%
1965 1.04% 1.09%
1964 0.94% 1%
1963 0.83% 0.88%
1962 0.6% 0.92%
1961 0.59% 0.93%

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

GeoRank.org/population/slovenia/spain | CC BY

In 2025, the population of Slovenia grew by 0.17%, while Spain's population grew by 1.04%.

Live population counters

Slovenia Spain
Current population
2128778
49323658
Population rank 147/197 32/197
Percent of world population 0.03% 0.59%
One net population change
2.45 hours
1.04 minutes
One birth every
31.3 minutes
1.66 minutes
One death every
24.5 minutes
1.21 minutes
Daily growth/decline +10 +1,387
Annual growth/decline +3,586 +506,303
Annual growth/decline rate +0.17% +1.04%
Population growth rate rank 153/197 98/197
One migration net change every
3.24 hours
5.45 minutes
Annual migration change +2,711 +96,630
Net migration rank 55/196 17/196
Foreign-born residents 315,122 8,870,527
Foreign-born residents rank 97/195 6/195
Foreign-born share of population 14.9% 18.5%
Foreign-born share rank 44/195 32/195

Natural population change vs migration

Slovenia
Natural

Migration
Spain
Natural

Migration
1x
Year Population change
Slovenia Spain
Natural Migration Natural Migration
2025 - 2,711 - 96,630
2024 -4,680 3,319 -117,237 111,674
2023 -4,665 5,339 -116,046 119,099
2022 -4,858 9,014 -133,801 299,779
2021 -4,216 2,477 -113,865 144,385
2020 -5,256 28,514 -151,551 236,854
2019 -1,254 16,352 -56,542 464,783
2018 -1,037 14,640 -56,139 337,467
2017 -207 1,359 -32,600 201,135
2016 826 1,195 0 106,474
2015 826 712 -4,642 -1,979
2014 2,268 -70 32,522 -97,870
2013 1,648 639 37,284 -250,741
2012 2,674 1,117 51,450 -153,486
2011 3,285 2,190 84,137 60,761
2010 3,687 -410 102,469 69,406
2009 3,060 11,594 106,635 129,557
2008 3,437 2,971 133,267 434,135
2007 1,211 14,191 108,545 772,317
2006 602 6,081 110,994 659,720
2005 -600 6,317 78,576 629,803
2004 -599 1,759 85,844 661,158
2003 -1,996 3,218 54,844 658,428
2002 -1,197 1,975 53,861 737,880
2001 -996 4,527 44,936 181,307
2000 -398 3,124 36,512 176,269
1999 -1,388 10,291 8,077 178,559
1998 -1,189 -5,280 4,022 182,926
1997 -794 -1,298 20,028 165,345
1996 0 -2,456 11,967 162,704
1995 0 356 15,889 162,434
1994 199 -153 31,639 160,407
1993 -199 -4,641 47,234 160,907
1992 598 -5,547 62,652 177,544
1991 2,199 -3,325 58,450 122,841
1990 3,797 618 66,075 -30,684
1989 4,592 -2,718 81,538 -25,892
1988 5,986 -3,023 100,794 -17,663
1987 5,771 2,972 116,054 -12,681
1986 6,094 32,700 131,188 -13,540
1985 6,213 3,404 146,184 -589
1984 5,990 3,280 172,487 2,754
1983 6,343 3,613 183,223 1,241
1982 9,170 -8,695 231,714 -7,384
1981 10,485 -5,016 237,879 2,563
1980 11,027 3,128 281,184 20,166
1979 12,614 2,107 312,407 -5,929
1978 11,920 2,113 339,157 -2,504
1977 12,160 2,584 361,465 -1,332
1976 12,196 2,226 375,834 2,804
1975 11,658 2,421 371,882 -218
1974 11,367 3,145 396,182 105,838
1973 11,837 2,175 374,381 8,624
1972 10,513 2,924 391,030 7,935
1971 10,951 2,286 369,625 7,363
1970 10,004 260 378,723 -60,580
1969 9,427 685 367,851 -49,956
1968 11,250 438 387,423 -46,088
1967 13,516 -192 402,001 -42,344
1966 15,697 -1,262 397,084 -41,467
1965 14,513 -1,421 405,819 -42,476
1964 12,567 -349 429,885 -41,461
1963 14,068 -180 394,338 -44,446
1962 13,150 148 384,690 -45,211
1961 14,985 -306 396,537 -46,517
1960 12,678 -929 398,960 -154,869

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/slovenia/spain | CC BY

Over the last 10 years, 22.8% of the population change in Slovenia is from natural causes (a loss of 24,521 people) and 77.2% is from migration (a gain of 82,921 people). In Spain 27.9% is from natural causes (a loss of 782,423 people) and 72.1% is from migration (a gain of 2,019,671 people).

As of 2024, 315,122 residents or 14.9% of the population were not native-born in Slovenia, compared to 8,870,527 people or 18.5% in Spain.

Biggest cities by population

Slovenia
City Population
Ljubljana 284K
Maribor 114K
Kranj 37.6K
Celje 37.1K
Velenje 25.6K
Novo Mesto 24.2K
Nova Gorica 13K
Izola 11.7K
Murska Sobota 11.2K
Piran 3.79K
Spain
City Population
Madrid 3.51M
Barcelona 1.73M
Tenerife 955K
Valencia 841K
Zaragoza 693K
Seville 689K
Malaga 599K
Palma de Mallorca 435K
Las Palmas 382K
Alicante 366K

Compare countries by 7 more topics

Population map with other countries

1x

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

GeoRank.org/population/slovenia/spain | CC BY

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Health (1960–2025, retrieved 2026-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Wikidata (2026, retrieved 2026-07-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.