Skip to content

Malaysia vs Spain statistics compared

Updated on by Georank team

Malaysia has a population of 35.6M (ranked 44/197), compared with 48.8M in Spain (ranked 32/197). Malaysia's land area is 126,854 sq mi versus 192,934 sq mi for Spain (ranked 65th vs. 51st).

By GDP, Malaysia ranks 38/197 ($422B) and Spain ranks 15/197 ($1.73T). By GDP per capita, Malaysia ranks 79/197 ($11,874), while Spain ranks 32/197 ($35,327).

Main facts and rankings

Malaysia Spain
Population
36512221
48806901
Population rank 45/197 32/197
GDP
$422B
2024
$1.73T
2024
GDP rank 38/197 15/197
GDP per capita
$11,874
2024
$35,327
2024
GDP per capita rank 79/197 32/197
GDP per capita, PPP
$38,779
2024
$57,965
2024
Government debt
$296B
2024
$1.75T
2024
Debt-to-GDP ratio
70.1%
2024
101.6%
2024
Government debt per person
$8,322
2024
$35,909
2024
Government debt per person rank 62/185 20/185
Average annual personal income after taxes
$11,005
2026
$25,470
2026
Land area 126,854 sq mi 192,934 sq mi
Population density
287 ppl/mi²
2026
253 ppl/mi²
2026
Fertility rate
1.55
2023
1.12
2023
Median age
31.5 years
2024
46.4 years
2024
Life expectancy
77.2 years
2026
84.1 years
2026

Malaysia and Spain: Comparison Charts

Malaysia and Spain economies compared

GDP
Malaysia

Spain
1x
Year GDP
Malaysia Spain
2024 $422,227,005,429 $1,725,671,652,742
2023 $399,949,418,753 $1,619,481,980,720
2022 $407,830,525,990 $1,448,850,658,407
2021 $373,784,553,030 $1,461,244,901,853
2020 $337,456,163,961 $1,289,783,836,971
2019 $365,177,721,022 $1,403,496,387,686
2018 $358,788,845,713 $1,431,642,809,327
2017 $319,109,094,160 $1,321,754,088,819
2016 $301,256,033,870 $1,243,015,667,917
2015 $301,355,266,965 $1,206,164,777,553
2014 $338,066,095,097 $1,380,244,561,362
2013 $323,276,235,524 $1,362,186,923,158
2012 $314,443,047,642 $1,330,994,811,670
2011 $297,951,668,675 $1,487,568,659,241
2010 $255,017,638,456 $1,427,989,078,917
2009 $202,257,453,037 $1,496,587,590,848
2008 $230,811,614,370 $1,636,115,447,613
2007 $193,549,569,478 $1,476,746,276,855
2006 $162,692,258,307 $1,261,846,683,275
2005 $143,534,405,819 $1,154,667,551,776
2004 $124,749,473,684 $1,069,829,382,515
2003 $110,202,368,421 $907,963,217,058
2002 $100,845,526,316 $708,938,227,244
2001 $92,783,947,368 $627,798,682,379
2000 $93,789,736,842 $598,102,854,756
1999 $79,148,421,053 $634,394,904,387
1998 $72,167,498,981 $618,731,484,575
1997 $100,005,323,302 $589,739,772,727
1996 $100,855,393,910 $642,251,412,058
1995 $88,705,342,903 $614,170,002,669
1994 $74,478,356,958 $530,183,651,720
1993 $66,894,966,969 $524,700,572,624
1992 $59,167,550,163 $630,465,353,486
1991 $49,143,148,094 $576,753,902,322
1990 $44,024,585,240 $536,175,326,477
1989 $38,847,965,293 $414,460,794,097
1988 $35,272,109,220 $375,891,716,898
1987 $32,181,210,158 $318,520,253,335
1986 $27,734,111,400 $251,141,555,186
1985 $31,199,633,353 $180,664,322,896
1984 $33,942,897,422 $171,979,977,230
1983 $30,347,442,111 $170,829,074,246
1982 $26,804,493,635 $195,856,752,991
1981 $25,004,285,792 $202,663,023,968
1980 $24,488,224,677 $232,600,556,974
1979 $21,213,264,962 $214,448,666,336
1978 $16,358,079,862 $160,484,969,618
1977 $13,139,488,633 $132,354,665,936
1976 $11,050,234,599 $118,422,534,195
1975 $9,298,800,799 $114,695,060,870
1974 $9,496,204,302 $97,204,522,642
1973 $7,662,902,678 $78,583,355,226
1972 $5,043,347,250 $59,090,176,029
1971 $4,244,395,956 $46,586,119,760
1970 $3,864,145,667 $40,963,715,237
1969 $3,664,552,041 $37,090,689,288
1968 $3,330,371,551 $32,394,326,464
1967 $3,188,924,677 $32,570,905,397
1966 $3,143,517,944 $29,559,436,183
1965 $2,956,337,669 $25,479,619,607
1964 $2,674,423,922 $21,966,876,027
1963 $2,510,110,348 $19,631,714,760
1962 $2,001,489,602 $16,609,632,791
1961 $1,901,856,123 $14,238,126,760
1960 $1,916,229,477 $12,424,514,014

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

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

