Skip to content

Hungary vs Spain statistics compared

Updated on by Georank team

Hungary has a population of 9.56M (ranked 97/197), compared with 48.8M in Spain (ranked 32/197). Hungary's land area is 35,236 sq mi versus 192,934 sq mi for Spain (ranked 109th vs. 51st).

By GDP, Hungary ranks 55/197 ($223B) and Spain ranks 15/197 ($1.73T). By GDP per capita, Hungary ranks 55/197 ($23,292), while Spain ranks 32/197 ($35,327).

Main facts and rankings

Hungary Spain
Population
9475525
48806901
Population rank 98/197 32/197
GDP
$223B
2024
$1.73T
2024
GDP rank 55/197 15/197
GDP per capita
$23,292
2024
$35,327
2024
GDP per capita rank 55/197 32/197
GDP per capita, PPP
$48,552
2024
$57,965
2024
Government debt
$164B
2024
$1.75T
2024
Debt-to-GDP ratio
73.5%
2024
101.6%
2024
Government debt per person
$17,109
2024
$35,909
2024
Government debt per person rank 37/185 20/185
Average annual personal income after taxes
$16,996
2026
$25,470
2026
Land area 35,236 sq mi 192,934 sq mi
Population density
268.9 ppl/mi²
2026
253 ppl/mi²
2026
Fertility rate
1.51
2023
1.12
2023
Median age
44.6 years
2024
46.4 years
2024
Life expectancy
77.5 years
2026
84.1 years
2026

Hungary and Spain: Comparison Charts

Hungary and Spain economies compared

GDP
Hungary

Spain
1x
Year GDP
Hungary Spain
2024 $222,722,738,926 $1,725,671,652,742
2023 $213,240,316,635 $1,619,481,980,720
2022 $177,002,580,544 $1,448,850,658,407
2021 $183,282,685,440 $1,461,244,901,853
2020 $158,468,487,754 $1,289,783,836,971
2019 $164,936,682,034 $1,403,496,387,686
2018 $161,184,691,014 $1,431,642,809,327
2017 $143,335,098,992 $1,321,754,088,819
2016 $128,983,560,865 $1,243,015,667,917
2015 $125,244,126,623 $1,206,164,777,553
2014 $141,128,696,412 $1,380,244,561,362
2013 $135,646,053,779 $1,362,186,923,158
2012 $128,470,269,690 $1,330,994,811,670
2011 $141,712,804,954 $1,487,568,659,241
2010 $131,898,737,241 $1,427,989,078,917
2009 $130,807,441,076 $1,496,587,590,848
2008 $158,228,265,916 $1,636,115,447,613
2007 $140,123,326,896 $1,476,746,276,855
2006 $115,604,111,412 $1,261,846,683,275
2005 $113,098,237,571 $1,154,667,551,776
2004 $104,015,363,080 $1,069,829,382,515
2003 $85,190,469,121 $907,963,217,058
2002 $67,636,468,625 $708,938,227,244
2001 $53,800,068,066 $627,798,682,379
2000 $47,275,954,429 $598,102,854,756
1999 $49,160,204,397 $634,394,904,387
1998 $48,784,412,624 $618,731,484,575
1997 $47,398,564,799 $589,739,772,727
1996 $46,833,767,124 $642,251,412,058
1995 $46,577,614,589 $614,170,002,669
1994 $43,307,949,890 $530,183,651,720
1993 $40,256,233,360 $524,700,572,624
1992 $38,857,339,125 $630,465,353,486
1991 $34,867,307,353 $576,753,902,322
1990 $34,478,360,679 $536,175,326,477
1989 $30,422,508,938 $414,460,794,097
1988 $29,799,838,597 $375,891,716,898
1987 $27,232,016,527 $318,520,253,335
1986 $24,778,163,812 $251,141,555,186
1985 $21,510,643,750 $180,664,322,896
1984 $21,242,726,264 $171,979,977,230
1983 $21,910,365,258 $170,829,074,246
1982 $24,141,667,188 $195,856,752,991
1981 $23,705,883,892 $202,663,023,968
1980 $23,116,977,148 $232,600,556,974
1979 $19,959,731,325 $214,448,666,336
1978 $17,286,744,154 $160,484,969,618
1977 $14,783,674,055 $132,354,665,936
1976 $13,235,612,079 $118,422,534,195
1975 $11,420,392,515 $114,695,060,870
1974 $10,016,338,179 $97,204,522,642
1973 $9,138,292,402 $78,583,355,226
1972 $7,379,313,742 $59,090,176,029
1971 $6,291,568,221 $46,586,119,760
1970 $5,780,929,203 $40,963,715,237
1969 $5,429,812,387 $37,090,689,288
1968 $4,886,222,555 $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/hungary/spain | CC BY

