Skip to content

Spain vs Sri Lanka statistics compared

Updated on by Georank team

Spain has a population of 48.8M (ranked 32/197), compared with 21.9M in Sri Lanka (ranked 61/197). Spain's land area is 192,934 sq mi versus 23,884 sq mi for Sri Lanka (ranked 51st vs. 122nd).

By GDP, Spain ranks 15/197 ($1.73T) and Sri Lanka ranks 72/197 ($99B). By GDP per capita, Spain ranks 32/197 ($35,327), while Sri Lanka ranks 124/197 ($4,516).

Main facts and rankings

Spain Sri Lanka
Population
48806901
22185425
Population rank 32/197 63/197
GDP
$1.73T
2024
$99B
2024
GDP rank 15/197 72/197
GDP per capita
$35,327
2024
$4,516
2024
GDP per capita rank 32/197 124/197
GDP per capita, PPP
$57,965
2024
$15,633
2024
Government debt
$1.75T
2024
$99.8B
2024
Debt-to-GDP ratio
101.6%
2024
100.8%
2024
Government debt per person
$35,909
2024
$4,554
2024
Government debt per person rank 20/185 85/185
Average annual personal income after taxes
$25,470
2026
$2,874
2026
Land area 192,934 sq mi 23,884 sq mi
Population density
253 ppl/mi²
2026
928 ppl/mi²
2026
Fertility rate
1.12
2023
1.97
2023
Median age
46.4 years
2024
34.1 years
2024
Life expectancy
84.1 years
2026
78 years
2026

Spain and Sri Lanka: Comparison Charts

Spain and Sri Lanka economies compared

GDP
Spain

Sri Lanka
1x
Year GDP
Spain Sri Lanka
2024 $1,725,671,652,742 $98,963,185,510
2023 $1,619,481,980,720 $83,716,142,582
2022 $1,448,850,658,407 $74,143,020,263
2021 $1,461,244,901,853 $88,556,698,938
2020 $1,289,783,836,971 $84,335,574,582
2019 $1,403,496,387,686 $88,998,706,297
2018 $1,431,642,809,327 $94,450,015,983
2017 $1,321,754,088,819 $94,369,350,286
2016 $1,243,015,667,917 $88,000,211,172
2015 $1,206,164,777,553 $85,090,301,052
2014 $1,380,244,561,362 $82,531,125,191
2013 $1,362,186,923,158 $76,976,203,829
2012 $1,330,994,811,670 $70,447,217,164
2011 $1,487,568,659,241 $67,753,285,897
2010 $1,427,989,078,917 $58,636,049,434
2009 $1,496,587,590,848 $42,066,224,093
2008 $1,636,115,447,613 $40,713,826,215
2007 $1,476,746,276,855 $32,350,238,760
2006 $1,261,846,683,275 $28,267,410,543
2005 $1,154,667,551,776 $24,405,791,045
2004 $1,069,829,382,515 $20,662,525,941
2003 $907,963,217,058 $18,881,765,437
2002 $708,938,227,244 $16,536,535,647
2001 $627,798,682,379 $15,749,753,805
2000 $598,102,854,756 $16,595,882,819
1999 $634,394,904,387 $15,711,933,513
1998 $618,731,484,575 $15,760,736,956
1997 $589,739,772,727 $15,091,913,884
1996 $642,251,412,058 $13,897,738,375
1995 $614,170,002,669 $13,029,697,561
1994 $530,183,651,720 $11,717,604,209
1993 $524,700,572,624 $10,338,679,636
1992 $630,465,353,486 $9,703,011,636
1991 $576,753,902,322 $9,000,362,582
1990 $536,175,326,477 $8,032,551,173
1989 $414,460,794,097 $6,987,267,684
1988 $375,891,716,898 $6,978,371,581
1987 $318,520,253,335 $6,682,167,120
1986 $251,141,555,186 $6,405,210,564
1985 $180,664,322,896 $5,978,460,972
1984 $171,979,977,230 $6,043,474,843
1983 $170,829,074,246 $5,167,913,302
1982 $195,856,752,991 $4,768,765,017
1981 $202,663,023,968 $4,415,844,156
1980 $232,600,556,974 $4,024,621,900
1979 $214,448,666,336 $3,364,611,432
1978 $160,484,969,618 $2,733,183,857
1977 $132,354,665,936 $4,104,509,583
1976 $118,422,534,195 $3,591,319,857
1975 $114,695,060,870 $3,791,298,146
1974 $97,204,522,642 $3,574,586,466
1973 $78,583,355,226 $2,875,625,000
1972 $59,090,176,029 $2,553,936,348
1971 $46,586,119,760 $2,369,308,600
1970 $40,963,715,237 $2,296,470,588
1969 $37,090,689,288 $1,965,546,218
1968 $32,394,326,464 $1,801,344,538
1967 $32,570,905,397 $1,859,465,021
1966 $29,559,436,183 $1,751,470,588
1965 $25,479,619,607 $1,698,319,328
1964 $21,966,876,027 $1,309,747,899
1963 $19,631,714,760 $1,240,672,269
1962 $16,609,632,791 $1,434,156,379
1961 $14,238,126,760 $1,444,327,731
1960 $12,424,514,014 $1,409,873,950

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

