Skip to content

Population in Hungary compared to San Marino: Trends, Charts, Rankings

Updated on by Georank team

The latest officially reported population of Hungary was 9,562,065 in 2024 vs 33,977 people in San Marino in 2024. In 2026, based on the adjusted UN estimation, the current Hungary's population is 9,475,525 people compared to 33,967 in San Marino.

Population statistics:

  • Hungary's population is 279 times bigger than San Marino's.
  • Hungary is ranked the 98th most populous country in the world, while San Marino is the 193rd.
  • The countries together account for 0.11% of the world: 0.11% for Hungary vs 0.0004% for San Marino.
  • For the last 10 years, Hungary has had an average growth rate of -0.29% per year vs +0.26% in San Marino.
  • Since 2006, the population of Hungary has decreased from 10.1M people to 9.48M (5.92% decline), while San Marino has grown from 30.2K to 34K (12.5% growth).

Hungary vs San Marino: population by year and forecast

Hungary
Factual

Projection
San Marino
Factual

Projection
1x
Year Population
Hungary San Marino
2100 7,370,355 31,516
2099 7,386,200 31,536
2098 7,401,408 31,548
2097 7,415,908 31,591
2096 7,430,531 31,608
2095 7,445,269 31,590
2094 7,460,108 31,583
2093 7,475,111 31,554
2092 7,489,534 31,576
2091 7,504,343 31,564
2090 7,519,276 31,575
2089 7,534,960 31,561
2088 7,550,399 31,553
2087 7,566,507 31,538
2086 7,583,518 31,512
2085 7,600,748 31,465
2084 7,617,497 31,452
2083 7,634,894 31,441
2082 7,653,272 31,425
2081 7,672,270 31,384
2080 7,692,156 31,402
2079 7,712,929 31,398
2078 7,734,118 31,395
2077 7,756,481 31,409
2076 7,780,266 31,441
2075 7,805,336 31,481
2074 7,832,068 31,532
2073 7,860,016 31,591
2072 7,889,448 31,653
2071 7,920,271 31,723
2070 7,952,370 31,792
2069 7,985,309 31,885
2068 8,019,321 31,986
2067 8,053,791 32,115
2066 8,088,854 32,219
2065 8,125,079 32,351
2064 8,161,993 32,487
2063 8,198,019 32,605
2062 8,233,954 32,740
2061 8,269,395 32,868
2060 8,304,498 32,991
2059 8,339,351 33,129
2058 8,372,516 33,266
2057 8,405,403 33,402
2056 8,438,397 33,535
2055 8,470,451 33,646
2054 8,502,165 33,770
2053 8,533,102 33,883
2052 8,563,943 33,976
2051 8,594,925 34,049
2050 8,625,864 34,083
2049 8,657,469 34,138
2048 8,689,207 34,196
2047 8,721,846 34,234
2046 8,755,100 34,277
2045 8,789,106 34,310
2044 8,823,256 34,359
2043 8,857,823 34,365
2042 8,893,508 34,334
2041 8,929,696 34,338
2040 8,966,615 34,348
2039 9,004,383 34,333
2038 9,041,989 34,296
2037 9,080,597 34,243
2036 9,118,668 34,217
2035 9,157,148 34,182
2034 9,195,286 34,162
2033 9,232,883 34,155
2032 9,270,132 34,130
2031 9,306,671 34,122
2030 9,342,584 34,104
2029 9,377,706 34,082
2028 9,411,230 34,030
2027 9,443,534 33,990
2026 9,475,525 33,959
2025 9,535,248 33,924
2024 9,562,065 33,977
2023 9,592,186 33,860
2022 9,605,074 33,755
2021 9,630,932 34,252
2020 9,670,419 34,770
2019 9,694,824 34,663
2018 9,706,964 34,522
2017 9,726,756 33,825
2016 9,759,755 33,101
2015 9,797,755 32,897
2014 9,833,038 32,655
2013 9,872,734 33,041
2012 9,920,362 33,469
2011 9,971,727 32,620
2010 10,000,023 33,270
2009 10,022,650 33,066
2008 10,038,188 31,662
2007 10,055,780 31,211
2006 10,071,370 30,184
2005 10,087,065 29,836
2004 10,107,146 29,457
2003 10,129,552 27,843
2002 10,158,608 27,491
2001 10,187,576 27,143
2000 10,210,971 26,799
1999 10,237,530 26,459
1998 10,266,570 26,125
1997 10,290,486 25,800
1996 10,311,238 25,482
1995 10,328,965 25,158
1994 10,343,355 24,823
1993 10,357,523 24,472
1992 10,369,341 24,125
1991 10,373,400 23,797
1990 10,373,988 23,475
1989 10,481,719 23,154
1988 10,596,487 22,843
1987 10,612,741 22,686
1986 10,630,564 22,636
1985 10,648,713 22,485
1984 10,668,095 22,346
1983 10,689,463 22,229
1982 10,705,535 22,055
1981 10,711,848 21,840
1980 10,711,122 21,585
1979 10,704,152 21,320
1978 10,684,822 21,026
1977 10,648,031 20,017
1976 10,598,677 19,110
1975 10,540,525 19,046
1974 10,478,720 19,030
1973 10,432,055 18,992
1972 10,398,489 18,787
1971 10,367,537 18,419
1970 10,337,910 18,168
1969 10,298,723 18,026
1968 10,255,815 17,861
1967 10,216,604 17,688
1966 10,178,653 17,523
1965 10,147,935 17,305
1964 10,119,835 16,977
1963 10,087,947 16,580
1962 10,060,825 16,183
1961 10,027,958 15,799
1960 9,983,512 15,428

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/san-marino | CC BY

