Skip to content

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

Updated on by Georank

The latest officially reported population of Hungary was 9,514,251 in 2025 vs 49,355,143 people in Spain in 2025. In 2026, based on the adjusted UN estimation, the current Hungary's population is 9,454,659 people compared to 49,323,658 in Spain.

Population statistics:

  • Spain's population is 5.22 times bigger than Hungary's.
  • Hungary is ranked the 97th most populous country in the world, while Spain is the 32nd.
  • The countries together account for 0.71% of the world: 0.11% for Hungary vs 0.59% for Spain.
  • For the last 10 years, Hungary has had an average growth rate of -0.3% per year vs +0.55% in Spain.
  • Since 2006, the population of Hungary has decreased from 10.1M people to 9.45M (6.12% decline), while Spain has grown from 44.4M to 49.3M (11.1% growth).

Hungary vs Spain: population by year and forecast

Hungary
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Hungary Spain
2100 7,354,125 34,221,514
2099 7,369,935 34,400,373
2098 7,385,110 34,577,450
2097 7,399,578 34,751,199
2096 7,414,169 34,917,831
2095 7,428,875 35,087,012
2094 7,443,681 35,251,362
2093 7,458,651 35,415,082
2092 7,473,041 35,577,396
2091 7,487,818 35,741,351
2090 7,502,719 35,912,083
2089 7,518,368 36,086,009
2088 7,533,773 36,257,546
2087 7,549,845 36,424,826
2086 7,566,819 36,594,101
2085 7,584,011 36,771,456
2084 7,600,723 36,951,760
2083 7,618,082 37,138,777
2082 7,636,419 37,327,720
2081 7,655,375 37,527,142
2080 7,675,218 37,732,838
2079 7,695,945 37,949,144
2078 7,717,087 38,171,047
2077 7,739,401 38,405,329
2076 7,763,134 38,654,221
2075 7,788,149 38,913,733
2074 7,814,821 39,188,284
2073 7,842,708 39,469,767
2072 7,872,075 39,765,059
2071 7,902,830 40,062,070
2070 7,934,859 40,372,388
2069 7,967,725 40,682,818
2068 8,001,662 41,005,148
2067 8,036,057 41,326,772
2066 8,071,042 41,654,672
2065 8,107,187 41,983,104
2064 8,144,020 42,321,736
2063 8,179,967 42,655,212
2062 8,215,823 42,993,328
2061 8,251,186 43,328,037
2060 8,286,212 43,648,753
2059 8,320,988 43,967,376
2058 8,354,080 44,273,756
2057 8,386,894 44,579,723
2056 8,419,815 44,885,952
2055 8,451,799 45,164,935
2054 8,483,442 45,434,986
2053 8,514,311 45,702,038
2052 8,545,085 45,951,973
2051 8,575,999 46,179,119
2050 8,606,870 46,397,620
2049 8,638,405 46,616,167
2048 8,670,073 46,812,693
2047 8,702,640 47,002,591
2046 8,735,821 47,182,235
2045 8,769,752 47,354,908
2044 8,803,827 47,514,076
2043 8,838,318 47,657,627
2042 8,873,924 47,801,904
2041 8,910,032 47,936,819
2040 8,946,870 48,066,825
2039 8,984,555 48,190,225
2038 9,022,078 48,304,880
2037 9,060,601 48,418,168
2036 9,098,588 48,528,778
2035 9,136,984 48,633,960
2034 9,175,038 48,730,594
2033 9,212,552 48,823,356
2032 9,249,719 48,914,944
2031 9,286,177 49,008,735
2030 9,322,011 49,094,273
2029 9,357,056 49,163,780
2028 9,390,506 49,223,677
2027 9,422,739 49,274,441
2026 9,454,659 49,323,658
2025 9,514,251 49,355,143
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: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

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

From 2006 to 2016, the population of Hungary decreased by 311,615 people (a 3.09% decline), while Spain gained 2,060,820 people (a 4.64% growth).

For the next 10 years, from 2016 to 2026, Hungary lost 305,096 people (a 3.13% decline), while Spain's population increased by 2,865,519 people (a 6.17% growth).

Hungary was ranked 81st most populous country in 2006 and is 97th 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) Hungary's population will shrink by 8.97% to 8,606,870 people with a rank change from 97th to 111th. The population of Spain will decrease by 5.93% to 46,397,620 people and rank change from 32nd to 46th.

Both countries are in a period of decline and in 50 years are projected to lose 17.9% of the population in Hungary and 21.6% in Spain.

Population growth rate by year

Hungary
Factual

Projection
Spain
Factual