Hungary and Spain economies compared

GDP per capita
Hungary

Spain
1x
Year GDP per capita
Hungary Spain
2024 $23,292 $35,327
2023 $22,231 $33,493
2022 $18,428 $30,319
2021 $19,031 $30,799
2020 $16,387 $27,234
2019 $17,013 $29,787
2018 $16,605 $30,602
2017 $14,736 $28,381
2016 $13,216 $26,756
2015 $12,783 $25,982
2014 $14,353 $29,708
2013 $13,739 $29,229
2012 $12,950 $28,456
2011 $14,211 $31,825
2010 $13,190 $30,659
2009 $13,051 $32,280
2008 $15,763 $35,603
2007 $13,935 $32,652
2006 $11,478 $28,422
2005 $11,212 $26,451
2004 $10,291 $24,925
2003 $8,410 $21,522
2002 $6,658 $17,111
2001 $5,281 $15,368
2000 $4,630 $14,743
1999 $4,802 $15,708
1998 $4,752 $15,382
1997 $4,606 $14,722
1996 $4,542 $16,101
1995 $4,509 $15,461
1994 $4,187 $13,406
1993 $3,887 $13,330
1992 $3,747 $16,101
1991 $3,361 $14,801
1990 $3,324 $13,795
1989 $2,902 $10,674
1988 $2,812 $9,696
1987 $2,566 $8,234
1986 $2,331 $6,509
1985 $2,020 $4,696
1984 $1,991 $4,487
1983 $2,050 $4,475
1982 $2,255 $5,156
1981 $2,213 $5,367
1980 $2,158 $6,204
1979 $1,865 $5,766
1978 $1,618 $4,353
1977 $1,388 $3,625
1976 $1,249 $3,277
1975 $1,083 $3,208
1974 $956 $2,748
1973 $876 $2,246
1972 $710 $1,708
1971 $607 $1,361
1970 $559 $1,211
1969 $527 $1,109
1968 $476 $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/hungary/spain | CC BY

Hungary vs. Spain life expectancy calculator

Life expectancy
Hungary

Spain
1x
Year Life expectancy, years
Hungary Spain
2026 77.5 84.1
2025 77.3 84
2024 77.2 83.8
2023 77 83.7
2022 76.2 82.4
2021 74.2 83
2020 75.7 82.2
2019 76.5 83.5
2018 76.2 83.1
2017 76 83
2016 76.2 83
2015 75.7 82.6
2014 75.8 82.8
2013 75.7 82.7
2012 75.2 82.2
2011 74.9 82.2
2010 74.5 82
2009 74.2 81.6
2008 74 81.3
2007 73.4 81
2006 73.3 81
2005 72.9 80.3
2004 72.9 80.3
2003 72.5 79.7
2002 72.5 79.8
2001 72.4 79.7
2000 71.8 79.4
1999 71 78.9
1998 70.9 78.9
1997 71 78.9
1996 70.6 78.3
1995 70 78.2
1994 69.6 78.1
1993 69.2 77.7
1992 69.2 77.6
1991 69.4 77.1
1990 69.4 77
1989 69.4 77
1988 69.9 76.9
1987 69.6 77
1986 69.1 76.7
1985 68.9 76.4
1984 69 76.5
1983 68.9 76.1
1982 69.4 76.3
1981 69.2 75.7
1980 69.1 75.5
1979 69.7 75
1978 69.5 74.5
1977 69.9 74.3
1976 69.7 73.8
1975 69.4 73.5
1974 69.3 73.1
1973 69.6 72.7
1972 69.7 73
1971 69.1 71.7
1970 69.2 72.1
1969 69.4 71.1
1968 69.3 71.7
1967 69.5 71.3
1966 69.9 71.2
1965 69.1 70.9
1964 69.5 70.5
1963 68.9 69.8
1962 67.9 69.6
1961 69 69.6
1960 68.1 69.2
1959 67.3 68.7
1958 67.4 68.8
1957 66.3 66.6
1956 66 66.8
1955 66.9 66.7
1954 65.4 66.9
1953 63.9 65.7
1952 63.9 64.8
1951 62.5 61.5
1950 62.1 61.8

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

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