From 2006 to 2016, the population of Hungary decreased by 311,615 people (a 3.09% decline), while San Marino gained 2,917 people (a 9.66% growth).

For the next 10 years, from 2016 to 2026, Hungary lost 284,230 people (a 2.91% decline), while San Marino's population increased by 866 people (a 2.62% growth).

Hungary was ranked 81st most populous country in 2006 and is 98th in 2026. San Marino was ranked 193rd in 2006 and still ranked 193rd 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 San Marino will increase by 0.34% to 34,083 people and rank change from 193rd to 192nd.

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

Population growth rate by year

Hungary
Factual

Projection
San Marino
Factual

Projection
1x
Year Growth rate
Hungary San Marino
2100 -0.21% -0.06%
2099 -0.21% -0.04%
2098 -0.2% -0.13%
2097 -0.2% -0.05%
2096 -0.2% 0.06%
2095 -0.2% 0.02%
2094 -0.2% 0.09%
2093 -0.19% -0.07%
2092 -0.2% 0.04%
2091 -0.2% -0.04%
2090 -0.21% 0.04%
2089 -0.2% 0.03%
2088 -0.21% 0.05%
2087 -0.22% 0.08%
2086 -0.23% 0.15%
2085 -0.22% 0.04%
2084 -0.23% 0.04%
2083 -0.24% 0.05%
2082 -0.25% 0.13%
2081 -0.26% -0.06%
2080 -0.27% 0.01%
2079 -0.27% 0.01%
2078 -0.29% -0.04%
2077 -0.31% -0.1%
2076 -0.32% -0.13%
2075 -0.34% -0.16%
2074 -0.36% -0.19%
2073 -0.37% -0.2%
2072 -0.39% -0.22%
2071 -0.4% -0.22%
2070 -0.41% -0.29%
2069 -0.42% -0.32%
2068 -0.43% -0.4%
2067 -0.43% -0.32%
2066 -0.45% -0.41%
2065 -0.45% -0.42%
2064 -0.44% -0.36%
2063 -0.44% -0.41%
2062 -0.43% -0.39%
2061 -0.42% -0.37%
2060 -0.42% -0.42%
2059 -0.4% -0.41%
2058 -0.39% -0.41%
2057 -0.39% -0.39%
2056 -0.38% -0.33%
2055 -0.37% -0.37%
2054 -0.36% -0.33%
2053 -0.36% -0.27%
2052 -0.36% -0.21%
2051 -0.36% -0.1%
2050 -0.37% -0.16%
2049 -0.37% -0.17%
2048 -0.37% -0.11%
2047 -0.38% -0.12%
2046 -0.39% -0.1%
2045 -0.39% -0.14%
2044 -0.39% -0.02%
2043 -0.4% 0.09%
2042 -0.41% -0.01%
2041 -0.41% -0.03%
2040 -0.42% 0.04%
2039 -0.42% 0.11%
2038 -0.43% 0.15%
2037 -0.42% 0.08%
2036 -0.42% 0.1%
2035 -0.41% 0.06%
2034 -0.41% 0.02%
2033 -0.4% 0.07%
2032 -0.39% 0.02%
2031 -0.38% 0.05%
2030 -0.37% 0.07%
2029 -0.36% 0.15%
2028 -0.34% 0.12%
2027 -0.34% 0.09%
2026 -0.63% 0.1%
2025 -0.28% -0.15%
2024 -0.31% 0.35%
2023 -0.13% 0.31%
2022 -0.27% -1.45%
2021 -0.41% -1.49%
2020 -0.25% 0.31%
2019 -0.13% 0.41%
2018 -0.2% 2.06%
2017 -0.34% 2.19%
2016 -0.39% 0.62%
2015 -0.36% 0.74%
2014 -0.4% -1.17%
2013 -0.48% -1.28%
2012 -0.52% 2.6%
2011 -0.28% -1.95%
2010 -0.23% 0.62%
2009 -0.15% 4.43%
2008 -0.17% 1.45%
2007 -0.15% 3.4%
2006 -0.16% 1.17%
2005 -0.2% 1.29%
2004 -0.22% 5.8%
2003 -0.29% 1.28%
2002 -0.28% 1.28%
2001 -0.23% 1.28%
2000 -0.26% 1.29%
1999 -0.28% 1.28%
1998 -0.23% 1.26%
1997 -0.2% 1.25%
1996 -0.17% 1.29%
1995 -0.14% 1.35%
1994 -0.14% 1.43%
1993 -0.11% 1.44%
1992 -0.04% 1.38%
1991 -0.006% 1.37%
1990 -1.03% 1.39%
1989 -1.08% 1.36%
1988 -0.15% 0.69%
1987 -0.17% 0.22%
1986 -0.17% 0.67%
1985 -0.18% 0.62%
1984 -0.2% 0.53%
1983 -0.15% 0.79%
1982 -0.06% 0.98%
1981 0.007% 1.18%
1980 0.07% 1.24%
1979 0.18% 1.4%
1978 0.35% 5.04%
1977 0.47% 4.75%
1976 0.55% 0.34%
1975 0.59% 0.08%
1974 0.45% 0.2%
1973 0.32% 1.09%
1972 0.3% 2%
1971 0.29% 1.38%
1970 0.38% 0.79%
1969 0.42% 0.92%
1968 0.38% 0.98%
1967 0.37% 0.94%
1966 0.3% 1.26%
1965 0.28% 1.93%
1964 0.32% 2.39%
1963 0.27% 2.45%
1962 0.33% 2.43%
1961 0.45% 2.4%

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/san-marino | CC BY

