Skip to content

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

Updated on by Georank

The latest officially reported population of Hungary was 9,514,251 in 2025 vs 34,109 people in San Marino in 2025. In 2026, based on the adjusted UN estimation, the current Hungary's population is 9,454,659 people compared to 34,159 in San Marino.

Population statistics:

  • Hungary's population is 276.8 times bigger than San Marino's.
  • Hungary is ranked the 97th 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.3% per year vs +0.4% in San Marino.
  • Since 2006, the population of Hungary has decreased from 10.1M people to 9.45M (6.12% decline), while San Marino has grown from 30.2K to 34.2K (13.2% 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,354,125 31,687
2099 7,369,935 31,708
2098 7,385,110 31,720
2097 7,399,578 31,762
2096 7,414,169 31,780
2095 7,428,875 31,761
2094 7,443,681 31,755
2093 7,458,651 31,726
2092 7,473,041 31,748
2091 7,487,818 31,736
2090 7,502,719 31,747
2089 7,518,368 31,733
2088 7,533,773 31,725
2087 7,549,845 31,710
2086 7,566,819 31,683
2085 7,584,011 31,636
2084 7,600,723 31,623
2083 7,618,082 31,612
2082 7,636,419 31,596
2081 7,655,375 31,555
2080 7,675,218 31,573
2079 7,695,945 31,569
2078 7,717,087 31,566
2077 7,739,401 31,579
2076 7,763,134 31,612
2075 7,788,149 31,653
2074 7,814,821 31,703
2073 7,842,708 31,762
2072 7,872,075 31,825
2071 7,902,830 31,896
2070 7,934,859 31,965
2069 7,967,725 32,058
2068 8,001,662 32,160
2067 8,036,057 32,290
2066 8,071,042 32,395
2065 8,107,187 32,527
2064 8,144,020 32,664
2063 8,179,967 32,782
2062 8,215,823 32,918
2061 8,251,186 33,047
2060 8,286,212 33,170
2059 8,320,988 33,310
2058 8,354,080 33,447
2057 8,386,894 33,584
2056 8,419,815 33,717
2055 8,451,799 33,829
2054 8,483,442 33,954
2053 8,514,311 34,068
2052 8,545,085 34,161
2051 8,575,999 34,235
2050 8,606,870 34,268
2049 8,638,405 34,324
2048 8,670,073 34,382
2047 8,702,640 34,421
2046 8,735,821 34,463
2045 8,769,752 34,497
2044 8,803,827 34,546
2043 8,838,318 34,552
2042 8,873,924 34,521
2041 8,910,032 34,525
2040 8,946,870 34,534
2039 8,984,555 34,520
2038 9,022,078 34,483
2037 9,060,601 34,430
2036 9,098,588 34,403
2035 9,136,984 34,368
2034 9,175,038 34,347
2033 9,212,552 34,341
2032 9,249,719 34,316
2031 9,286,177 34,308
2030 9,322,011 34,289
2029 9,357,056 34,267
2028 9,390,506 34,215
2027 9,422,739 34,175
2026 9,454,659 34,144
2025 9,514,251 34,109
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 (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

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 305,096 people (a 3.13% decline), while San Marino's population increased by 1,058 people (a 3.2% growth).

Hungary was ranked 81st most populous country in 2006 and is 97th 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,606,870 people with a rank change from 97th to 111th. The population of San Marino will increase by 0.32% to 34,268 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.46% 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.5% 0.39%
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 (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

GeoRank.org/population/hungary/san-marino | CC BY

In 2025, the population of Hungary declined by 0.5%, while San Marino's population grew by 0.39%.

Live population counters

Hungary San Marino
Current population
9454659
34159
Population rank 97/197 193/197
Percent of world population 0.11% 0.0004%
One net population change
11 minutes
2.77 days
One birth every
6.7 minutes
2.57 days
One death every
4.1 minutes
1.44 days
Daily growth/decline -131 +0
Annual growth/decline -47,814 +132
Annual growth/decline rate -0.5% +0.39%
Population growth rate rank 184/197 140/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 -49,723 16,223 -112 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-07-08).

GeoRank.org/population/hungary/san-marino | 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 San Marino 51.8% is from natural causes (a loss of 516 people) and 48.2% is from migration (a gain of 480 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–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/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-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. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)
  5. Wikidata (2026, 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.