Skip to content

Slovenia vs Spain statistics compared

Updated on by Georank team

Slovenia has a population of 2.13M (ranked 147/197), compared with 48.8M in Spain (ranked 32/197). Slovenia's land area is 7,774 sq mi versus 192,934 sq mi for Spain (ranked 151st vs. 51st).

By GDP, Slovenia ranks 86/197 ($73B) and Spain ranks 15/197 ($1.73T). By GDP per capita, Slovenia ranks 34/197 ($34,301), while Spain ranks 32/197 ($35,327).

Main facts and rankings

Slovenia Spain
Population
2124138
48806901
Population rank 147/197 32/197
GDP
$73B
2024
$1.73T
2024
GDP rank 86/197 15/197
GDP per capita
$34,301
2024
$35,327
2024
GDP per capita rank 34/197 32/197
GDP per capita, PPP
$57,186
2024
$57,965
2024
Government debt
$48.6B
2024
$1.75T
2024
Debt-to-GDP ratio
66.6%
2024
101.6%
2024
Government debt per person
$22,842
2024
$35,909
2024
Government debt per person rank 29/185 20/185
Average annual personal income after taxes
$22,215
2026
$25,470
2026
Land area 7,774 sq mi 192,934 sq mi
Population density
273.2 ppl/mi²
2026
253 ppl/mi²
2026
Fertility rate
1.51
2023
1.12
2023
Median age
45.3 years
2024
46.4 years
2024
Life expectancy
82.1 years
2026
84.1 years
2026

Slovenia and Spain: Comparison Charts

Slovenia and Spain economies compared

GDP
Slovenia

Spain
1x
Year GDP
Slovenia Spain
2024 $72,972,015,197 $1,725,671,652,742
2023 $69,255,264,238 $1,619,481,980,720
2022 $59,899,117,741 $1,448,850,658,407
2021 $61,540,813,362 $1,461,244,901,853
2020 $53,384,760,135 $1,289,783,836,971
2019 $53,909,922,736 $1,403,496,387,686
2018 $53,689,067,640 $1,431,642,809,327
2017 $48,153,200,135 $1,321,754,088,819
2016 $44,290,685,824 $1,243,015,667,917
2015 $42,709,468,275 $1,206,164,777,553
2014 $49,514,466,380 $1,380,244,561,362
2013 $47,867,056,859 $1,362,186,923,158
2012 $46,167,053,954 $1,330,994,811,670
2011 $51,199,194,599 $1,487,568,659,241
2010 $47,793,117,241 $1,427,989,078,917
2009 $49,975,540,955 $1,496,587,590,848
2008 $55,509,332,322 $1,636,115,447,613
2007 $47,880,266,543 $1,476,746,276,855
2006 $39,260,368,837 $1,261,846,683,275
2005 $35,947,936,824 $1,154,667,551,776
2004 $34,156,553,313 $1,069,829,382,515
2003 $29,360,575,032 $907,963,217,058
2002 $23,214,593,516 $708,938,227,244
2001 $20,668,868,707 $627,798,682,379
2000 $20,159,190,702 $598,102,854,756
1999 $22,609,669,084 $634,394,904,387
1998 $22,058,635,314 $618,731,484,575
1997 $20,726,878,752 $589,739,772,727
1996 $21,470,699,363 $642,251,412,058
1995 $21,367,422,159 $614,170,002,669
1994 $16,400,767,070 $530,183,651,720
1993 $14,449,298,372 $524,700,572,624
1992 $14,277,261,541 $630,465,353,486
1991 $14,454,495,059 $576,753,902,322
1990 $19,832,029,087 $536,175,326,477
1989 - $414,460,794,097
1988 - $375,891,716,898
1987 - $318,520,253,335
1986 - $251,141,555,186
1985 - $180,664,322,896
1984 - $171,979,977,230
1983 - $170,829,074,246
1982 - $195,856,752,991
1981 - $202,663,023,968
1980 - $232,600,556,974
1979 - $214,448,666,336
1978 - $160,484,969,618
1977 - $132,354,665,936
1976 - $118,422,534,195
1975 - $114,695,060,870
1974 - $97,204,522,642
1973 - $78,583,355,226
1972 - $59,090,176,029
1971 - $46,586,119,760
1970 - $40,963,715,237
1969 - $37,090,689,288
1968 - $32,394,326,464
1967 - $32,570,905,397
1966 - $29,559,436,183
1965 - $25,479,619,607
1964 - $21,966,876,027
1963 - $19,631,714,760
1962 - $16,609,632,791
1961 - $14,238,126,760
1960 - $12,424,514,014

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Slovenia and Spain economies compared