In 2024, the population of Hungary declined by 0.31%, while San Marino's population grew by 0.35%.

Live population counters

Hungary San Marino
Current population
9475525
33967
Population rank 98/197 193/197
Percent of world population 0.11% 0.0004%
One net population change
17.4 minutes
3.12 days
One birth every
6.02 minutes
1.93 days
One death every
4.09 minutes
1.3 days
Daily growth/decline -83 +0
Annual growth/decline -30,121 +117
Annual growth/decline rate -0.31% +0.35%
Population growth rate rank 179/197 145/197
One migration net change every
32.3 minutes
3 days
Annual migration change -16,331 +122
Net migration rank 149/196 72/196
Foreign-born residents 689,565 5,838
Foreign-born residents rank 71/195 183/195
Foreign-born share of population 7.1% 17.4%
Foreign-born share rank 79/195 35/195

Natural population change vs migration

Hungary
Natural

Migration
San Marino
Natural

Migration
1x
Year Population change
Hungary San Marino
Natural Migration Natural Migration
2025 - -16,331 - 122
2024 - 16,223 - 37
2023 -41,247 49,213 -92 -190
2022 -47,065 41,871 -58 -403
2021 -61,638 20,372 -99 -368
2020 -47,385 9,147 -122 247
2019 -36,840 34,339 -17 187
2018 -37,858 34,190 -11 172
2017 -37,934 20,200 -51 234
2016 -31,231 68 10 291
2015 -39,191 13,856 36 273
2014 -32,449 11,581 46 74
2013 -36,529 5,635 73 57
2012 -38,689 15,286 54 143
2011 -40,884 1,859 105 2,325
2010 -40,000 10,592 126 592
2009 -34,077 17,281 145 311
2008 -31,118 16,166 159 268
2007 -35,195 13,697 69 314
2006 -32,228 19,890 75 310
2005 -38,331 16,925 66 314
2004 -37,396 16,637 121 285
2003 -41,531 13,879 79 277
2002 -36,571 2,822 112 241
2001 -35,657 10,386 132 215
2000 -37,780 13,414 107 233
1999 -49,140 12,819 80 256
1998 -43,120 13,568 74 257
1997 -38,075 14,186 71 255
1996 -38,152 14,605 63 257
1995 -34,086 14,927 51 262
1994 -31,030 15,159 43 300
1993 -33,144 15,540 38 325
1992 -26,960 16,238 42 285
1991 -17,635 16,873 45 278
1990 -19,710 16,991 41 289
1989 -20,963 -16,991 36 285
1988 -15,895 -16,052 34 268
1987 -15,919 -16,175 31 -20
1986 -18,072 -16,339 40 44
1985 -18,103 -15,890 44 166
1984 -21,336 -16,216 46 32
1983 -21,379 -16,047 54 115
1982 -10,705 -16,531 61 117
1981 -2,142 -16,869 76 169
1980 3,213 -17,795 90 169
1979 23,549 3,629 104 164
1978 27,780 290 121 199
1977 45,787 -54 117 1,577
1976 52,993 -472 126 0
1975 63,243 -335 141 -133
1974 60,777 132 153 -131
1973 33,382 -1,512 167 -124
1972 34,315 -8 173 191
1971 26,956 -15 174 201
1970 32,048 -96 173 -39
1969 38,105 -333 173 -29
1968 39,997 -324 171 8
1967 39,845 -414 171 -3
1966 36,643 -726 173 -9
1965 24,355 -537 169 99
1964 31,371 -739 163 233
1963 32,282 -822 158 242
1962 21,128 -1,738 155 238
1961 44,123 -1,177 174 206
1960 44,926 -1,108 139 229

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

GeoRank.org/population/hungary/san-marino | 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 San Marino 40.9% is from natural causes (a loss of 358 people) and 59.1% is from migration (a gain of 517 people).

As of 2024, 689,565 residents or 7.1% of the population were not native-born in Hungary, compared to 5,838 people or 17.4% in San Marino.

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
San Marino
City Population
Dogana 7K
San Marino 4.04K

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/san-marino | 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. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. Wikidata (2026, retrieved 2026-02-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.