GeoRank.org/facts/spain/sri-lanka | CC BY

Spain and Sri Lanka economies compared

GDP per capita
Spain

Sri Lanka
1x
Year GDP per capita
Spain Sri Lanka
2024 $35,327 $4,516
2023 $33,493 $3,799
2022 $30,319 $3,343
2021 $30,799 $3,997
2020 $27,234 $3,848
2019 $29,787 $4,082
2018 $30,602 $4,359
2017 $28,381 $4,399
2016 $26,756 $4,149
2015 $25,982 $4,058
2014 $29,708 $3,972
2013 $29,229 $3,739
2012 $28,456 $3,328
2011 $31,825 $3,225
2010 $30,659 $2,808
2009 $32,280 $2,027
2008 $35,603 $1,974
2007 $32,652 $1,579
2006 $28,422 $1,389
2005 $26,451 $1,207
2004 $24,925 $1,029
2003 $21,522 $946
2002 $17,111 $835
2001 $15,368 $804
2000 $14,743 $860
1999 $15,708 $829
1998 $15,382 $848
1997 $14,722 $827
1996 $16,101 $776
1995 $15,461 $742
1994 $13,406 $678
1993 $13,330 $607
1992 $16,101 $580
1991 $14,801 $546
1990 $13,795 $491
1989 $10,674 $430
1988 $9,696 $434
1987 $8,234 $420
1986 $6,509 $407
1985 $4,696 $385
1984 $4,487 $391
1983 $4,475 $336
1982 $5,156 $312
1981 $5,367 $292.5
1980 $6,204 $271.1
1979 $5,766 $230.8
1978 $4,353 $191
1977 $3,625 $292.1
1976 $3,277 $260.3
1975 $3,208 $279.8
1974 $2,748 $268.7
1973 $2,246 $220.2
1972 $1,708 $199.4
1971 $1,361 $188.8
1970 $1,211 $186.9
1969 $1,109 $163.6
1968 $978 $153.5
1967 $997 $162.3
1966 $916 $156.6
1965 $797 $155.6
1964 $695 $122.9
1963 $627 $119.4
1962 $535 $141.4
1961 $463 $145.9
1960 $408 $145.9

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

GeoRank.org/facts/spain/sri-lanka | CC BY

Spain vs. Sri Lanka life expectancy calculator

Life expectancy
Spain