Hungary and Spain population clocks and comparison

Population
Hungary

Spain
1x
Year Population
Hungary Spain
2024 9,562,065 48,848,840
2023 9,592,186 48,352,528
2022 9,605,074 47,786,102
2021 9,630,932 47,443,821
2020 9,670,419 47,359,424
2019 9,694,824 47,118,501
2018 9,706,964 46,782,011
2017 9,726,756 46,571,232
2016 9,759,755 46,458,139
2015 9,797,755 46,422,303
2014 9,833,038 46,460,733
2013 9,872,734 46,604,197
2012 9,920,362 46,773,055
2011 9,971,727 46,742,697
2010 10,000,023 46,576,897
2009 10,022,650 46,362,946
2008 10,038,188 45,954,106
2007 10,055,780 45,226,803
2006 10,071,370 44,397,319
2005 10,087,065 43,653,155
2004 10,107,146 42,921,895
2003 10,129,552 42,187,645
2002 10,158,608 41,431,558
2001 10,187,576 40,850,412
2000 10,210,971 40,567,864
1999 10,237,530 40,386,875
1998 10,266,570 40,223,509
1997 10,290,486 40,057,389
1996 10,311,238 39,889,852
1995 10,328,965 39,724,050
1994 10,343,355 39,549,108
1993 10,357,523 39,361,262
1992 10,369,341 39,157,685
1991 10,373,400 38,966,376
1990 10,373,988 38,867,322
1989 10,481,719 38,827,764
1988 10,596,487 38,766,939
1987 10,612,741 38,684,815
1986 10,630,564 38,584,624
1985 10,648,713 38,469,512
1984 10,668,095 38,330,364
1983 10,689,463 38,171,525
1982 10,705,535 37,986,012
1981 10,711,848 37,758,631
1980 10,711,122 37,491,165
1979 10,704,152 37,191,330
1978 10,684,822 36,864,898
1977 10,648,031 36,511,638
1976 10,598,677 36,137,812
1975 10,540,525 35,757,900
1974 10,478,720 35,373,335
1973 10,432,055 34,988,947
1972 10,398,489 34,604,469
1971 10,367,537 34,224,490
1970 10,337,910 33,814,531
1969 10,298,723 33,441,054
1968 10,255,815 33,113,134
1967 10,216,604 32,682,947
1966 10,178,653 32,283,194
1965 10,147,935 31,954,292
1964 10,119,835 31,609,195
1963 10,087,947 31,296,651
1962 10,060,825 31,023,366
1961 10,027,958 30,739,250
1960 9,983,512 30,455,000

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

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

Fertility rates in Hungary and Spain

Fertility rate
Hungary

