Skip to content

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

Updated on by Georank team

The latest officially reported population of Hungary was 9,562,065 in 2024 vs 48,848,840 people in Spain in 2024. In 2026, based on the adjusted UN estimation, the current Hungary's population is 9,475,525 people compared to 48,806,901 in Spain.

Population statistics:

  • Spain's population is 5.15 times bigger than Hungary's.
  • Hungary is ranked the 98th most populous country in the world, while Spain is the 32nd.
  • The countries together account for 0.7% 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.29% per year vs +0.43% in Spain.
  • Since 2006, the population of Hungary has decreased from 10.1M people to 9.48M (5.92% decline), while Spain has grown from 44.4M to 48.8M (9.93% growth).

Hungary vs Spain: population by year and forecast

Hungary
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Hungary Spain
2100 7,370,355 33,862,981
2099 7,386,200 34,039,965
2098 7,401,408 34,215,187
2097 7,415,908 34,387,116
2096 7,430,531 34,552,002
2095 7,445,269 34,719,411
2094 7,460,108 34,882,039
2093 7,475,111 35,044,043
2092 7,489,534 35,204,657
2091 7,504,343 35,366,895
2090 7,519,276 35,535,838
2089 7,534,960 35,707,942
2088 7,550,399 35,877,681
2087 7,566,507 36,043,209
2086 7,583,518 36,210,710
2085 7,600,748 36,386,207
2084 7,617,497 36,564,622
2083 7,634,894 36,749,680
2082 7,653,272 36,936,644
2081 7,672,270 37,133,976
2080 7,692,156 37,337,517
2079 7,712,929 37,551,557
2078 7,734,118 37,771,135
2077 7,756,481 38,002,963
2076 7,780,266 38,249,247
2075 7,805,336 38,506,040
2074 7,832,068 38,777,715
2073 7,860,016 39,056,249
2072 7,889,448 39,348,447
2071 7,920,271 39,642,346
2070 7,952,370 39,949,413
2069 7,985,309 40,256,590
2068 8,019,321 40,575,543
2067 8,053,791 40,893,798
2066 8,088,854 41,218,263
2065 8,125,079 41,543,254
2064 8,161,993 41,878,338
2063 8,198,019 42,208,320
2062 8,233,954 42,542,893
2061 8,269,395 42,874,096
2060 8,304,498 43,191,452
2059 8,339,351 43,506,737
2058 8,372,516 43,809,907
2057 8,405,403 44,112,668
2056 8,438,397 44,415,689
2055 8,470,451 44,691,749
2054 8,502,165 44,958,971
2053 8,533,102 45,223,225
2052 8,563,943 45,470,541
2051 8,594,925 45,695,307
2050 8,625,864 45,911,520
2049 8,657,469 46,127,777
2048 8,689,207 46,322,244
2047 8,721,846 46,510,152
2046 8,755,100 46,687,914
2045 8,789,106 46,858,778
2044 8,823,256 47,016,278
2043 8,857,823 47,158,325
2042 8,893,508 47,301,091
2041 8,929,696 47,434,593
2040 8,966,615 47,563,236
2039 9,004,383 47,685,343
2038 9,041,989 47,798,797
2037 9,080,597 47,910,899
2036 9,118,668 48,020,350
2035 9,157,148 48,124,430
2034 9,195,286 48,220,051
2033 9,232,883 48,311,842
2032 9,270,132 48,402,470
2031 9,306,671 48,495,278
2030 9,342,584 48,579,920
2029 9,377,706 48,648,699
2028 9,411,230 48,707,969
2027 9,443,534 48,758,200
2026 9,475,525 48,806,901
2025 9,535,248 48,838,057
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

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 284,230 people (a 2.91% decline), while Spain's population increased by 2,348,762 people (a 5.06% growth).

Hungary was ranked 81st most populous country in 2006 and is 98th 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,625,864 people with a rank change from 98th to 111th. The population of Spain will decrease by 5.93% to 45,911,520 people and rank change from 32nd to 47th.

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.28% -0.02%
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 (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

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

In 2024, the population of Hungary declined by 0.31%, while Spain's population grew by 1.03%.

Live population counters

Hungary Spain
Current population
9475525
48806901
Population rank 98/197 32/197
Percent of world population 0.11% 0.59%
One net population change
17.4 minutes
1.06 minutes
One birth every
6.02 minutes
1.62 minutes
One death every
4.09 minutes
1.21 minutes
Daily growth/decline -83 +1,360
Annual growth/decline -30,121 +496,312
Annual growth/decline rate -0.31% +1.03%
Population growth rate rank 179/197 100/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 - 16,223 - 111,674
2023 -41,247 49,213 -111,211 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-04-06).

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

Over the last 10 years, 63.7% of the population change in Hungary is from natural causes (a loss of 412,838 people) and 36.3% is from migration (a gain of 234,837 people). In Spain 25.8% is from natural causes (a loss of 627,829 people) and 74.2% is from migration (a gain of 1,810,127 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–2024, retrieved 2026-04-06); United Nations | World Population Prospects (1960–2026, retrieved 2026-03-10); U.S. Census Bureau (1960–2025, retrieved 2026-02-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20).

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-04-06)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Wikidata (2026, retrieved 2026-02-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)

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.