Sri Lanka
1x
Year Life expectancy, years
Spain Sri Lanka
2026 84.1 78
2025 84 77.9
2024 83.8 77.7
2023 83.7 77.5
2022 82.4 77.3
2021 83 76.3
2020 82.2 76.9
2019 83.5 76.7
2018 83.1 76.5
2017 83 76.2
2016 83 76.1
2015 82.6 76
2014 82.8 75.8
2013 82.7 75.5
2012 82.2 75.2
2011 82.2 74.7
2010 82 74.5
2009 81.6 70.3
2008 81.3 72.6
2007 81 73
2006 81 72.8
2005 80.3 73.1
2004 80.3 68
2003 79.7 72.4
2002 79.8 72.3
2001 79.7 71.8
2000 79.4 71.2
1999 78.9 70.4
1998 78.9 70.1
1997 78.9 69.9
1996 78.3 69.8
1995 78.2 69.7
1994 78.1 70.2
1993 77.7 70
1992 77.6 69.6
1991 77.1 69.1
1990 77 69.2
1989 77 67.3
1988 76.9 69
1987 77 69
1986 76.7 69
1985 76.4 68.9
1984 76.5 68.8
1983 76.1 68.7
1982 76.3 68.7
1981 75.7 68.4
1980 75.5 68
1979 75 67.5
1978 74.5 66.8
1977 74.3 66.4
1976 73.8 65.8
1975 73.5 65.4
1974 73.1 65
1973 72.7 64.8
1972 73 64.6
1971 71.7 64.2
1970 72.1 64.4
1969 71.1 64.1
1968 71.7 63.9
1967 71.3 63.6
1966 71.2 63.2
1965 70.9 62.8
1964 70.5 62.4
1963 69.8 62
1962 69.6 61.6
1961 69.6 61.2
1960 69.2 60.6
1959 68.7 60
1958 68.8 59.3
1957 66.6 58.5
1956 66.8 57.9
1955 66.7 57.2
1954 66.9 56.4
1953 65.7 55.6
1952 64.8 54.9
1951 61.5 54
1950 61.8 53.2

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

GeoRank.org/facts/spain/sri-lanka | CC BY

Spain and Sri Lanka population clocks and comparison

Population
Spain

Sri Lanka
1x
Year Population
Spain Sri Lanka
2024 48,848,840 21,916,000
2023 48,352,528 22,037,000
2022 47,786,102 22,181,000
2021 47,443,821 22,156,000
2020 47,359,424 21,919,000
2019 47,118,501 21,803,000
2018 46,782,011 21,670,000
2017 46,571,232 21,453,000
2016 46,458,139 21,209,000
2015 46,422,303 20,970,000
2014 46,460,733 20,778,000
2013 46,604,197 20,585,000
2012 46,773,055 21,169,458
2011 46,742,697 21,009,048
2010 46,576,897 20,879,089
2009 46,362,946 20,756,435
2008 45,954,106 20,629,378
2007 45,226,803 20,492,545
2006 44,397,319 20,352,411
2005 43,653,155 20,216,524
2004 42,921,895 20,087,605
2003 42,187,645 19,951,521
2002 41,431,558 19,805,752
2001 40,850,412 19,600,362
2000 40,567,864 19,293,054
1999 40,386,875 18,944,731
1998 40,223,509 18,596,003
1997 40,057,389 18,248,200
1996 39,889,852 17,905,018
1995 39,724,050 17,564,068
1994 39,549,108 17,275,773
1993 39,361,262 17,025,918
1992 39,157,685 16,739,284
1991 38,966,376 16,475,354
1990 38,867,322 16,352,458
1989 38,827,764 16,248,557
1988 38,766,939 16,078,621
1987 38,684,815 15,916,576
1986 38,584,624 15,731,256
1985 38,469,512 15,544,154
1984 38,330,364 15,441,860
1983 38,171,525 15,388,794
1982 37,986,012 15,286,567
1981 37,758,631 15,099,414
1980 37,491,165 14,847,974
1979 37,191,330 14,579,614
1978 36,864,898 14,310,128
1977 36,511,638 14,049,371
1976 36,137,812 13,796,770
1975 35,757,900 13,548,984
1974 35,373,335 13,305,693
1973 34,988,947 13,060,916
1972 34,604,469 12,809,205
1971 34,224,490 12,551,910
1970 33,814,531 12,287,110
1969 33,441,054 12,013,858
1968 33,113,134 11,736,088
1967 32,682,947 11,457,328
1966 32,283,194 11,183,928
1965 31,954,292 10,916,965
1964 31,609,195 10,653,397
1963 31,296,651 10,395,040
1962 31,023,366 10,143,754
1961 30,739,250 9,899,372
1960 30,455,000 9,661,389

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

GeoRank.org/facts/spain/sri-lanka | CC BY

Fertility rates in Spain and Sri Lanka

Fertility rate
Spain