Projection
1x
Year Growth rate
Hungary Spain
2100 -0.21% -0.52%
2099 -0.21% -0.51%
2098 -0.2% -0.5%
2097 -0.2% -0.48%
2096 -0.2% -0.48%
2095 -0.2% -0.47%
2094 -0.2% -0.46%
2093 -0.19% -0.46%
2092 -0.2% -0.46%
2091 -0.2% -0.48%
2090 -0.21% -0.48%
2089 -0.2% -0.47%
2088 -0.21% -0.46%
2087 -0.22% -0.46%
2086 -0.23% -0.48%
2085 -0.22% -0.49%
2084 -0.23% -0.5%
2083 -0.24% -0.51%
2082 -0.25% -0.53%
2081 -0.26% -0.55%
2080 -0.27% -0.57%
2079 -0.27% -0.58%
2078 -0.29% -0.61%
2077 -0.31% -0.64%
2076 -0.32% -0.67%
2075 -0.34% -0.7%
2074 -0.36% -0.71%
2073 -0.37% -0.74%
2072 -0.39% -0.74%
2071 -0.4% -0.77%
2070 -0.41% -0.76%
2069 -0.42% -0.79%
2068 -0.43% -0.78%
2067 -0.43% -0.79%
2066 -0.45% -0.78%
2065 -0.45% -0.8%
2064 -0.44% -0.78%
2063 -0.44% -0.79%
2062 -0.43% -0.77%
2061 -0.42% -0.73%
2060 -0.42% -0.72%
2059 -0.4% -0.69%
2058 -0.39% -0.69%
2057 -0.39% -0.68%
2056 -0.38% -0.62%
2055 -0.37% -0.59%
2054 -0.36% -0.58%
2053 -0.36% -0.54%
2052 -0.36% -0.49%
2051 -0.36% -0.47%
2050 -0.37% -0.47%
2049 -0.37% -0.42%
2048 -0.37% -0.4%
2047 -0.38% -0.38%
2046 -0.39% -0.36%
2045 -0.39% -0.33%
2044 -0.39% -0.3%
2043 -0.4% -0.3%
2042 -0.41% -0.28%
2041 -0.41% -0.27%
2040 -0.42% -0.26%
2039 -0.42% -0.24%
2038 -0.43% -0.23%
2037 -0.42% -0.23%
2036 -0.42% -0.22%
2035 -0.41% -0.2%
2034 -0.41% -0.19%
2033 -0.4% -0.19%
2032 -0.39% -0.19%
2031 -0.38% -0.17%
2030 -0.37% -0.14%
2029 -0.36% -0.12%
2028 -0.34% -0.1%
2027 -0.34% -0.1%
2026 -0.63% -0.06%
2025 -0.5% 1.04%
2024 -0.31% 1.03%
2023 -0.13% 1.19%
2022 -0.27% 0.72%
2021 -0.41% 0.18%
2020 -0.25% 0.51%
2019 -0.13% 0.72%
2018 -0.2% 0.45%
2017 -0.34% 0.24%
2016 -0.39% 0.08%
2015 -0.36% -0.08%
2014 -0.4% -0.31%
2013 -0.48% -0.36%
2012 -0.52% 0.06%
2011 -0.28% 0.36%
2010 -0.23% 0.46%
2009 -0.15% 0.89%
2008 -0.17% 1.61%
2007 -0.15% 1.87%
2006 -0.16% 1.7%
2005 -0.2% 1.7%
2004 -0.22% 1.74%
2003 -0.29% 1.82%
2002 -0.28% 1.42%
2001 -0.23% 0.7%
2000 -0.26% 0.45%
1999 -0.28% 0.41%
1998 -0.23% 0.41%
1997 -0.2% 0.42%
1996 -0.17% 0.42%
1995 -0.14% 0.44%
1994 -0.14% 0.48%
1993 -0.11% 0.52%
1992 -0.04% 0.49%
1991 -0.006% 0.25%
1990 -1.03% 0.1%
1989 -1.08% 0.16%
1988 -0.15% 0.21%
1987 -0.17% 0.26%
1986 -0.17% 0.3%
1985 -0.18% 0.36%
1984 -0.2% 0.42%
1983 -0.15% 0.49%
1982 -0.06% 0.6%
1981 0.007% 0.71%
1980 0.07% 0.81%
1979 0.18% 0.89%
1978 0.35% 0.97%
1977 0.47% 1.03%
1976 0.55% 1.06%
1975 0.59% 1.09%
1974 0.45% 1.1%
1973 0.32% 1.11%
1972 0.3% 1.11%
1971 0.29% 1.21%
1970 0.38% 1.12%
1969 0.42% 0.99%
1968 0.38% 1.32%
1967 0.37% 1.24%
1966 0.3% 1.03%
1965 0.28% 1.09%
1964 0.32% 1%
1963 0.27% 0.88%
1962 0.33% 0.92%
1961 0.45% 0.93%

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

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

In 2025, the population of Hungary declined by 0.5%, while Spain's population grew by 1.04%.

Live population counters