GDP per capita
Slovenia

Spain
1x
Year GDP per capita
Slovenia Spain
2024 $34,301 $35,327
2023 $32,660 $33,493
2022 $28,360 $30,319
2021 $29,193 $30,799
2020 $25,392 $27,234
2019 $25,814 $29,787
2018 $25,888 $30,602
2017 $23,303 $28,381
2016 $21,448 $26,756
2015 $20,697 $25,982
2014 $24,013 $29,708
2013 $23,237 $29,229
2012 $22,442 $28,456
2011 $24,941 $31,825
2010 $23,330 $30,659
2009 $24,502 $32,280
2008 $27,462 $35,603
2007 $23,725 $32,652
2006 $19,563 $28,422
2005 $17,970 $26,451
2004 $17,104 $24,925
2003 $14,712 $21,522
2002 $11,639 $17,111
2001 $10,376 $15,368
2000 $10,136 $14,743
1999 $11,401 $15,708
1998 $11,132 $15,382
1997 $10,437 $14,722
1996 $10,797 $16,101
1995 $10,738 $15,461
1994 $8,244 $13,406
1993 $7,255 $13,330
1992 $7,151 $16,101
1991 $7,229 $14,801
1990 $9,925 $13,795
1989 - $10,674
1988 - $9,696
1987 - $8,234
1986 - $6,509
1985 - $4,696
1984 - $4,487
1983 - $4,475
1982 - $5,156
1981 - $5,367
1980 - $6,204
1979 - $5,766
1978 - $4,353
1977 - $3,625
1976 - $3,277
1975 - $3,208
1974 - $2,748
1973 - $2,246
1972 - $1,708
1971 - $1,361
1970 - $1,211
1969 - $1,109
1968 - $978
1967 - $997
1966 - $916
1965 - $797
1964 - $695
1963 - $627
1962 - $535
1961 - $463
1960 - $408

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

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

Slovenia vs. Spain life expectancy calculator

Life expectancy
Slovenia

Spain
1x
Year Life expectancy, years
Slovenia Spain
2026 82.1 84.1
2025 81.9 84
2024 81.8 83.8
2023 81.6 83.7
2022 80.8 82.4
2021 80.4 83
2020 80.4 82.2
2019 81 83.5
2018 80.9 83.1
2017 80.6 83
2016 80.5 83
2015 80.5 82.6
2014 80.3 82.8
2013 80.1 82.7
2012 79.8 82.2
2011 79.6 82.2
2010 79.3 82
2009 79 81.6
2008 78.6 81.3
2007 78.3 81
2006 77.8 81
2005 77.5 80.3
2004 76.9 80.3
2003 76.3 79.7
2002 76.3 79.8
2001 76.2 79.7
2000 75.8 79.4
1999 75.5 78.9
1998 75.1 78.9
1997 75 78.9
1996 74.8 78.3
1995 74.4 78.2
1994 73.9 78.1
1993 73.6 77.7
1992 73.4 77.6
1991 73.5 77.1
1990 73.5 77
1989 73.3 77
1988 72.8 76.9
1987 72.4 77
1986 72.1 76.7
1985 71.8 76.4
1984 71.3 76.5
1983 71.2 76.1
1982 71.4 76.3
1981 71.6 75.7
1980 71.8 75.5
1979 71.6 75
1978 71.6 74.5
1977 71.3 74.3
1976 71.1 73.8
1975 71.1 73.5
1974 71 73.1
1973 70.8 72.7
1972 70.3 73
1971 69.7 71.7
1970 69 72.1
1969 68.6 71.1
1968 68.6 71.7
1967 69 71.3
1966 68.9 71.2
1965 68.7 70.9
1964 68.5 70.5
1963 68.6 69.8
1962 68.9 69.6
1961 68.9 69.6
1960 68.5 69.2
1959 68.2 68.7
1958 67.7 68.8
1957 67 66.6
1956 66.5 66.8
1955 66.1 66.7
1954 66.1 66.9
1953 65.3 65.7
1952 63.8 64.8
1951 62.3 61.5
1950 61.8 61.8

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

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

Slovenia and Spain population clocks and comparison

Population
Slovenia

Spain
1x
Year Population
Slovenia Spain
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: World Bank | Health (1960–2024, retrieved 2026-04-06).

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

Fertility rates in Slovenia and Spain

Fertility rate
Slovenia