Sri Lanka
1x
Year Fertility rate
Spain Sri Lanka
2023 1.12 1.97
2022 1.16 1.98
2021 1.18 2
2020 1.18 2.01
2019 1.23 2.02
2018 1.26 2.03
2017 1.31 2.04
2016 1.33 2.06
2015 1.33 2.09
2014 1.32 2.13
2013 1.27 2.18
2012 1.32 2.17
2011 1.34 2.14
2010 1.37 2.13
2009 1.38 2.18
2008 1.45 2.23
2007 1.38 2.3
2006 1.36 2.29
2005 1.33 2.26
2004 1.31 2.27
2003 1.3 2.3
2002 1.25 2.31
2001 1.23 2.28
2000 1.22 2.21
1999 1.17 2.14
1998 1.13 2.14
1997 1.15 2.22
1996 1.14 2.29
1995 1.16 2.35
1994 1.19 2.4
1993 1.26 2.44
1992 1.31 2.49
1991 1.33 2.51
1990 1.36 2.54
1989 1.4 2.58
1988 1.45 2.57
1987 1.49 2.64
1986 1.56 2.74
1985 1.64 2.9
1984 1.73 3.01
1983 1.8 3.11
1982 1.94 3.32
1981 2.04 3.65
1980 2.22 3.73
1979 2.37 3.82
1978 2.54 3.81
1977 2.65 3.74
1976 2.77 3.78
1975 2.77 3.82
1974 2.88 3.86
1973 2.84 4
1972 2.87 4.16
1971 2.9 4.27
1970 2.84 4.39
1969 2.86 4.5
1968 2.87 4.66
1967 2.94 4.79
1966 2.91 4.83
1965 2.94 4.93
1964 3.01 5.06
1963 2.88 5.12
1962 2.8 5.18
1961 2.77 5.24
1960 2.86 5.35

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

GeoRank.org/facts/spain/sri-lanka | CC BY

Spain and Sri Lanka demographics compared

Median age
Spain

Sri Lanka
1x
Year Median age, years
Spain Sri Lanka
2024 46.4 34.1
2023 45.9 33.8
2022 45.4 33.6
2021 44.9 33.3
2020 44.5 33.1
2019 44.1 32.8
2018 43.8 32.5
2017 43.5 32.3
2016 43.1 32
2015 42.7 31.7
2014 42.2 31.4
2013 41.7 31.1
2012 41.1 30.8
2011 40.6 30.5
2010 40.2 30.2
2009 39.8 29.9
2008 39.4 29.6
2007 39.2 29.3
2006 39 29
2005 38.8 28.8
2004 38.5 28.5
2003 38.3 28.2
2002 38.1 27.9
2001 37.8 27.6
2000 37.4 27.2
1999 37 26.9
1998 36.6 26.5
1997 36.2 26.2
1996 35.7 25.8
1995 35.3 25.3
1994 34.9 24.9
1993 34.6 24.6
1992 34.2 24.3
1991 33.9 23.9
1990 33.6 23.6
1989 33.2 23.4
1988 32.9 23.1
1987 32.5 22.8
1986 32.2 22.5
1985 31.9 22.2
1984 31.6 22
1983 31.4 21.9
1982 31.1 21.7
1981 30.9 21.6
1980 30.7 21.5
1979 30.6 21.3
1978 30.4 21.2
1977 30.2 21
1976 30.1 20.9
1975 30 20.7
1974 30 20.6
1973 30 20.4
1972 30 20.2
1971 30.1 20.1
1970 30.1 20
1969 30.2 19.9
1968 30.4 19.8
1967 30.4 19.7
1966 30.3 19.6
1965 30.2 19.5
1964 30.1 19.5
1963 29.9 19.5
1962 29.7 19.5
1961 29.6 19.5
1960 29.4 19.5

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

GeoRank.org/facts/spain/sri-lanka | CC BY

Interactive Maps

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

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

National statistics comparison

Finance