Malaysia and Spain economies compared

GDP per capita
Malaysia

Spain
1x
Year GDP per capita
Malaysia Spain
2024 $11,874 $35,327
2023 $11,386 $33,493
2022 $11,755 $30,319
2021 $10,903 $30,799
2020 $9,958 $27,234
2019 $10,920 $29,787
2018 $10,902 $30,602
2017 $9,863 $28,381
2016 $9,477 $26,756
2015 $9,649 $25,982
2014 $11,013 $29,708
2013 $10,714 $29,229
2012 $10,601 $28,456
2011 $10,217 $31,825
2010 $8,899 $30,659
2009 $7,191 $32,280
2008 $8,372 $35,603
2007 $7,169 $32,652
2006 $6,158 $28,422
2005 $5,556 $26,451
2004 $4,939 $24,925
2003 $4,465 $21,522
2002 $4,184 $17,111
2001 $3,944 $15,368
2000 $4,084 $14,743
1999 $3,528 $15,708
1998 $3,294 $15,382
1997 $4,679 $14,722
1996 $4,837 $16,101
1995 $4,363 $15,461
1994 $3,758 $13,406
1993 $3,462 $13,330
1992 $3,141 $16,101
1991 $2,679 $14,801
1990 $2,469 $13,795
1989 $2,244 $10,674
1988 $2,100 $9,696
1987 $1,977 $8,234
1986 $1,760 $6,509
1985 $2,046 $4,696
1984 $2,300 $4,487
1983 $2,124 $4,475
1982 $1,938 $5,156
1981 $1,866 $5,367
1980 $1,886 $6,204
1979 $1,680 $5,766
1978 $1,327 $4,353
1977 $1,092 $3,625
1976 $940 $3,277
1975 $811 $3,208
1974 $848 $2,748
1973 $701 $2,246
1972 $472 $1,708
1971 $407 $1,361
1970 $380 $1,211
1969 $368 $1,109
1968 $342 $978
1967 $335 $997
1966 $339 $916
1965 $326 $797
1964 $303 $695
1963 $291.8 $627
1962 $238.8 $535
1961 $232.9 $463
1960 $240.8 $408

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

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

Malaysia vs. Spain life expectancy calculator

Life expectancy
Malaysia