Spain
1x
Year Fertility rate
Hungary Spain
2023 1.51 1.12
2022 1.56 1.16
2021 1.61 1.18
2020 1.59 1.18
2019 1.55 1.23
2018 1.55 1.26
2017 1.54 1.31
2016 1.53 1.33
2015 1.45 1.33
2014 1.44 1.32
2013 1.35 1.27
2012 1.34 1.32
2011 1.23 1.34
2010 1.25 1.37
2009 1.32 1.38
2008 1.35 1.45
2007 1.32 1.38
2006 1.34 1.36
2005 1.31 1.33
2004 1.28 1.31
2003 1.27 1.3
2002 1.3 1.25
2001 1.31 1.23
2000 1.32 1.22
1999 1.28 1.17
1998 1.32 1.13
1997 1.37 1.15
1996 1.46 1.14
1995 1.57 1.16
1994 1.64 1.19
1993 1.68 1.26
1992 1.77 1.31
1991 1.87 1.33
1990 1.87 1.36
1989 1.82 1.4
1988 1.81 1.45
1987 1.82 1.49
1986 1.84 1.56
1985 1.85 1.64
1984 1.75 1.73
1983 1.75 1.8
1982 1.8 1.94
1981 1.88 2.04
1980 1.91 2.22
1979 2.01 2.37
1978 2.06 2.54
1977 2.15 2.65
1976 2.23 2.77
1975 2.35 2.77
1974 2.27 2.88
1973 1.93 2.84
1972 1.93 2.87
1971 1.93 2.9
1970 1.98 2.84
1969 2.04 2.86
1968 2.06 2.87
1967 2.01 2.94
1966 1.89 2.91
1965 1.82 2.94
1964 1.82 3.01
1963 1.82 2.88
1962 1.79 2.8
1961 1.94 2.77
1960 2.02 2.86

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

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

Hungary and Spain demographics compared

Median age
Hungary

Spain
1x
Year Median age, years
Hungary Spain
2024 44.6 46.4
2023 44.2 45.9
2022 43.9 45.4
2021 43.6 44.9
2020 43.3 44.5
2019 43 44.1
2018 42.8 43.8
2017 42.6 43.5
2016 42.3 43.1
2015 41.9 42.7
2014 41.5 42.2
2013 41.2 41.7
2012 40.9 41.1
2011 40.4 40.6
2010 39.9 40.2
2009 39.6 39.8
2008 39.4 39.4
2007 39.2 39.2
2006 39.1 39
2005 39 38.8
2004 38.9 38.5
2003 38.8 38.3
2002 38.7 38.1
2001 38.6 37.8
2000 38.4 37.4
1999 38.3 37
1998 38.1 36.6
1997 37.9 36.2
1996 37.7 35.7
1995 37.5 35.3
1994 37.2 34.9
1993 37 34.6
1992 36.9 34.2
1991 36.7 33.9
1990 36.5 33.6
1989 36.1 33.2
1988 35.8 32.9
1987 35.5 32.5
1986 35.3 32.2
1985 35.1 31.9
1984 34.9 31.6
1983 34.7 31.4
1982 34.5 31.1
1981 34.4 30.9
1980 34.3 30.7
1979 34.3 30.6
1978 34.2 30.4
1977 34.2 30.2
1976 34.2 30.1
1975 34.3 30
1974 34.3 30
1973 34.3 30
1972 34.3 30
1971 34.2 30.1
1970 34.1 30.1
1969 34.1 30.2
1968 34 30.4
1967 33.8 30.4
1966 33.7 30.3
1965 33.4 30.2
1964 33.2 30.1
1963 32.9 29.9
1962 32.6 29.7
1961 32.4 29.6
1960 32.1 29.4

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

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

Interactive Maps

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

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

National statistics comparison

Finance