Spain Sri Lanka
GNI, Atlas method
$1.64T
2024
$84.6B
2024
Government expenditure, % of GDP
45.3%
2024
19.3%
2024
Education expenditure, % of GDP
4.59%
2022
1.83%
2023
Military expenditure, % of GDP
1.43%
2024
1.43%
2024
Armed forces personnel
199,000
2020
317,000
2020
Deficit/surplus, % of GDP
-3.15%
2024
-5.64%
2024
Unemployment rate
11.3%
2024
4.67%
2023
Services, % of GDP
68.9%
2024
57.5%
2024
Industry, % of GDP
19.5%
2024
25.5%
2024
Economic freedom index
66.8
2026
50.3
2026
Income share by richest 10%
24.5%
2023
30.8%
2019
Income share by poorest 10%
2.2%
2023
3.1%
2019
Number of millionaires
1,202,000
2025
n/a
Percentage of millionaires
3.01%
2025
n/a
Number of billionaires
34
2025
n/a
Percentage of billionaires
0.00009%
2025
n/a
Listed domestic companies
277
2024
284
2024
Market capitalization of domestic companies
$754B
2024
$19.5B
2024
Total reserves including gold
$108B
2024
$6.09B
2024
Personal remittances received
$6.33B
2024
$6.72B
2024
International tourist arrivals
36,410,000
2020
540,000
2020
International tourism as share of exports
19.8%
1998
8.22%
2020
Banked people share
98.4%
2024
81.7%
2024

Energy

Spain Sri Lanka
Energy use, kg of oil equivalent per capita
2,294 kg
2023
474 kg
2022
GDP PPP per kg equivalent of energy use
$24.3
2023
$29.9
2022
Carbon dioxide (CO2) emissions
220.1 megatons
2024
23.3 megatons
2024
CO2 emissions per capita
4.51 tons
2024
1.06 tons
2024
Fossil fuel energy use share
68.5%
2023
53.9%
2022
Renewable energy use share
19%
2021
48.8%
2021
Alternative and nuclear energy use share
25.2%
2023
6.72%
2022
Net energy imports use share
77%
2023
60%
2022
Electric power consumption per capita
5,118 kWh
2023
684 kWh
2022
Renewable electricity output share
47%
2021
49.2%
2021
Hydroelectric share
10.9%
2023
40.8%
2022
Nuclear share
19.9%
2023
0%
2021
Electricity access
100%
2023
100%
2023

Society

Spain Sri Lanka
% of world population
0.6%
2024
0.27%
2024
Annual migration change
+96,630
2025
-30,724
2025
Urban population
80.3%
2024
20.3%
2024
Male:Female ratio
49.1:50.9
2024
48.4:51.6
2024
Average male height
5.78 ft
2025
5.52 ft
2025
Average female height
5.31 ft
2025
5.11 ft
2025
Quality of life index
82.5
2026
51.1
2026
Corruption Perceptions Index
55
2025
35
2025
Higher education index
90
2026
53
2026
Homicides per 100K people
0.69
2023
3.43
2019
Road traffic mortality per 100K people
3.9
2019
19.7
2019
Visa free countries
173
2025
55
2025
Adult literacy rate
99.7%
2021
92.7%
2023
English speaking
22%
2023
18.3%
2023
People using the Internet
95.8%
2024
51.2%
2023

Health

Spain Sri Lanka
Government health expenditure per capita
$3,107
2023
$134.2
2023
Out-of-pocket health expenditure per capita
$648
2023
$73.6
2023
Life expectancy
84.1 years
2026
78 years
2026
Foreign aid share of health expenditure n/a
6.05%
2023
Physicians per 1,000 people
4.29
2022
1.14
2023
Age at first childbirth
31.5 years
2023
25.6 years
2025
Maternal mortality per 100K births
3
2023
18
2023
Mortality rate before reaching 5 years of age
3.1
2023
6.1
2023
Obesity rate
16.2%
2022
10.9%
2022
Diabetes prevalence
9.7%
2024
10.2%
2024
Air quality index
77
2026
40
2026
Tobacco use prevalence
28.4%
2022
19.5%
2022
Pure alcohol consumption per capita
9.16 liters
2020
2.91 liters
2020

Territory

Spain Sri Lanka
% of world land
0.34%
2026
0.04%
2026
Land area per capita
3,950 sq mi
2024
1,090 sq mi
2024
Agricultural land area
95,648 sq mi
2026
11,610 sq mi
2026
Forest area
71,757 sq mi
2026
8,122 sq mi
2026
Roads length
424,505 mi
2020
70,894 mi
2010

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–2025, 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. Passport Index (2025, retrieved 2026-02-08)
  9. Transparency International (2025, retrieved 2026-02-10)
  10. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  11. EduRank (2026, retrieved 2025-10-13)
  12. United Nations Economic Commission for Europe (UNECE) (2023, retrieved 2026-03-10)

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.