Spain
1x
Year Fertility rate
Slovenia Spain
2023 1.51 1.12
2022 1.55 1.16
2021 1.64 1.18
2020 1.59 1.18
2019 1.61 1.23
2018 1.6 1.26
2017 1.62 1.31
2016 1.58 1.33
2015 1.57 1.33
2014 1.58 1.32
2013 1.55 1.27
2012 1.58 1.32
2011 1.56 1.34
2010 1.57 1.37
2009 1.53 1.38
2008 1.53 1.45
2007 1.38 1.38
2006 1.31 1.36
2005 1.26 1.33
2004 1.25 1.31
2003 1.2 1.3
2002 1.21 1.25
2001 1.21 1.23
2000 1.26 1.22
1999 1.21 1.17
1998 1.23 1.13
1997 1.25 1.15
1996 1.28 1.14
1995 1.29 1.16
1994 1.32 1.19
1993 1.33 1.26
1992 1.33 1.31
1991 1.42 1.33
1990 1.46 1.36
1989 1.52 1.4
1988 1.63 1.45
1987 1.65 1.49
1986 1.67 1.56
1985 1.71 1.64
1984 1.74 1.73
1983 1.81 1.8
1982 1.93 1.94
1981 1.96 2.04
1980 2.11 2.22
1979 2.22 2.37
1978 2.2 2.54
1977 2.17 2.65
1976 2.2 2.77
1975 2.17 2.77
1974 2.13 2.88
1973 2.2 2.84
1972 2.17 2.87
1971 2.16 2.9
1970 2.11 2.84
1969 2.17 2.86
1968 2.25 2.87
1967 2.37 2.94
1966 2.47 2.91
1965 2.43 2.94
1964 2.31 3.01
1963 2.27 2.88
1962 2.28 2.8
1961 2.27 2.77
1960 2.19 2.86

Data sources: World Bank | Health (1960–2023, retrieved 2026-04-06).

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

Slovenia and Spain demographics compared

Median age
Slovenia

Spain
1x
Year Median age, years
Slovenia Spain
2024 45.3 46.4
2023 44.9 45.9
2022 44.5 45.4
2021 44.1 44.9
2020 44 44.5
2019 44 44.1
2018 43.8 43.8
2017 43.6 43.5
2016 43.3 43.1
2015 43 42.7
2014 42.7 42.2
2013 42.4 41.7
2012 42 41.1
2011 41.7 40.6
2010 41.4 40.2
2009 41.2 39.8
2008 41 39.4
2007 40.7 39.2
2006 40.4 39
2005 40 38.8
2004 39.6 38.5
2003 39.2 38.3
2002 38.8 38.1
2001 38.4 37.8
2000 38 37.4
1999 37.6 37
1998 37.1 36.6
1997 36.7 36.2
1996 36.3 35.7
1995 36 35.3
1994 35.8 34.9
1993 35.4 34.6
1992 35 34.2
1991 34.6 33.9
1990 34.2 33.6
1989 33.8 33.2
1988 33.5 32.9
1987 33.3 32.5
1986 32.9 32.2
1985 32.6 31.9
1984 32.4 31.6
1983 32.2 31.4
1982 31.9 31.1
1981 31.7 30.9
1980 31.5 30.7
1979 31.4 30.6
1978 31.3 30.4
1977 31.2 30.2
1976 31.1 30.1
1975 31.1 30
1974 31.2 30
1973 31.2 30
1972 31.1 30
1971 30.9 30.1
1970 30.8 30.1
1969 30.6 30.2
1968 30.5 30.4
1967 30.4 30.4
1966 30.2 30.3
1965 30.1 30.2
1964 29.9 30.1
1963 29.7 29.9
1962 29.5 29.7
1961 29.3 29.6
1960 29 29.4

Data sources: World Bank | Health (1960–2024, retrieved 2026-04-06).

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

Interactive Maps

Use the buttons below to switch between world maps comparing statistics for Slovenia and Spain.

1x
1x
1x
1x
1x
1x
1x

National statistics comparison

Finance