Spain
1x
Year Life expectancy, years
Malaysia Spain
2026 77.2 84.1
2025 77 84
2024 76.8 83.8
2023 76.7 83.7
2022 75.4 82.4
2021 73.9 83
2020 76.1 82.2
2019 75.9 83.5
2018 75.7 83.1
2017 75.5 83
2016 75.4 83
2015 75.3 82.6
2014 75.3 82.8
2013 75.5 82.7
2012 75.6 82.2
2011 75.5 82.2
2010 75.4 82
2009 75.3 81.6
2008 75.2 81.3
2007 75 81
2006 74.7 81
2005 74.4 80.3
2004 74 80.3
2003 73.7 79.7
2002 73.5 79.8
2001 73.1 79.7
2000 72.7 79.4
1999 72.4 78.9
1998 72.4 78.9
1997 72.3 78.9
1996 72.1 78.3
1995 72 78.2
1994 71.9 78.1
1993 71.7 77.7
1992 71.5 77.6
1991 71.2 77.1
1990 71 77
1989 70.8 77
1988 70.6 76.9
1987 70.4 77
1986 70.1 76.7
1985 69.9 76.4
1984 69.6 76.5
1983 69.2 76.1
1982 68.9 76.3
1981 68.5 75.7
1980 68.1 75.5
1979 67.6 75
1978 67.2 74.5
1977 66.7 74.3
1976 66.2 73.8
1975 65.7 73.5
1974 65.2 73.1
1973 64.7 72.7
1972 64.2 73
1971 63.8 71.7
1970 63.3 72.1
1969 62.9 71.1
1968 62.4 71.7
1967 62 71.3
1966 61.7 71.2
1965 61.1 70.9
1964 60.4 70.5
1963 59.7 69.8
1962 58.9 69.6
1961 58 69.6
1960 57.2 69.2
1959 56.3 68.7
1958 55.4 68.8
1957 54.5 66.6
1956 53.7 66.8
1955 52.8 66.7
1954 52 66.9
1953 51.1 65.7
1952 50.1 64.8
1951 49.2 61.5
1950 48.5 61.8

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

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

Malaysia and Spain population clocks and comparison

Population
Malaysia

Spain
1x
Year Population
Malaysia Spain
2024 35,557,673 48,848,840
2023 35,126,298 48,352,528
2022 34,695,493 47,786,102
2021 34,282,399 47,443,821
2020 33,889,558 47,359,424
2019 33,440,596 47,118,501
2018 32,910,967 46,782,011
2017 32,355,644 46,571,232
2016 31,789,685 46,458,139
2015 31,232,798 46,422,303
2014 30,696,137 46,460,733
2013 30,174,265 46,604,197
2012 29,662,831 46,773,055
2011 29,162,039 46,742,697
2010 28,655,776 46,576,897
2009 28,124,778 46,362,946
2008 27,570,059 45,954,106
2007 26,998,389 45,226,803
2006 26,417,909 44,397,319
2005 25,836,071 43,653,155
2004 25,256,772 42,921,895
2003 24,679,602 42,187,645
2002 24,102,477 41,431,558
2001 23,526,538 40,850,412
2000 22,967,816 40,567,864
1999 22,435,531 40,386,875
1998 21,906,713 40,223,509
1997 21,375,218 40,057,389
1996 20,850,087 39,889,852
1995 20,330,599 39,724,050
1994 19,820,446 39,549,108
1993 19,322,664 39,361,262
1992 18,834,572 39,157,685
1991 18,342,464 38,966,376
1990 17,833,171 38,867,322
1989 17,314,997 38,827,764
1988 16,796,605 38,766,939
1987 16,276,737 38,684,815
1986 15,760,419 38,584,624
1985 15,252,258 38,469,512
1984 14,759,009 38,330,364
1983 14,285,907 38,171,525
1982 13,832,798 37,986,012
1981 13,399,203 37,758,631
1980 12,983,363 37,491,165
1979 12,627,862 37,191,330
1978 12,328,157 36,864,898
1977 12,035,713 36,511,638
1976 11,750,097 36,137,812
1975 11,471,914 35,757,900
1974 11,200,906 35,373,335
1973 10,935,621 34,988,947
1972 10,676,835 34,604,469
1971 10,423,453 34,224,490
1970 10,178,802 33,814,531
1969 9,947,597 33,441,054
1968 9,725,281 33,113,134
1967 9,507,099 32,682,947
1966 9,284,688 32,283,194
1965 9,056,408 31,954,292
1964 8,828,406 31,609,195
1963 8,602,160 31,296,651
1962 8,380,172 31,023,366
1961 8,164,443 30,739,250
1960 7,956,197 30,455,000

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

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

Fertility rates in Malaysia and Spain

Fertility rate
Malaysia