Hungary Spain
GNI, Atlas method
$199B
2024
$1.64T
2024
Government expenditure, % of GDP
46.9%
2024
45.3%
2024
Education expenditure, % of GDP
3.81%
2022
4.59%
2022
Military expenditure, % of GDP
2.16%
2024
1.43%
2024
Armed forces personnel
46,000
2020
199,000
2020
Deficit/surplus, % of GDP
-4.92%
2024
-3.15%
2024
Unemployment rate
4.47%
2024
11.3%
2024
Services, % of GDP
59.5%
2024
68.9%
2024
Industry, % of GDP
23.7%
2024
19.5%
2024
Economic freedom index
62.5
2026
66.8
2026
Income share by richest 10%
24.4%
2022
24.5%
2023
Income share by poorest 10%
2.8%
2022
2.2%
2023
Number of millionaires
24,692
2025
1,202,000
2025
Percentage of millionaires
0.32%
2025
3.01%
2025
Number of billionaires
4
2025
34
2025
Percentage of billionaires
0.00005%
2025
0.00009%
2025
Listed domestic companies
68
2024
277
2024
Market capitalization of domestic companies
$41.5B
2024
$754B
2024
Total reserves including gold
$46.4B
2024
$108B
2024
Personal remittances received
$5.48B
2024
$6.33B
2024
International tourist arrivals
31,641,000
2020
36,410,000
2020
International tourism as share of exports
3.4%
2020
19.8%
1998
Banked people share
87%
2024
98.4%
2024

Energy

Hungary Spain
Energy use, kg of oil equivalent per capita
2,515 kg
2023
2,294 kg
2023
GDP PPP per kg equivalent of energy use
$18.5
2023
$24.3
2023
Carbon dioxide (CO2) emissions
42.6 megatons
2024
220.1 megatons
2024
CO2 emissions per capita
4.46 tons
2024
4.51 tons
2024
Fossil fuel energy use share
64.2%
2023
68.5%
2023
Renewable energy use share
15.3%
2021
19%
2021
Alternative and nuclear energy use share
21.1%
2023
25.2%
2023
Net energy imports use share
62.5%
2023
77%
2023
Electric power consumption per capita
4,605 kWh
2023
5,118 kWh
2023
Renewable electricity output share
19.1%
2021
47%
2021
Hydroelectric share
0.62%
2023
10.9%
2023
Nuclear share
44.8%
2023
19.9%
2023
Electricity access
100%
2023
100%
2023

Society

Hungary Spain
% of world population
0.12%
2024
0.6%
2024
Annual migration change
-16,331
2025
+96,630
2025
Urban population
70.5%
2024
80.3%
2024
Male:Female ratio
48:52
2024
49.1:50.9
2024
Average male height
5.79 ft
2025
5.78 ft
2025
Average female height
5.33 ft
2025
5.31 ft
2025
Quality of life index
70.6
2026
82.5
2026
Corruption Perceptions Index
40
2025
55
2025
Higher education index
80
2026
90
2026
Homicides per 100K people
0.77
2023
0.69
2023
Road traffic mortality per 100K people
7.7
2019
3.9
2019
Visa free countries
171
2025
173
2025
Adult literacy rate
99.1%
2021
99.7%
2021
English speaking
25.3%
2023
22%
2023
People using the Internet
93.8%
2024
95.8%
2024

Health

Hungary Spain
Government health expenditure per capita
$1,420
2023
$3,107
2023
Out-of-pocket health expenditure per capita
$327
2023
$648
2023
Life expectancy
77.5 years
2026
84.1 years
2026
Foreign aid share of health expenditure
0%
2023
n/a
Physicians per 1,000 people
3.46
2022
4.29
2022
Age at first childbirth
28.8 years
2023
31.5 years
2023
Maternal mortality per 100K births
12
2023
3
2023
Mortality rate before reaching 5 years of age
3.8
2023
3.1
2023
Obesity rate
32.5%
2022
16.2%
2022
Diabetes prevalence
8.3%
2024
9.7%
2024
Air quality index
59
2026
77
2026
Tobacco use prevalence
32.2%
2022
28.4%
2022
Pure alcohol consumption per capita
9.93 liters
2020
9.16 liters
2020

Territory

Hungary Spain
% of world land
0.06%
2026
0.34%
2026
Land area per capita
3,685 sq mi
2024
3,950 sq mi
2024
Agricultural land area
19,626 sq mi
2026
95,648 sq mi
2026
Forest area
7,910 sq mi
2026
71,757 sq mi
2026
Roads length
130,979 mi
2018
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.