Skip to content

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

Updated on by Georank team

The latest officially reported population of Slovenia was 2,127,400 in 2024 vs 48,848,840 people in Spain in 2024. In 2026, based on the adjusted UN estimation, the current Slovenia's population is 2,124,138 people compared to 48,806,901 in Spain.

Population statistics:

  • Spain's population is 23 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.61% 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.29% per year vs +0.43% in Spain.
  • Since 2006, the population of Slovenia has increased from 2.01M people to 2.12M (5.84% growth), while Spain has grown from 44.4M to 48.8M (9.93% growth).

Slovenia vs Spain: population by year and forecast

Slovenia
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Slovenia Spain
2100 1,640,541 33,862,981
2099 1,644,752 34,039,965
2098 1,648,834 34,215,187
2097 1,653,196 34,387,116
2096 1,657,434 34,552,002
2095 1,661,656 34,719,411
2094 1,665,825 34,882,039
2093 1,670,076 35,044,043
2092 1,674,280 35,204,657
2091 1,678,462 35,366,895
2090 1,682,998 35,535,838
2089 1,687,376 35,707,942
2088 1,691,788 35,877,681
2087 1,696,409 36,043,209
2086 1,701,325 36,210,710
2085 1,706,189 36,386,207
2084 1,711,157 36,564,622
2083 1,716,396 36,749,680
2082 1,721,709 36,936,644
2081 1,727,302 37,133,976
2080 1,733,405 37,337,517
2079 1,739,518 37,551,557
2078 1,746,152 37,771,135
2077 1,752,783 38,002,963
2076 1,759,639 38,249,247
2075 1,766,867 38,506,040
2074 1,774,528 38,777,715
2073 1,782,697 39,056,249
2072 1,790,658 39,348,447
2071 1,798,960 39,642,346
2070 1,807,483 39,949,413
2069 1,816,607 40,256,590
2068 1,825,849 40,575,543
2067 1,834,865 40,893,798
2066 1,844,034 41,218,263
2065 1,853,651 41,543,254
2064 1,863,550 41,878,338
2063 1,873,173 42,208,320
2062 1,882,832 42,542,893
2061 1,892,739 42,874,096
2060 1,902,939 43,191,452
2059 1,912,861 43,506,737
2058 1,922,175 43,809,907
2057 1,932,119 44,112,668
2056 1,941,469 44,415,689
2055 1,950,861 44,691,749
2054 1,959,953 44,958,971
2053 1,968,641 45,223,225
2052 1,977,227 45,470,541
2051 1,985,279 45,695,307
2050 1,993,115 45,911,520
2049 2,000,477 46,127,777
2048 2,007,283 46,322,244
2047 2,014,140 46,510,152
2046 2,020,756 46,687,914
2045 2,027,366 46,858,778
2044 2,033,871 47,016,278
2043 2,040,173 47,158,325
2042 2,046,339 47,301,091
2041 2,052,041 47,434,593
2040 2,057,278 47,563,236
2039 2,062,718 47,685,343
2038 2,067,922 47,798,797
2037 2,073,705 47,910,899
2036 2,079,201 48,020,350
2035 2,084,471 48,124,430
2034 2,089,430 48,220,051
2033 2,094,601 48,311,842
2032 2,099,622 48,402,470
2031 2,104,690 48,495,278
2030 2,109,416 48,579,920
2029 2,113,874 48,648,699
2028 2,118,053 48,707,969
2027 2,121,324 48,758,200
2026 2,124,138 48,806,901
2025 2,126,340 48,838,057
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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 59,096 people (a 2.86% growth), while Spain's population increased by 2,348,762 people (a 5.06% 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,993,115 people and will still be ranked 147th. The population of Spain will decrease by 5.93% to 45,911,520 people and rank change from 32nd to 47th.

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.05% -0.02%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

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

In 2024, the population of Slovenia grew by 0.33%, while Spain's population grew by 1.03%.

Live population counters

Slovenia Spain
Current population
2124138
48806901
Population rank 147/197 32/197
Percent of world population 0.03% 0.59%
One net population change
1.26 hours
1.06 minutes
One birth every
31 minutes
1.62 minutes
One death every
24.3 minutes
1.21 minutes
Daily growth/decline +19 +1,360
Annual growth/decline +6,939 +496,312
Annual growth/decline rate +0.33% +1.03%
Population growth rate rank 148/197 100/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 - 3,319 - 111,674
2023 -4,665 5,339 -111,211 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-04-06).

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

Over the last 10 years, 18.1% of the population change in Slovenia is from natural causes (a loss of 17,573 people) and 81.9% is from migration (a gain of 79,532 people). In Spain 25.8% is from natural causes (a loss of 627,829 people) and 74.2% is from migration (a gain of 1,810,127 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–2024, retrieved 2026-04-06); United Nations | World Population Prospects (1960–2026, retrieved 2026-03-10); U.S. Census Bureau (1960–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

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-04-06)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Wikidata (2026, retrieved 2026-02-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)

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.