Slovenia Spain
GNI, Atlas method
$67.6B
2024
$1.64T
2024
Government expenditure, % of GDP
46.5%
2024
45.3%
2024
Education expenditure, % of GDP
5.28%
2022
4.59%
2022
Military expenditure, % of GDP
1.31%
2024
1.43%
2024
Armed forces personnel
7,000
2020
199,000
2020
Deficit/surplus, % of GDP
-0.93%
2024
-3.15%
2024
Unemployment rate
3.7%
2024
11.3%
2024
Services, % of GDP
57.9%
2024
68.9%
2024
Industry, % of GDP
29.1%
2024
19.5%
2024
Economic freedom index
69.7
2026
66.8
2026
Income share by richest 10%
20.6%
2023
24.5%
2023
Income share by poorest 10%
4.1%
2023
2.2%
2023
Number of millionaires n/a
1,202,000
2025
Percentage of millionaires n/a
3.01%
2025
Number of billionaires n/a
34
2025
Percentage of billionaires n/a
0.00009%
2025
Listed domestic companies
18
2024
277
2024
Market capitalization of domestic companies
$11.4B
2024
$754B
2024
Total reserves including gold
$2.83B
2024
$108B
2024
Personal remittances received
$907M
2024
$6.33B
2024
International tourist arrivals
1,216,000
2020
36,410,000
2020
International tourism as share of exports
3.39%
2020
19.8%
1998
Banked people share
98.7%
2024
98.4%
2024

Energy

Slovenia Spain
Energy use, kg of oil equivalent per capita
2,896 kg
2023
2,294 kg
2023
GDP PPP per kg equivalent of energy use
$19.4
2023
$24.3
2023
Carbon dioxide (CO2) emissions
13.3 megatons
2024
220.1 megatons
2024
CO2 emissions per capita
6.27 tons
2024
4.51 tons
2024
Fossil fuel energy use share
57.8%
2023
68.5%
2023
Renewable energy use share
23.4%
2021
19%
2021
Alternative and nuclear energy use share
32.5%
2023
25.2%
2023
Net energy imports use share
48.9%
2023
77%
2023
Electric power consumption per capita
6,418 kWh
2023
5,118 kWh
2023
Renewable electricity output share
36.1%
2021
47%
2021
Hydroelectric share
33.5%
2023
10.9%
2023
Nuclear share
35.3%
2023
19.9%
2023
Electricity access
100%
2023
100%
2023

Society

Slovenia Spain
% of world population
0.03%
2024
0.6%
2024
Annual migration change
+2,711
2025
+96,630
2025
Urban population
55.8%
2024
80.3%
2024
Male:Female ratio
50.2:49.8
2024
49.1:50.9
2024
Average male height
5.94 ft
2025
5.78 ft
2025
Average female height
5.49 ft
2025
5.31 ft
2025
Quality of life index
79.8
2026
82.5
2026
Corruption Perceptions Index
58
2025
55
2025
Higher education index
85
2026
90
2026
Homicides per 100K people
0.57
2023
0.69
2023
Road traffic mortality per 100K people
5.1
2019
3.9
2019
Visa free countries
171
2025
173
2025
Adult literacy rate
99.6%
2001
99.7%
2021
English speaking
59%
2023
22%
2023
People using the Internet
90.8%
2024
95.8%
2024

Health

Slovenia Spain
Government health expenditure per capita
$3,371
2024
$3,107
2023
Out-of-pocket health expenditure per capita
$396
2024
$648
2023
Life expectancy
82.1 years
2026
84.1 years
2026
Foreign aid share of health expenditure
0.05%
2023
n/a
Physicians per 1,000 people
3.37
2022
4.29
2022
Age at first childbirth
29.1 years
2023
31.5 years
2023
Maternal mortality per 100K births
3
2023
3
2023
Mortality rate before reaching 5 years of age
2.2
2023
3.1
2023
Obesity rate
19.9%
2022
16.2%
2022
Diabetes prevalence
7%
2024
9.7%
2024
Air quality index
52
2026
77
2026
Tobacco use prevalence
20.1%
2022
28.4%
2022
Pure alcohol consumption per capita
10.4 liters
2020
9.16 liters
2020

Territory

Slovenia Spain
% of world land
0.01%
2026
0.34%
2026
Land area per capita
3,654 sq mi
2024
3,950 sq mi
2024
Agricultural land area
2,360 sq mi
2026
95,648 sq mi
2026
Forest area
4,756 sq mi
2026
71,757 sq mi
2026
Roads length
24,224 mi
2012
424,505 mi
2020

In-depth comparisons

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 (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. World Obesity Federation (2022, retrieved 2026-02-08)
  8. United Nations Economic Commission for Europe (UNECE) (2023, retrieved 2026-03-10)
  9. Passport Index (2025, retrieved 2026-02-08)
  10. Transparency International (2025, retrieved 2026-02-10)
  11. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  12. EduRank (2026, retrieved 2025-10-13)

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.