Hungary Spain
Current population
9454659
49323658
Population rank 97/197 32/197
Percent of world population 0.11% 0.59%
One net population change
11 minutes
1.04 minutes
One birth every
6.7 minutes
1.66 minutes
One death every
4.1 minutes
1.21 minutes
Daily growth/decline -131 +1,387
Annual growth/decline -47,814 +506,303
Annual growth/decline rate -0.5% +1.04%
Population growth rate rank 184/197 98/197
One migration net change every
32.3 minutes
5.45 minutes
Annual migration change -16,331 +96,630
Net migration rank 149/196 17/196
Foreign-born residents 689,565 8,870,527
Foreign-born residents rank 71/195 6/195
Foreign-born share of population 7.1% 18.5%
Foreign-born share rank 79/195 32/195

Natural population change vs migration

Hungary
Natural

Migration
Spain
Natural

Migration
1x
Year Population change
Hungary Spain
Natural Migration Natural Migration
2025 - -16,331 - 96,630
2024 -49,723 16,223 -117,237 111,674
2023 -41,247 49,213 -116,046 119,099
2022 -47,065 41,871 -133,801 299,779
2021 -61,638 20,372 -113,865 144,385
2020 -47,385 9,147 -151,551 236,854
2019 -36,840 34,339 -56,542 464,783
2018 -37,858 34,190 -56,139 337,467
2017 -37,934 20,200 -32,600 201,135
2016 -31,231 68 0 106,474
2015 -39,191 13,856 -4,642 -1,979
2014 -32,449 11,581 32,522 -97,870
2013 -36,529 5,635 37,284 -250,741
2012 -38,689 15,286 51,450 -153,486
2011 -40,884 1,859 84,137 60,761
2010 -40,000 10,592 102,469 69,406
2009 -34,077 17,281 106,635 129,557
2008 -31,118 16,166 133,267 434,135
2007 -35,195 13,697 108,545 772,317
2006 -32,228 19,890 110,994 659,720
2005 -38,331 16,925 78,576 629,803
2004 -37,396 16,637 85,844 661,158
2003 -41,531 13,879 54,844 658,428
2002 -36,571 2,822 53,861 737,880
2001 -35,657 10,386 44,936 181,307
2000 -37,780 13,414 36,512 176,269
1999 -49,140 12,819 8,077 178,559
1998 -43,120 13,568 4,022 182,926
1997 -38,075 14,186 20,028 165,345
1996 -38,152 14,605 11,967 162,704
1995 -34,086 14,927 15,889 162,434
1994 -31,030 15,159 31,639 160,407
1993 -33,144 15,540 47,234 160,907
1992 -26,960 16,238 62,652 177,544
1991 -17,635 16,873 58,450 122,841
1990 -19,710 16,991 66,075 -30,684
1989 -20,963 -16,991 81,538 -25,892
1988 -15,895 -16,052 100,794 -17,663
1987 -15,919 -16,175 116,054 -12,681
1986 -18,072 -16,339 131,188 -13,540
1985 -18,103 -15,890 146,184 -589
1984 -21,336 -16,216 172,487 2,754
1983 -21,379 -16,047 183,223 1,241
1982 -10,705 -16,531 231,714 -7,384
1981 -2,142 -16,869 237,879 2,563
1980 3,213 -17,795 281,184 20,166
1979 23,549 3,629 312,407 -5,929
1978 27,780 290 339,157 -2,504
1977 45,787 -54 361,465 -1,332
1976 52,993 -472 375,834 2,804
1975 63,243 -335 371,882 -218
1974 60,777 132 396,182 105,838
1973 33,382 -1,512 374,381 8,624
1972 34,315 -8 391,030 7,935
1971 26,956 -15 369,625 7,363
1970 32,048 -96 378,723 -60,580
1969 38,105 -333 367,851 -49,956
1968 39,997 -324 387,423 -46,088
1967 39,845 -414 402,001 -42,344
1966 36,643 -726 397,084 -41,467
1965 24,355 -537 405,819 -42,476
1964 31,371 -739 429,885 -41,461
1963 32,282 -822 394,338 -44,446
1962 21,128 -1,738 384,690 -45,211
1961 44,123 -1,177 396,537 -46,517
1960 44,926 -1,108 398,960 -154,869

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).

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

Over the last 10 years, 64.2% of the population change in Hungary is from natural causes (a loss of 430,112 people) and 35.8% is from migration (a gain of 239,479 people). In Spain 27.9% is from natural causes (a loss of 782,423 people) and 72.1% is from migration (a gain of 2,019,671 people).

As of 2024, 689,565 residents or 7.1% of the population were not native-born in Hungary, compared to 8,870,527 people or 18.5% in Spain.

Biggest cities by population

Hungary
City Population
Budapest 1.69M
Debrecen 202K
Szeged 157K
Miskolc 141K
Pecs 139K
Gyor 129K
Nyiregyhaza 115K
Kecskemet 109K
Szekesfehervar 95.2K
Szombathely 76.9K
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–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

GeoRank.org/population/hungary/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-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Wikidata (2026, retrieved 2026-07-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)

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.