Spain
1x
Year Fertility rate
Malaysia Spain
2023 1.55 1.12
2022 1.55 1.16
2021 1.56 1.18
2020 1.68 1.18
2019 1.78 1.23
2018 1.84 1.26
2017 1.89 1.31
2016 1.94 1.33
2015 2.01 1.33
2014 2.06 1.32
2013 2.07 1.27
2012 2.12 1.32
2011 2.15 1.34
2010 2.14 1.37
2009 2.22 1.38
2008 2.26 1.45
2007 2.25 1.38
2006 2.31 1.36
2005 2.39 1.33
2004 2.49 1.31
2003 2.6 1.3
2002 2.66 1.25
2001 2.81 1.23
2000 2.94 1.22
1999 3.07 1.17
1998 3.12 1.13
1997 3.23 1.15
1996 3.3 1.14
1995 3.32 1.16
1994 3.35 1.19
1993 3.36 1.26
1992 3.37 1.31
1991 3.34 1.33
1990 3.3 1.36
1989 3.31 1.4
1988 3.5 1.45
1987 3.57 1.49
1986 3.7 1.56
1985 3.8 1.64
1984 3.89 1.73
1983 3.93 1.8
1982 3.97 1.94
1981 4 2.04
1980 4.04 2.22
1979 4.09 2.37
1978 4.18 2.54
1977 4.28 2.65
1976 4.4 2.77
1975 4.5 2.77
1974 4.62 2.88
1973 4.73 2.84
1972 4.82 2.87
1971 4.92 2.9
1970 5.04 2.84
1969 5.16 2.86
1968 5.29 2.87
1967 5.43 2.94
1966 5.64 2.91
1965 5.84 2.94
1964 6.03 3.01
1963 6.19 2.88
1962 6.3 2.8
1961 6.37 2.77
1960 6.41 2.86

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

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

Malaysia and Spain demographics compared

Median age
Malaysia

Spain
1x
Year Median age, years
Malaysia Spain
2024 31.5 46.4
2023 31.1 45.9
2022 30.6 45.4
2021 30.1 44.9
2020 29.6 44.5
2019 29.2 44.1
2018 28.8 43.8
2017 28.5 43.5
2016 28.1 43.1
2015 27.8 42.7
2014 27.5 42.2
2013 27.1 41.7
2012 26.8 41.1
2011 26.4 40.6
2010 26 40.2
2009 25.6 39.8
2008 25.1 39.4
2007 24.8 39.2
2006 24.5 39
2005 24.2 38.8
2004 24 38.5
2003 23.9 38.3
2002 23.7 38.1
2001 23.6 37.8
2000 23.5 37.4
1999 23.4 37
1998 23.1 36.6
1997 22.9 36.2
1996 22.7 35.7
1995 22.5 35.3
1994 22.3 34.9
1993 22.1 34.6
1992 21.9 34.2
1991 21.7 33.9
1990 21.5 33.6
1989 21.3 33.2
1988 21.1 32.9
1987 21 32.5
1986 20.9 32.2
1985 20.7 31.9
1984 20.5 31.6
1983 20.4 31.4
1982 20.1 31.1
1981 19.9 30.9
1980 19.7 30.7
1979 19.5 30.6
1978 19.3 30.4
1977 19 30.2
1976 18.8 30.1
1975 18.6 30
1974 18.3 30
1973 18.1 30
1972 17.9 30
1971 17.6 30.1
1970 17.4 30.1
1969 17.3 30.2
1968 17.1 30.4
1967 17 30.4
1966 16.9 30.3
1965 16.8 30.2
1964 16.9 30.1
1963 17 29.9
1962 17.1 29.7
1961 17.3 29.6
1960 17.5 29.4

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Malaysia Spain
GNI, Atlas method
$414B
2024
$1.64T
2024
Government expenditure, % of GDP
23.9%
2024
45.3%
2024
Education expenditure, % of GDP
3.51%
2023
4.59%
2022
Military expenditure, % of GDP
0.99%
2024
1.43%
2024
Armed forces personnel
136,000
2020
199,000
2020
Deficit/surplus, % of GDP
-3.95%
2024
-3.15%
2024
Unemployment rate
3.93%
2022
11.3%
2024
Services, % of GDP
53.7%
2024
68.9%
2024
Industry, % of GDP
37%
2024
19.5%
2024
Economic freedom index
68
2026
66.8
2026
Income share by richest 10%
30.9%
2021
24.5%
2023
Income share by poorest 10%
2.3%
2021
2.2%
2023
Number of millionaires n/a
1,202,000
2025
Percentage of millionaires n/a
3.01%
2025
Number of billionaires
19
2025
34
2025
Percentage of billionaires
0.00008%
2025
0.00009%
2025
Listed domestic companies
1,031
2024
277
2024
Market capitalization of domestic companies
$449B
2024
$754B
2024
Total reserves including gold
$116B
2024
$108B
2024
Personal remittances received
$1.61B
2024
$6.33B
2024
International tourist arrivals
4,333,000
2020
36,410,000
2020
International tourism as share of exports
1.63%
2020
19.8%
1998
Banked people share
88.7%
2024
98.4%
2024

Energy

Malaysia Spain
Energy use, kg of oil equivalent per capita
2,867 kg
2022
2,294 kg
2023
GDP PPP per kg equivalent of energy use
$12
2022
$24.3
2023
Carbon dioxide (CO2) emissions
296 megatons
2024
220.1 megatons
2024
CO2 emissions per capita
8.32 tons
2024
4.51 tons
2024
Fossil fuel energy use share
96%
2022
68.5%
2023
Renewable energy use share
7.5%
2021
19%
2021
Alternative and nuclear energy use share
2.88%
2022
25.2%
2023
Net energy imports use share
-0.58%
2022
77%
2023
Electric power consumption per capita
4,986 kWh
2022
5,118 kWh
2023
Renewable electricity output share
17%
2021
47%
2021
Hydroelectric share
16.6%
2022
10.9%
2023
Nuclear share
0%
2021
19.9%
2023
Electricity access
100%
2023
100%
2023

Society

Malaysia Spain
% of world population
0.44%
2024
0.6%
2024
Annual migration change
+166,615
2025
+96,630
2025
Urban population
76.9%
2024
80.3%
2024
Male:Female ratio
52.4:47.6
2024
49.1:50.9
2024
Average male height
5.55 ft
2025
5.78 ft
2025
Average female height
5.15 ft
2025
5.31 ft
2025
Quality of life index
68.2
2026
82.5
2026
Corruption Perceptions Index
52
2025
55
2025
Higher education index
76
2026
90
2026
Homicides per 100K people
0.72
2021
0.69
2023
Road traffic mortality per 100K people
22.5
2019
3.9
2019
Visa free countries
174
2025
173
2025
Adult literacy rate
95.8%
2022
99.7%
2021
English speaking
57.3%
2023
22%
2023
People using the Internet
98%
2024
95.8%
2024

Health

Malaysia Spain
Government health expenditure per capita
$450
2023
$3,107
2023
Out-of-pocket health expenditure per capita
$167
2023
$648
2023
Life expectancy
77.2 years
2026
84.1 years
2026
Foreign aid share of health expenditure
0.001%
2023
n/a
Physicians per 1,000 people
2.34
2023
4.29
2022
Age at first childbirth n/a
31.5 years
2023
Maternal mortality per 100K births
26
2023
3
2023
Mortality rate before reaching 5 years of age
8.1
2023
3.1
2023
Obesity rate
22.4%
2022
16.2%
2022
Diabetes prevalence
21.1%
2024
9.7%
2024
Air quality index
41
2026
77
2026
Tobacco use prevalence
22%
2022
28.4%
2022
Pure alcohol consumption per capita
0.74 liters
2020
9.16 liters
2020

Territory

Malaysia Spain
% of world land
0.22%
2026
0.34%
2026
Land area per capita
3,568 sq mi
2024
3,950 sq mi
2024
Agricultural land area
33,093 sq mi
2026
95,648 sq mi
2026
Forest area
73,219 sq mi
2026
71,757 sq mi
2026
Roads length
173,898 mi
2022
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. 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.